vex_sdk::imu

Function vexDeviceImuHeadingGet

source
#[no_mangle]
pub unsafe extern "C" 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.