Skip to main content

Class: GarminNavToNavManager2

Defined in: src/garminsdk/autopilot/navtonav/GarminNavToNavManager2.ts:55

An implementation of NavToNavManager2 that uses guidance data generated from an outside source to determine when CDI source switching can be armed and triggered.

Implements​

Constructors​

Constructor​

new GarminNavToNavManager2(bus, apValues, guidance, options?): GarminNavToNavManager2

Defined in: src/garminsdk/autopilot/navtonav/GarminNavToNavManager2.ts:76

Creates a new instance of GarminNavToNavManager2.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
apValuesAPValuesAutopilot values from this manager's parent autopilot.
guidanceGarminNavToNavManager2GuidanceThe guidance data used by this manager.
options?Readonly<GarminNavToNavManager2Options>Options with which to configure the manager.

Returns​

GarminNavToNavManager2

Properties​

isNavToNavManager2​

readonly isNavToNavManager2: true = true

Defined in: src/garminsdk/autopilot/navtonav/GarminNavToNavManager2.ts:57

Flags this object as a NavToNavManager2.

Implementation of​

NavToNavManager2.isNavToNavManager2


onTransferred()?​

optional onTransferred: (activateLateralMode, activateVerticalMode) => void

Defined in: src/garminsdk/autopilot/navtonav/GarminNavToNavManager2.ts:59

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

Parameters​

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

Returns​

void

Implementation of​

NavToNavManager2.onTransferred

Methods​

getArmableLateralMode()​

getArmableLateralMode(): number

Defined in: src/garminsdk/autopilot/navtonav/GarminNavToNavManager2.ts:93

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​

number

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.

Implementation of​

NavToNavManager2.getArmableLateralMode


getArmableNavRadioIndex()​

getArmableNavRadioIndex(): -1 | NavRadioIndex

Defined in: src/garminsdk/autopilot/navtonav/GarminNavToNavManager2.ts:88

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.

Implementation of​

NavToNavManager2.getArmableNavRadioIndex


getArmableVerticalMode()​

getArmableVerticalMode(): number

Defined in: src/garminsdk/autopilot/navtonav/GarminNavToNavManager2.ts:98

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​

number

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.

Implementation of​

NavToNavManager2.getArmableVerticalMode


isTransferInProgress()​

isTransferInProgress(): boolean

Defined in: src/garminsdk/autopilot/navtonav/GarminNavToNavManager2.ts:103

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.

Implementation of​

NavToNavManager2.isTransferInProgress


onAfterUpdate()​

onAfterUpdate(): void

Defined in: src/garminsdk/autopilot/navtonav/GarminNavToNavManager2.ts:113

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

Returns​

void

Implementation of​

NavToNavManager2.onAfterUpdate


onBeforeUpdate()​

onBeforeUpdate(): void

Defined in: src/garminsdk/autopilot/navtonav/GarminNavToNavManager2.ts:108

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

Returns​

void

Implementation of​

NavToNavManager2.onBeforeUpdate