gusimplewhiteboard
|
Class for interacting with and reading the values of APM sensors and motors. More...
#include <APM_Interface.hpp>
Public Member Functions | |
APM_Interface () | |
default constructor More... | |
bool | operator== (const APM_Interface &s) |
comparison operator More... | |
bool | operator!= (const APM_Interface &s) |
return false if the two interfaces are the same More... | |
APM_Interface (const std::string &str) | |
string constructor (see from_string() below) More... | |
void | from_string (const std::string &str) |
parse class properties from a string More... | |
std::string | description () const |
pretty print method for showing the current property values More... | |
![]() | |
PROPERTY (enum apm_mode, mode) PROPERTY(union apm_data | |
what type of machine More... | |
data | wb_apm_interface () |
stuct constructor More... | |
Class for interacting with and reading the values of APM sensors and motors.
get the yaw of a quad
APM_Interface i = APM_Status_t.get(); fprintf(stderr, "yaw: %d", i.data().quad.yaw());
Definition at line 32 of file APM_Interface.hpp.
|
inline |
default constructor
Definition at line 38 of file APM_Interface.hpp.
|
inline |
string constructor (see from_string() below)
[in] | str | a serialised string containing properties to set in this class |
Definition at line 80 of file APM_Interface.hpp.
References from_string().
|
inline |
pretty print method for showing the current property values
Definition at line 122 of file APM_Interface.hpp.
|
inline |
parse class properties from a string
[in] | str | a serialised string containing properties to set in this class |
Definition at line 85 of file APM_Interface.hpp.
References DELIMITER, Plane, and Quad.
Referenced by APM_Interface().
|
inline |
return false if the two interfaces are the same
Definition at line 71 of file APM_Interface.hpp.
|
inline |