SO-101 zero to hero GitHub ENTR

2 · Set up the arm

Goal: the follower copies the leader smoothly and both cameras show the right view.

Install

git clone https://github.com/fport/so101-flywheel && cd so101-flywheel/python
uv sync --extra robot          # LeRobot 0.6.1 with the Feetech servo driver
hf auth login                  # token with write access

Tell the scripts about your rig

uv run lerobot-find-port               # unplug one arm when asked; note both ports
uv run lerobot-find-cameras opencv     # saves one frame per camera, note the two indices

Put the four values in scripts/env.sh. Every script reads them from there and prints the full lerobot-* command before running it, so you always see what runs.

Calibrate (once)

scripts/calibrate.sh follower
scripts/calibrate.sh leader

Move the arm to the middle of every joint, press Enter, then sweep each joint end to end. Calibration maps raw servo ticks to the same angle on both arms; it is saved in hardware/calibration/. Recalibrating after you have recorded changes what the numbers in your dataset mean: do it before, not in between.

Teleoperate

scripts/teleop.sh           # arms only
scripts/teleop.sh --cams    # plus both cameras in Rerun

Hold the leader near the follower's pose before you start: the follower jumps to the leader on connect.

Check

Rerun and macOS. Showing live cameras costs CPU and has stalled the control loop here. Use --cams to aim the cameras, then record without a viewer (the recording script does this).