🧪 New tutorials are being published — build from robot arms to sensors step by step
Skip to content

Calibrating the Robot Arms ​

Calibration workflow for both arms and the head

Calibration workflow for both arms and the head ​

Run the command below for your operating system. port1 is the left-arm controller board and port2 the right-arm controller board; confirm the actual ports with lerobot-find-port first.

On Linux, list the ports quickly with ls /dev/ttyACM*

Windows

bash
lerobot-calibrate \
    --robot.type=xlerobot --robot.id=juxi_xlerobot \
    --robot.port1=COM3 \
    --robot.port2=COM4

macOS

bash
lerobot-calibrate \
    --robot.type=xlerobot --robot.id=juxi_xlerobot \
    --robot.port1=/dev/tty.usbmodem58546521551 \
    --robot.port2=/dev/tty.usbmodem58546521552

Linux

bash
lerobot-calibrate \
    --robot.type=xlerobot --robot.id=juxi_xlerobot \
    --robot.port1=/dev/ttyACM0 \
    --robot.port2=/dev/ttyACM1

After the calibration command starts, the terminal first prompts for Middle Position. Put the arms in the middle pose — moving jaw up, fixed jaw down — then press Enter. Then move every joint through its maximum and minimum limits.

Calibration notice

Before pressing Enter to start calibration, put the robot arm in its middle position — each joint at the center of its usable range.

Watch the minimum and maximum values of each joint. If a minimum jumps across 0 and starts decreasing from 4095, or a maximum passes 4095 and starts increasing from 0, perform a middle-position calibration with the Feetech host software, then calibrate the robot arm again.

The two servos on the camera tower work the same way: turn each through its maximum and minimum limits once.

When the following line appears in the terminal, calibration of the left arm and head begins:

Calibration workflow for both arms and the head

Calibration workflow for both arms and the head

When the following line appears, calibration of the right arm begins. The base wheels do not need calibration.

Calibration workflow for both arms and the head

Calibration workflow for both arms and the head