Skip to main content

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.20.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rbq-sdk 1.20.0
File Size Uploaded
rbq_sdk-1.20.0.tar.gz 26.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rbq-sdk 1.20.0
File Interpreter ABI Platform
rbq_sdk-1.20.0-py3-none-any.whl Python 3 none any Details

Total release size: 96.9 kB

Release files / rbq_sdk-1.20.0.tar.gz

Download URL rbq_sdk-1.20.0.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f8223b7a2b7e4416f579637bf8a5bc0f1c9ddf99cd282859da331e2878879bf5
BLAKE2b-256 checksum
How to use checksums
557e19cc39ca7af5c36c6a09541cf11a865bfece418c28d1b3f7244c5a3c29c1
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.20.0-py3-none-any.whl

Download URL rbq_sdk-1.20.0-py3-none-any.whl
Size 70.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2c4514f67dcab6020a10ac51b35bae3bd94c709189785ecd21702af61e6b493
BLAKE2b-256 checksum
How to use checksums
870d0a686d91d825cc0c9597bc4c654e31d868a9361a020f5f6e08a13c838220
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.20.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page