Struct MsgBrakeCmd
Defined in File dispatch.hpp
Inheritance Relationships
Derived Types
public ds_dbw_can::MsgBrakeCmdRmt
(Struct MsgBrakeCmdRmt)public ds_dbw_can::MsgBrakeCmdUlc
(Struct MsgBrakeCmdUlc)public ds_dbw_can::MsgBrakeCmdUsr
(Struct MsgBrakeCmdUsr)
Struct Documentation
-
struct MsgBrakeCmd
Subclassed by ds_dbw_can::MsgBrakeCmdRmt, ds_dbw_can::MsgBrakeCmdUlc, ds_dbw_can::MsgBrakeCmdUsr
Public Types
Public Functions
-
inline void reset()
-
inline void setCmdPressureBar(float bar, float bar_s_inc = 0, float bar_s_dec = 0)
-
inline void setCmdTorqueNm(float nm, float nm_s_inc = 0, float nm_s_dec = 0)
-
inline void setCmdAccelMpS(float accel, float jerk_inc = 0, float jerk_dec = 0)
-
inline void setCmdPercent(float x, float inc = 0, float dec = 0)
-
inline float cmdPressureBar() const
-
inline uint16_t cmdTorqueNmU16() const
-
inline float cmdTorqueNm() const
-
inline int16_t cmdAccelMpSx1000() const
-
inline float cmdAccelMpS() const
-
inline uint16_t cmdPercentU16() const
-
inline float cmdPercent() const
-
inline float cmdRateIncBarS() const
-
inline float cmdRateDecBarS() const
-
inline float cmdRateIncNmS() const
-
inline float cmdRateDecNmS() const
-
inline float cmdRateIncMS3() const
-
inline float cmdRateDecMS3() const
-
inline float cmdRateIncPercentS() const
-
inline float cmdRateDecPercentS() const
-
inline uint16_t cmdRateIncNmSU16() const
-
inline uint16_t cmdRateDecNmSU16() const
-
inline int16_t cmdRateIncMS3I16() const
-
inline int16_t cmdRateDecMS3I16() const
-
inline uint16_t cmdRateIncPercentSU16() const
-
inline uint16_t cmdRateDecPercentSU16() const
-
inline bool validRc(uint8_t rc) const
Public Members
-
uint16_t cmd
-
uint8_t enable
-
uint8_t clear
-
uint8_t ignore
-
uint8_t __pad0__
-
uint8_t rate_inc
-
uint8_t rate_dec
-
uint8_t __pad1__
-
uint8_t __pad2__
-
uint8_t rc
-
uint8_t crc
Public Static Attributes
-
static constexpr size_t TIMEOUT_MS = 100
-
inline void reset()