Struct MsgDriverAssist

Struct Documentation

struct MsgDriverAssist

Public Types

enum class DecelSrc : uint8_t

Values:

enumerator None
enumerator AEB
enumerator ACC

Public Functions

inline void reset()
inline void setDecelMps2(float m_s2, DecelSrc src)
inline float decelMps2() const
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const
inline bool operator==(const MsgDriverAssist &_other) const
inline bool operator!=(const MsgDriverAssist &_other) const

Public Members

uint8_t decel
DecelSrc decel_src
uint8_t fcw_active
uint8_t fcw_enabled
uint8_t __pad0__
uint8_t aeb_active
uint8_t aeb_precharge
uint8_t aeb_enabled
uint8_t acc_braking
uint8_t acc_enabled
uint8_t __pad1__
uint8_t blis_l_alert
uint8_t blis_l_enabled
uint8_t blis_r_alert
uint8_t blis_r_enabled
uint8_t cta_l_alert
uint8_t cta_l_enabled
uint8_t cta_r_alert
uint8_t cta_r_enabled
uint8_t __pad2__
uint8_t rc
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x2C8
static constexpr size_t PERIOD_MIN = 10
static constexpr size_t PERIOD_MAX = 100
static constexpr size_t TIMEOUT_MS = 350