DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

Detailed Description

Provides an interface for non-standard GPS sensors.

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

Data Structures

struct  dwSensorGPSPluginFunctionTable
 Function Table exposing GPS plugin functions. More...
 

Typedefs

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

Functions

dwStatus dwSensorGPSPlugin_getFunctionTable (dwSensorGPSPluginFunctionTable *functions)
 Gets the handle to functions defined in 'dwSensorGPSPluginFunctionTable' structure. More...
 

Data Structure Documentation

◆ dwSensorGPSPluginFunctionTable

struct dwSensorGPSPluginFunctionTable

Typedef Documentation

◆ dwSensorGPSPlugin_parseDataBuffer

typedef dwStatus(* dwSensorGPSPlugin_parseDataBuffer) (dwGPSFrame *frame, size_t *consumed, dwSensorPluginSensorHandle_t sensor)

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

Parameters
[out]frameInterpreted GPS 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_FAILURE - if no frame is ready for consumption DW_SUCCESS

Definition at line 70 of file GPSPlugin.h.

Function Documentation

◆ dwSensorGPSPlugin_getFunctionTable()

dwStatus dwSensorGPSPlugin_getFunctionTable ( dwSensorGPSPluginFunctionTable functions)

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

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