|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
20 #ifndef DW_SENSORS_SENSORLIVE_SENSORPLUGIN_H
21 #define DW_SENSORS_SENSORLIVE_SENSORPLUGIN_H
171 #define SENSOR_PLUGIN_COMMON_FUNCTIONS \
172 dwSensorPlugin_initializeHandle initializeHandle; \
173 dwSensorPlugin_release release; \
174 dwSensorPlugin_start start; \
175 dwSensorPlugin_stop stop; \
176 dwSensorPlugin_reset reset; \
177 dwSensorPlugin_readRawData readRawData; \
178 dwSensorPlugin_returnRawData returnRawData
214 #endif // DW_SENSORS_SENSORLIVE_SENSORPLUGIN_H
dwStatus(* dwSensorPlugin_release)(dwSensorPluginSensorHandle_t handle)
Releases a sensor managed by the plugin module.
void * dwSensorPluginSensorHandle_t
Plugin handle. Used in plugin public interfaces.
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.
const WFDPipeline const WFDSource const WFDTransition const WFDRect *const const WFDuint64 timestamp
struct dwSensorPluginFunctions dwSensorPluginFunctions
Function Table exposing sensor plugin 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.
dwStatus(* dwSensorPlugin_reset)(dwSensorPluginSensorHandle_t handle)
Resets the sensor.
dwStatus
Status definition.
dwSensorType
Defines the type of sensors that are available in DriveWorks.
SENSOR_PLUGIN_COMMON_FUNCTIONS
struct dwContextObject * dwContextHandle_t
Context handle.
struct dwSALObject * dwSALHandle_t
Handle representing the Sensor Abstraction Layer interface.
Function Table exposing sensor plugin functions.
const WFDCommitType const WFDHandle handle
dwStatus(* dwSensorPlugin_start)(dwSensorPluginSensorHandle_t handle)
Starts the sensor previously successfully created with 'dwSensorPlugin_createSensor' interface.
dwStatus(* dwSensorPlugin_returnRawData)(uint8_t const *data, dwSensorPluginSensorHandle_t handle)
Returns RAW data to sensor as a byte array.
dwStatus(* dwSensorPlugin_initializeHandle)(dwSensorPluginSensorHandle_t *handle, char const *params, dwContextHandle_t ctx)
Initialize a new handle to the sensor managed by the plugin module.
dwStatus(* dwSensorPlugin_stop)(dwSensorPluginSensorHandle_t handle)
Stops the sensor.