Skip to content

Commit

Permalink
introduce a test script
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhenghao committed Feb 13, 2024
1 parent 5da1a94 commit b247176
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metadrive/tests/local_tests/local_test_headless_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
screen_size=(1600, 900),
film_size=(9000, 9000),
target_vehicle_heading_up=True,
semantic_map=True,
)

for t in range(10000):
Expand All @@ -81,6 +82,7 @@
screen_size=(1600, 900),
film_size=(9000, 9000),
target_vehicle_heading_up=True,
semantic_map=True,
to_image=False
)
pygame.image.save(ret, str(file_dir / "bev_{}.png".format(t)))
Expand Down

0 comments on commit b247176

Please sign in to comment.