#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 | |
InavStatus (FirmwareVariant v) | |
bool | isHealthy () const |
virtual std::ostream & | print (std::ostream &s) const override |
Public Attributes | |
Value< uint32_t > | arming_flags |
Value< uint16_t > | avg_system_load_pct |
Value< uint8_t > | config_profile |
Definition at line 5120 of file msp_msg.hpp.
msp::msg::InavStatus::InavStatus | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 5121 of file msp_msg.hpp.
virtual bool msp::msg::InavStatus::decode | ( | const ByteVector & | ) | [inline, override, virtual] |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 5129 of file msp_msg.hpp.
bool msp::msg::InavStatus::hasAccelerometer | ( | ) | const [inline] |
Definition at line 5163 of file msp_msg.hpp.
bool msp::msg::InavStatus::hasBarometer | ( | ) | const [inline] |
Definition at line 5167 of file msp_msg.hpp.
bool msp::msg::InavStatus::hasGPS | ( | ) | const [inline] |
Definition at line 5171 of file msp_msg.hpp.
bool msp::msg::InavStatus::hasMagnetometer | ( | ) | const [inline] |
Definition at line 5169 of file msp_msg.hpp.
bool msp::msg::InavStatus::hasOpticalFlow | ( | ) | const [inline] |
Definition at line 5175 of file msp_msg.hpp.
bool msp::msg::InavStatus::hasPitot | ( | ) | const [inline] |
Definition at line 5177 of file msp_msg.hpp.
bool msp::msg::InavStatus::hasSonar | ( | ) | const [inline] |
Definition at line 5173 of file msp_msg.hpp.
virtual ID msp::msg::InavStatus::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 5123 of file msp_msg.hpp.
bool msp::msg::InavStatus::isHealthy | ( | ) | const [inline] |
Definition at line 5179 of file msp_msg.hpp.
virtual std::ostream& msp::msg::InavStatus::print | ( | std::ostream & | s | ) | const [inline, override, virtual] |
Reimplemented from msp::Message.
Definition at line 5181 of file msp_msg.hpp.
Value<uint32_t> msp::msg::InavStatus::arming_flags |
Definition at line 5127 of file msp_msg.hpp.
Definition at line 5125 of file msp_msg.hpp.
Definition at line 5126 of file msp_msg.hpp.