DriveWorks SDK Reference

| 0.6.67 Release

SensorManager.h File Reference

Detailed Description

NVIDIA DriveWorks API: SensorManager

Description: This file defines the SensorManager interface.

Definition in file SensorManager.h.

Go to the source code of this file.

Data Structures

struct  dwSensorEvent
 Structure for returning data upon any sensor event. More...
 

Macros

#define DW_SENSORMANGER_MAX_CAMERAS   6U
 

Typedefs

typedef struct dwSensorManagerObject * dwSensorManagerHandle_t
 

Functions

DW_API_PUBLIC dwStatus dwSensorManager_acquireNextEvent (const dwSensorEvent **ev, dwTime_t timeout_us, dwSensorManagerHandle_t sm)
 Called by the application to consume the next available sensor event ready for consumption. More...
 
DW_API_PUBLIC dwStatus dwSensorManager_addCameraSensor (const char *groupName, size_t siblingIndex, dwSensorParams params, uint64_t clientData, dwSensorManagerHandle_t sm)
 Adds a camera sensor to the SAL instance. More...
 
DW_API_PUBLIC dwStatus dwSensorManager_addSensor (dwSensorParams params, uint64_t clientData, dwSensorManagerHandle_t sm)
 Adds a sensor to the SAL instance. More...
 
DW_API_PUBLIC dwStatus dwSensorManager_getNumSensors (size_t *count, dwSensorType type, dwSensorManagerHandle_t sm)
 Gets the number of sensors instantiated for a given sensor type. More...
 
DW_API_PUBLIC dwStatus dwSensorManager_getSensorHandle (dwSensorHandle_t *handle, dwSensorType type, size_t index, dwSensorManagerHandle_t sm)
 Gets the sensor handle to the specified sensor. More...
 
DW_API_PUBLIC dwStatus dwSensorManager_initialize (dwSensorManagerHandle_t *sm, size_t poolSize, dwSALHandle_t sal)
 Creates and initializes a SensorManager module. More...
 
DW_API_PUBLIC dwStatus dwSensorManager_release (dwSensorManagerHandle_t *sm)
 Releases the SensorManager module. More...
 
DW_API_PUBLIC dwStatus dwSensorManager_releaseAcquiredEvent (const dwSensorEvent *ev, dwSensorManagerHandle_t sm)
 Releases a previously acquired event back to the pool. More...
 
DW_API_PUBLIC dwStatus dwSensorManager_reset (dwSensorManagerHandle_t sm)
 Resets all sensors. More...
 
DW_API_PUBLIC dwStatus dwSensorManager_start (dwSensorManagerHandle_t sm)
 Starts all sensors. More...
 
DW_API_PUBLIC dwStatus dwSensorManager_stop (dwSensorManagerHandle_t sm)
 Stops all sensors. More...