Skip to content

Sport Client (Joystick) — Quick Start

Source: rbq_sdk/cpp/example/src/rbq_sport_client_joy.cpp

Gamepad-driven robot control via SportClient. Analog sticks → velocity, buttons → discrete actions.

Build

bash
cd RBQ/rbq_sdk/cpp/example
bash scripts/setup.bash
bash scripts/build.bash

Run

bash
./bin/rbq_sport_client_joy <networkInterface> [joystickPath]
./bin/rbq_sport_client_joy eth0
./bin/rbq_sport_client_joy eth0 /dev/input/js1

Joystick is auto-detected from /dev/input/js* (prefers Logitech/Xbox by name).
Override with JOY=/dev/input/js1 ./bin/rbq_sport_client_joy eth0.

Gamepad layout (Logitech F710 / Xbox)

Button chords

Hold + PressAction
L2 + BE-stop (Damp)
L2 + A × 1StandUp (lock joints)
L2 + A × 2StandDown (prone)
STARTDefault gait
L2 + STARTRunning mode
L2 + XRecovery stand
R1 + XClimb mode
L1 + Xnot supported on this robot
L1 + Ynot supported on this robot
BACKStop move

Double-click (within 400 ms)

ButtonAction
X × 2Left-side gait
Y × 2Right-side gait
R1 × 2not supported on this robot
R2 × 2not supported on this robot

Analog sticks

AxisMaps toMax
L stick forward/backvel_x±0.55 m/s
L stick left/rightvel_y±0.35 m/s
R stick left/rightvyaw±1.0 rad/s

Deadzone: 0.12 on all axes.

Full reference: Sport Client (Joystick)

This user manual is intended for RBQ users.