Struct MsgThrtlCmd
Defined in File dispatch.hpp
Inheritance Relationships
Derived Types
public ds_dbw_can::MsgThrtlCmdRmt
(Struct MsgThrtlCmdRmt)public ds_dbw_can::MsgThrtlCmdUlc
(Struct MsgThrtlCmdUlc)public ds_dbw_can::MsgThrtlCmdUsr
(Struct MsgThrtlCmdUsr)
Struct Documentation
-
struct MsgThrtlCmd
Subclassed by ds_dbw_can::MsgThrtlCmdRmt, ds_dbw_can::MsgThrtlCmdUlc, ds_dbw_can::MsgThrtlCmdUsr
Public Types
Public Functions
-
inline void reset()
-
inline void setCmdPercent(float percent, float inc_percent_s = 0, float dec_percent_s = 0)
-
inline float cmdPercent() const
-
inline float cmdRateIncPercentS() const
-
inline float cmdRateDecPercentS() const
-
inline uint16_t cmdPercentU16() 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()