|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
12 #ifndef DW_SENSORS_COMMON_SENSORSTATS_H_
13 #define DW_SENSORS_COMMON_SENSORSTATS_H_
55 #define DW_SENSOR_STATE_SENSOR_STAT_COUNT 7
129 #endif // DW_SENSORS_COMMON_SENSORSTATS_H_
uint64_t errors
Number of encountered errors.
dwSensorStatTimeDifference
Enum used for time delta statistics.
float64_t timeDeltaMean
Mean of all the deltas between consecutive host timestamps.
@ DW_SENSOR_STATE_DELTA_HOST_AND_SENSOR_TIME
Difference between host timestamp and sensor timestamp.
dwTime_t timeDeltaCur
Current host timestamp difference between two consecutive packets.
Hold the sensor ID and it's statistics.
@ DW_SENSOR_STATE_DELTA_SENSOR_AND_SENSOR_TIME
Difference between two consecutive sensor timestamp.
dwTime_t maxDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT]
Array of Maximum observed time difference between two consecutive packets as per the dwSensorStatTime...
uint64_t nonMonotonicErrors
Number of non-monotonic timestamp events.
uint64_t drops
Number of events dropped.
uint64_t events
Number of normal events (excluding errors and drops).
dwTime_t currentDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT]
Array of Current time difference between two consecutive packets as per the dwSensorStatTimeDifferenc...
float64_t timeDeltaStandardDeviation
Variance of all the deltas between consecutive host timestamps.
@ DW_SENSOR_STATE_DELTA_CURRENT_AND_HOST_TIME
Difference between current time and the last host timestamp when sensor data was received.
uint64_t sensorId
Sensor ID.
uint64_t crcErrors
Number of CRC errors.
dwTime_t timeDeltaMax
Maximum observed host timestamp difference between two consecutive packets.
struct dwSensorStats dwSensorStats
Hold the sensor ID and it's statistics.
float64_t standardDeviationDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT]
Array of Variance of all the deltas between consecutive timestamps as per the dwSensorStatTimeDiffere...
dwTime_t minDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT]
Array of Minimum observed time difference between two consecutive packets as per the dwSensorStatTime...
@ DW_SENSOR_STATE_DELTA_READ_AND_RETURN_FRAME_TIME
Difference between readFrame and returnFrame time.
dwTime_t timeDeltaMin
Minimum observed host timestamp difference between two consecutive packets.
#define DW_SENSOR_STATE_SENSOR_STAT_COUNT
This amounts to max(SensorStatTimeDifference) + 1, i.e.
@ DW_SENSOR_STATE_DELTA_HOST_AND_HOST_TIME
Difference between two consecutive host timestamp.
@ DW_SENSOR_STATE_DELTA_FREAD_START_AND_STOP
Difference between start and stop of a fread() call. This only applies to replay scenarios.
float64_t meanDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT]
Array of Mean of all the deltas between consecutive timestamps as per the dwSensorStatTimeDifference.