Skip to content

Commit 5633171

Browse files
committed
fix: add robot_prefix_template as an arg to config; revert to right
1 parent 9a78b34 commit 5633171

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎python/rcs/envs/configs.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@
3131

3232

3333
class EmptyWorldFR3(SimEnvCreator):
34-
robot_prefix_template = "robot"
34+
robot_prefix_template = "right"
3535
gripper_prefix_template = "gripper"
3636

37-
def config(self) -> SimEnvCreatorConfig:
37+
def config(self, robot_prefix_template="right") -> SimEnvCreatorConfig:
38+
self.robot_prefix_template = robot_prefix_template
3839
q_home = rcs.ROBOTS[RobotType.FR3].q_home
3940
q_home[-1] = np.pi / 4
4041
robot_cfg: SimRobotConfig[Literal[7]] = SimRobotConfig(

0 commit comments

Comments
 (0)