Skip to main content

Class: GarminVNavComputer

A computer that calculates Garmin vertical navigation guidance for an active flight plan.

Constructors

constructor

new GarminVNavComputer(index, bus, flightPlanner, calculator, apValues, options?): GarminVNavComputer

Creates a new instance of GarminVNavComputer.

Parameters

NameTypeDescription
indexnumberThe index of this computer.
busEventBusThe event bus.
flightPlannerFlightPlanner<any>The flight planner containing the flight plan for which this computer provides guidance.
calculatorVNavPathCalculatorThe VNAV path calculator providing the vertical flight path for which this computer provides guidance.
apValuesReadonly<GarminVNavComputerAPValues>Autopilot values for the autopilot associated with this computer.
options?Partial<Readonly<GarminVNavComputerOptions>>Options with which to configure the computer.

Returns

GarminVNavComputer

Defined in

src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:276

Properties

guidance

Readonly guidance: Subscribable<Readonly<GarminVNavGuidance>>

The VNAV guidance calculated by this computer.

Defined in

src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:241


index

Readonly index: number

The index of this computer.

Defined in

src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:277


pathGuidance

Readonly pathGuidance: Subscribable<Readonly<GarminVNavPathGuidance>>

The vertical path guidance calculated by this computer.

Defined in

src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:264

Methods

tryActivate

tryActivate(): void

Attempts to activate VNAV.

Returns

void

Defined in

src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:422


tryDeactivate

tryDeactivate(): void

Attempts to deactivate VNAV.

Returns

void

Defined in

src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:435


update

update(): void

Updates this computer.

Returns

void

Defined in

src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:608