Class: APFLCDirector
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:72
An autopilot director that generates flight director pitch commands to hold an indicated airspeed or mach. Sets the
AUTOPILOT FLIGHT LEVEL CHANGE SimVar state to true (1) when it is armed or activated, and to false (0) when it is
deactivated.
The director requires valid pitch, indicated airspeed, mach, and indicated altitude data to arm or activate.
Implements
Constructors
Constructor
new APFLCDirector(
apValues,options?):APFLCDirector
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:113
Creates a new instance of APFLCDirector.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | Autopilot values from this director's parent autopilot. |
options? | Readonly<APFLCDirectorOptions> | Options with which to configure the new director. |
Returns
APFLCDirector
Properties
drivePitch()?
optionaldrivePitch: (pitch,adjustForAoa?,adjustForVerticalWind?,rate?,maxNoseDownPitch?,maxNoseUpPitch?) =>void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:88
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 |
rate? | number |
maxNoseDownPitch? | number |
maxNoseUpPitch? | number |
Returns
void
Implementation of
onActivate()?
optionalonActivate: () =>void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:79
A callback called when this director is activated.
Returns
void
Implementation of
onArm()?
optionalonArm: () =>void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:82
A callback called when this director is armed.
Returns
void
Implementation of
onDeactivate()?
optionalonDeactivate: () =>void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:85
A callback that is called when this director is deactivated.
Returns
void
Implementation of
state
state:
DirectorState
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:74
The current director state.
Implementation of
Methods
activate()
activate():
void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:153
Activates this director.
Returns
void
Implementation of
arm()
arm():
void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:201
Arms this director.
Returns
void
Implementation of
deactivate()
deactivate():
void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:211
Deactivates this director.
Returns
void
Implementation of
update()
update():
void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:224
Updates this director.
Returns
void