Class: APFLCDirector
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:64
A Flight Level Change autopilot director.
Implements
Constructors
Constructor
new APFLCDirector(
apValues
,options?
):APFLCDirector
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:100
Creates a new instance of APFLCDirector.
Parameters
Parameter | Type | Description |
---|---|---|
apValues | APValues | Autopilot values from this director's parent autopilot. |
options? | Partial <Readonly <APFLCDirectorOptions >> | Options to configure the new director. Option values default to the following if not defined: * maxPitchUpAngle : 15 * maxPitchDownAngle : 15 * setSpeedOnActivation : A function which sets the selected IAS or mach target to the airplane's current IAS or mach, depending on whether IAS or mach is currently being targeted. |
Returns
APFLCDirector
Properties
drivePitch()?
optional
drivePitch: (pitch
,adjustForAoa?
,adjustForVerticalWind?
) =>void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:77
A function used to drive the autopilot commanded pitch angle toward a desired value while optionally correcting for angle of attack and vertical wind.
Parameters
Parameter | Type |
---|---|
pitch | number |
adjustForAoa? | boolean |
adjustForVerticalWind? | boolean |
Returns
void
Implementation of
onActivate()?
optional
onActivate: () =>void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:71
A callback called when a mode signals it should be activated.
Returns
void
Implementation of
onArm()?
optional
onArm: () =>void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:74
A callback called when a mode signals it should be armed.
Returns
void
Implementation of
state
state:
DirectorState
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:66
The current director state.
Implementation of
Methods
activate()
activate():
void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:136
Activates this director.
Returns
void
Implementation of
arm()
arm():
void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:184
Arms this director. This director can be armed, but it will never automatically activate and remain in the armed state. Therefore we do not resume subs until activation.
Returns
void
Implementation of
deactivate()
deactivate():
void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:192
Deactivates this director.
Returns
void
Implementation of
update()
update():
void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:201
Updates this director.
Returns
void