Class: APGPDirector
Defined in: src/sdk/autopilot/directors/APGPDirector.ts:80
An RNAV LPV glidepath autopilot director.
Implements
Constructors
Constructor
new APGPDirector(
bus
,apValues
,options?
):APGPDirector
Defined in: src/sdk/autopilot/directors/APGPDirector.ts:114
Creates a new instance of APGPDirector.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
apValues | APValues | Autopilot values from this director's parent autopilot. |
options? | Readonly <APGPDirectorOptions > | Options with which to configure the director. |
Returns
APGPDirector
Properties
drivePitch()?
optional
drivePitch: (pitch
,adjustForAoa?
,adjustForVerticalWind?
) =>void
Defined in: src/sdk/autopilot/directors/APGPDirector.ts:91
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/APGPDirector.ts:85
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/APGPDirector.ts:88
A callback called when a mode signals it should be armed.
Returns
void
Implementation of
state
state:
DirectorState
Defined in: src/sdk/autopilot/directors/APGPDirector.ts:82
The current director state.
Implementation of
Methods
activate()
activate():
void
Defined in: src/sdk/autopilot/directors/APGPDirector.ts:157
Activates the guidance mode.
Returns
void
Implementation of
arm()
arm():
void
Defined in: src/sdk/autopilot/directors/APGPDirector.ts:169
Arms the guidance mode.
Returns
void
Implementation of
deactivate()
deactivate():
void
Defined in: src/sdk/autopilot/directors/APGPDirector.ts:185
Deactivates the guidance mode.
Returns
void
Implementation of
update()
update():
void
Defined in: src/sdk/autopilot/directors/APGPDirector.ts:194
Updates the guidance mode control loops.
Returns
void