#include <msp_msg.hpp>
Public Member Functions | |
void | decode (const std::vector< uint8_t > &data) |
bool | hasAccelerometer () const |
bool | hasBarometer () const |
bool | hasGPS () const |
bool | hasMagnetometer () const |
bool | hasSonar () const |
ID | id () const |
Public Attributes | |
std::set< uint > | active_box_id |
uint | current_setting |
uint16_t | errors |
std::set< Sensor > | sensors |
uint16_t | time |
Definition at line 289 of file msp_msg.hpp.
void msp::msg::Status::decode | ( | const std::vector< uint8_t > & | data | ) | [inline, virtual] |
Implements msp::Request.
Definition at line 298 of file msp_msg.hpp.
bool msp::msg::Status::hasAccelerometer | ( | ) | const [inline] |
Definition at line 328 of file msp_msg.hpp.
bool msp::msg::Status::hasBarometer | ( | ) | const [inline] |
Definition at line 330 of file msp_msg.hpp.
bool msp::msg::Status::hasGPS | ( | ) | const [inline] |
Definition at line 334 of file msp_msg.hpp.
bool msp::msg::Status::hasMagnetometer | ( | ) | const [inline] |
Definition at line 332 of file msp_msg.hpp.
bool msp::msg::Status::hasSonar | ( | ) | const [inline] |
Definition at line 336 of file msp_msg.hpp.
ID msp::msg::Status::id | ( | ) | const [inline, virtual] |
Implements msp::Message.
Definition at line 290 of file msp_msg.hpp.
std::set<uint> msp::msg::Status::active_box_id |
Definition at line 296 of file msp_msg.hpp.
Definition at line 295 of file msp_msg.hpp.
uint16_t msp::msg::Status::errors |
Definition at line 293 of file msp_msg.hpp.
std::set<Sensor> msp::msg::Status::sensors |
Definition at line 294 of file msp_msg.hpp.
uint16_t msp::msg::Status::time |
Definition at line 292 of file msp_msg.hpp.