#[no_mangle]
pub extern "C" fn orbita3d_get_control_mode(
uid: u32,
mode: &mut u8,
) -> i32
Expand description
Get the control mode ( CiA402 control mode - u8) : 1 - Profile Position Mode, 3 - Profile Velocity Mode, 4 - Profile Torque Mode
- See more info here
§Arguments
- uid: u32 - The unique identifier of the controller.
- mode: *mut u8 - The control mode.
§Returns
- i32 - 0 if the control mode was retrieved successfully, 1 otherwise.