Kuavo Docs
Debugging Tutorials

Joint Calibration

Robot Joint Calibration

Kuavo 4 Pro Zero-Point Calibration

Fixture Blocks

A total of 10 fixture blocks are required, and they are used in symmetric pairs.

Installing the Fixture Blocks

Install them from bottom to top, inserting the fixtures into the holes shown in the figure; once inserted, they should look like the right-hand image.

cali_leg1

cali_leg2

Leg Zero-Point Calibration

  1. After installing the fixtures, connect to the robot via SSH, straighten the robot's head and arms, and enter the following commands in the remote SSH terminal:

    cd ~/kuavo-ros-opensource
    sudo su
    source devel/setup.bash
    roslaunch humanoid_controllers load_kuavo_real.launch cali:=true cali_leg:=true
  2. The terminal running the program will continuously produce output, so keep an eye on it. If necessary, drag the scrollbar on the side of the terminal up and down to search the earlier output for the relevant messages. Once the leg motors are enabled, the terminal will show output like the following code block:

    0000017193: Joint 1, Slave 1 actual position 9.6411132,Encoder 63184.0000000
    0000017195: Rated current 30.0000000
    0000017197: Joint 1, Slave 1 转向= 6
    0000017209: Read Joint 1, Slave 1 init kp value 220, and set kp value 220 successfully
    0000017209: Read Joint 1, Slave 1 init kd value 2979, and set kd value 2979 successfully
    0000017211: Joint 2, Slave 2 actual position 25.7645874,Encoder 93806.0000000
    0000017213: Rated current 20.0000000
    0000017215: Joint 2, Slave 2 转向= 6
    0000017227: Read Joint 2, Slave 2 init kp value 100, and set kp value 100 successfully
    0000017227: Read Joint 2, Slave 2 init kd value 5376, and set kd value 5376 successfully
    0000017229: Joint 3, Slave 3 actual position 18.2463684,Encoder 66433.0000000
    0000017231: Rated current 40.0000000
    0000017233: Joint 3, Slave 3 转向= 6
    0000017245: Read Joint 3, Slave 3 init kp value 224, and set kp value 224 successfully
    0000017245: Read Joint 3, Slave 3 init kd value 10794, and set kd value 10794 successfully
    0000017247: Joint 4, Slave 4 actual position -58.7013244,Encoder -384705.0000000
    0000017249: Rated current 40.0000000
    0000017251: Joint 4, Slave 4 转向= 6
    0000017263: Read Joint 4, Slave 4 init kp value 224, and set kp value 224 successfully
    0000017263: Read Joint 4, Slave 4 init kd value 10794, and set kd value 10794 successfully
    0000017265: Joint 5, Slave 5 actual position 34.8202514,Encoder 456396.0000000
    0000017267: Rated current 6.1000000
    0000017269: Joint 5, Slave 5 转向= 6
    0000017281: Read Joint 5, Slave 5 init kp value 58, and set kp value 58 successfully
    0000017281: Read Joint 5, Slave 5 init kd value 3136, and set kd value 3136 successfully
    0000017283: Joint 6, Slave 6 actual position -44.3365478,Encoder -581128.0000000
    0000017285: Rated current 6.1000000
    0000017287: Joint 6, Slave 6 转向= 6
    0000017299: Read Joint 6, Slave 6 init kp value 58, and set kp value 58 successfully
    0000017299: Read Joint 6, Slave 6 init kd value 3136, and set kd value 3136 successfully
    0000017301: Joint 7, Slave 7 actual position 3.5322570,Encoder 23149.0000000
    0000017303: Rated current 30.0000000
    0000017305: Joint 7, Slave 7 转向= 6
    [ INFO ][2026-06-29-09:01:24][/mobile_manipulator_controllers_node]: [MobileManipulatorController] Waiting for observation...
    0000017317: Read Joint 7, Slave 7 init kp value 220, and set kp value 220 successfully
    0000017317: Read Joint 7, Slave 7 init kd value 2979, and set kd value 2979 successfully
    0000017319: Joint 8, Slave 8 actual position 16.0600891,Encoder 58473.0000000
    0000017321: Rated current 20.0000000
    0000017323: Joint 8, Slave 8 转向= 6
    0000017335: Read Joint 8, Slave 8 init kp value 100, and set kp value 100 successfully
    0000017335: Read Joint 8, Slave 8 init kd value 5376, and set kd value 5376 successfully
    0000017337: Joint 9, Slave 9 actual position 34.8082580,Encoder 126733.0000000
    0000017339: Rated current 40.0000000
    0000017341: Joint 9, Slave 9 转向= 6
    0000017353: Read Joint 9, Slave 9 init kp value 224, and set kp value 224 successfully
    0000017353: Read Joint 9, Slave 9 init kd value 10794, and set kd value 10794 successfully
    0000017355: Joint 10, Slave 10 actual position -53.2159423,Encoder -348756.0000000
    0000017357: Rated current 40.0000000
    0000017359: Joint 10, Slave 10 转向= 6
    0000017371: Read Joint 10, Slave 10 init kp value 224, and set kp value 224 successfully
    0000017371: Read Joint 10, Slave 10 init kd value 10794, and set kd value 10794 successfully
    0000017373: Joint 11, Slave 11 actual position -28.2884979,Encoder -370783.0000000
    0000017375: Rated current 6.1000000
    0000017377: Joint 11, Slave 11 转向= 6
    0000017389: Read Joint 11, Slave 11 init kp value 58, and set kp value 58 successfully
    0000017389: Read Joint 11, Slave 11 init kd value 3136, and set kd value 3136 successfully
    0000017391: Joint 12, Slave 12 actual position 39.4952392,Encoder 517672.0000000
    0000017393: Rated current 6.1000000
    0000017395: Joint 12, Slave 12 转向= 6
    0000017407: Read Joint 12, Slave 12 init kp value 58, and set kp value 58 successfully
    0000017407: Read Joint 12, Slave 12 init kd value 3136, and set kd value 3136 successfully
    0000017410: Joint 13, Slave 13 actual position 20.7485046,Encoder 75543.0000000
    0000017412: Rated current 30.0000000
    0000017414: Joint 13, Slave 13 转向= 6
    0000017425: Read Joint 13, Slave 13 init kp value 220, and set kp value 586 successfully
    0000017425: Read Joint 13, Slave 13 init kd value 2979, and set kd value 4100 successfully
    0000017427: Joint 14, Slave 14 actual position -3.7872619,Encoder -13789.0000000
    0000017429: Rated current 30.0000000
    0000017431: Joint 14, Slave 14 转向= 6
    0000017443: Read Joint 14, Slave 14 init kp value 220, and set kp value 586 successfully
    0000017443: Read Joint 14, Slave 14 init kd value 2979, and set kd value 4100 successfully
    0000017443: App setup down!

The value following Slave xx actual position is the current zero point.

cali_leg2

  1. Follow the prompts: press c followed by Enter to save the current leg position as the zero point. Then press q followed by Enter to exit the program. The leg zero-point calibration is now complete; remove the fixtures and the robot is ready for normal use.

Automatic Arm Calibration

  1. Open a new terminal and enter the following commands (Note: the subsequent "calibrate arm" and "calibrate head" steps are both performed in this terminal):

    cd ~/kuavo-ros-opensource
    sudo su
    source devel/setup.bash
    # 以校准模式启动
    roslaunch humanoid_controllers load_kuavo_real.launch cali:=true cali_arm:=true 
  2. Raise the robot with the hoist, and roughly straighten the arms and head as shown in the following figure.

    cali_arm

  3. Note: Because the arms move within a certain range during calibration, you need to leave about one meter of clearance in front of and behind the robot before starting arm calibration. After the robot straightens its legs, enter a, 1, and 1 in sequence as prompted, pressing Enter after each entry.

    cali_arm

  4. Wait for the robot's arm calibration to finish and the arms to return to position. A prompt will appear in the terminal; press s and Enter to save the arm zero points.

    cali_arm

Automatic Head Calibration

  1. Lower the hoist until both feet of the robot are stably in contact with the ground, as shown below:

    cali_arm

  2. Support the robot from behind with your hands, and continue lowering the hoist until the sling rings on both shoulders of the robot are nearly level, as shown below:

    cali_arm

  3. If you have already exited or opened a new terminal, enter the following commands to start; for the remaining steps, enter a, 1, and 3 in sequence as prompted (pressing Enter after each entry):

    cd ~/kuavo-ros-opensource
    sudo su
    source devel/setup.bash
    # 以校准模式启动
    roslaunch humanoid_controllers load_kuavo_real.launch cali:=true cali_arm:=true 

    cali_arm

  4. Wait for the robot's head calibration to finish and the head to return to position. A prompt will appear in the terminal; press s and Enter to save the head zero points.

    cali_arm

  5. Raise the hoist until the slings on both sides of the robot are taut, then press Ctrl+C to close this terminal. The head and arm calibration is now complete, and the robot can be used normally from here on.

Manual Alignment Calibration

Manually move the robot's arms into the correct pose (the desired zero pose), then run the following commands; the program automatically records the current position as the arm zero points:

cd ~/kuavo-ros-opensource
sudo su
source devel/setup.bash
# 以校准模式启动
roslaunch humanoid_controllers load_kuavo_real.launch cali:=true cali_arm:=true 

Note: In this mode the program does not drive the arms; once started, it automatically reads and saves the current aligned pose as the zero point. Likewise, wait until the interface below appears, then press q and Enter to exit the program.
cali_leg2

Kuavo 5th Generation Zero-Point Calibration

1. Insert the Fixture

Front view

cali_arm

Back view

cali_arm

2. Start Calibration

  1. After straightening the arms and waist, confirm that the fixtures are correctly inserted.

  2. Start the robot calibration program by running the following commands in sequence:

    cd ~/kuavo-ros-opensource
    sudo su
    source devel/setup.bash
    roslaunch humanoid_controllers load_kuavo_real.launch cali:=true cali_leg:=true cali_arm:=true
  • Complete the zero-point calibration by following these steps:
    1. In the terminal, when prompted, type c and press Enter to save the current zero position.
    2. Confirm that you receive the message indicating the save was successful.
    3. Then type q and press Enter to exit the calibration program.
  • After calibration is complete, you can close the terminal and pull out the fixtures. The zero-point calibration is now finished.

cali

cali