Struct MsgGyro

Struct Documentation

struct MsgGyro

Public Functions

inline void reset()
inline void setGyroXRadS(float rad_s)
inline void setGyroYRadS(float rad_s)
inline void setGyroZRadS(float rad_s)
inline bool gyroXValid() const
inline bool gyroYValid() const
inline bool gyroZValid() const
inline float gyroXRadS() const
inline float gyroXDegS() const
inline float gyroYRadS() const
inline float gyroYDegS() const
inline float gyroZRadS() const
inline float gyroZDegS() const
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const

Public Members

int16_t x
int16_t y
int16_t z
uint8_t __pad0__
uint8_t rc
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x2A1
static constexpr size_t PERIOD_MS = 10
static constexpr size_t TIMEOUT_MS = 200