Skip to content

Commit

Permalink
PyGame Renderer (#104)
Browse files Browse the repository at this point in the history
* Export vehicle size

* Working pygame renderer

* Working renderer

* Draw agents on top and map only once
  • Loading branch information
aaravpandya authored and daphne-cornelisse committed May 15, 2024
1 parent 70474ae commit 3b9b42b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygpudrive/env/base_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(
else gpudrive.madrona.ExecMode.CUDA,
gpu_id=0,
num_worlds=self.num_sims,
auto_reset=auto_reset,
auto_reset=True,
json_path=self.data_dir,
params=params,
)
Expand Down Expand Up @@ -475,7 +475,7 @@ def steps_remaining(self):
device="cuda",
render_mode="rgb_array",
)

obs = env.reset()
frames = []

Expand Down

0 comments on commit 3b9b42b

Please sign in to comment.