#include <msp_msg.hpp>
Public Member Functions | |
virtual bool | decode (const ByteVector &data) override |
Decode message contents from a ByteVector. More... | |
virtual ID | id () const override |
get the ID of the message More... | |
virtual std::ostream & | print (std::ostream &s) const override |
RawGPS (FirmwareVariant v) | |
Public Member Functions inherited from msp::Message | |
virtual ByteVectorUptr | encode () const |
Encode all data into a ByteVector. More... | |
FirmwareVariant | getFirmwareVariant () const |
Queries the firmware variant the message works with. More... | |
Message (FirmwareVariant v) | |
Message constructor accepting a FirmwareVariant. More... | |
void | setFirmwareVariant (FirmwareVariant v) |
Set the firmware the message should work with. More... | |
virtual | ~Message () |
Message destructor. More... | |
Public Attributes | |
Value< float > | altitude |
Value< uint8_t > | fix |
Value< float > | ground_course |
Value< float > | ground_speed |
Value< float > | hdop |
bool | hdop_set |
Value< float > | lat |
Value< float > | lon |
Value< uint8_t > | numSat |
Additional Inherited Members | |
Protected Attributes inherited from msp::Message | |
FirmwareVariant | fw_variant |
Definition at line 2978 of file msp_msg.hpp.
|
inline |
Definition at line 2979 of file msp_msg.hpp.
|
inlineoverridevirtual |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 2993 of file msp_msg.hpp.
|
inlineoverridevirtual |
get the ID of the message
Implements msp::Message.
Definition at line 2981 of file msp_msg.hpp.
|
inlineoverridevirtual |
Reimplemented from msp::Message.
Definition at line 3010 of file msp_msg.hpp.
Value<float> msp::msg::RawGPS::altitude |
Definition at line 2987 of file msp_msg.hpp.
Value<uint8_t> msp::msg::RawGPS::fix |
Definition at line 2983 of file msp_msg.hpp.
Value<float> msp::msg::RawGPS::ground_course |
Definition at line 2989 of file msp_msg.hpp.
Value<float> msp::msg::RawGPS::ground_speed |
Definition at line 2988 of file msp_msg.hpp.
Value<float> msp::msg::RawGPS::hdop |
Definition at line 2991 of file msp_msg.hpp.
bool msp::msg::RawGPS::hdop_set |
Definition at line 2990 of file msp_msg.hpp.
Value<float> msp::msg::RawGPS::lat |
Definition at line 2985 of file msp_msg.hpp.
Value<float> msp::msg::RawGPS::lon |
Definition at line 2986 of file msp_msg.hpp.
Value<uint8_t> msp::msg::RawGPS::numSat |
Definition at line 2984 of file msp_msg.hpp.