MAV'RIC
Public Member Functions | Protected Attributes
State_display Class Reference

Interface class for state display. More...

#include <state_display.hpp>

Inheritance diagram for State_display:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Interface class for state display.


Member Function Documentation

bool State_display::set_state ( const mav_state_t  state_new)

Set state function Set the state to be displayed.

Parameters:
state_newnew state to display
Returns:
Success

Here is the caller graph for this function:

virtual bool State_display::update ( void  ) [pure virtual]

Main update function Displays state.

Returns:
Success

Implemented in State_display_mavrimini, State_display_megafly_rev4, State_display_sparky_v2, and State_display_mavrinux.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines