Kuavo Docs
Debugging Tutorials

Kuavo 5-W Full-Body Zero Calibration

1. Wheel-Arm Motor Numbering

image

Open a new terminal, adjust the arms and head to the zero pose, then start the calibration program:

cd kuavo-ros-opensource  
sudo su  
source devel/setup.bash  
roslaunch humanoid_controllers load_kuavo_real_wheel.launch cali:=true cali_leg:=true cali_arm:=true ##标定腿部和手臂、头部

2. Enter 0-Torque Mode as Prompted and Adjust to the Zero Position

When the log prompts "Whether to execute 0-torque control on the first six joints" (是否执行 0 扭矩控制前六个关节):

  1. As shown below, stand directly in front of the robot and hold it steady to prevent it from tipping forward or falling backward.

image

  1. After entering y in the terminal to confirm, the leg motors will enter a "soft" state.
  2. Due to gravity, some joints in the lower body will sag; at this point, manually move motors 3 and 4 of the lower limbs into the correct position.

When finished, this pose is the robot's zero position, as shown below:

image

3. Save the Zero Position and Exit

Once the zero pose has been adjusted, proceed in the following order:

  • Press x: exit the current control/adjustment process
  • Press c: save the zero position
  • Press q: exit the program

As shown below:

image

The zero calibration is now complete.

4. Lower-Limb Limit Zero Calibration (v60/v62/v63)

In addition to the coarse 0-torque calibration performed at startup (cali_leg:=true), the wheel-arm also supports interactive lower-limb limit zero calibration, which is used to fine-tune the zero positions of the 4 PA115 lower-limb joints.

4.1 Starting the Calibration

cd kuavo-ros-opensource
sudo su
source devel/setup.bash
roslaunch humanoid_controllers load_kuavo_real_wheel.launch cali:=true

For v62/v63 (ROBOT_MODULE: LUNBI_V62), starting from the H12 remote controller only appends cali:=true and does not automatically run cali_arm.

After entering zero-calibration mode as prompted (e.g., by pressing a), select:

  1. Automatic / one-by-one calibration mode
  2. Calibration scope (options for the wheel-arm):
    • 4 - Calibrate arms and legs
    • 5 - Calibrate arms, head, and legs
    • 6 - Calibrate legs only

4.2 Configuration (kuavo.json)

Lower-limb limit zero calibration relies on the following 3 fields (joint indices 0–3, corresponding to the 4 lower-limb EC motors):

FieldMeaning
leg_calibration_safe_posePose to move to before zero calibration, for safety (degrees)
leg_calibration_limitsTarget angle at each joint's limit, used as the zero reference (degrees)
leg_calibration_directionsDirection of motion toward the limit (1 = positive, -1 = negative)

The current parameters for v62/v63 are the same as those for v60 and come from kuavo_v60/kuavo.json.

4.3 About ROBOT_MODULE

ValueApplicable VersionsNumber of EC MotorsDescription
LUNBIv60/v616 (4 legs + 2 shoulders)Legacy wheel-arm topology
LUNBI_V62v62/v634 (all legs)Shoulders switched to Ruiwo, supports air-pump end effector

Both share the same logic in the zero-calibration flow, but their EC Master motor mappings differ, so they must not be merged into a single module name.

4.4 Safety Notes

  • Before zero calibration, confirm that the joints can reach their limits without obstruction
  • When calibrating legs only, the arms first move to the safe pose defined by calibration_safe_pose
  • After zero calibration is complete, press s to save the zero position