Skip to main content

Class: APNavDirector

A Nav/Loc autopilot director.

Implements

Constructors

constructor

new APNavDirector(bus, apValues, mode, options?): APNavDirector

Creates an instance of the LateralDirector.

Parameters

NameTypeDescription
busEventBusThe event bus to use with this instance.
apValuesAPValuesAutopilot values from this director's parent autopilot.
modeAPLateralModesThe APLateralMode for this instance of the director.
options?Readonly<APNavDirectorOptions>Options to configure the new director.

Returns

APNavDirector

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:301

Properties

driveBank

Optional driveBank: (bank: number, rate?: number) => void

A function used to drive the autopilot commanded bank angle toward a desired value.

Param

The desired bank angle, in degrees. Positive values indicate left bank.

Param

The rate at which to drive the commanded bank angle, in degrees per second. If not defined, a default rate will be used.

Type declaration

▸ (bank, rate?): void

Parameters
NameType
banknumber
rate?number
Returns

void

Inherit Doc

Implementation of

PlaneDirector.driveBank

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:265


onActivate

Optional onActivate: () => void

A callback called when a mode signals it should be activated.

Type declaration

▸ (): void

Returns

void

Inherit Doc

Implementation of

PlaneDirector.onActivate

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:256


onArm

Optional onArm: () => void

A callback called when a mode signals it should be armed.

Type declaration

▸ (): void

Returns

void

Inherit Doc

Implementation of

PlaneDirector.onArm

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:259


onDeactivate

Optional onDeactivate: () => void

A callback called when a mode signals it should be deactivated.

Type declaration

▸ (): void

Returns

void

Inherit Doc

Implementation of

PlaneDirector.onDeactivate

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:262


state

state: DirectorState

The current director state.

Implementation of

PlaneDirector.state

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:253

Methods

activate

activate(): void

Activates this director.

Returns

void

Implementation of

PlaneDirector.activate

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:463


arm

arm(): void

Arms this director.

Returns

void

Implementation of

PlaneDirector.arm

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:475


deactivate

deactivate(): void

Deactivates this director.

Returns

void

Implementation of

PlaneDirector.deactivate

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:489


setNavLock

setNavLock(newState): void

Sets the NAV1 Lock state.

Parameters

NameTypeDescription
newStatebooleanThe new state of the NAV1 lock.

Returns

void

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:500


update

update(): void

Updates this director.

Returns

void

Implementation of

PlaneDirector.update

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:507