Skip to main content

decode_tf_message

Function decode_tf_message 

Source
pub fn decode_tf_message(bytes: &[u8]) -> RuntimeResult<Vec<TfTransform>>
Expand description

Decodes a ROS 2 CDR little-endian tf2_msgs/msg/TFMessage payload.

The transform message uses the ROS 2 CDR alignment origin immediately after the four-byte encapsulation header for its nested float64 fields. This function preserves message order and does not compose or otherwise interpret the frame edges.