Skip to main content
Subscribe on the external DDS domain. The gateway publishes Kinatric JSON topics as std_msgs::msg::dds_::String_. The D2 topics retain their pinned SDK types. The native SportModeState_ maps phases as follows. Its progress field is phase-dependent. The locomotion runtime pauses this stream after high-level control is released. The JSON field control_state.mode maps Stand to 0, RL to 3, Passive to 7, and other FSM states to -1. Use control_state.state for the exact FSM state. In control_state.controller, internal means the onboard controller, waiting means high-level control is released and no low-level writer has been selected by the HAL, and external means a low-level writer is selected. For each LowState_ sample, check the SDK CRC, match LowState_.tick to state_validity.tick, and require joints=true before consuming actuator measurements. Check imu, acceleration, and temperature before using those fields. The validity worker targets a 20 ms loop. LowState_ itself is forwarded from the HAL as it arrives and has its own cadence. Foot forces, body position, and measured body velocity are unavailable in this interface. Other unpopulated D2 fields carry their IDL defaults. The Nano ROS 2 bridge converts /cmd_vel to Move, publishes matched joint and IMU feedback to /joint_states and /imu/data, and uses base_link for IMU messages.

Subscribe to feedback in Python

This read-only example prints one validity report and its matching 12-leg-axis feedback sample when available. Run it from the repository root in Bash with the same network variables as the status probe. The feedback_report helper checks the tick and CRC before returning joint data.
Continue to low-level control.