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

#include <msp_msg.hpp>

Inheritance diagram for msp::msg::Status:
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
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

Detailed Description

Definition at line 2758 of file msp_msg.hpp.


Constructor & Destructor Documentation

Definition at line 2759 of file msp_msg.hpp.


Member Function Documentation

virtual bool msp::msg::Status::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 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

Returns:
ID

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.


Member Data Documentation

Definition at line 2763 of file msp_msg.hpp.

Definition at line 2764 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