#include <msp_msg.hpp>
Public Member Functions | |
Attitude (FirmwareVariant v) | |
virtual bool | decode (const ByteVector &data) override |
Decode message contents from a ByteVector. | |
virtual ID | id () const override |
get the ID of the message | |
virtual std::ostream & | print (std::ostream &s) const override |
Public Attributes | |
Value< int16_t > | pitch |
Value< int16_t > | roll |
Value< int16_t > | yaw |
Definition at line 3056 of file msp_msg.hpp.
msp::msg::Attitude::Attitude | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 3057 of file msp_msg.hpp.
virtual bool msp::msg::Attitude::decode | ( | const ByteVector & | ) | [inline, override, virtual] |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 3065 of file msp_msg.hpp.
virtual ID msp::msg::Attitude::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 3059 of file msp_msg.hpp.
virtual std::ostream& msp::msg::Attitude::print | ( | std::ostream & | s | ) | const [inline, override, virtual] |
Reimplemented from msp::Message.
Definition at line 3073 of file msp_msg.hpp.
Value<int16_t> msp::msg::Attitude::pitch |
Definition at line 3062 of file msp_msg.hpp.
Value<int16_t> msp::msg::Attitude::roll |
Definition at line 3061 of file msp_msg.hpp.
Value<int16_t> msp::msg::Attitude::yaw |
Definition at line 3063 of file msp_msg.hpp.