Function orbita3d_enable_torque
Source #[no_mangle]
pub extern "C" fn orbita3d_enable_torque(
uid: u32,
reset_target: bool,
) -> i32
Expand description
Enable the controller (turn on the motors)
§Arguments
- uid: u32 - The unique identifier of the controller.
- reset_target: bool - Reset the target orientation to the current orientation.
§Returns
- i32 - 0 if the controller was enabled successfully, 1 otherwise.