Function orbita3d_get_current_velocity

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

Get the current velocity of the platform

§Arguments

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

§Returns

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