Upper-Limb Control Mode
Description
- The upper-limb control mode is intended for use cases that involve pure upper-limb control. In this mode, the leg motors are not enabled during operation, so the robot can be used as the upper body of a wheeled-arm robot. Its control interfaces are exactly the same as those in full-body mode.
Running on Real Hardware - Enable Only the Upper Body (with Lower Limbs)
That is, the robot's lower-limb joints are not controlled; only the upper body (arm and head joints) is controlled. This makes it convenient to quickly develop and debug scenarios that use only the arm and head joints.
- Modify the configuration file
In the src/kuavo_assets/config/kuavo_v$ROBOT_VERSION/kuavo.json configuration file, set the only_half_up_body option to true.
// 大约在 38 行
"only_half_up_body":true, - Run
Execute the following commands to start the robot:
source devel/setup.bash
roslaunch humanoid_controllers load_kuavo_real_half_up_body.launchThe remaining steps are the same as those in the Running on Real Hardware section; please refer to that section to proceed.
After the program starts, follow the prompts in the terminal (it will prompt you to press o to start the robot), then press o to start the robot.
Running on Real Hardware - Wheeled-Arm Robot (No Lower Limbs)
- Modify the configuration file
In the
src/kuavo_assets/config/kuavo_v$ROBOT_VERSION/kuavo.jsonconfiguration file, set theonly_half_up_bodyoption totrue.
// 大约在 38 行
"only_half_up_body":true, Modify MOTOR_TYPE in the configuration file by appending _none to the first 12 motors to disable the lower-limb joints (the wheeled-arm robot has no leg joints), as shown below.
"MOTORS_TYPE":[
"PA100_18_none", "PA100_none", "PA100_none", "PA100_18_none", "CK_none", "CK_none",
"PA100_18_none", "PA100_none", "PA100_none", "PA100_18_none", "CK_none", "CK_none",
"PA100", "ruiwo", "ruiwo", "ruiwo", "ruiwo", "ruiwo", "ruiwo",
"PA100", "ruiwo", "ruiwo", "ruiwo", "ruiwo", "ruiwo", "ruiwo", "ruiwo", "ruiwo"],- Run Execute the following commands to start the robot:
source devel/setup.bash
roslaunch humanoid_controllers load_kuavo_real_half_up_body.launchThe remaining steps are the same as those in the Running on Real Hardware section; please refer to that section to proceed.
After the program starts, follow the prompts in the terminal (it will prompt you to press o to start the robot), then press o to start the robot.