Skip to main content

Class: G3000Autopilot

A G3000 autopilot.

Hierarchy

  • GarminAutopilot

    G3000Autopilot

Constructors

constructor

new G3000Autopilot(bus, flightPlanner, config, stateManager, metricAltSettingsManager, minimumsDataProvider): G3000Autopilot

Creates a new instance of G3000Autopilot.

Parameters

NameTypeDescription
busEventBusThe event bus.
flightPlannerFlightPlanner<"">This autopilot's associated flight planner.
configGarminAPConfigInterfaceThis autopilot's configuration.
stateManagerAPStateManagerThis autopilot's state manager.
metricAltSettingsManagerMetricAltitudeSettingsManagerA manager of metric altitude mode user settings.
minimumsDataProviderMinimumsDataProviderA provider of minimums data.

Returns

G3000Autopilot

Overrides

GarminAutopilot.constructor

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Autopilot/G3000Autopilot.ts:21

Properties

_apValues

Protected Readonly _apValues: Object

Type declaration

NameType
apApproachModeOnSubject<boolean>
approachHasGPSubject<boolean>
approachIsActiveSubject<boolean>
capturedAltitudeSubject<number>
cdiIdstring
cdiSourceSubject<Readonly<NavSourceId>>
isSelectedSpeedInMachSubject<boolean>
lateralActiveSubject<APLateralModes>
lateralArmedSubject<APLateralModes>
maxBankAngleSubject<number>
maxBankIdSubject<number>
nav1HasGsSubject<boolean>
nav2HasGsSubject<boolean>
nav3HasGsSubject<boolean>
nav4HasGsSubject<boolean>
selectedAltitudeSubject<number>
selectedFlightPathAngleSubject<number>
selectedHeadingSubject<number>
selectedIasSubject<number>
selectedMachSubject<number>
selectedPitchSubject<number>
selectedVerticalSpeedSubject<number>
simRateSubject<number>
verticalActiveSubject<APVerticalModes>
verticalArmedSubject<APVerticalModes>

Inherited from

GarminAutopilot._apValues

Defined in

src/sdk/autopilot/Autopilot.ts:157


altCapArmed

Protected altCapArmed: boolean = false

Inherited from

GarminAutopilot.altCapArmed

Defined in

src/sdk/autopilot/Autopilot.ts:145


altSelectManager

Protected Readonly altSelectManager: AltitudeSelectManager

Inherited from

GarminAutopilot.altSelectManager

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:72


altSelectStops

Protected Readonly altSelectStops: SetSubject<number>

Inherited from

GarminAutopilot.altSelectStops

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:70


apValues

Readonly apValues: APValues

Inherited from

GarminAutopilot.apValues

Defined in

src/sdk/autopilot/Autopilot.ts:185


autopilotInitialized

Protected autopilotInitialized: boolean = false

Inherited from

GarminAutopilot.autopilotInitialized

Defined in

src/sdk/autopilot/Autopilot.ts:187


bus

Protected Readonly bus: EventBus

The event bus.

Inherited from

GarminAutopilot.bus

Defined in

src/sdk/autopilot/Autopilot.ts:197


cdiSource

Protected cdiSource: Readonly<NavSourceId>

Inherited from

GarminAutopilot.cdiSource

Defined in

src/sdk/autopilot/Autopilot.ts:138


config

Protected Readonly config: GarminAPConfigInterface

This autopilot's configuration.

Inherited from

GarminAutopilot.config

Defined in

src/sdk/autopilot/Autopilot.ts:199


currentAltitude

Protected currentAltitude: number = 0

Inherited from

GarminAutopilot.currentAltitude

Defined in

src/sdk/autopilot/Autopilot.ts:149


directors

Readonly directors: APDirectors

This autopilot's plane directors.

Inherited from

GarminAutopilot.directors

Defined in

src/sdk/autopilot/Autopilot.ts:122


flightPlanSynced

Protected flightPlanSynced: boolean = false

Inherited from

GarminAutopilot.flightPlanSynced

Defined in

src/sdk/autopilot/Autopilot.ts:152


flightPlanner

Protected Readonly flightPlanner: FlightPlanner<any>

This autopilot's associated flight planner.

Inherited from

GarminAutopilot.flightPlanner

Defined in

src/sdk/autopilot/Autopilot.ts:198


fmaData

