Skip to main content

Class: GarminVNavComputer

Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:46

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

Constructors

Constructor

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

Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:296

Creates a new instance of GarminVNavComputer.

Parameters

ParameterTypeDescription
indexnumberThe index of this computer.
busEventBusThe event bus.
flightPlannerFlightPlannerThe 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

Properties

guidance

readonly guidance: Subscribable<Readonly<GarminVNavGuidance>>

Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:261

The VNAV guidance calculated by this computer.


index

readonly index: number

Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:297

The index of this computer.


pathGuidance

readonly pathGuidance: Subscribable<Readonly<GarminVNavPathGuidance>>

Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:284

The vertical path guidance calculated by this computer.

Methods

tryActivate()

tryActivate(): void

Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:443

Attempts to activate VNAV.

Returns

void


tryDeactivate()

tryDeactivate(): void

Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:456

Attempts to deactivate VNAV.

Returns

void


update()

update(): void

Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:630

Updates this computer.

Returns

void