uavsim.computers
Class A_NavigationComputer

java.lang.Object
  extended by uavsim.computers.A_NavigationComputer
Direct Known Subclasses:
ADFComputer, DMEComputer, ILSComputer, VORComputer

public abstract class A_NavigationComputer
extends java.lang.Object

Defines the shared aspects of a navigation computer.

Author:
Dan Tappan [23.10.11]

Field Summary
(package private)  NavigationChart _chart
          the navigation chart
private  A_Instrument _instrument
          the instrument
 
Constructor Summary
A_NavigationComputer(A_Instrument instrument, NavigationChart chart)
          Creates an abstract navigation computer.
 
Method Summary
 NavigationChart getNavigationChart()
          Gets the navigation chart.
 void refresh()
          Forces the instrument to refresh itself.
abstract  void update(SevenDOFDescriptor sevenDOFDescriptor)
          Updates the instrument based on the computed navigation information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_chart

final NavigationChart _chart
the navigation chart


_instrument

private final A_Instrument _instrument
the instrument

Constructor Detail

A_NavigationComputer

public A_NavigationComputer(A_Instrument instrument,
                            NavigationChart chart)
Creates an abstract navigation computer.

Parameters:
instrument - - the instrument
chart - - the navigation chart
Method Detail

getNavigationChart

public NavigationChart getNavigationChart()
Gets the navigation chart.

Returns:
the chart

refresh

public void refresh()
Forces the instrument to refresh itself.


update

public abstract void update(SevenDOFDescriptor sevenDOFDescriptor)
Updates the instrument based on the computed navigation information.

Parameters:
sevenDOFDescriptor - - the UAV 7-DOF descriptor