Skip to main content

Class: GarminAPConfig

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:146

A Garmin Autopilot Configuration.

Extended by

Implements

Constructors

Constructor

new GarminAPConfig(bus, options?): GarminAPConfig

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:236

Creates a new instance of GarminAPConfig.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
options?Readonly<GarminAPConfigOptions>Options to configure the directors.

Returns

GarminAPConfig

Properties

autopilotDriverOptions

autopilotDriverOptions: AutopilotDriverOptions

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:181

Options for the Autopilot Driver

Implementation of

GarminAPConfigInterface.autopilotDriverOptions


cdiId

readonly cdiId: string

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:176

The ID of the CDI associated with the autopilot. Defaults to the empty string ''.

Implementation of

GarminAPConfigInterface.cdiId


deactivateAutopilotOnGa

readonly deactivateAutopilotOnGa: boolean

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:179

Whether to deactivate the autopilot when GA mode is armed in response to a TO/GA mode button press. Defaults to true.

Implementation of

GarminAPConfigInterface.deactivateAutopilotOnGa


defaultLateralMode

defaultLateralMode: APLateralModes = APLateralModes.ROLL

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:171

The autopilot's default lateral mode.

Implementation of

GarminAPConfigInterface.defaultLateralMode


defaultMaxBankAngle

defaultMaxBankAngle: number = GarminAPConfig.DEFAULT_MAX_BANK_ANGLE

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:173

The default maximum bank angle the autopilot may command in degrees. If not defined, then the maximum bank angle will be sourced from the AUTOPILOT MAX BANK SimVar

Implementation of

GarminAPConfigInterface.defaultMaxBankAngle


defaultVerticalMode

defaultVerticalMode: APVerticalModes = APVerticalModes.PITCH

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:172

The autopilot's default vertical mode.

Implementation of

GarminAPConfigInterface.defaultVerticalMode


useIndicatedMach

readonly useIndicatedMach: boolean

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:187

Whether the autopilot should use mach number calculated from the impact pressure derived from indicated airspeed and ambient pressure instead of the true mach number.

Implementation of

GarminAPConfigInterface.useIndicatedMach


DEFAULT_BANK_RATE

readonly static DEFAULT_BANK_RATE: 10 = 10

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:151

The default commanded bank angle rate, in degrees per second.


DEFAULT_GA_PITCH_ANGLE

readonly static DEFAULT_GA_PITCH_ANGLE: 7.5 = 7.5

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:166

The default target pitch angle, in degrees, commanded by the GA director. Positive values indicate upward pitch.


DEFAULT_HDG_DIRECTION_UNLOCK_THRESHOLD

readonly static DEFAULT_HDG_DIRECTION_UNLOCK_THRESHOLD: 331 = 331

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:169

The default HDG director turn direction unlock threshold, in degrees.


DEFAULT_LOW_BANK_ANGLE

readonly static DEFAULT_LOW_BANK_ANGLE: 15 = 15

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:160

The default maximum bank angle, in degrees, in Low Bank Mode.


DEFAULT_MAX_BANK_ANGLE

readonly static DEFAULT_MAX_BANK_ANGLE: 25 = 25

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:157

The default maximum bank angle, in degrees, for ROL, HDG, NAV, and LNAV directors.


DEFAULT_PITCH_RATE

readonly static DEFAULT_PITCH_RATE: 5 = 5

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:148

The default commanded pitch angle rate, in degrees per second.


DEFAULT_ROLL_MIN_BANK_ANGLE

readonly static DEFAULT_ROLL_MIN_BANK_ANGLE: 6 = 6

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:154

The default minimum bank angle, in degrees, for ROL director.


DEFAULT_TO_PITCH_ANGLE

readonly static DEFAULT_TO_PITCH_ANGLE: 10 = 10

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:163

The default target pitch angle, in degrees, commanded by the TO director. Positive values indicate upward pitch.

Methods

createAltCapDirector()

protected createAltCapDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:507

Creates the autopilot's altitude capture mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's altitude capture mode director, or undefined to omit the director.


createAltHoldDirector()

protected createAltHoldDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:498

Creates the autopilot's altitude hold mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's altitude hold mode director, or undefined to omit the director.


createBcDirector()

protected createBcDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:429

