Skip to content

Commit

Permalink
do not require floor plane
Browse files Browse the repository at this point in the history
  • Loading branch information
cremebrule authored Sep 7, 2024
1 parent 0d897a8 commit 03b5ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omnigibson/scenes/scene_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ def _load(self):
The elements to load may include: floor, building, objects, etc.
"""
# There's nothing to load for the base scene. Subclasses can implement this method.
# We simply check that the simulator has a floor plane.
assert og.sim.floor_plane, "Simulator must have a floor plane if using an empty Scene!"
# Do nothing here
pass

def _load_systems(self):
system_dir = os.path.join(gm.DATASET_PATH, "systems")
Expand Down

0 comments on commit 03b5ac9

Please sign in to comment.