Struct MsgMonitorReport1

Struct Documentation

struct MsgMonitorReport1

Public Types

enum class Fault : uint8_t

Values:

enumerator Unknown
enumerator None
enumerator Fault

Public Functions

inline void reset()
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const

Public Members

bool fault
bool shutoff
bool shutoff_on_motion
bool stationary
uint8_t __pad0__
Fault fault_test
Fault fault_system
Fault fault_steer
Fault fault_brake
Fault fault_thrtl
Fault fault_gear
Fault fault_ulc
uint8_t __pad1__
Fault fault_vehicle_velocity
uint8_t steer_cmd_match_oem
uint8_t steer_cmd_match_dbw
uint8_t brake_cmd_match_oem
uint8_t brake_cmd_match_dbw
uint8_t thrtl_cmd_match_oem
uint8_t thrtl_cmd_match_dbw
uint8_t gear_cmd_match_oem
uint8_t gear_cmd_match_dbw
uint8_t __pad2__
uint8_t rc
uint8_t crc

Public Static Functions

static inline constexpr Fault mergeFaults(Fault a, Fault b)

Public Static Attributes

static constexpr uint32_t ID = 0x105
static constexpr size_t PERIOD_MIN = 20
static constexpr size_t PERIOD_MS = 100
static constexpr size_t PERIOD_MAX = 100
static constexpr size_t TIMEOUT_MS = 250