Skip to main content

pamoja_ros2_twist_to_cdr

Function pamoja_ros2_twist_to_cdr 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_ros2_twist_to_cdr( twist: PamojaRos2Twist, ) -> *mut PamojaBuffer
Expand description

Encodes a twist into its CDR representation.

§Arguments

  • twist - the command to encode.

§Returns

A buffer the caller must release with pamoja_buffer_free.