Protected Readonly fmaData: ObjectSubject<FmaData>

Inherited from

GarminAutopilot.fmaData

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:74


fmaDataPublisher

Protected Readonly fmaDataPublisher: Publisher<FmaDataEvents>

Inherited from

GarminAutopilot.fmaDataPublisher

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:87


inClimb

Protected inClimb: boolean = false

Inherited from

GarminAutopilot.inClimb

Defined in

src/sdk/autopilot/Autopilot.ts:148


lateralModeFailed

Protected lateralModeFailed: boolean = false

Inherited from

GarminAutopilot.lateralModeFailed

Defined in

src/sdk/autopilot/Autopilot.ts:146


lateralModes

Protected lateralModes: Map<APLateralModes, PlaneDirector>

Inherited from

GarminAutopilot.lateralModes

Defined in

src/sdk/autopilot/Autopilot.ts:140


machToKias

Protected Readonly machToKias: ConsumerValue<number>

Inherited from

GarminAutopilot.machToKias

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:90


Readonly navToNavManager: undefined | NavToNavManager | NavToNavManager2

This autopilot's nav-to-nav transfer manager.

Inherited from

GarminAutopilot.navToNavManager

Defined in

src/sdk/autopilot/Autopilot.ts:125


Protected Readonly navToNavManagerToUse: undefined | NavToNavManager2

Inherited from

GarminAutopilot.navToNavManagerToUse

Defined in

src/sdk/autopilot/Autopilot.ts:127


needPublishFmaData

Protected needPublishFmaData: boolean = false

Inherited from

GarminAutopilot.needPublishFmaData

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:88


requireApproachIsActiveForNavToNav

Protected requireApproachIsActiveForNavToNav: boolean = true

Can be set to false in child classes to override behavior for certain aircraft.

Inherited from

GarminAutopilot.requireApproachIsActiveForNavToNav

Defined in

src/sdk/autopilot/Autopilot.ts:155


selSpeedIsMach

Protected Readonly selSpeedIsMach: ConsumerSubject<boolean>

Inherited from

GarminAutopilot.selSpeedIsMach

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:91


stateManager

Readonly stateManager: APStateManager

This autopilot's state manager.

Inherited from

GarminAutopilot.stateManager

Defined in

src/sdk/autopilot/Autopilot.ts:200


supportMachSelect

Protected Readonly supportMachSelect: boolean

Inherited from

GarminAutopilot.supportMachSelect

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:93


variableBankManager

Readonly variableBankManager: undefined | Record<any, any>

This autopilot's variable bank angle Manager.

Inherited from

GarminAutopilot.variableBankManager

Defined in

src/sdk/autopilot/Autopilot.ts:133


verticalAltitudeArmed

Protected verticalAltitudeArmed: APAltitudeModes = APAltitudeModes.NONE

Inherited from

GarminAutopilot.verticalAltitudeArmed

Defined in

src/sdk/autopilot/Autopilot.ts:143


verticalApproachArmed

Protected verticalApproachArmed: APVerticalModes = APVerticalModes.NONE

Inherited from

GarminAutopilot.verticalApproachArmed

Defined in

src/sdk/autopilot/Autopilot.ts:144


verticalModes

Protected verticalModes: Map<APVerticalModes, PlaneDirector>

Inherited from

GarminAutopilot.verticalModes

Defined in

src/sdk/autopilot/Autopilot.ts:142


vnavCaptureType

Protected vnavCaptureType: VNavAltCaptureType = VNavAltCaptureType.None

Inherited from

GarminAutopilot.vnavCaptureType

Defined in

src/sdk/autopilot/Autopilot.ts:150


vnavManager

Readonly vnavManager: undefined | VNavManager

This autopilot's VNav Manager.

Inherited from

GarminAutopilot.vnavManager

Defined in

src/sdk/autopilot/Autopilot.ts:130


ALT_SELECT_OPTIONS_DEFAULT

Static Protected Readonly ALT_SELECT_OPTIONS_DEFAULT: AltitudeSelectManagerOptions

Inherited from

GarminAutopilot.ALT_SELECT_OPTIONS_DEFAULT

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:56

Methods

approachPressed

approachPressed(set?): void

Handles input from the State Manager when the APPR button is pressed.

Parameters

NameTypeDescription
set?booleanis whether this event commands a specific set

Returns

void

