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
| 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. |
calculator | VNavPathCalculator | The VNAV path calculator providing the vertical flight path for which this computer provides guidance. |
apValues | Readonly<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
readonlyguidance:Subscribable<Readonly<GarminVNavGuidance>>
Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:261
The VNAV guidance calculated by this computer.
index
readonlyindex:number
Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:297
The index of this computer.
pathGuidance
readonlypathGuidance: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:444
Attempts to activate VNAV.
Returns
void
tryDeactivate()
tryDeactivate():
void
Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:457
Attempts to deactivate VNAV.
Returns
void
update()
update():
void
Defined in: src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:631
Updates this computer.
Returns
void