Struct MsgGpsAltitude

Struct Documentation

struct MsgGpsAltitude

Public Functions

inline void reset()
inline void setAltitudeM(float m)
inline bool altitudeValid() const
inline float altitudeM() const
inline void setHeadingDeg(float deg)
inline bool headingValid() const
inline float headingDeg() const
inline void setSpeedKph(float kph)
inline bool speedValid() const
inline float speedKph() const
inline void setCrc()
inline bool validCrc() const

Public Members

int16_t altitude
uint16_t heading
uint16_t speed
uint8_t num_sats
uint8_t __pad0__
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x391
static constexpr size_t PERIOD_MS = 1000
static constexpr size_t TIMEOUT_MS = 3500