We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94348e1 commit 5c04caaCopy full SHA for 5c04caa
1 file changed
examples/ioai_examples/ioai_grasp_env.py
@@ -142,7 +142,7 @@ def _setup_simulator(self, headless=False):
142
position=[0.65, 0.2, 0.56],
143
orientation=[0, 0, 0, 1],
144
scale=[0.05, 0.05, 0.05],
145
- color=[0, 1, 0],
+ color=[0.5, 0.5, 0.5], # Gray color
146
)
147
self.simulator.add_object(cube_config)
148
@@ -420,7 +420,7 @@ def _init_pose(self):
420
for module, pose in poses.items():
421
module.set_joint_positions(pose, immediate=True)
422
423
- def _move_joints_to_target(self, module, target_positions, steps=1000):
+ def _move_joints_to_target(self, module, target_positions, steps=500):
424
"""Move joints from current position to target position smoothly."""
425
current_positions = module.get_joint_positions()
426
positions = interpolate_joint_positions(current_positions, target_positions, steps)
0 commit comments