Struct MsgUlcReport

Struct Documentation

struct MsgUlcReport

Public Functions

inline void reset()
inline void setVelocityRefMps(float velocity_m_s)
inline bool velocityRefValid() const
inline float velocityRefMps() const
inline void setVelocityMeasMps(float velocity_m_s)
inline bool velocityMeasValid() const
inline float velocityMeasMps() const
inline void setAccelRefMps(float accel_m_s2)
inline bool accelRefValid() const
inline float accelRefMps() const
inline void setAccelMeasMps(float accel_m_s2)
inline bool accelMeasValid() const
inline int8_t accelMeasMpsx20() const
inline float accelMeasMps() const
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const

Public Members

int16_t vel_ref
MsgUlcCmd::CmdType cmd_type
int16_t vel_meas
uint8_t override_active
uint8_t override_latched
uint8_t preempted
int8_t accel_ref
int8_t accel_meas
uint8_t ready
uint8_t enabled
MsgUlcCmd::CoastDecel coast_decel
uint8_t timeout
uint8_t bad_crc
uint8_t bad_rc
uint8_t rc
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x280
static constexpr size_t PERIOD_MS = 20
static constexpr size_t TIMEOUT_MS = 500