MAV'RIC
Public Member Functions
Mission_handler_on_ground Class Reference

The mission handler for the on ground state. More...

#include <mission_handler_on_ground.hpp>

Inheritance diagram for Mission_handler_on_ground:
Inheritance graph
[legend]
Collaboration diagram for Mission_handler_on_ground:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Mission_handler_on_ground ()
 Initialize the on ground mission planner handler.
virtual bool can_handle (const Waypoint &wpt) const
 Checks if the waypoint is on the ground.
virtual bool setup (const Waypoint &wpt)
 Does nothing.
virtual
Mission_handler::update_status_t 
update ()
 Returns MISSION_IN_PROGRESS.
virtual bool write_flight_command (Flight_controller &flight_controller) const
 Provides control commands to the flight controller.
virtual
Mission_planner::internal_state_t 
handler_mission_state () const
 Returns that the mission state is in STANDBY.

Detailed Description

The mission handler for the on ground state.


Member Function Documentation

bool Mission_handler_on_ground::can_handle ( const Waypoint wpt) const [virtual]

Checks if the waypoint is on the ground.

DOES NOT CURRENTLY CHECK IF WE ARE ON GROUND

Parameters:
wptThe waypoint class
Returns:
Can handle

Implements Mission_handler.

Here is the call graph for this function:

Mission_planner::internal_state_t Mission_handler_on_ground::handler_mission_state ( ) const [virtual]

Returns that the mission state is in STANDBY.

Returns:
Mission handler's mission state

Implements Mission_handler.

bool Mission_handler_on_ground::setup ( const Waypoint wpt) [virtual]

Does nothing.

Does nothing

Parameters:
wptThe waypoint class
Returns:
True

Implements Mission_handler.

Mission_handler::update_status_t Mission_handler_on_ground::update ( void  ) [virtual]

Returns MISSION_IN_PROGRESS.

Sets thrust to low and returns MISSION_IN_PROGRESS

Returns:
MISSION_IN_PROGRESS

Implements Mission_handler.

bool Mission_handler_on_ground::write_flight_command ( Flight_controller flight_controller) const [virtual]

Provides control commands to the flight controller.

Returns:
success

Implements Flight_command_source.

Here is the call graph for this function:


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