Skip to main content

Class: APGSDirector

Defined in: src/sdk/autopilot/directors/APGSDirector.ts:171

An autopilot director that generates flight director pitch commands to track a glideslope signal from a radio navigation aid.

The director requires valid pitch data to arm or activate.

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:238

Creates a new instance of APGSDirector.

Parameters

ParameterTypeDescription
busEventBusThe event bus to use with this instance.
apValuesAPValuesAutopilot 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:185

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

ParameterType
pitchnumber
adjustForAoa?boolean
adjustForVerticalWind?boolean

Returns

void

Implementation of

PlaneDirector.drivePitch


onActivate()?

optional onActivate: () => void

Defined in: src/sdk/autopilot/directors/APGSDirector.ts:176

A callback called when this director is activated.

Returns

void

Implementation of

PlaneDirector.onActivate


onArm()?

optional onArm: () => void

Defined in: src/sdk/autopilot/directors/APGSDirector.ts:179

A callback called when this director is armed.

Returns

void

Implementation of

PlaneDirector.onArm


onDeactivate()?

optional onDeactivate: () => void

Defined in: src/sdk/autopilot/directors/APGSDirector.ts:182

A callback that is called when this director is deactivated.

Returns

void

Implementation of

PlaneDirector.onDeactivate


state

state: DirectorState

Defined in: src/sdk/autopilot/directors/APGSDirector.ts:173

The current director state.

Implementation of

PlaneDirector.state

Methods

activate()

activate(): void

Defined in: src/sdk/autopilot/directors/APGSDirector.ts:321

Activates this director.

Returns

void

Implementation of

PlaneDirector.activate


arm()

arm(): void

Defined in: src/sdk/autopilot/directors/APGSDirector.ts:342

Arms this director.

Returns

void

Implementation of

PlaneDirector.arm


deactivate()

deactivate(): void

Defined in: src/sdk/autopilot/directors/APGSDirector.ts:363

Deactivates this director.

Returns

void

Implementation of

PlaneDirector.deactivate


initCdiSourceSubs()

protected initCdiSourceSubs(): void

Defined in: src/sdk/autopilot/directors/APGSDirector.ts:261

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:381

Updates this director.

Returns

void

Implementation of

PlaneDirector.update