uvsim::Guide Class Reference

Guide class. More...

#include <Guide.h>

Collaboration diagram for uvsim::Guide:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Guide ()
 Default Constructor.
 Guide (GeoCoord &pos)
 Constructor.
 ~Guide ()
 Destructor.
FlightPlangetFlightPlan ()
 Gets the FlightPlan data.
void computeCrossTrack ()
 Calculates how far the vehicle deflects from current position and adds current position and temporary waypoint to the list of waypoints if the error were more than permitted.
void setPosition (GeoCoord &pos)
 Sets the current position.

Private Attributes

FlightPlan flightplan
 Creates object member named flightplan from FlightPlan class.
GeoCoord m_currentPosition
 Creates object member named m_currentPosition from GeoCoord class.

Detailed Description

Guide class.

This class gets the FlightPlan data, compute cross track error, assigns new waypoints when error is beyond limit, and gets the current position of the vehicle.

CrossTrackError.png

Definition at line 35 of file Guide.h.


Constructor & Destructor Documentation

uvsim::Guide::Guide (  ) 

Default Constructor.

Definition at line 31 of file Guide.cc.

uvsim::Guide::Guide ( GeoCoord pos  ) 

Constructor.

Gets the current position.

Parameters:
pos : Reference to current position.

Definition at line 35 of file Guide.cc.

Here is the call graph for this function:

uvsim::Guide::~Guide (  ) 

Destructor.

Definition at line 40 of file Guide.cc.


Member Function Documentation

void uvsim::Guide::computeCrossTrack (  ) 

Calculates how far the vehicle deflects from current position and adds current position and temporary waypoint to the list of waypoints if the error were more than permitted.

The calculation is based on autopilot.

Definition at line 49 of file Guide.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

FlightPlan * uvsim::Guide::getFlightPlan (  ) 

Gets the FlightPlan data.

Returns:
Data containing FlightPlan which consists of the list of waypoints.

Definition at line 44 of file Guide.cc.

Here is the caller graph for this function:

void uvsim::Guide::setPosition ( GeoCoord pos  ) 

Sets the current position.

Parameters:
pos : Reference to current position.

Definition at line 121 of file Guide.cc.

Here is the caller graph for this function:


Member Data Documentation

Creates object member named flightplan from FlightPlan class.

Definition at line 71 of file Guide.h.

Creates object member named m_currentPosition from GeoCoord class.

Definition at line 75 of file Guide.h.


The documentation for this class was generated from the following files:

Generated on Mon Nov 9 12:57:23 2009 for uvsim by  doxygen 1.6.1