Rainbow Robotics SDK

One SDK for cobots, AMRs and the RB-Y1 dual-arm robot. Python and C++, same API.

Documentation

Python SDK rainbow.rb_sdk: RBManipulateSDK, RBAmrSDK, RBRby1SDK, RBProgramSDK Python API → C++ SDK Public headers of librb_sdk, the same classes as Python C++ API → FlatBuffers types Request and response tables returned by SDK calls Types →

Other versions: use the version switcher in the docs, or docs/dev for prereleases.

Install for Python

Python 3.11 – 3.13 on Linux (x86_64, aarch64) and Windows x64.

pip install rainbow-rb-sdk

On macOS, pip install rainbow-rb-sdk-stubs gives editor autocompletion and type checking (no runtime).

Install for C++ (APT)

Add the repository once, then install with apt. Replace stable with dev for prerelease builds, and amd64 with arm64 on 64-bit ARM hosts.

curl -fsSL https://rainbowrobotics.github.io/rb-sdk/rb-sdk-apt-repo.gpg.key \
  | sudo gpg --dearmor -o /usr/share/keyrings/rb-sdk-apt.gpg

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/rb-sdk-apt.gpg] https://rainbowrobotics.github.io/rb-sdk stable main" \
  | sudo tee /etc/apt/sources.list.d/rb-sdk.list

sudo apt update
sudo apt install rainbow-rb-sdk-dev

rainbow-rb-sdk-dev pulls in the matching rainbow-rb-sdk runtime automatically.

Pin an exact version

apt-cache madison rainbow-rb-sdk-dev
sudo apt install rainbow-rb-sdk-dev=1.2.3 rainbow-rb-sdk=1.2.3
# dev channel: sudo apt install rainbow-rb-sdk-dev=1.2.3~dev4 rainbow-rb-sdk=1.2.3~dev4

Downloads

C++ binary tarballs, the Windows zip and the .deb bundle from GitHub Releases. CI pipelines should prefer these over APT (APT traffic counts against the Pages bandwidth limit).

Loading releases…

Use a tarball

V=1.2.3
TRIPLE=x86_64-unknown-linux-gnu   # arm64: aarch64-unknown-linux-gnu
curl -fL "https://github.com/RainbowRobotics/rb-sdk/releases/download/$V/rb-sdk-cpp-$V-$TRIPLE.tar.gz" \
  | sudo tar -xzf - -C /usr/local
# CMake: find_package(rb_sdk PATHS /usr/local/lib/cmake/rb_sdk REQUIRED)
# pkg-config: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --cflags --libs rb_sdk
Do not load librb_sdk.so.<version> and the Python package rainbow.rb_sdk in the same process.