Skip to main content

Class: GarminVNavManager2

A new Garmin VNav Manager.

Implements

  • VNavManager

Constructors

constructor

new GarminVNavManager2(bus, apValues, guidance, glidepathGuidance): GarminVNavManager2

Creates a new instance of GarminVNavManager2 that uses VNAV guidance from an external source.

Parameters

NameTypeDescription
busEventBusThe event bus.
apValuesAPValuesAutopilot values from this manager's parent autopilot.
guidanceundefined | Accessible<Readonly<GarminVNavGuidance>>The VNAV guidance to use.
glidepathGuidanceundefined | Accessible<Readonly<GarminVNavGlidepathGuidance>>The glidepath guidance to use.

Returns

GarminVNavManager2

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:79

new GarminVNavManager2(bus, flightPlanner, calculator, apValues, options?): GarminVNavManager2

Creates a new instance of GarminVNavManager2 that maintains its own instance of GarminVNavComputer from which to source VNAV guidance. The index of the VNAV computer is 0.

Parameters

NameTypeDescription
busEventBusThe event bus.
flightPlannerFlightPlanner<any>The flight planner containing the flight plan for which the VNAV computer provides guidance.
calculatorVNavPathCalculatorThe VNAV path calculator providing the vertical flight path for which the VNAV computer provides guidance.
apValuesAPValuesAutopilot values from this manager's parent autopilot.
options?Readonly<GarminVNavManager2InternalComputerOptions>Options with which to configure the internal VNAV and glidepath computers.

Returns

GarminVNavManager2

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:95

new GarminVNavManager2(bus, flightPlanner, calculator, apValues, primaryPlanIndex, options?): GarminVNavManager2

Creates a new instance of GarminVNavManager2 that maintains its own instance of GarminVNavComputer from which to source VNAV guidance. The index of the VNAV computer is 0.

Parameters

NameTypeDescription
busEventBusThe event bus.
flightPlannerFlightPlanner<any>The flight planner containing the flight plan for which the VNAV computer provides guidance.
calculatorVNavPathCalculatorThe VNAV path calculator providing the vertical flight path for which the VNAV computer provides guidance.
apValuesAPValuesAutopilot values from this manager's parent autopilot.
primaryPlanIndexnumberThe index of the flight plan for which the VNAV computer provides vertical guidance.
options?Partial<Readonly<GarminVNavManager2InternalComputerOptions>>Guidance options with which to configure the VNAV computer.

Returns

GarminVNavManager2

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:113

Properties

activateMode

Optional activateMode: (mode: APVerticalModes) => void

Inherit Doc

Type declaration

▸ (mode): void

Parameters
NameType
modeAPVerticalModes
Returns

void

Inherit Doc

Implementation of

VNavManager.activateMode

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:51


armMode

Optional armMode: (mode: APVerticalModes) => void

Inherit Doc

Type declaration

▸ (mode): void

Parameters
NameType
modeAPVerticalModes
Returns

void

Inherit Doc

Implementation of

VNavManager.armMode

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:48


glidepathComputer

Optional Readonly glidepathComputer: GarminGlidepathComputer

This manager's internal glidepath computer.

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:59


onActivate

Optional onActivate: () => void

Inherit Doc

Type declaration

▸ (): void

Returns

void

Inherit Doc

Implementation of

VNavManager.onActivate

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:42


onDeactivate

Optional onDeactivate: () => void

Inherit Doc

Type declaration

▸ (): void

Returns

void

Inherit Doc

Implementation of

VNavManager.onDeactivate

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:45


state

state: VNavState = VNavState.Disabled

Inherit Doc

Implementation of

VNavManager.state

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:39


vnavComputer

Optional Readonly vnavComputer: GarminVNavComputer

This manager's internal VNAV computer.

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:56

Accessors

isActive

get isActive(): boolean

Whether VNAV is active.

Returns

boolean

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:66

Methods

canVerticalModeActivate

canVerticalModeActivate(mode): boolean

Parameters

NameType
modeAPVerticalModes

Returns

boolean

Inherit Doc

Implementation of

VNavManager.canVerticalModeActivate

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:185


onPathDirectorDeactivated

onPathDirectorDeactivated(): void

Returns

void

Inherit Doc

Implementation of

VNavManager.onPathDirectorDeactivated

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:198


setState

setState(): void

Returns

void

Inherit Doc

Implementation of

VNavManager.setState

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:168


tryActivate

tryActivate(): void

Returns

void

Inherit Doc

Implementation of

VNavManager.tryActivate

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:173


tryDeactivate

tryDeactivate(): void

Returns

void

Inherit Doc

Implementation of

VNavManager.tryDeactivate

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:179


update

update(): void

Returns

void

Inherit Doc

Implementation of

VNavManager.update

Defined in

src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:288