Skip to content

Commit 5c04caa

Browse files
committed
update cube color from green to gray
1 parent 94348e1 commit 5c04caa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/ioai_examples/ioai_grasp_env.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def _setup_simulator(self, headless=False):
142142
position=[0.65, 0.2, 0.56],
143143
orientation=[0, 0, 0, 1],
144144
scale=[0.05, 0.05, 0.05],
145-
color=[0, 1, 0],
145+
color=[0.5, 0.5, 0.5], # Gray color
146146
)
147147
self.simulator.add_object(cube_config)
148148

@@ -420,7 +420,7 @@ def _init_pose(self):
420420
for module, pose in poses.items():
421421
module.set_joint_positions(pose, immediate=True)
422422

423-
def _move_joints_to_target(self, module, target_positions, steps=1000):
423+
def _move_joints_to_target(self, module, target_positions, steps=500):
424424
"""Move joints from current position to target position smoothly."""
425425
current_positions = module.get_joint_positions()
426426
positions = interpolate_joint_positions(current_positions, target_positions, steps)

0 commit comments

Comments
 (0)