NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
dwSensorEvent Struct Reference

Detailed Description

Structure for returning data upon any sensor event.

Definition at line 65 of file SensorManager.h.

Collaboration diagram for dwSensorEvent:

Data Fields

dwSensorType type
 Type of sensor providing data for this event. More...
 
uint32_t sensorTypeIndex
 Index of the given sensor as defined by the order in which it was created and the type of sensor it is (ie Camera and Lidar can have sensorTypeIndex 0 because they are different sensor types. More...
 
dwTime_t timestamp_us
 Timestamp (us) More...
 
uint32_t sensorIndex
 The index of the sensor as defined by the order in which it was created. More...
 
uint32_t sensorIndices [DW_SENSORMANGER_MAX_CAMERAS]
 If the event is a multisensor event then the sensor indices of all sensors involved will be stored here. More...
 
uint32_t numCamFrames
 Data accessor for camera. More...
 
dwCameraFrameHandle_t camFrames [DW_SENSORMANGER_MAX_CAMERAS]
 An array saving all created camera's frame in this event. More...
 
dwGPSFrame gpsFrame
 GPS frame in this event. More...
 
dwIMUFrame imuFrame
 IMU frame in this event. More...
 
dwCANMessage canFrame
 CAN message frame in this event. More...
 
const dwRadarScanradFrame
 Radar scan in this event. More...
 
const dwLidarDecodedPacket_tlidFrame
 Lidar decoded packet in this event. More...
 
const dwDataPacketdataFrame
 dwDataPacket(see reference 15) in this event. More...
 
const uint8_t * rawData
 Raw data in this event. More...
 
size_t rawDataSize
 Raw data size in this event. More...
 
const dwUltrasonicFrameultrasonicFrame
 Ultrasonic frame in this event. More...
 

Field Documentation

◆ camFrames

An array saving all created camera's frame in this event.

Users get the frame by 'sensorTypeIndex'.

Definition at line 89 of file SensorManager.h.

◆ canFrame

dwCANMessage dwSensorEvent::canFrame

CAN message frame in this event.

Definition at line 95 of file SensorManager.h.

◆ dataFrame

const dwDataPacket* dwSensorEvent::dataFrame

dwDataPacket(see reference 15) in this event.

Definition at line 99 of file SensorManager.h.

◆ gpsFrame

dwGPSFrame dwSensorEvent::gpsFrame

GPS frame in this event.

Definition at line 92 of file SensorManager.h.

◆ imuFrame

dwIMUFrame dwSensorEvent::imuFrame

IMU frame in this event.

Definition at line 93 of file SensorManager.h.

◆ lidFrame

const dwLidarDecodedPacket_t* dwSensorEvent::lidFrame

Lidar decoded packet in this event.

Definition at line 98 of file SensorManager.h.

◆ numCamFrames

uint32_t dwSensorEvent::numCamFrames

Data accessor for camera.

Special case as can be multisensor event. Frames from cameras related to single group will be stored here. The number of camera frames.

Definition at line 88 of file SensorManager.h.

◆ radFrame

const dwRadarScan* dwSensorEvent::radFrame

Radar scan in this event.

Definition at line 97 of file SensorManager.h.

◆ rawData

const uint8_t* dwSensorEvent::rawData

Raw data in this event.

Definition at line 100 of file SensorManager.h.

◆ rawDataSize

size_t dwSensorEvent::rawDataSize

Raw data size in this event.

Definition at line 101 of file SensorManager.h.

◆ sensorIndex

uint32_t dwSensorEvent::sensorIndex

The index of the sensor as defined by the order in which it was created.

If the sensor manager was created via the rig configuration file this will match that sensor index. If it was not created via the rig configuration will be the number of sensors already created.

Definition at line 81 of file SensorManager.h.

◆ sensorIndices

uint32_t dwSensorEvent::sensorIndices[DW_SENSORMANGER_MAX_CAMERAS]

If the event is a multisensor event then the sensor indices of all sensors involved will be stored here.

Definition at line 84 of file SensorManager.h.

◆ sensorTypeIndex

uint32_t dwSensorEvent::sensorTypeIndex

Index of the given sensor as defined by the order in which it was created and the type of sensor it is (ie Camera and Lidar can have sensorTypeIndex 0 because they are different sensor types.

Definition at line 73 of file SensorManager.h.

◆ timestamp_us

dwTime_t dwSensorEvent::timestamp_us

Timestamp (us)

Definition at line 76 of file SensorManager.h.

◆ type

dwSensorType dwSensorEvent::type

Type of sensor providing data for this event.

Definition at line 68 of file SensorManager.h.

◆ ultrasonicFrame

const dwUltrasonicFrame* dwSensorEvent::ultrasonicFrame

Ultrasonic frame in this event.

Definition at line 102 of file SensorManager.h.


The documentation for this struct was generated from the following file: