#include <msp_msg.hpp>
Public Member Functions | |
virtual bool | decode (const ByteVector &data) override |
Decode message contents from a ByteVector. | |
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 | |
bool | isHealthy () const |
virtual std::ostream & | print (std::ostream &s) const override |
Status (FirmwareVariant v) | |
Public Attributes | |
Value< uint16_t > | avg_system_load_pct |
Value< uint16_t > | gyro_cycle_time |
Definition at line 2758 of file msp_msg.hpp.
msp::msg::Status::Status | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 2759 of file msp_msg.hpp.
virtual bool msp::msg::Status::decode | ( | const ByteVector & | ) | [inline, override, virtual] |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 2766 of file msp_msg.hpp.
bool msp::msg::Status::hasAccelerometer | ( | ) | const [inline] |
Definition at line 2777 of file msp_msg.hpp.
bool msp::msg::Status::hasBarometer | ( | ) | const [inline] |
Definition at line 2781 of file msp_msg.hpp.
bool msp::msg::Status::hasGPS | ( | ) | const [inline] |
Definition at line 2785 of file msp_msg.hpp.
bool msp::msg::Status::hasMagnetometer | ( | ) | const [inline] |
Definition at line 2783 of file msp_msg.hpp.
bool msp::msg::Status::hasOpticalFlow | ( | ) | const [inline] |
Definition at line 2789 of file msp_msg.hpp.
bool msp::msg::Status::hasPitot | ( | ) | const [inline] |
Definition at line 2791 of file msp_msg.hpp.
bool msp::msg::Status::hasSonar | ( | ) | const [inline] |
Definition at line 2787 of file msp_msg.hpp.
virtual ID msp::msg::Status::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 2761 of file msp_msg.hpp.
bool msp::msg::Status::isHealthy | ( | ) | const [inline] |
Definition at line 2793 of file msp_msg.hpp.
virtual std::ostream& msp::msg::Status::print | ( | std::ostream & | s | ) | const [inline, override, virtual] |
Reimplemented from msp::Message.
Definition at line 2795 of file msp_msg.hpp.
Value<uint16_t> msp::msg::Status::avg_system_load_pct |
Definition at line 2763 of file msp_msg.hpp.
Value<uint16_t> msp::msg::Status::gyro_cycle_time |
Definition at line 2764 of file msp_msg.hpp.