Skip to main content

Class: G3XNavToNavGuidanceProvider

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Autopilot/G3XNavToNavGuidanceProvider.ts:14

A provider of autopilot nav-to-nav guidance data for the G3X autopilot. The provider sources guidance data from the internal GPS navigator (which does not support the nav-to-nav function) and any supported external navigators and selects the data for the navigator currently in use.

Implements

Constructors

Constructor

new G3XNavToNavGuidanceProvider(bus, fplSourceDataProvider): G3XNavToNavGuidanceProvider

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Autopilot/G3XNavToNavGuidanceProvider.ts:57

Creates a new instance of G3XNavToNavGuidanceProvider.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
fplSourceDataProviderG3XFplSourceDataProviderA provider of flight plan source data.

Returns

G3XNavToNavGuidanceProvider

Properties

armableLateralMode

readonly armableLateralMode: Accessible<APLateralModes>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Autopilot/G3XNavToNavGuidanceProvider.ts:25

The autopilot lateral mode that can be armed prior to a CDI source switch, or APLateralModes.NONE if no modes can be armed.

Implementation of

GarminNavToNavManager2Guidance.armableLateralMode


armableNavRadioIndex

readonly armableNavRadioIndex: Accessible<-1 | NavRadioIndex>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Autopilot/G3XNavToNavGuidanceProvider.ts:21

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

Implementation of

GarminNavToNavManager2Guidance.armableNavRadioIndex


armableVerticalMode

readonly armableVerticalMode: Accessible<APVerticalModes>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Autopilot/G3XNavToNavGuidanceProvider.ts:29

The autopilot vertical mode that can be armed prior to a CDI source switch, or APVerticalModes.NONE if no modes can be armed.

Implementation of

GarminNavToNavManager2Guidance.armableVerticalMode


canSwitchCdi

readonly canSwitchCdi: Accessible<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Autopilot/G3XNavToNavGuidanceProvider.ts:33

Whether a CDI source switch is allowed at the current time.

Implementation of

GarminNavToNavManager2Guidance.canSwitchCdi


cdiId

readonly cdiId: Accessible<string>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Autopilot/G3XNavToNavGuidanceProvider.ts:17

The ID of the CDI for which a CDI switch should be commanded.

Implementation of

GarminNavToNavManager2Guidance.cdiId


isExternalCdiSwitchInProgress

readonly isExternalCdiSwitchInProgress: Accessible<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Autopilot/G3XNavToNavGuidanceProvider.ts:37

Whether an external entity is currently in the process of switching the autopilot's CDI source.

Implementation of

GarminNavToNavManager2Guidance.isExternalCdiSwitchInProgress

Methods

destroy()

destroy(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Autopilot/G3XNavToNavGuidanceProvider.ts:116

Destroys this provider. Once destroyed, the provider will no longer automatically update its guidance data.

Returns

void


init()

init(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Autopilot/G3XNavToNavGuidanceProvider.ts:64

Initializes this provider. Once initialized, the provider will automatically update its guidance data.

Returns

void

Throws

Error if this provider has been destroyed.