Skip to content

Commit

Permalink
revert change in obs modality keys in base env
Browse files Browse the repository at this point in the history
  • Loading branch information
mj-hwang committed Sep 29, 2023
1 parent a1eeca6 commit 761b11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnigibson/envs/env_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def _load_robots(self):
for i, robot_config in enumerate(self.robots_config):
# Add a name for the robot if necessary
if "name" not in robot_config:
robot_config["name"] = f"newrobot{i}"
robot_config["name"] = f"robot{i}"

position, orientation = robot_config.pop("position", None), robot_config.pop("orientation", None)
# Make sure robot exists, grab its corresponding kwargs, and create / import the robot
Expand Down

0 comments on commit 761b11a

Please sign in to comment.