Kuavo Docs
Quick StartWheel-Arm Controller Guide

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_controllers

2.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:=bt2pro

Terminal 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.service

3. Control Modes

The system provides three control modes:

  1. cmd_vel mode
  2. cmd_vel_world mode
  3. Torso control mode (cmd_lb_torso_pose)

4. Remote Controller Button Description

  1. Top view of the controller buttons

    controller_top 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
  2. Front view of the controller buttons

    controller_front

    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 ModeButton CombinationDescription
cmd_velLB + A button (BUTTON_STANCE)Switch to cmd_vel mode
cmd_vel_worldLB + Y button (BUTTON_WALK)Switch to cmd_vel_world mode
Torso controlLB + 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

ButtonFunctionDescription
BACK buttonKill the programEmergency 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 OperationControl ParameterDescription
Left joystick up/down (X axis)linear.xForward/backward linear velocity
Left joystick left/right (Y axis)linear.yLeft/right linear velocity
Right joystick left/right (Yaw axis)angular.zAngular 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 CombinationJoystick OperationControl ParameterDescriptionNotes
LB + left joystickUp/downlinear.xTorso X positionControl is triggered only while LB is held; the current value is held when LB is released
LB + right joystickUp/downlinear.zTorso Z positionControl is triggered only while LB is held; the current value is held when LB is released
RB + right joystickLeft/rightangular.zTorso Yaw angleControl is triggered only while RB is held; the current value is held when RB is released
RB + left joystickUp/downangular.yTorso Pitch angleControl is triggered only while RB is held; the current value is held when RB is released
RT button--Reset functionPressing 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

  1. Mode switching: Use the LB button together with the A/Y/B buttons to switch modes; a console output prompt is displayed when switching
  2. Dead zone handling: Joystick input values below 0.05 are treated as 0 to avoid slight jitter
  3. 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
  4. Emergency stop: Pressing the BACK button kills the program
  5. 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