Roban2 (ROS1) Legacy VersionsQuick Start
Robot Gamepad Control
Overview
This example shows users how to use a gamepad to control robot movement and execute preset actions.
Gamepad Control
Gamepad Buttons

- Detailed Table of Gamepad Button Functions
| Button/Operation | Function Description |
|---|---|
| START button | After the robot is powered on, the first press puts it into the ready pose (all motors enabled, executes a squatting motion); the second press makes it stand up from the squatting position (the robot's feet must be on the ground before the second press) |
| BACK + START buttons | Emergency stop; terminates immediately |
| Left joystick | Up/down moves forward/backward, left/right moves left/right |
| Right joystick | Up/down adjusts squat height, left/right turns left/right |
| Directional pad | Moves forward/backward/left/right at maximum speed |
| A button | Stand |
| B button | Disables the joysticks and directional pad |
| X button | Stand up from a backward-fallen state (reserved) |
| Y button | March in place |
| Left trigger LT + A | Performs the "fist-and-palm salute" gesture |
| Left trigger LT + B | Performs the "right-hand wave" gesture |
| Left trigger LT + X | Performs the "left-hand wave" gesture |
| Left trigger LT + Y | Performs the "handshake" gesture |
| Right trigger RT + A | Performs the "fist bump" gesture |
| Right trigger RT + B | Performs the "Tai Chi" gesture |
| Right trigger RT + X | Performs the "cheer" gesture |
| Right trigger RT + Y | Performs the "raise right hand in greeting" gesture |
| Left trigger LT (hold) + right joystick | Twists the waist left/right (rotation angle ±120°) |
| Right trigger RT (hold) + right joystick | Left/right on the joystick turns the head left/right, up/down controls head pitch |
| Left shoulder button LB + A | Shortens stride length (currently unassigned) |
| Left shoulder button LB + Y | Lengthens stride length (currently unassigned) |
| Left shoulder button LB + B | Switches arm control mode (arms swing while walking / arms fixed in the current position) |
| Left shoulder button LB + X | Opens/closes the dexterous hands |
| Right shoulder button RB + A | Decreases maximum speed |
| Right shoulder button RB + Y | Increases maximum speed |
| Right shoulder button RB + B | Currently unassigned |
| Right shoulder button RB + X | Currently unassigned |
| M1/M2 button + A/B/X/Y | Some factory-preset actions; users can customize them; must be used while the robot is standing |
| M1+M2 buttons (pressed simultaneously) + A/B/X/Y | Some factory-preset actions; users can customize them; must be used while the robot is standing |
- Detailed Table of User-Customizable Buttons
The buttons shown in the table below are factory-preset actions; users can customize them in the desktop software.
| Button | Factory-Preset Action | Button | Factory-Preset Action |
|---|---|---|---|
| M1+X | Raise left hand | M2+A | Put down the box |
| M1+Y | Young Pioneers salute | M2+B | Currently unassigned |
| M1+A | Hands on hips | M1+M2+X | Currently unassigned |
| M1+B | Raise right hand | M1+M2+Y | Currently unassigned |
| M2+X | Blow a kiss | M1+M2+A | Currently unassigned |
| M2+Y | Hold the box | M1+M2+B | Currently unassigned |