Struct MsgThrtlReport1
Defined in File dispatch.hpp
Struct Documentation
-
struct MsgThrtlReport1
Public Types
-
typedef MsgThrtlCmd::CmdType CmdType
Public Functions
-
inline void reset()
-
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 getPercent(float &in_pc, float &cmd_pc, float &out_pc) const
-
inline float getPercentInput() const
-
inline uint16_t getPercentInputU16() const
-
inline void setCrc()
-
inline bool validCrc() const
-
inline bool validRc(uint8_t rc) const
Public Members
-
uint16_t input
-
uint16_t __pad0__
-
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 MsgThrtlCmd::CmdType CmdType