Struct MsgThrtlInfo
Defined in File dispatch.hpp
Struct Documentation
-
struct MsgThrtlInfo
Public Types
-
enum class OnePedalMode : uint8_t
Values:
-
enumerator Unknown
-
enumerator Off
-
enumerator On
-
enumerator Fault
-
enumerator Unknown
-
enum class DriveMode : uint8_t
Values:
-
enumerator Unknown
-
enumerator Normal
-
enumerator Economy
-
enumerator Comfort
-
enumerator Sport
-
enumerator TowHaul
-
enumerator Snow
-
enumerator Sand
-
enumerator Mud
-
enumerator Rock
-
enumerator Baja
-
enumerator Track
-
enumerator Unknown
-
enum class GearNumber : uint8_t
Values:
-
enumerator Unknown
-
enumerator Drive01
-
enumerator Drive02
-
enumerator Drive03
-
enumerator Drive04
-
enumerator Drive05
-
enumerator Drive06
-
enumerator Drive07
-
enumerator Drive08
-
enumerator Drive09
-
enumerator Drive10
-
enumerator Neutral
-
enumerator Reverse1
-
enumerator Reverse2
-
enumerator Park
-
enumerator Unknown
Public Functions
-
inline void reset()
-
inline void setAccelPedalPercent(float pc)
-
inline bool accelPedalPercentValid() const
-
inline bool accelPedalZero() const
-
inline float accelPedalPercent() const
-
inline uint16_t accelPedalPercentU16() const
-
inline void setEngineRpmx4(uint16_t rpm_x4)
-
inline void setEngineRpm(float rpm)
-
inline bool engineRpmValid() const
-
inline bool engineRpmZero() const
-
inline float engineRpm() const
-
inline void setCrc()
-
inline bool validCrc() const
-
inline bool validRc(uint8_t rc) const
-
enum class OnePedalMode : uint8_t