2 API & ROS2 Overview

This has been verified and is up to date for release/1.23.124

2.1 When to Use the SDK and REST API vs ROS2 Bridge

The robot exposes two complementary developer surfaces:

As a rule of thumb, if you react to input every cycle and stream setpoints, use the bridge. If you issue discrete high-level commands, use the SDK.

NOTE – The ROS2 Bridge Does Not Replace the SDK

The bridge depends on the SDK. You use the Python SDK to unbrake the arm and to switch ROS2 control on and off, so the two are always used together.