NVIDIA DriveWorks API: IMU
Description: This file defines methods to access the IMU sensor.
Definition in file IMU.h.
Go to the source code of this file.
Data Structures | |
struct | dwIMUFrame |
An IMU frame containing sensor readings from the IMU sensor. More... | |
Enumerations | |
enum | dwIMUFlags { DW_IMU_HEADING = 1 << 1, DW_IMU_ROLL = 1 << 2, DW_IMU_PITCH = 1 << 3, DW_IMU_YAW = 1 << 4, DW_IMU_QUATERNION_X = 1 << 5, DW_IMU_QUATERNION_Y = 1 << 6, DW_IMU_QUATERNION_Z = 1 << 7, DW_IMU_QUATERNION_W = 1 << 8, DW_IMU_ROLL_RATE = 1 << 9, DW_IMU_PITCH_RATE = 1 << 10, DW_IMU_YAW_RATE = 1 << 11, DW_IMU_ACCELERATION_X = 1 << 12, DW_IMU_ACCELERATION_Y = 1 << 13, DW_IMU_ACCELERATION_Z = 1 << 14, DW_IMU_MAGNETOMETER_X = 1 << 15, DW_IMU_MAGNETOMETER_Y = 1 << 16, DW_IMU_MAGNETOMETER_Z = 1 << 17 } |
Each flag shows if that value is valid in this IMU frame. More... | |
enum | dwIMUHeadingType { DW_IMU_HEADING_TRUE = 0, DW_IMU_HEADING_MAGNETIC = 1 } |
Types of the heading degree. More... | |
Functions | |
DW_API_PUBLIC dwStatus | dwSensorIMU_popFrame (dwIMUFrame *frame, dwSensorHandle_t sensor) |
Returns any IMU data previously processed through the raw data stream. More... | |
DW_API_PUBLIC dwStatus | dwSensorIMU_processRawData (const uint8_t *data, size_t size, dwSensorHandle_t sensor) |
Reads the IMU frame from raw data. More... | |
DW_API_PUBLIC dwStatus | dwSensorIMU_readFrame (dwIMUFrame *frame, dwTime_t timeout_us, dwSensorHandle_t sensor) |
Reads the next IMU frame from the sensor within a given timeout. More... | |