47#ifndef DW_SENSORS_IMU_IMU_H_
48#define DW_SENSORS_IMU_IMU_H_
187#pragma GCC diagnostic push
188#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
191 DW_DEPRECATED(
"dwSensorIMU_readFrameNew() is deprecated and will be removed in next major release. Please use dwSensorIMU_readFrame() instead");
192#pragma GCC diagnostic pop
214 DW_DEPRECATED(
"dwSensorIMU_processRawDataNew() is deprecated and will be removed in next major release. Please use dwSensorIMU_processRawData() instead");
232#pragma GCC diagnostic push
233#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
236 DW_DEPRECATED(
"dwSensorIMU_popFrameNew() is deprecated and will be removed in next major release. Please use dwSensorIMU_popFrame() instead");
237#pragma GCC diagnostic pop
dwStatus
Status definition.
This structure contains one frame of data from a IMU sensor.
This structure contains one frame of data from a IMU sensor.
NVIDIA DriveWorks API: Sensors
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
#define DW_DEPRECATED(msg)
DW_API_PUBLIC dwStatus dwSensorIMU_processRawData(uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
Decodes IMU frames from received IMU sensor raw data/packets.
DW_API_PUBLIC dwStatus dwSensorIMU_processRawDataNew(uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
Reads the IMU frame New from raw data.
DW_API_PUBLIC dwStatus dwSensorIMU_readFrame(dwIMUFrame *const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor)
Reads the next IMU frame from the sensor within a given timeout.
DW_API_PUBLIC dwStatus dwSensorIMU_popFrameNew(dwIMUFrameNew *const frame, dwSensorHandle_t const sensor)
Returns any IMU Frame New previously processed through the raw data stream.
DW_API_PUBLIC dwStatus dwSensorIMU_readFrameNew(dwIMUFrameNew *const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor)
Reads the next IMU frame New from the sensor within a given timeout.
DW_API_PUBLIC dwStatus dwSensorIMU_popFrame(dwIMUFrame *const frame, dwSensorHandle_t const sensor)
Returns the earliest IMU frame previously processed from previous IMU sensor packets.
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.