|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
12 #ifndef DW_CORE_HEALTH_HEALTHSIGNALS_H_
13 #define DW_CORE_HEALTH_HEALTHSIGNALS_H_
48 #define DW_MAX_ERROR_SIGNAL_ERRORS_COUNT 32U
51 #define DW_MAX_HEALTH_BYTEARRAY_SIZE 862U
54 #define DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE 64
128 #endif // DW_CORE_HEALTH_HEALTHSIGNALS_H_
struct dwHealthSignalArray dwHealthSignalArray
Represents an array of health signals.
uint16_t sourceID
module id, automatically filled
uint32_t count
Stores the occupied/valid length of healthSignals.
size_t count
the number of errors in errorIds
dwTime_t timestamp
timestamp at which the error occured, filled by module
dwHealthSignal healthSignals[DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE]
The individual signals.
#define DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE
The maximum number of individual dwHealthSignal that can be stored in a dwHealthSignalArray.
struct dwHealthSignal dwHealthSignal
Basic health signal that describes the health status of a particular software element.
uint8_t data[DW_MAX_HEALTH_BYTEARRAY_SIZE]
optional byte array for additional information
size_t count
the number of errors in errorIds
Basic health signal that describes the health status of a particular software element.
dwTime_t timestamp
timestamp at which the health status was last updated, filled by module
uint32_t errorIDs[DW_MAX_ERROR_SIGNAL_ERRORS_COUNT]
module defined error
#define DW_MAX_HEALTH_BYTEARRAY_SIZE
The size of the data field in dwHealthSignal.
#define DW_MAX_ERROR_SIGNAL_ERRORS_COUNT
Represents an array of health signals.
uint32_t errorIDs[DW_MAX_ERROR_SIGNAL_ERRORS_COUNT]
module defined error
struct dwErrorSignal dwErrorSignal
Basic error signal that gets reported only when there is an error.
uint16_t sourceID
module id, automatically filled
uint32_t consecutiveCounts[DW_MAX_ERROR_SIGNAL_ERRORS_COUNT]
consecutive count of each error in errorIDs
size_t dataSize
bytes used in the optional byte array
Basic error signal that gets reported only when there is an error.