Class: APGSDirector
Defined in: src/sdk/autopilot/directors/APGSDirector.ts:169
An autopilot director that provides vertical guidance by tracking a glideslope signal from a radio navigation aid.
Requires that the navigation radio topics defined in NavComEvents be published to the event bus in order to function properly.
Implements
Constructors
Constructor
new APGSDirector(
bus
,apValues
,options?
):APGSDirector
Defined in: src/sdk/autopilot/directors/APGSDirector.ts:226
Creates a new instance of APGSDirector.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus to use with this instance. |
apValues | APValues | Autopilot values from this director's parent autopilot. |
options? | Readonly <APGSDirectorOptions > | Options with which to configure the director. |
Returns
APGSDirector
Properties
drivePitch()?
optional
drivePitch: (pitch
,adjustForAoa?
,adjustForVerticalWind?
) =>void
Defined in: src/sdk/autopilot/directors/APGSDirector.ts:180
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/APGSDirector.ts:174
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/APGSDirector.ts:177
A callback called when a mode signals it should be armed.
Returns
void
Implementation of
state
state:
DirectorState
Defined in: src/sdk/autopilot/directors/APGSDirector.ts:171
The current director state.
Implementation of
Methods
activate()
activate():
void
Defined in: src/sdk/autopilot/directors/APGSDirector.ts:303
Activates this director.
Returns
void
Implementation of
arm()
arm():
void
Defined in: src/sdk/autopilot/directors/APGSDirector.ts:320
Arms this director.
Returns
void
Implementation of
deactivate()
deactivate():
void
Defined in: src/sdk/autopilot/directors/APGSDirector.ts:339
Deactivates this director.
Returns
void
Implementation of
initCdiSourceSubs()
protected
initCdiSourceSubs():void
Defined in: src/sdk/autopilot/directors/APGSDirector.ts:249
Initializes this director's subscription to the autopilot's CDI source. If this director is forced to use a specific CDI source, then the autopilot's CDI source will be ignored.
Returns
void
update()
update():
void
Defined in: src/sdk/autopilot/directors/APGSDirector.ts:350
Updates this director.
Returns
void