Skip to content

Commit

Permalink
Make newly loaded robots not load state
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Sep 28, 2023
1 parent 018e136 commit 4b90252
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"robot{i}"
robot_config["name"] = f"newrobot{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 4b90252

Please sign in to comment.