How do I calibrate an SO-101 without moving it by hand?
Run bu calibrate --yes. Each joint creeps into its end stops on capped torque, the arm repeats the sweep from three
more poses so the joints that hit the arm's own body get their full range, and it saves the result. On my SO-101 it
took 3 minutes 4 seconds for all six joints, with nobody touching the arm.
What does it actually do?
- Health check (read-only): all 6 motors answer, voltage, temperature, error flags.
- Opens the motors' stored position limits. A servo refuses to move past its own EEPROM limits, and LeRobot leaves its limits there, so without this you'd just find LeRobot's numbers again. The old values are printed so you can restore them.
- Sweeps each joint from the folded pose, gripper first and base last. The goal creeps about 1 degree per tick on 35% torque (60% for the shoulder lift and elbow, which lift the arm) until the joint stops making progress.
- Moves to three more poses ("arm raised", "rotated one way", "rotated the other way") and sweeps every joint again, keeping the widest range each joint reaches.
- Centres the wrist roll instead of driving it into stops (no hard stops, and it could wind the cables).
- Folds back, saves the folded pose as
rest, and sets each joint's zero to the middle of its range.
Why are the extra poses needed?
From the folded pose, some joints hit the arm's own body before their real stop. Real numbers from the run:
| Joint | Folded pose only | After the 3 extra poses |
|---|---|---|
| Shoulder lift | 108 deg | 212 deg (+61, then +44) |
| Wrist flex | 176 | 205 (+29) |
| Base | 226 | 240 (+14) |
| Elbow | 195 | 195 |
What went wrong on the way?
Four things only showed up on the real arm:
- Gravity looked like a wall. The first version stopped when load passed 25%. The elbow lifting the forearm is heavy but still moving, so it "found" a 12-degree range. Now a stop means no progress, not high load.
- LeRobot's EEPROM limits stopped every joint early (fixed by step 2).
- The servo SDK crashed on a truncated reply right after an EEPROM write (now retried, with a 30 ms pause).
- A bad first run capped the next one, because the travel allowance came from the previous calibration. It now comes from the robot model.
How do I run it?
bu doctor # read-only first
bu calibrate --yes # interactive without --yes: it asks "is the area clear?"
bu state # joints should read near 0 in the middle of their travel
Single joints: bu calibrate --joints wrist_flex --reset-limits. No motion at all, if LeRobot calibrated the arm
before: bu setup --from-eeprom.
What it doesn't do yet
- The first-time motor ID assignment on brand-new servos still needs a person: they all ship as ID 1
(
bu setup --motor-ids, one motor at a time). - It doesn't fix gravity sag: with the arm about 24 cm out the tip sits roughly 1.5 cm below where it's told to be.
FAQ
Is it safe for the servos? Torque is capped during homing, it stops on lack of progress within about 0.15 s, backs off 2 degrees, and keeps a 2-degree margin from every stop.
Does it write to the motors? Only the position-limit registers (step 2). The calibration itself lives in
~/.bot-use/robots/<name>.yaml.
How does it compare to LeRobot's calibration? Within a few degrees on most joints, wider on the base; see bot_use_vs_lerobot.md.
What if my table blocks a joint? That's fine: you get the range the joint can really use from where the arm is mounted.
By Dheeraj Pai ยท last updated 2026-11-22