Robots#

Each robot in mujoco_playground/robots/<robot>/ includes a simulation model (sim/) and, for supported hardware, drivers and setup utilities (real/) that share the same joint ordering and control interface.

Supported Robots#

Robot

Modes

Hardware Extra

Description

SO-101 (robots/so101)

sim, real

--extra so101

5-DoF + gripper follower and leader arms with wrist camera.

I2RT YAM Pro (robots/yam)

sim, real

--extra yam

6-DoF + gripper arm with wrist camera.

Trossen WXAI (robots/trossen_wxai)

sim

—

6-DoF + gripper tabletop manipulation arm.

Unitree G1 (robots/unitree_g1)

sim

—

29-DoF humanoid robot for whole-body motion tracking.

SO-101 Setup#

All generated hardware configs are machine-local and stored under .local/.

1. Install & Identify Hardware#

Sync the so101 extra, then identify the follower/leader USB ports (unplugging one arm at a time when prompted) and the wrist camera:

uv sync --extra so101
uv run --extra so101 python -m mujoco_playground.robots.so101.real.get_ports --identify
uv run --extra so101 python -m mujoco_playground.robots.so101.real.get_cameras --identify

2. Calibrate Follower & Leader Arms#

Calibrate one arm at a time (writes to .local/so101_calibration.json):

uv run --extra so101 python -m mujoco_playground.robots.so101.real.get_calibration --roles=follower
uv run --extra so101 python -m mujoco_playground.robots.so101.real.get_calibration --roles=leader
  1. Hold the arm in the middle pose (pan centered, upper arm vertical, elbow bent 90° with forearm level, wrist straight, gripper vertical with camera on the left) and press ENTER.

  2. Sweep every joint except wrist_roll through its full range in both directions, then press ENTER.

Note

If motors are missing from the bus or a joint is seized, check for swapped power supplies—the leader and follower use different-voltage bricks with identical barrel plugs.

I2RT YAM Pro Setup#

Linux:

uv sync --extra yam
sudo ip link set can0 up type can bitrate 1000000
uv run --extra yam python -m mujoco_playground.robots.yam.real.get_cameras --identify

macOS (uses libusb in user space; no ip link setup needed):

brew install libusb
uv sync --extra yam
uv run --extra yam python -m mujoco_playground.robots.yam.real.get_cameras --identify

Note

The RealSense D405 exposes multiple color UVC streams on both Linux and macOS. Select the ISP RGB stream (bright, 640x480 4:3, no corner vignetting—...-video-index4 on Linux) rather than the raw stereo sensor (dark, 424x240 16:9, heavy corner vignetting—...-video-index2 on Linux).