Skip to main content

Interface: NavToNavManager2

Defined in: src/sdk/autopilot/managers/NavToNavManager2.ts:7

A manager that handles CDI source switching to a NAV radio source for an autopilot.

Properties​

isNavToNavManager2​

readonly isNavToNavManager2: true

Defined in: src/sdk/autopilot/managers/NavToNavManager2.ts:9

Flags this object as a NavToNavManager2.


onTransferred()?​

optional onTransferred: (activateLateralMode, activateVerticalMode) => void

Defined in: src/sdk/autopilot/managers/NavToNavManager2.ts:17

A callback function that is called when this manager has completed a CDI source switch.

Parameters​

ParameterTypeDescription
activateLateralModeAPLateralModesThe autopilot lateral mode that can be activated as a result of the CDI source switch.
activateVerticalModeAPVerticalModesThe autopilot vertical mode that can be activated as a result of the CDI source switch.

Returns​

void

Methods​

getArmableLateralMode()​

getArmableLateralMode(): APLateralModes

Defined in: src/sdk/autopilot/managers/NavToNavManager2.ts:33

Gets the autopilot lateral mode that can be armed while waiting for this manager to switch CDI source, or APLateralModes.NONE if no modes can be armed.

Returns​

APLateralModes

The autopilot lateral mode that can be armed while waiting for this manager to switch CDI source, or APLateralModes.NONE if no modes can be armed.


getArmableNavRadioIndex()​

getArmableNavRadioIndex(): -1 | NavRadioIndex

Defined in: src/sdk/autopilot/managers/NavToNavManager2.ts:25

Gets the index of the NAV radio that can be armed for a CDI source switch by this manager, or -1 if a CDI source switch cannot be armed.

Returns​

-1 | NavRadioIndex

The index of the NAV radio that can be armed for a CDI source switch by this manager, or -1 if a CDI source switch cannot be armed.


getArmableVerticalMode()​

getArmableVerticalMode(): APVerticalModes

Defined in: src/sdk/autopilot/managers/NavToNavManager2.ts:41

Gets the autopilot vertical mode that can be armed while waiting for this manager to switch CDI source, or APVerticalModes.NONE if no modes can be armed.

Returns​

APVerticalModes

The autopilot vertical mode that can be armed while waiting for this manager to switch CDI source, or APVerticalModes.NONE if no modes can be armed.


isTransferInProgress()​

isTransferInProgress(): boolean

Defined in: src/sdk/autopilot/managers/NavToNavManager2.ts:47

Checks whether a CDI source switch initiated by this manager is currently in progress.

Returns​

boolean

Whether a CDI source switch initiated by this manager is currently in progress.


onAfterUpdate()​

onAfterUpdate(): void

Defined in: src/sdk/autopilot/managers/NavToNavManager2.ts:57

A method that is called on every autopilot update cycle after the autopilot directors are updated.

Returns​

void


onBeforeUpdate()​

onBeforeUpdate(): void

Defined in: src/sdk/autopilot/managers/NavToNavManager2.ts:52

A method that is called on every autopilot update cycle before the autopilot directors are updated.

Returns​

void