Skip to content

Commit

Permalink
Merge pull request #869 from StanfordVL/fix/optional-floor-plane
Browse files Browse the repository at this point in the history
do not require floor plane
  • Loading branch information
cremebrule authored Sep 7, 2024
2 parents 0d897a8 + 03b5ac9 commit dfe69a2
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 dfe69a2

Please sign in to comment.