Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor error #23

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def initialize_simulation(self):
# Check if we already have a physics environment activated. If not, then activate it
# and only after spawn the vehicle. This is to avoid trying to spawn a vehicle without a physics
# environment setup. This way we can even spawn a vehicle in an empty world and it won't care
if hasattr(self._stride_sim.world, "_physics_context") == False:
if hasattr(self._world, "_physics_context") is False:
asyncio.ensure_future(self._world.initialize_simulation_context_async())

def get_vehicle(self, stage_prefix: str):
Expand Down
Loading