|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.aircraft.adm.controllogic.latcontrol.ContinuousHeadingStrategist
public class ContinuousHeadingStrategist
Classes used to maintain a continuous heading specified by the sim pilot.See the source: ContinuousHeadingStrategist.java
| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
Deprecated. The CVS Version ID |
private TrueHeading |
desiredHeading
Deprecated. The continuous heading to maintain. |
(package private) static long |
serialVersionUID
Deprecated. |
| Constructor Summary | |
|---|---|
ContinuousHeadingStrategist(TrueHeading desiredHeading)
Deprecated. Constructor for the continuous heading class. |
|
| Method Summary | |
|---|---|
ContinuousHeadingStrategist |
clone()
Deprecated. |
RollAngle |
control(TrueHeading currentHeading,
RollAngle rollAngle)
Deprecated. In this case, override the control method and do nothing, since we want to maintain a constant true heading. |
TrueHeading |
getDesiredHeading()
Deprecated. Returns the user-specified heading. |
RollAngle |
getRollAngle()
Deprecated. This is what everyone is interested in :-) Since we are in continuous mode, simply return the desired value and we'll continue to maintain a heading of such magnitude |
boolean |
isHeadingCaptured()
Deprecated. always return false here, since the LateralControlLogic will use this and continue to load the GenericHeadingStrategist, which is not what we want here! |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
private TrueHeading desiredHeading
| Constructor Detail |
|---|
public ContinuousHeadingStrategist(TrueHeading desiredHeading)
desiredHeading - the desired heading to maintain.| Method Detail |
|---|
public RollAngle control(TrueHeading currentHeading,
RollAngle rollAngle)
control in interface HeadingStrategistcurrentHeading - The current heading of the aircraft.rollAngle - The current roll angle.public boolean isHeadingCaptured()
isHeadingCaptured in interface HeadingStrategistpublic RollAngle getRollAngle()
getRollAngle in interface HeadingStrategistpublic TrueHeading getDesiredHeading()
getDesiredHeading in interface HeadingStrategist
public ContinuousHeadingStrategist clone()
throws java.lang.CloneNotSupportedException
clone in interface HeadingStrategistclone in class java.lang.Objectjava.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||