SO-101 blue cube
A LeRobot EnvHub environment in MuJoCo: an SO-101 arm puts a blue cube in a green box.
front and wrist, 480×640.The environment
| Robot | SO-101 arm (MuJoCo Menagerie model), with the joint names and units of LeRobot's so101_follower: datasets recorded here look like a real SO-101's. |
|---|---|
| Observation | Front and wrist cameras, and 6 joint positions. |
| Action | 6 absolute joint targets: 5 joints in degrees, the gripper from 0 to 100, at 30 steps per second. |
| Task | "Put the blue cube in the green box." |
| Success | The cube lies in the box and the arm no longer touches it. A held cube counts only once the gripper lets go. |
| Episode end | 2 seconds after success, so you see the cube land, or after 900 steps (30 seconds). |
| Reset | The arm starts folded on the table, like a resting leader arm. The cube's position and rotation, the box position and the front camera change a little each episode. |
Run it
Install LeRobot from source (loading environments from Spaces isn't in the 0.7.0 release) and MuJoCo 4.0.1. The commands run this Space's env.py on your computer: read it first.
Drive the simulated arm with a real SO-101 leader arm:
lerobot-teleoperate \
--robot.type=sim \
--robot.env.type=envhub \
--robot.env.hub_path=nikodembartnik/so101-blue-cube-mujoco \
--robot.env.trust_remote_code=true \
--teleop.type=so101_leader \
--teleop.port=YOUR_LEADER_PORT \
--teleop.id=YOUR_LEADER_ID \
--fps=30 \
--display_data=true
Evaluate a trained policy (on macOS, keep --eval.use_async_envs=false):
lerobot-eval \
--policy.path=YOUR_POLICY \
--env.type=envhub \
--env.hub_path=nikodembartnik/so101-blue-cube-mujoco \
--env.trust_remote_code=true \
--eval.n_episodes=10 \
--eval.use_async_envs=false
Recording, options and files are described in the README.
Credits and license
Apache-2.0. Derived from lerobot/so101-tabletop-mujoco. The arm is MuJoCo Menagerie's SO-101 model, derived from TheRobotStudio's SO-ARM100, under Apache-2.0.