Debugging Tutorials
Configuration File Description
Basic Information
- Motor motion direction
- The motor's rotation direction is consistent with the positive direction of the robot's coordinate system and follows the right-hand rule. Grip the motor's rotation axis with your right hand and point your thumb in the positive direction of the rotation axis (the positive direction of the rotation axis is consistent with the positive direction of the robot's coordinate system); the direction in which your remaining four fingers curl indicates the positive direction of rotation.
- Positive directions of the robot: forward -> positive x-axis, left -> positive y-axis, up -> positive z-axis.
- For example, the roll axis of hip joint No. 1 is parallel to the robot's x-axis, so according to the right-hand rule, the direction in which this motor rotates around the robot's x-axis is the positive direction.
- Another example: the ankle joint is controlled by a parallel linkage, and the axes of its two motors are parallel to the robot's y-axis (4th generation), so according to the right-hand rule, the direction in which these motors rotate around the robot's y-axis is the positive direction.
-
Note: The knee joint is special. The positive direction of the knee joint should be determined by the joint's rotation direction rather than the motor's rotation direction (this has no effect on the 4th generation, but the reverse-joint version on the 4pro differs).
- ROS master-slave setup
- The ROS master-slave setup is used for communication between the upper-level and lower-level computers to complete data transmission.
- The slave program can only be started after the master program has been started; when the master program terminates, the slave program will also shut down.
- The ROS master-slave configuration has been completed at the factory; users should not modify it themselves.
Leg Zero-Position File Description
- Path:
/home/lab/.config/lejuconfig/offect.csv(lower-level computer) - There are 14 motor zero positions in total: 1
6 are the zero positions of the left leg motors, 712 are those of the right leg, 13 is the zero position of the left shoulder motor, and 14 is the zero position of the right shoulder motor.
Arm Zero-Position File Description
- Path:
/home/lab/.config/lejuconfig/arms_zero.yaml(lower-level computer) - There are 14 motor zero positions in total: 1
6 are the zero positions of the left arm motors, 712 are those of the right arm, and 13~14 are the zero positions of the neck motors.
Arm End Effector Configuration File Description
- Path:
kuavo-ros-control/src/kuavo_assets/config/kuavo_v42/kuavo.json. Note that you must modify the configuration file corresponding to your robot model. - In the
kuavo.jsonfile, whenEndEffectorTypeis set toqiangnao, the arm end effector is the BrainCo dexterous hand; when set tolejuclaw, the end effector is the in-house developed gripper (two-finger gripper).