Skip to main content

Class: GarminGlidepathComputer

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

Constructors

constructor

new GarminGlidepathComputer(index, bus, flightPlanner, options?): GarminGlidepathComputer

Creates a new instance of GarminGlidepathComputer.

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.
options?Partial<Readonly<GarminGlidepathComputerOptions>>Options with which to configure the computer.

Returns

GarminGlidepathComputer

Defined in

src/garminsdk/autopilot/vnav/GarminGlidepathComputer.ts:146

Properties

glidepathGuidance

Readonly glidepathGuidance: Subscribable<Readonly<GarminVNavGlidepathGuidance>>

The glidepath guidance calculated by this computer.

Defined in

src/garminsdk/autopilot/vnav/GarminGlidepathComputer.ts:137


index

Readonly index: number

The index of this computer.

Defined in

src/garminsdk/autopilot/vnav/GarminGlidepathComputer.ts:147

Methods

update

update(): void

Updates this computer.

Returns

void

Defined in

src/garminsdk/autopilot/vnav/GarminGlidepathComputer.ts:227