add basic system overview screen with can watchdogs and brake pressure

This commit is contained in:
2025-08-01 01:12:29 +02:00
parent 4354b03907
commit 77ba4249d3
28 changed files with 838 additions and 87 deletions

View File

@ -43,7 +43,7 @@ typedef enum {
typedef enum {
SDC_OFF = 0,
SDC_PDU_OK = 1, //
SDC_PDU_OK = 1,
SDC_RES_OK = 2,
SDC_AMS_OK = 3,
SDC_IMD_OK = 4,
@ -218,6 +218,25 @@ typedef struct {
uint16_t inv_warnings_1;
uint16_t inv_warnings_2;
struct {
bool snf : 1; // sensor node front
bool db : 1; // dashboard
bool ftcu : 1;
bool pdu : 1;
bool snr : 1; // sensor node rear
bool ams : 1;
bool shunt : 1;
} watchdog_timeout; // true if watchdog timed out
struct {
uint32_t snf; // sensor node front
uint32_t db; // dashboard
uint32_t ftcu;
uint32_t pdu;
uint32_t snr; // sensor node rear
uint32_t ams;
uint32_t shunt;
} watchdog_times; // last received message
ParamType last_param_confirmed;
uint8_t drs_led_active;