Class: GarminVNavComputer
A computer that calculates Garmin vertical navigation guidance for an active flight plan.
Constructors
constructor
• new GarminVNavComputer(index
, bus
, flightPlanner
, calculator
, apValues
, options?
): GarminVNavComputer
Creates a new instance of GarminVNavComputer.
Parameters
Name | Type | Description |
---|---|---|
index | number | The index of this computer. |
bus | EventBus | The event bus. |
flightPlanner | FlightPlanner <any > | 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
Defined in
src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:276
Properties
guidance
• Readonly
guidance: Subscribable
<Readonly
<GarminVNavGuidance
>>
The VNAV guidance calculated by this computer.
Defined in
src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:241
index
• Readonly
index: number
The index of this computer.
Defined in
src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:277
pathGuidance
• Readonly
pathGuidance: Subscribable
<Readonly
<GarminVNavPathGuidance
>>
The vertical path guidance calculated by this computer.
Defined in
src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:264
Methods
tryActivate
▸ tryActivate(): void
Attempts to activate VNAV.
Returns
void
Defined in
src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:422
tryDeactivate
▸ tryDeactivate(): void
Attempts to deactivate VNAV.
Returns
void
Defined in
src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:435
update
▸ update(): void
Updates this computer.
Returns
void
Defined in
src/garminsdk/autopilot/vnav/GarminVNavComputer.ts:608