Inherited from

GarminAutopilot.approachPressed

Defined in

src/sdk/autopilot/Autopilot.ts:513


checkModes

checkModes(): void

Checks if all the active and armed modes are still in their proper state and takes corrective action if not.

Returns

void

Inherited from

GarminAutopilot.checkModes

Defined in

src/sdk/autopilot/Autopilot.ts:1007


checkRollModeActive

checkRollModeActive(): void

Checks if the sim AP is in roll mode and sets it if not.

Returns

void

Inherited from

GarminAutopilot.checkRollModeActive

Defined in

src/sdk/autopilot/Autopilot.ts:1307


deactivateArmedOrActiveVerticalMode

deactivateArmedOrActiveVerticalMode(mode): boolean

Checks if a mode is active or armed and deactivates it.

Parameters

NameTypeDescription
modeAPVerticalModesis the AP Mode to check.

Returns

boolean

whether this mode was active or armed and subsequently disabled.

Inherited from

GarminAutopilot.deactivateArmedOrActiveVerticalMode

Defined in

src/sdk/autopilot/Autopilot.ts:486


getArmableApproachType

getArmableApproachType(): APLateralModes

Returns the AP Lateral Mode that can be armed.

Returns

APLateralModes

The AP Lateral Mode that can be armed.

Inherited from

GarminAutopilot.getArmableApproachType

Defined in

src/sdk/autopilot/Autopilot.ts:590


getDefaultLateralMode

getDefaultLateralMode(): APLateralModes

Get the default lateral mode from APConfig

Returns

APLateralModes

default lateral mode

Inherited from

GarminAutopilot.getDefaultLateralMode

Defined in

src/sdk/autopilot/Autopilot.ts:1328


getDefaultVerticalMode

getDefaultVerticalMode(): APVerticalModes

Get the default vertical mode from APConfig

Returns

APVerticalModes

default vertical mode

Inherited from

GarminAutopilot.getDefaultVerticalMode

Defined in

src/sdk/autopilot/Autopilot.ts:1340


handleApFdStateChange

handleApFdStateChange(): void

Manages the FD state and the modes when AP/FD are off.

Returns

void

Inherited from

GarminAutopilot.handleApFdStateChange

Defined in

src/sdk/autopilot/Autopilot.ts:1269


initLateralModes

initLateralModes(): void

Initializes the Autopilot with the available lateral modes from the config.

Returns

void

Inherited from

GarminAutopilot.initLateralModes

Defined in

src/sdk/autopilot/Autopilot.ts:704


initNavToNavManager

initNavToNavManager(): void

Initializes the Autopilot with the available Nav To Nav Manager.

Returns

void

Inherited from

GarminAutopilot.initNavToNavManager

Defined in

src/sdk/autopilot/Autopilot.ts:831


initVNavManager

initVNavManager(): void

Initializes the Autopilot with the available VNav Manager.

Returns

void

Inherited from

GarminAutopilot.initVNavManager

Defined in

src/sdk/autopilot/Autopilot.ts:847


initVerticalModes

initVerticalModes(): void

Returns

void

Inherit Doc

Inherited from

GarminAutopilot.initVerticalModes

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:155


isLateralModeActivatedOrArmed

isLateralModeActivatedOrArmed(mode): boolean

Checks if a mode is active or armed and optionally deactivates it.

Parameters

NameTypeDescription
modeAPLateralModesis the AP Mode to check.

Returns

boolean

whether this mode was active or armed and subsequently disabled.

Inherited from

GarminAutopilot.isLateralModeActivatedOrArmed

Defined in

src/sdk/autopilot/Autopilot.ts:440


lateralPressed

lateralPressed(data): void

Handles input from the State Manager when a lateral mode button is pressed.

Parameters

NameTypeDescription
dataAPModePressEventis the AP Lateral Mode Event Data

Returns

void

Inherited from

GarminAutopilot.lateralPressed

Defined in

src/sdk/autopilot/Autopilot.ts:338


manageAltitudeCapture

manageAltitudeCapture(): void

Checks and sets the proper armed altitude mode.

Returns

void

Inherited from

GarminAutopilot.manageAltitudeCapture

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:205


monitorAdditionalEvents

monitorAdditionalEvents(): void

Returns

void

Inherit Doc

Inherited from

GarminAutopilot.monitorAdditionalEvents

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:172


