vex_sdk::imu

Function vexDeviceImuRawAccelGet

source
#[no_mangle]
pub unsafe extern "C" fn vexDeviceImuRawAccelGet(
    device: V5_DeviceT,
    data: *mut V5_DeviceImuRaw,
)
Expand description

Returns the raw accelerometer readings of the IMU in G.

ยงSafety

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