#include <msp_msg.hpp>

Public Member Functions | |
| virtual bool | decode (const ByteVector &data) override |
| Decode message contents from a ByteVector. More... | |
| bool | hasAccelerometer () const |
| bool | hasBarometer () const |
| bool | hasGPS () const |
| bool | hasMagnetometer () const |
| bool | hasOpticalFlow () const |
| bool | hasPitot () const |
| bool | hasSonar () const |
| virtual ID | id () const override |
| get the ID of the message More... | |
| bool | isHealthy () const |
| virtual std::ostream & | print (std::ostream &s) const override |
| Status (FirmwareVariant v) | |
Public Member Functions inherited from msp::msg::StatusBase | |
| virtual bool | pack_into (ByteVector &data) const |
| bool | unpack_from (const ByteVector &data) |
Public Member Functions inherited from msp::Packable | |
| virtual | ~Packable () |
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< uint16_t > | avg_system_load_pct |
| Value< uint16_t > | gyro_cycle_time |
Public Attributes inherited from msp::msg::StatusBase | |
| std::set< size_t > | box_mode_flags |
| Value< uint8_t > | current_profile |
| Value< uint16_t > | cycle_time |
| Value< uint16_t > | i2c_errors |
| std::set< Sensor > | sensors |
Additional Inherited Members | |
Protected Attributes inherited from msp::Message | |
| FirmwareVariant | fw_variant |
Definition at line 2755 of file msp_msg.hpp.
|
inline |
Definition at line 2756 of file msp_msg.hpp.
|
inlineoverridevirtual |
Decode message contents from a ByteVector.
| data | Source of data |
Reimplemented from msp::Message.
Definition at line 2763 of file msp_msg.hpp.
|
inline |
Definition at line 2774 of file msp_msg.hpp.
|
inline |
Definition at line 2778 of file msp_msg.hpp.
|
inline |
Definition at line 2782 of file msp_msg.hpp.
|
inline |
Definition at line 2780 of file msp_msg.hpp.
|
inline |
Definition at line 2786 of file msp_msg.hpp.
|
inline |
Definition at line 2788 of file msp_msg.hpp.
|
inline |
Definition at line 2784 of file msp_msg.hpp.
|
inlineoverridevirtual |
get the ID of the message
Implements msp::Message.
Definition at line 2758 of file msp_msg.hpp.
|
inline |
Definition at line 2790 of file msp_msg.hpp.
|
inlineoverridevirtual |
Reimplemented from msp::Message.
Definition at line 2792 of file msp_msg.hpp.
| Value<uint16_t> msp::msg::Status::avg_system_load_pct |
Definition at line 2760 of file msp_msg.hpp.
| Value<uint16_t> msp::msg::Status::gyro_cycle_time |
Definition at line 2761 of file msp_msg.hpp.