Class: APPitchLvlDirector
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:11
An autopilot director that generates flight director pitch commands to maintain zero vertical speed.
The director requires valid pitch and indicated vertical speed data to arm or activate.
Implements
Constructors
Constructor
new APPitchLvlDirector(
apValues):APPitchLvlDirector
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:34
Creates an instance of the APPitchLvlDirector.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | are the ap selected values for the autopilot. |
Returns
APPitchLvlDirector
Properties
apValues
protectedreadonlyapValues:APValues
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:34
are the ap selected values for the autopilot.
drivePitch()?
optionaldrivePitch: (pitch,adjustForAoa?,adjustForVerticalWind?) =>void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:25
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()?
optionalonActivate: () =>void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:16
A callback called when this director is activated.
Returns
void
Implementation of
onArm()?
optionalonArm: () =>void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:19
A callback called when this director is armed.
Returns
void
Implementation of
onDeactivate()?
optionalonDeactivate: () =>void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:22
A callback that is called when this director is deactivated.
Returns
void
Implementation of
state
state:
DirectorState
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:13
The current director state.
Implementation of
Methods
activate()
activate():
void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:47
Activates this director.
Returns
void
Implementation of
arm()
arm():
void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:60
Arms this director.
Returns
void
Implementation of
deactivate()
deactivate():
void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:67
Deactivates this director.
Returns
void
Implementation of
update()
update():
void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:80
Updates this director.
Returns
void