Function orbita3d_set_target_velocity

Source
#[no_mangle]
pub extern "C" fn orbita3d_set_target_velocity(
    uid: u32,
    output_velocity: &[f64; 3],
) -> i32
Expand description

Set the target velocity of the platform (rad/s)

§Arguments

  • uid: u32 - The unique identifier of the controller.
  • velocity: *const [f64; 3] - The target velocity of the platform.

§Returns

  • i32 - 0 if the velocity was set successfully, 1 otherwise.