Struct MsgBrakeReport1
Defined in File dispatch.hpp
Struct Documentation
-
struct MsgBrakeReport1
Public Types
-
typedef MsgBrakeCmd::CmdType CmdType
Public Functions
-
inline void reset()
-
inline void setPressureBar(float in_bar, float cmd_bar, float out_bar)
-
inline void setTorqueNm(float in_nm, float cmd_nm, float out_nm)
-
inline void setAccel(uint16_t in_nm, int16_t cmd_ms2_x1k, int16_t out_ms2_x1k)
-
inline void setAccelAcc(uint16_t in_nm, int16_t cmd_ms2, int16_t out_ms2)
-
inline void setAccelAeb(uint16_t in_nm, int16_t cmd_ms2, int16_t out_ms2)
-
inline void setPercent(float in_pc, float cmd_pc, float out_pc)
-
inline void setPedalRaw(float in_pc, float cmd_pc, float out_pc)
-
inline void setPercentU16(uint16_t in_pc, uint16_t cmd_pc, uint16_t out_pc)
-
inline void setPedalRawU16(uint16_t in_pc, uint16_t cmd_pc, uint16_t out_pc)
-
inline void setTorqueNmU16(uint16_t in_nm, uint16_t cmd_nm, uint16_t out_nm)
-
inline int32_t cmdRawSigned() const
-
inline bool cmdNonZero() const
-
inline void getPressureBar(float &in_bar, float &cmd_bar, float &out_bar) const
-
inline void getTorqueNm(float &in_nm, float &cmd_nm, float &out_nm) const
-
inline void getAccel(float &in_nm, float &cmd_ms2, float &out_ms2) const
-
inline void getPercent(float &in_pc, float &cmd_pc, float &out_pc) const
-
inline void setCrc()
-
inline bool validCrc() const
-
inline bool validRc(uint8_t rc) const
Public Members
-
uint16_t input
-
uint8_t btsi
-
uint8_t yield_request
-
uint8_t limiting_value
-
uint8_t limiting_rate
-
uint16_t cmd
-
uint16_t output
-
uint8_t external_control
-
uint8_t override_active
-
uint8_t override_other
-
uint8_t override_latched
-
uint8_t ready
-
uint8_t enabled
-
uint8_t fault
-
uint8_t timeout
-
uint8_t bad_crc
-
uint8_t bad_rc
-
uint8_t rc
-
uint8_t crc
-
typedef MsgBrakeCmd::CmdType CmdType