Skip to content

Sport Client (Python) — Quick Start ​

Source: rbq_sdk/python/example/sport/rbq_sport_client.py

Python terminal CLI for sending SportClient commands.

Install ​

bash
cd RBQ/rbq_sdk/python
pip install -e .

Run ​

bash
cd RBQ/rbq_sdk/python/example/sport
python3 rbq_sport_client.py [networkInterface]

# Simulator / on-robot stack — interface defaults to lo
python3 rbq_sport_client.py

# Real robot — pass the interface that reaches it
python3 rbq_sport_client.py eth0

Usage ​

Input "list " to list all test option ...
list            ← print all commands
balance_stand   ← execute by name
1               ← execute by ID

Key commands ​

IDNameWhat it does
0dampE-stop
1balance_standStanding
4recovery_standStand up from fall
5moveRotate in place
8get_statePrint robot state
11stand_upLock standing joints

The example program's list also prints commands the robot does not implement; those return a "not implemented" error. Only the commands above are supported.

→ Full reference: Sport Client (Python)

This user manual is intended for RBQ users.