Struct MsgVehicleVelocity

Struct Documentation

struct MsgVehicleVelocity

Public Types

enum class DirSrc : uint8_t

Values:

enumerator None
enumerator PRNDL
enumerator Sensor

Public Functions

inline void reset()
inline void setVelocityBrkKph(float kph)
inline bool velocityBrkValid() const
inline int16_t velocityBrkKphx100() const
inline float velocityBrkKph() const
inline float velocityBrkMps() const
inline void setVelocityPrplKph(float kph)
inline bool velocityPrplValid() const
inline int16_t velocityPrplKphx100() const
inline float velocityPrplKph() const
inline float velocityPrplMps() const
inline bool velocityValid() const
inline int16_t velocityKphx100() const
inline float velocityKph() const
inline float velocityMps() const
inline bool velocityZero() const
inline uint16_t speedKphx100() const
inline float speedKph() const
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const

Public Members

int16_t veh_vel_brk
int16_t veh_vel_prpl
uint8_t __pad0__
uint8_t __pad1__
DirSrc dir_src
uint8_t __pad2__
uint8_t rc
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x107
static constexpr size_t PERIOD_MIN = 8
static constexpr size_t PERIOD_MS = 20
static constexpr size_t PERIOD_MAX = 50
static constexpr size_t TIMEOUT_MS = 200