vex_sdk::imu

Function vexDeviceImuQuaternionGet

source
#[no_mangle]
pub unsafe extern "C" fn vexDeviceImuQuaternionGet(
    device: V5_DeviceT,
    data: *mut V5_DeviceImuQuaternion,
)
Expand description

Returns quaternion defined by the IMU’s rotation.

§Safety

Calls to jumptable functions are unsafe because jumptable functions are owned by VEXos and we cannot guarantee their safety.