NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
SensorPlugin.h File Reference

Detailed Description

NVIDIA DriveWorks: Sensor Plugin Interface to interact with live sensors

Description: This file defines the interfaces to be implemented for live sensor plugins.

Definition in file SensorPlugin.h.

Go to the source code of this file.

Data Structures

struct  dwSensorPluginFunctions
 Function Table exposing sensor plugin functions. More...
 

Macros

#define SENSOR_PLUGIN_COMMON_FUNCTIONS
 

Typedefs

typedef void * dwSensorPluginSensorHandle_t
 Plugin handle. Used in plugin public interfaces. More...
 
typedef dwStatus(* dwSensorPlugin_initializeHandle) (dwSensorPluginSensorHandle_t *handle, char const *params, dwContextHandle_t ctx)
 Initialize a new handle to the sensor managed by the plugin module. More...
 
typedef dwStatus(* dwSensorPlugin_release) (dwSensorPluginSensorHandle_t handle)
 Releases a sensor managed by the plugin module. More...
 
typedef dwStatus(* dwSensorPlugin_start) (dwSensorPluginSensorHandle_t handle)
 Starts the sensor previously successfully created with 'dwSensorPlugin_createSensor' interface. More...
 
typedef dwStatus(* dwSensorPlugin_stop) (dwSensorPluginSensorHandle_t handle)
 Stops the sensor. More...
 
typedef dwStatus(* dwSensorPlugin_reset) (dwSensorPluginSensorHandle_t handle)
 Resets the sensor. More...
 
typedef dwStatus(* dwSensorPlugin_readRawData) (uint8_t const **data, size_t *size, dwTime_t *timestamp, dwTime_t timeout_us, dwSensorPluginSensorHandle_t handle)
 Reads RAW data for one single message from the sensor as byte array. More...
 
typedef dwStatus(* dwSensorPlugin_returnRawData) (uint8_t const *data, dwSensorPluginSensorHandle_t handle)
 Returns RAW data to sensor as a byte array. More...
 
typedef struct dwSensorPluginFunctions dwSensorPluginFunctions
 Function Table exposing sensor plugin functions. More...
 

Functions

DW_API_PUBLIC dwStatus dwSAL_registerSensorPlugin (dwSensorType sensorType, char const *codecMimeType, void const *funcTable, dwSALHandle_t const sal)
 Register sensor plugin which works with live sensors. More...