Roban2 Docs
Roban2 (ROS1) Legacy VersionsDebugging Tutorials

Joint Calibration

Robot Joint Calibration

Zero-Point Calibration Using Fixtures

There are 15 fixture pieces in total: 10 for the legs, 4 for the hands, and 1 for the waist. The fixtures are shown in the figures below.

  1. Insert the fixtures into the robot's legs and waist, as shown in the figures below.
  1. Insert the fixtures into the robot's hands, as shown in the figures below.

Zero-Point Calibration Using the Host PC Software

Starting the Robot Calibration Program

  • If you need to calibrate all joints of the robot, open a new terminal and run the following command:
cd ~/kuavo-ros-opensource
sudo su
source devel/setup.bash
roslaunch humanoid_controllers load_kuavo_real.launch cali_leg:=true cali_arm:=true
  • If you only need to calibrate the robot's head and arms, open a new terminal and run the following command:
cd ~/kuavo-ros-opensource
sudo su
source devel/setup.bash
roslaunch humanoid_controllers load_kuavo_real.launch cali_arm:=true
  • After the leg motors have been enabled (after the positions shown in the figure below have been printed), the motors may move beyond their limits before zero-point calibration. (If they do not exceed the limits, press c and then Enter to save the current leg positions as the zero point.)
0000003041: Slave 1 actual position 9.6946716,Encoder 63535.0000000
0000003051: Rated current 39.6000000
0000003061: Slave 2 actual position 3.9207458,Encoder 14275.0000000
0000003071: Rated current 11.7900000
0000003081: Slave 3 actual position 12.5216674,Encoder 45590.0000000
0000003091: Rated current 42.4300000
0000003101: Slave 4 actual position -37.2605896,Encoder -244191.0000000
0000003111: Rated current 42.4300000
0000003121: Slave 5 actual position 15.8138275,Encoder 207275.0000000
0000003131: Rated current 8.4900000
0000003142: Slave 6 actual position -2.7354431,Encoder -35854.0000000
0000003151: Rated current 8.4900000
0000003161: Slave 7 actual position 5.8642578,Encoder 38432.0000000
0000003171: Rated current 39.6000000
0000003183: Slave 8 actual position -16.8491821,Encoder -61346.0000000
0000003192: Rated current 11.7900000
0000003201: Slave 9 actual position -18.9975585,Encoder -69168.0000000
0000003211: Rated current 42.4300000
0000003221: Slave 10 actual position -64.5283508,Encoder -422893.0000000
0000003231: Rated current 42.4300000
0000003241: Slave 11 actual position -31.0607147,Encoder -407119.0000000
0000003251: Rated current 8.4900000
0000003261: Slave 12 actual position 49.7427368,Encoder 651988.0000000
0000003272: Rated current 8.4900000
0000003281: Slave 13 actual position 26.8544311,Encoder 97774.0000000
0000003291: Rated current 14.9900000
0000003301: Slave 14 actual position -19.9171142,Encoder -72516.0000000
0000003311: Rated current 14.9900000

After calibration is complete, all Slave xx actual position values are recorded in the ~/.config/lejuconfig/offset.csv file.

⚠️ Note:

  • After calibrating the robot with the fixtures, be sure to remove all fixtures before starting up; otherwise the motors may burn out!