vex_sdk::imu

Function vexDeviceImuDegreesGet

source
#[no_mangle]
pub unsafe extern "C" fn vexDeviceImuDegreesGet(
    device: V5_DeviceT,
) -> c_double
Expand description

Returns the yaw-axis rotation of the IMU as an angle in degrees bounded 0-360.

ยงSafety

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