monitorApSpeedValues

monitorApSpeedValues(): void

Overridable method for setting the selected speed values for the A/P to follow.

Returns

void

Inherited from

GarminAutopilot.monitorApSpeedValues

Defined in

src/sdk/autopilot/Autopilot.ts:1246


onAfterUpdate

onAfterUpdate(): void

Returns

void

Inherit Doc

Inherited from

GarminAutopilot.onAfterUpdate

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:237


onBeforeUpdate

onBeforeUpdate(): void

This method runs each update cycle before the update occurs.

Returns

void

Inherited from

GarminAutopilot.onBeforeUpdate

Defined in

src/sdk/autopilot/Autopilot.ts:316


onInitialized

onInitialized(): void

Returns

void

Inherit Doc

Inherited from

GarminAutopilot.onInitialized

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:167


reset

reset(): void

Resets this autopilot. Resets the altitude preselector, sets AP MASTER to off, and deactivates the flight director.

Returns

void

Inherited from

GarminAutopilot.reset

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:144


setAltHold

setAltHold(): void

Method called when the ALT button is pressed.

Returns

void

Inherited from

GarminAutopilot.setAltHold

Defined in

src/sdk/autopilot/Autopilot.ts:693


setLateralActive

setLateralActive(mode): void

Callback to set the lateral active mode.

Parameters

NameTypeDescription
modeAPLateralModesis the mode being set.

Returns

void

Inherited from

GarminAutopilot.setLateralActive

Defined in

src/sdk/autopilot/Autopilot.ts:620


setVerticalActive

setVerticalActive(mode): void

Callback to set the vertical active mode.

Parameters

NameTypeDescription
modeAPVerticalModesis the mode being set.

Returns

void

Inherited from

GarminAutopilot.setVerticalActive

Defined in

src/sdk/autopilot/Autopilot.ts:648


setVerticalApproachArmed

setVerticalApproachArmed(mode): void

Callback to set the vertical approach armed mode.

Parameters

NameTypeDescription
modeAPVerticalModesis the mode being set.

Returns

void

Inherited from

GarminAutopilot.setVerticalApproachArmed

Defined in

src/sdk/autopilot/Autopilot.ts:684


setVerticalArmed

setVerticalArmed(mode): void

Callback to set the vertical armed mode.

Parameters

NameTypeDescription
modeAPVerticalModesis the mode being set.

Returns

void

Inherited from

GarminAutopilot.setVerticalArmed

Defined in

src/sdk/autopilot/Autopilot.ts:669


togaPressed

togaPressed(): void

Handles input from the State Manager when the TOGA button is pressed (K event AUTO_THROTTLE_TO_GA)

Returns

void

Inherited from

GarminAutopilot.togaPressed

Defined in

src/sdk/autopilot/Autopilot.ts:544


update

update(): void

Update method for the Autopilot.

Returns

void

Inherited from

GarminAutopilot.update

Defined in

src/sdk/autopilot/Autopilot.ts:300


updateFma

updateFma(): void

Publishes data for the FMA.

Returns

void

Inherited from

GarminAutopilot.updateFma

Defined in

src/garminsdk/autopilot/GarminAutopilot.ts:244


updateModes

updateModes(): void

Runs update on each of the active and armed modes.

Returns

void

Inherited from

GarminAutopilot.updateModes

Defined in

src/sdk/autopilot/Autopilot.ts:1044


updateNavToNavManagerAfter

updateNavToNavManagerAfter(): void

Updates this autopilot's nav-to-nav manager after directors have been updated.

Returns

void

Inherited from

GarminAutopilot.updateNavToNavManagerAfter

Defined in

src/sdk/autopilot/Autopilot.ts:1125


updateNavToNavManagerBefore

updateNavToNavManagerBefore(): void

Updates this autopilot's nav-to-nav manager before directors have been updated.

Returns

void

Inherited from

GarminAutopilot.updateNavToNavManagerBefore

Defined in

src/sdk/autopilot/Autopilot.ts:1118


verticalPressed

verticalPressed(data): void

Handles input from the State Manager when a vertical mode button is pressed.

Parameters

NameTypeDescription
dataAPModePressEventis the AP Vertical Mode Event Data

Returns

void

Inherited from

GarminAutopilot.verticalPressed

Defined in

src/sdk/autopilot/Autopilot.ts:385