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>
# e.g.
python3 rbq_sport_client.py eth0Usage
Input "list " to list all test option ...
list ← print all commands
balance_stand ← execute by name
1 ← execute by IDKey commands
| ID | Name | What it does |
|---|---|---|
| 0 | damp | E-stop |
| 1 | balance_stand | Standing |
| 4 | recovery_stand | Stand up from fall |
| 5 | move | Rotate in place |
| 8 | get_state | Print robot state |
| 11 | stand_up | Lock standing joints |
| 16 | front_flip | not supported on this robot |
| 17 | back_flip | not supported on this robot |
→ Full reference: Sport Client (Python)
