Debugging Tutorials
Kuavo 5-W: Identifying the Direction of Arm and Head Motors
- Open a new terminal and run the following command to start the tool:
cd kuavo-ros-opensource/
sudo python3 tools/check_tool/Hardware_tool.py- In the tool interface, enter
ofirst, then entere, as shown in the figure below:

- Enter
1to enter direction identification mode (the 4pro procedure is currently used for arm/head motor direction identification), then identify the motors one by one as prompted:
- The positive direction of motor rotation matches the positive direction of the robot coordinate system and follows the right-hand rule.
- How to apply the right-hand rule: grip the motor's rotation axis with your right hand and point your thumb along the positive direction of the rotation axis (consistent with the positive direction of the robot coordinate system); the direction in which your remaining four fingers curl is the positive direction of rotation.
- Positive directions of the robot coordinate system: forward is the positive x-axis, left is the positive y-axis, and up is the positive z-axis.
- Enter the motor ID: range
1to14(1is motor No. 1 on the left hand, and14is the last motor on the head) - Confirm the direction: observe the motor's actual direction of motion, then select
yes(reverse) orno(forward) - Move on to the next motor: if the direction is correct, directly enter the next motor ID to continue
- Redo if the direction is wrong: enter
delto delete the setting you just made, then identify the motor again to ensure the change takes effect
As shown in the figure below:
