#include <msp_msg.hpp>
Public Member Functions | |
virtual ByteVectorUptr | encode () const override |
Encode all data into a ByteVector. More... | |
virtual ID | id () const override |
get the ID of the message More... | |
SetWp (FirmwareVariant v) | |
Public Member Functions inherited from msp::Message | |
virtual bool | decode (const ByteVector &) |
Decode message contents from a ByteVector. More... | |
FirmwareVariant | getFirmwareVariant () const |
Queries the firmware variant the message works with. More... | |
Message (FirmwareVariant v) | |
Message constructor accepting a FirmwareVariant. More... | |
virtual std::ostream & | print (std::ostream &s) const |
void | setFirmwareVariant (FirmwareVariant v) |
Set the firmware the message should work with. More... | |
virtual | ~Message () |
Message destructor. More... | |
Public Attributes | |
Value< uint8_t > | action |
Value< uint32_t > | alt |
Value< uint32_t > | lat |
Value< uint32_t > | lon |
Value< uint8_t > | nav_flag |
Value< uint16_t > | p1 |
Value< uint16_t > | p2 |
Value< uint16_t > | p3 |
Value< uint8_t > | wp_no |
Additional Inherited Members | |
Protected Attributes inherited from msp::Message | |
FirmwareVariant | fw_variant |
Definition at line 4434 of file msp_msg.hpp.
|
inline |
Definition at line 4435 of file msp_msg.hpp.
|
inlineoverridevirtual |
Encode all data into a ByteVector.
Reimplemented from msp::Message.
Definition at line 4450 of file msp_msg.hpp.
|
inlineoverridevirtual |
get the ID of the message
Implements msp::Message.
Definition at line 4437 of file msp_msg.hpp.
Value<uint8_t> msp::msg::SetWp::action |
Definition at line 4440 of file msp_msg.hpp.
Value<uint32_t> msp::msg::SetWp::alt |
Definition at line 4443 of file msp_msg.hpp.
Value<uint32_t> msp::msg::SetWp::lat |
Definition at line 4441 of file msp_msg.hpp.
Value<uint32_t> msp::msg::SetWp::lon |
Definition at line 4442 of file msp_msg.hpp.
Value<uint8_t> msp::msg::SetWp::nav_flag |
Definition at line 4448 of file msp_msg.hpp.
Value<uint16_t> msp::msg::SetWp::p1 |
Definition at line 4445 of file msp_msg.hpp.
Value<uint16_t> msp::msg::SetWp::p2 |
Definition at line 4446 of file msp_msg.hpp.
Value<uint16_t> msp::msg::SetWp::p3 |
Definition at line 4447 of file msp_msg.hpp.
Value<uint8_t> msp::msg::SetWp::wp_no |
Definition at line 4439 of file msp_msg.hpp.