vex_sdk::imu

Function vexDeviceImuQuaternionGet

Source
pub unsafe 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.