Public Member Functions | Public Attributes | List of all members
msp::msg::WayPoint Struct Reference

#include <msp_msg.hpp>

Inheritance diagram for msp::msg::WayPoint:
Inheritance graph
[legend]

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...
 
 WayPoint (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...
 
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< uint32_t > altHold
 
Value< uint16_t > heading
 
Value< uint32_t > lat
 
Value< uint32_t > lon
 
Value< uint8_t > navflag
 
Value< uint16_t > staytime
 
Value< uint8_t > wp_no
 

Additional Inherited Members

- Protected Attributes inherited from msp::Message
FirmwareVariant fw_variant
 

Detailed Description

Definition at line 3505 of file msp_msg.hpp.

Constructor & Destructor Documentation

msp::msg::WayPoint::WayPoint ( FirmwareVariant  v)
inline

Definition at line 3506 of file msp_msg.hpp.

Member Function Documentation

virtual bool msp::msg::WayPoint::decode ( const ByteVector )
inlineoverridevirtual

Decode message contents from a ByteVector.

Parameters
dataSource of data
Returns
False. Override methods should return true on success

Reimplemented from msp::Message.

Definition at line 3518 of file msp_msg.hpp.

virtual ID msp::msg::WayPoint::id ( ) const
inlineoverridevirtual

get the ID of the message

Returns
ID

Implements msp::Message.

Definition at line 3508 of file msp_msg.hpp.

Member Data Documentation

Value<uint32_t> msp::msg::WayPoint::altHold

Definition at line 3513 of file msp_msg.hpp.

Value<uint16_t> msp::msg::WayPoint::heading

Definition at line 3514 of file msp_msg.hpp.

Value<uint32_t> msp::msg::WayPoint::lat

Definition at line 3511 of file msp_msg.hpp.

Value<uint32_t> msp::msg::WayPoint::lon

Definition at line 3512 of file msp_msg.hpp.

Value<uint8_t> msp::msg::WayPoint::navflag

Definition at line 3516 of file msp_msg.hpp.

Value<uint16_t> msp::msg::WayPoint::staytime

Definition at line 3515 of file msp_msg.hpp.

Value<uint8_t> msp::msg::WayPoint::wp_no

Definition at line 3510 of file msp_msg.hpp.


The documentation for this struct was generated from the following file:


msp
Author(s): Christian Rauch
autogenerated on Tue Oct 6 2020 03:39:02