Skip to main content

Class: GarminGlidepathComputer

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

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:146

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:137

The glidepath guidance calculated by this computer.


index​

readonly index: number

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

The index of this computer.

Methods​

update()​

update(): void

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

Updates this computer.

Returns​

void