Module imu

Source
Expand description

V5 Inertial Sensor

Structs§

V5ImuOrientationMode
V5_DeviceImuAttitude
V5_DeviceImuQuaternion
V5_DeviceImuRaw

Functions§

vexDeviceImuAttitudeGet
Returns the 3-axis euler angles of the IMU bounded from -180 to 180 degrees.
vexDeviceImuDataRateSet
Safety
vexDeviceImuDegreesGet
Returns the yaw-axis rotation of the IMU as an angle in degrees bounded 0-360.
vexDeviceImuHeadingGet
Returns the yaw-axis rotation of the IMU as an unbounded angle in degrees.
vexDeviceImuModeGet
Safety
vexDeviceImuModeSet
Safety
vexDeviceImuQuaternionGet
Returns quaternion defined by the IMU’s rotation.
vexDeviceImuRawAccelGet
Returns the raw accelerometer readings of the IMU in G.
vexDeviceImuRawGyroGet
Returns the raw gyroscope readings of the IMU in degrees per second,
vexDeviceImuReset
Calibrates the IMU. This function is non-blocking.
vexDeviceImuStatusGet
Returns the IMU’s status bits.