Structure for returning data upon any sensor event.
Definition at line 65 of file SensorManager.h.
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 dwRadarScan * | radFrame |
Radar scan in this event. More... | |
const dwLidarDecodedPacket_t * | lidFrame |
Lidar decoded packet in this event. More... | |
const dwDataPacket * | dataFrame |
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 dwUltrasonicFrame * | ultrasonicFrame |
Ultrasonic frame in this event. More... | |
dwCameraFrameHandle_t dwSensorEvent::camFrames[DW_SENSORMANGER_MAX_CAMERAS] |
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.
dwCANMessage dwSensorEvent::canFrame |
CAN message frame in this event.
Definition at line 95 of file SensorManager.h.
const dwDataPacket* dwSensorEvent::dataFrame |
dwDataPacket(see reference 15) in this event.
Definition at line 99 of file SensorManager.h.
dwGPSFrame dwSensorEvent::gpsFrame |
GPS frame in this event.
Definition at line 92 of file SensorManager.h.
dwIMUFrame dwSensorEvent::imuFrame |
IMU frame in this event.
Definition at line 93 of file SensorManager.h.
const dwLidarDecodedPacket_t* dwSensorEvent::lidFrame |
Lidar decoded packet in this event.
Definition at line 98 of file SensorManager.h.
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.
const dwRadarScan* dwSensorEvent::radFrame |
Radar scan in this event.
Definition at line 97 of file SensorManager.h.
const uint8_t* dwSensorEvent::rawData |
Raw data in this event.
Definition at line 100 of file SensorManager.h.
size_t dwSensorEvent::rawDataSize |
Raw data size in this event.
Definition at line 101 of file SensorManager.h.
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.
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.
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.
dwTime_t dwSensorEvent::timestamp_us |
Timestamp (us)
Definition at line 76 of file SensorManager.h.
dwSensorType dwSensorEvent::type |
Type of sensor providing data for this event.
Definition at line 68 of file SensorManager.h.
const dwUltrasonicFrame* dwSensorEvent::ultrasonicFrame |
Ultrasonic frame in this event.
Definition at line 102 of file SensorManager.h.