#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_recording_actuator_commands(
actuator: *const PamojaRecordingActuator,
out_commands: *mut f32,
capacity: usize,
) -> usizeExpand description
Copies out the commands an actuator recorded, oldest first.
§Arguments
actuator- the actuator.out_commands- receives up tocapacitycommands.capacity- how many floatsout_commandscan hold.
§Returns
How many commands were written, which is the smaller of capacity and the
count from pamoja_recording_actuator_len.
§Safety
actuator must be a live handle, and out_commands must point to at least
capacity writable floats or be null when capacity is 0.