Skip to main content

pamoja_recording_actuator_apply

Function pamoja_recording_actuator_apply 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_recording_actuator_apply( actuator: *mut PamojaRecordingActuator, command: f32, ) -> PamojaStatus
Expand description

Applies a command, which the actuator records rather than acts on.

§Arguments

  • actuator - the actuator.
  • command - the value commanded.

§Returns

PamojaStatus::Ok on success.

§Safety

actuator must be a live handle from pamoja_recording_actuator_new.