Struct MsgGearReport1

Struct Documentation

struct MsgGearReport1

Public Types

enum class Reject : uint8_t

Values:

enumerator None
enumerator Fault
enumerator Unsupported
enumerator ShiftInProgress
enumerator Override
enumerator BrakeHold
enumerator VehicleSpeed
enumerator Vehicle

Public Functions

inline void reset()
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const

Public Members

Gear gear
Gear cmd
Gear driver
Reject reject
uint8_t __pad0__
uint8_t __pad1__
uint8_t __pad2__
uint8_t __pad3__
uint8_t power_latched
uint8_t __pad4__
uint8_t external_control
uint8_t override_active
uint8_t override_other
uint8_t __pad5__
uint8_t ready
uint8_t __pad6__
uint8_t fault
uint8_t __pad7__
uint8_t bad_crc
uint8_t __pad8__
uint8_t rc
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x103
static constexpr size_t PERIOD_MIN = 20
static constexpr size_t PERIOD_MS = 100
static constexpr size_t PERIOD_MAX = 100
static constexpr size_t TIMEOUT_MS = 350