|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
12 #ifndef DW_CORE_HEALTH_HEALTHSIGNALS_H_
13 #define DW_CORE_HEALTH_HEALTHSIGNALS_H_
41 #include <dw/pbwire/BasicTypes.h>
47 #define DW_MAX_ERROR_SIGNAL_ERRORS_COUNT 32U
48 #define DW_MAX_HEALTH_BYTEARRAY_SIZE 862U
50 #define DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE 64
122 #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
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
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
size_t dataSize
bytes used in the optional byte array
Basic error signal that gets reported only when there is an error.