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

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.19.47
File Size Uploaded
rbq_sdk-1.19.47.tar.gz 25.3 kB Details

Built distribution (wheel)

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

Total release size: 94.3 kB

Release files / rbq_sdk-1.19.47.tar.gz

Download URL rbq_sdk-1.19.47.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
168dd67203890ffb005a279301221e156dd537b78ddfcf0950c4f95cd18e7a55
BLAKE2b-256 checksum
How to use checksums
ec1f48911a9eca1285a6fba65003b17167d57439eea862258b627fd2d59f209b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / rbq_sdk-1.19.47-py3-none-any.whl

Download URL rbq_sdk-1.19.47-py3-none-any.whl
Size 69.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8de93fbde6709bd90bb26895119c1742791f3fb8cbb6008a7b95dd806fe12fea
BLAKE2b-256 checksum
How to use checksums
17f933f23d575bc89732887161461bd37d790f66aacebbe275551249075fe645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

1.20.0

2 release files

This release

1.19.47 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