rbq_sdk_python
Standalone Python interface for rbq_sdk
Installation
Dependencies
- Python >= 3.10 (cyclonedds 0.10.2 ships wheels only through CPython 3.10)
- cyclonedds == 0.10.2
- numpy
- opencv-python
Installing from PyPI
pip install rbq_sdk
Installing from source
Enter the rbq_sdk directory, and then install cyclonedds and rbq_sdk:
sudo bash scripts/build_dds.bash
sudo bash scripts/build.bash
Enter the rbq_sdk_python directory, and then install rbq_sdk_python.
sudo apt install python3-pip
pip3 install -e .
Usage
The Python interface mirrors the rbq_sdk interface — robot status and control via request/response or topic subscription/publishing.
Example programs live in the source repository under
rbq_sdk/python/example/. They are not included in the pip-installed package; clone the repo to run them. Replace<iface>below with the network interface connected to the robot (e.g.eth0).
High-level control (example/sport/)
Publish HighLevelCommand (gait + velocity) to drive the robot:
python3 example/sport/rbq_high_level.py <iface>
Other sport examples: rbq_low_level.py, rbq_sport_client.py, rbq_sport_client_joy.py.
Front camera (example/front_camera/)
Grab the front camera with OpenCV (needs a graphical session; press ESC to exit):
python3 example/front_camera/camera_opencv.py <iface>
Also available: capture_image.py.
Metadata
Release files for rbq-sdk 1.2609.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rbq_sdk-1.2609.0.tar.gz | 26.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbq_sdk-1.2609.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 97.1 kB
Release files / rbq_sdk-1.2609.0.tar.gz
| Download URL | rbq_sdk-1.2609.0.tar.gz |
|---|---|
| Size | 26.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0501b8dd8a3e11f53b86a1efaed07ac059dddc3cd95c8a574dae9100fd64b715
|
|
BLAKE2b-256 checksum How to use checksums |
8b73ee07392bd7612a20c3fac715b42b9d909641798d7b82f46ccfdcdf146d75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.12
|
Release files / rbq_sdk-1.2609.0-py3-none-any.whl
| Download URL | rbq_sdk-1.2609.0-py3-none-any.whl |
|---|---|
| Size | 70.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2aebc1df2dd4a77bbefd106fb95ffc97f3aeb162a3c7efd68649b4831985462b
|
|
BLAKE2b-256 checksum How to use checksums |
6610f887663fe665b2b0ef6a3372b0311e5af6905e5d2c341397003efb1acbfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.12
|