Public Member Functions | Public Attributes
msp::msg::InavStatus Struct Reference

#include <msp_msg.hpp>

Inheritance diagram for msp::msg::InavStatus:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 5120 of file msp_msg.hpp.


Constructor & Destructor Documentation

Definition at line 5121 of file msp_msg.hpp.


Member Function Documentation

virtual bool msp::msg::InavStatus::decode ( const ByteVector ) [inline, override, virtual]

Decode message contents from a ByteVector.

Parameters:
dataSource of data
Returns:
False. Override methods should return true on success

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

Returns:
ID

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.


Member Data Documentation

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.


The documentation for this struct was generated from the following file:


msp
Author(s): Christian Rauch
autogenerated on Thu Jun 20 2019 19:40:38