#include <msp_msg.hpp>
Public Member Functions | |
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 |
RawImu (FirmwareVariant v) | |
Public Attributes | |
std::array< Value< int16_t >, 3 > | acc |
std::array< Value< int16_t >, 3 > | gyro |
std::array< Value< int16_t >, 3 > | mag |
Definition at line 2832 of file msp_msg.hpp.
msp::msg::RawImu::RawImu | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 2833 of file msp_msg.hpp.
virtual bool msp::msg::RawImu::decode | ( | const ByteVector & | ) | [inline, override, virtual] |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 2841 of file msp_msg.hpp.
virtual ID msp::msg::RawImu::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 2835 of file msp_msg.hpp.
virtual std::ostream& msp::msg::RawImu::print | ( | std::ostream & | s | ) | const [inline, override, virtual] |
Reimplemented from msp::Message.
Definition at line 2855 of file msp_msg.hpp.
std::array<Value<int16_t>, 3> msp::msg::RawImu::acc |
Definition at line 2837 of file msp_msg.hpp.
std::array<Value<int16_t>, 3> msp::msg::RawImu::gyro |
Definition at line 2838 of file msp_msg.hpp.
std::array<Value<int16_t>, 3> msp::msg::RawImu::mag |
Definition at line 2839 of file msp_msg.hpp.