Feature ExamplesKuavo 5 Examplespytree Examples
case_wheel_test_torso_joint.py - Wheeled-Arm Robot Folding-Arm Control Test
Function Description
- Demonstrates precise control of the lower-limb joints of a wheeled-arm robot
- Directly controls the angular positions of 4 joints
- Designed specifically for lower-limb joint control of wheeled-arm robots
Key Features
- Independent angle control for 4 joints
- Publishes to the ROS topic: /lb_leg_traj
- Asynchronous execution mode
- Real-time joint state feedback
Troubleshooting Runtime Issues
During operation, you may encounter issues related to SDK installation and msgs. The detailed solutions are as follows: Troubleshooting
Configuration Parameters
TARGET_JOINT_ANGLES = [14.90, -32.01, 18.03, 90.0] # 目标关节角度(度)
TOTAL_TIME = 8.0 # 执行时间(秒)Launch Instructions
Start the Wheeled-Arm Lower-Level Controller Program
Start the Lower-Level Main Program
- Gazebo simulation: Use
load_kuavo_gazebo_sim_wheel.launch
cd ~/kuavo-ros-opensource
sudo su
source devel/setup.bash
roslaunch humanoid_controllers load_kuavo_gazebo_sim_wheel.launch- MuJoCo simulation: Use
load_kuavo_mujoco_sim_wheel.launch
cd ~/kuavo-ros-opensource
sudo su
source devel/setup.bash
roslaunch humanoid_controllers load_kuavo_mujoco_sim_wheel.launch- Real robot: Use
load_kuavo_real_wheel.launch
cd ~/kuavo-ros-opensource
sudo su
source devel/setup.bash
roslaunch humanoid_controllers load_kuavo_real_wheel.launchStart the Upper-Level Program
TF Tree Republisher (websocket server)
Launch in a new terminal:
cd ~/kuavo_ros_application
source devel/setup.bash
roslaunch kuavo_tf2_web_republisher start_websocket_server.launchIf this program is not started, retrieving TF transforms via /republish_tfs in the Python SDK/policy will report an error such as the kuavo_tf2_web_republisher node not running.
Start the PyTree Wheeled-Arm Example
Launch in another terminal (it is recommended to cd to the repository root and source the environment first):
cd ~/kuavo-ros-opensource
sudo su
source devel/setup.bash
cd src/kuavo_humanoid_sdk/kuavo_humanoid_sdk/kuavo_strategy_pytree/pick_place_box
python3 case_wheel_test_torso_joint.pyUsage
python3 case_wheel_test_torso_joint.pySupported Environments
- Real robot
- MuJoCo simulation environment
- Gazebo simulation environment