vex_sdk::imu

Function vexDeviceImuAttitudeGet

Source
pub unsafe fn vexDeviceImuAttitudeGet(
    device: V5_DeviceT,
    data: *mut V5_DeviceImuAttitude,
)
Expand description

Returns the 3-axis euler angles of the IMU bounded from -180 to 180 degrees.

ยงSafety

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