Kuavo 5-W Controller Instructions
- Kuavo 5-W Controller Instructions
1. Overview
This document explains how to use the controller to control the wheeled-arm robot, including the three control modes and how to switch between them.
2. Lower-Level Computer Deployment
2.1 Compiling the Lower-Level Computer Branch
- Lower-level repository:
kuavo-ros-opensource
cd kuavo-ros-opensource #仓库目录
catkin config -DCMAKE_ASM_COMPILER=/usr/bin/as -DCMAKE_BUILD_TYPE=Release # Important!
source installed/setup.bash # 加载一些已经安装的ROS包依赖环境,包括硬件包等
catkin build humanoid_controllers2.2 Starting the Lower-Level Computer (Standing)
The lower-level computer requires 2 terminals to complete the basic standing function:
Terminal 1 - Load the Robot Controller
cd kuavo-ros-opensource
sudo su
source devel/setup.bash
roslaunch humanoid_controllers load_kuavo_real_wheel.launch joystick_type:=bt2proTerminal 2 - Connect via SSH and Restart the Service
Password:
133233
ssh -oKexAlgorithms=+diffie-hellman-group14-sha1 \
-oHostKeyAlgorithms=+ssh-rsa \
-oCiphers=+aes128-cbc,3des-cbc \
ucore@192.168.26.22
sudo systemctl restart urobot.service3. Control Modes
The system provides three control modes:
- cmd_vel mode
- cmd_vel_world mode
- Torso control mode (cmd_lb_torso_pose)
4. Remote Controller Button Description
-
Top view of the controller buttons
The figure marks the button positions on the top of the controller, including:- LT (Left Trigger): left trigger button
- LB (Left Bumper): left shoulder button
- RT (Right Trigger): right trigger button (marked with a red box in the figure)
- RB (Right Bumper): right shoulder button
-
Front view of the controller buttons

The figure shows the button layout on the front of the controller, including:
- Left joystick: the blue joystick at the upper left
- Right joystick: the blue joystick at the lower right
- D-pad: directional buttons
- ABXY buttons: function buttons at the upper right (A, B, X, Y)
- BACK button: function button on the left
- START button: function button on the right
5. Mode Switching
Mode-Switching Button Combinations
| Target Mode | Button Combination | Description |
|---|---|---|
| cmd_vel | LB + A button (BUTTON_STANCE) | Switch to cmd_vel mode |
| cmd_vel_world | LB + Y button (BUTTON_WALK) | Switch to cmd_vel_world mode |
| Torso control | LB + B button (BUTTON_TROT) | Switch to torso control mode |
Default Mode
The default mode when the system starts is cmd_vel mode.
Other Function Buttons
| Button | Function | Description |
|---|---|---|
| BACK button | Kill the program | Emergency stop function |
6. Detailed Mode Description
6.1 cmd_vel Mode / cmd_vel_world Mode
Topic: /cmd_vel or /cmd_vel_world
Control method:
| Joystick Operation | Control Parameter | Description |
|---|---|---|
| Left joystick up/down (X axis) | linear.x | Forward/backward linear velocity |
| Left joystick left/right (Y axis) | linear.y | Left/right linear velocity |
| Right joystick left/right (Yaw axis) | angular.z | Angular velocity around the Z axis |
Dead zone: 0.05 (joystick input values below the dead zone are treated as 0)
6.2 Torso Control Mode (cmd_lb_torso_pose)
Topic: /cmd_lb_torso_pose
Control method:
In this mode, the joystick must be used together with the buttons for control.
| Button Combination | Joystick Operation | Control Parameter | Description | Notes |
|---|---|---|---|---|
| LB + left joystick | Up/down | linear.x | Torso X position | Control is triggered only while LB is held; the current value is held when LB is released |
| LB + right joystick | Up/down | linear.z | Torso Z position | Control is triggered only while LB is held; the current value is held when LB is released |
| RB + right joystick | Left/right | angular.z | Torso Yaw angle | Control is triggered only while RB is held; the current value is held when RB is released |
| RB + left joystick | Up/down | angular.y | Torso Pitch angle | Control is triggered only while RB is held; the current value is held when RB is released |
| RT button | - | - | Reset function | Pressing the RT button clears all torso control values (resets to the initial position); the reset is triggered at the moment of pressing, and other controls can be used again after the reset |
Dead zone: 0.05
Special notes:
- When entering torso control mode, the system automatically switches to the ArmOnly mode of MPC
- When exiting torso control mode, the system restores the previous MPC mode
- All control values are accumulated: positive joystick input increases the value, zero keeps it unchanged, and negative input decreases it
- Pressing the RT button quickly resets all torso control values to the initial positions
7. Video Demonstration
Demo video: Controller Remote Control Video
8. Usage Tips
- Mode switching: Use the LB button together with the A/Y/B buttons to switch modes; a console output prompt is displayed when switching
- Dead zone handling: Joystick input values below 0.05 are treated as 0 to avoid slight jitter
- Torso control:
- In torso control mode, you must hold the corresponding button to adjust the control value; the current value is held after the button is released
- Control values are accumulated: positive joystick input increases the value, zero keeps it unchanged, and negative input decreases it
- Pressing the RT button quickly resets all torso control values to the initial positions
- Emergency stop: Pressing the BACK button kills the program
- Mode switching: Before switching modes, make sure the controller control values are 0 and held at 0 for 2 seconds; only then can the mode be switched