vex_sdk::imu

Function vexDeviceImuRawAccelGet

Source
pub unsafe 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.