vex_sdk::imu

Function vexDeviceImuHeadingGet

Source
pub unsafe fn vexDeviceImuHeadingGet(device: V5_DeviceT) -> c_double
Expand description

Returns the yaw-axis rotation of the IMU as an unbounded angle in degrees.

ยงSafety

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