Sim-to-Real#

tasks/manipulation/pick_cube/so101/deploy deploys the vision-based SO101PickCubeVision policy in simulation (--mode=sim) and on the physical SO-101 follower arm (--mode=real).

SO-101 Pick-Cube Sim-to-Real Deployment

Sim-to-real deployment & interactive viewer#

SO-101 Pick-Cube Sim-to-Real Deployment on a separately verified robot

Vision policy deployment on hardware#

Workflow#

Complete Robots first before deploying on hardware:

# 1. Train vision policy
uv run --extra rl playground train rsl_rl \
  --env=SO101PickCubeVision \
  --logdir=/tmp/rslrl_logs/so101_pick_cube_vision
  # --overrides='{"nworld": 64}'  # For CPU

# 2. Test in simulation
uv run --extra so101 --extra rl playground deploy so101_pick_cube \
  --mode=sim \
  --impl=cpp \
  --checkpoint=/tmp/rslrl_logs/so101_pick_cube_vision

# 3. Deploy on hardware
uv run --extra so101 --extra rl playground deploy so101_pick_cube \
  --mode=real \
  --checkpoint=/tmp/rslrl_logs/so101_pick_cube_vision

# 4. Replay logged deployment episodes in Rerun
uv run --extra real playground view_log

Useful Flags#

  • --homing_duration_secs=2.0: Duration to cosine-interpolate the arm to the initial hover pose at episode start.

  • --gfx=web: Opens the Studio viewer in the browser (pass "" for native window).

  • --episode_length_secs=20.0: Episode duration before automatic reset.