Skip to content

ROS2/DDS Interface

The DR02 provides ROS2-compatible topic and service interfaces through the DrDDS middleware, suitable for complex algorithm development and multi-node collaboration.

Note: Before using ROS2 tools to receive topics, check frequencies, etc., you need to source the environment variables with source /opt/robot/scripts/setup_ros2.sh.

The following topics publish messages immediately after boot. Developers can subscribe to these topics to obtain sensor data.

Topic NameDescriptionMessage TypeFrequency
/IMU_DATA_BODYBody IMU data topic (generic format)sensor_msgs/msg/Imu200Hz
/IMU_DATA_LEGLeg IMU data topic (generic format)sensor_msgs/msg/Imu200Hz
Topic NameDescriptionMessage Type
/MOTION_STATEMotion state transition commanddrdds/msg/MotionState
Topic NameDescriptionMessage Type
/GAITMotion gait switching commanddrdds/msg/Gait
Topic NameDescriptionMessage Type
/STEERGamepad joystick (normalized) velocity commanddrdds/msg/Steer

[Tip] For detailed parameter descriptions and usage of these topics, refer to the Motion Control State Interface documentation.