MAV'RIC
|
Interface class for state display. More...
#include <state_display.hpp>
Public Member Functions | |
virtual bool | update (void)=0 |
Main update function Displays state. | |
bool | set_state (const mav_state_t state_new) |
Set state function Set the state to be displayed. | |
Protected Attributes | |
mav_state_t | state_ |
mav_state_t | state_old_ |
uint8_t | idle_ |
Interface class for state display.
bool State_display::set_state | ( | const mav_state_t | state_new | ) |
Set state function Set the state to be displayed.
state_new | new state to display |
virtual bool State_display::update | ( | void | ) | [pure virtual] |
Main update function Displays state.
Implemented in State_display_mavrimini, State_display_megafly_rev4, State_display_sparky_v2, and State_display_mavrinux.