31#ifndef DW_SENSORS_COMMON_SENSORSTATS_H_
32#define DW_SENSORS_COMMON_SENSORSTATS_H_
dwTime_t timeDeltaMax
Maximum observed host timestamp difference between two consecutive packets.
uint64_t sensorId
Sensor ID.
float64_t standardDeviationDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT]
Array of Variance of all the deltas between consecutive timestamps as per the dwSensorStatTimeDiffere...
dwSensorStatTimeDifference
Enum used for time delta statistics.
@ DW_SENSOR_STATE_DELTA_HOST_AND_SENSOR_TIME
Difference between host timestamp and sensor timestamp.
@ DW_SENSOR_STATE_DELTA_READ_AND_RETURN_FRAME_TIME
Difference between readFrame and returnFrame time.
@ DW_SENSOR_STATE_DELTA_HOST_AND_HOST_TIME
Difference between two consecutive host timestamp.
@ DW_SENSOR_STATE_SENSOR_STAT_COUNT
Count which the type value is less than.
@ DW_SENSOR_STATE_DELTA_SENSOR_AND_SENSOR_TIME
Difference between two consecutive sensor timestamp.
@ DW_SENSOR_STATE_DELTA_CURRENT_AND_HOST_TIME
Difference between current time and the last host timestamp when sensor data was received.
uint64_t nonMonotonicErrors
Number of non-monotonic timestamp events.
dwTime_t minDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT]
Array of Minimum observed time difference between two consecutive packets as per the dwSensorStatTime...
uint64_t crcErrors
Number of CRC errors.
uint64_t errors
Number of encountered errors.
uint64_t drops
Number of events dropped.
uint64_t events
Number of normal events (excluding errors and drops).
float64_t meanDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT]
Array of Mean of all the deltas between consecutive timestamps as per the dwSensorStatTimeDifference.
dwTime_t timeDeltaMin
Minimum observed host timestamp difference between two consecutive packets.
float64_t timeDeltaStandardDeviation
Variance of all the deltas between consecutive host timestamps.
dwTime_t currentDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT]
Array of Current time difference between two consecutive packets as per the dwSensorStatTimeDifferenc...
dwTime_t maxDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT]
Array of Maximum observed time difference between two consecutive packets as per the dwSensorStatTime...
float64_t timeDeltaMean
Mean of all the deltas between consecutive host timestamps.
dwTime_t timeDeltaCur
Current host timestamp difference between two consecutive packets.
NVIDIA DriveWorks API: Core Types
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.