Struct MsgBrakeInfo

Struct Documentation

struct MsgBrakeInfo

Public Functions

inline void reset()
inline void setBrakeTorquePedalNm(uint16_t nm)
inline void setBrakeTorquePedalNm(float nm)
inline void setBrakeTorqueRequestNm(uint16_t nm)
inline void setBrakeTorqueRequestNm(float nm)
inline void setBrakeTorqueActualNm(uint16_t nm)
inline void setBrakeTorqueActualNm(float nm)
inline bool brakeTorquePedalValid() const
inline bool brakeTorqueRequestValid() const
inline bool brakeTorqueActualValid() const
inline uint16_t brakeTorquePedalNmU16() const
inline uint16_t brakeTorqueRequestNmU16() const
inline uint16_t brakeTorqueActualNmU16() const
inline float brakeTorquePedalNm() const
inline float brakeTorqueRequestNm() const
inline float brakeTorqueActualNm() const
inline void setBrakeVacuumBarX1000(uint16_t mbar)
inline bool brakeVacuumValid() const
inline uint16_t brakeVacuumBarX1000() const
inline float brakeVacuumBar() const
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const

Public Members

uint16_t brake_torque_pedal
Quality brake_pedal_qf
uint8_t __pad0__
uint16_t brake_torque_request
uint8_t abs_active
uint8_t abs_enabled
uint8_t esc_active
uint16_t brake_torque_actual
uint8_t esc_enabled
uint8_t trac_active
uint8_t trac_enabled
uint8_t brake_vacuum
uint8_t rc
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x10A
static constexpr size_t PERIOD_MIN = 8
static constexpr size_t PERIOD_MS = 10
static constexpr size_t PERIOD_MAX = 25
static constexpr size_t TIMEOUT_MS = 200