DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

Detailed Description

Provides an interface for non-standard IMU sensors.

Note
SW Release Applicability: These APIs are available in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.

Data Structures

struct  dwSensorIMUPluginFunctionTable
 Function Table exposing IMU plugin functions. More...
 

Typedefs

typedef dwStatus(* dwSensorIMUPlugin_parseDataBuffer) (dwIMUFrame *frame, size_t *consumed, dwSensorPluginSensorHandle_t sensor)
 Processes the data previously passed via the 'dwSensorPlugin_pushData' interface. More...
 

Functions

dwStatus dwSensorIMUPlugin_getFunctionTable (dwSensorIMUPluginFunctionTable *functions)
 Gets the handle to functions defined in 'dwSensorIMUPluginFunctionTable' structure. More...
 

Data Structure Documentation

◆ dwSensorIMUPluginFunctionTable

struct dwSensorIMUPluginFunctionTable

Typedef Documentation

◆ dwSensorIMUPlugin_parseDataBuffer

typedef dwStatus(* dwSensorIMUPlugin_parseDataBuffer) (dwIMUFrame *frame, size_t *consumed, dwSensorPluginSensorHandle_t sensor)

Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.

Parameters
[out]frameInterpreted IMU frame
[out]consumedNumber of raw bytes (including header) consumed to successfully parse the frame
[in]sensorSpecifies the sensor the data came from.
Returns
DW_INVALID_HANDLE - if the sensor handle is NULL or invalid
DW_NOT_AVAILABLE - if no frame is ready for consumption DW_SUCCESS

Definition at line 70 of file IMUPlugin.h.

Function Documentation

◆ dwSensorIMUPlugin_getFunctionTable()

dwStatus dwSensorIMUPlugin_getFunctionTable ( dwSensorIMUPluginFunctionTable functions)

Gets the handle to functions defined in 'dwSensorIMUPluginFunctionTable' structure.

Parameters
[out]functionsA pointer to the function table
Returns
DW_INVALID_ARGUMENT - if pointer to the function table is NULL.
DW_SUCCESS