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
| Parameter | Type | Description |
|---|---|---|
index | number | The index of this computer. |
bus | EventBus | The event bus. |
flightPlanner | FlightPlanner | 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
Properties
glidepathGuidance
readonlyglidepathGuidance:Subscribable<Readonly<GarminVNavGlidepathGuidance>>
Defined in: src/garminsdk/autopilot/vnav/GarminGlidepathComputer.ts:138
The glidepath guidance calculated by this computer.
index
readonlyindex: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