Skip to main content

Class: GarminGlidepathComputer

Defined in: src/garminsdk/autopilot/vnav/GarminGlidepathComputer.ts:50

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

Constructors​

Constructor​

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

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

Creates a new instance of GarminGlidepathComputer.

Parameters​

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

Properties​

glidepathGuidance​

readonly glidepathGuidance: Subscribable<Readonly<GarminVNavGlidepathGuidance>>

Defined in: src/garminsdk/autopilot/vnav/GarminGlidepathComputer.ts:138

The glidepath guidance calculated by this computer.


index​

readonly index: number

Defined in: src/garminsdk/autopilot/vnav/GarminGlidepathComputer.ts:148

The index of this computer.

Methods​

update()​

update(): void

Defined in: src/garminsdk/autopilot/vnav/GarminGlidepathComputer.ts:231

Updates this computer.

Returns​

void