Creates the autopilot's localizer backcourse mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's localizer backcourse mode director, or undefined to omit the director.


createFlcDirector()

protected createFlcDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:489

Creates the autopilot's flight level change mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's flight level change mode director, or undefined to omit the director.


createGaLateralDirector()

protected createGaLateralDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:453

Creates the autopilot's go-around lateral mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's go-around lateral mode director, or undefined to omit the director.


createGaVerticalDirector()

protected createGaVerticalDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:565

Creates the autopilot's go-around vertical mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's go-around vertical mode director, or undefined to omit the director.


createGpDirector()

protected createGpDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:525

Creates the autopilot's glidepath mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's glidepath mode director, or undefined to omit the director.


createGpssDirector()

protected createGpssDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:375

Creates the autopilot's GPSS mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's GPSS mode director, or undefined to omit the director.


createGsDirector()

protected createGsDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:542

Creates the autopilot's glideslope mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's glideslope mode director, or undefined to omit the director.


createHeadingDirector()

protected createHeadingDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:352

Creates the autopilot's heading mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's heading mode director, or undefined to omit the director.


createLateralDirectors()

createLateralDirectors(apValues): Iterable<Readonly<APConfigDirectorEntry>>

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:297

Creates the autopilot's lateral mode directors. Mode APLateralModes.NONE (0) is ignored.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

Iterable<Readonly<APConfigDirectorEntry>>

An iterable of lateral mode directors to add to the autopilot.

Implementation of

GarminAPConfigInterface.createLateralDirectors


createLocDirector()

protected createLocDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:414

Creates the autopilot's localizer mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's localizer mode director, or undefined to omit the director.


createNavToNavManager()

createNavToNavManager(apValues): NavToNavManager2 | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:580

Creates the autopilot's nav-to-nav manager.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

NavToNavManager2 | undefined

The autopilot's nav-to-nav manager.

Implementation of

GarminAPConfigInterface.createNavToNavManager


createPitchDirector()

protected createPitchDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:462

Creates the autopilot's pitch mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's pitch mode director, or undefined to omit the director.


createPitchLevelerDirector()

protected createPitchLevelerDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:471

Creates the autopilot's pitch level mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's pitch level mode director, or undefined to omit the director.


createRollDirector()

protected createRollDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:334

Creates the autopilot's roll mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's roll mode director, or undefined to omit the director.


createToLateralDirector()

protected createToLateralDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:444

Creates the autopilot's takeoff lateral mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's takeoff lateral mode director, or undefined to omit the director.


createToVerticalDirector()

protected createToVerticalDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:556

Creates the autopilot's takeoff vertical mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's takeoff vertical mode director, or undefined to omit the director.


createTrackDirector()

protected createTrackDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:365

Creates the autopilot's track mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's track mode director, or undefined to omit the director.


createVerticalDirectors()

createVerticalDirectors(apValues): Iterable<Readonly<APConfigDirectorEntry>>

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:313

Creates the autopilot's vertical mode directors. Mode APVerticalModes.NONE (0) is ignored.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

Iterable<Readonly<APConfigDirectorEntry>>

An iterable of vertical mode directors to add to the autopilot.

Implementation of

GarminAPConfigInterface.createVerticalDirectors


createVNavManager()

createVNavManager(apValues): VNavManager | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:570

Creates the autopilot's VNAV Manager.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

VNavManager | undefined

The autopilot's VNAV Manager.

Implementation of

GarminAPConfigInterface.createVNavManager


createVNavPathDirector()

protected createVNavPathDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:516

Creates the autopilot's VNAV path mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's VNAV path mode director, or undefined to omit the director.


createVorDirector()

protected createVorDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:399

Creates the autopilot's VOR mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's VOR mode director, or undefined to omit the director.


createVsDirector()

protected createVsDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:480

Creates the autopilot's vertical speed mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's vertical speed mode director, or undefined to omit the director.


createWingLevelerDirector()

protected createWingLevelerDirector(apValues): PlaneDirector | undefined

Defined in: src/garminsdk/autopilot/GarminAPConfig.ts:343

Creates the autopilot's wing level mode director.

Parameters

ParameterTypeDescription
apValuesAPValuesThe autopilot's state values.

Returns

PlaneDirector | undefined

The autopilot's wing level mode director, or undefined to omit the director.