Class: GarminVNavManager2
A new Garmin VNav Manager.
Implements
VNavManager
Constructors
constructor
• new GarminVNavManager2(bus
, apValues
, guidance
, glidepathGuidance
): GarminVNavManager2
Creates a new instance of GarminVNavManager2 that uses VNAV guidance from an external source.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
apValues | APValues | Autopilot values from this manager's parent autopilot. |
guidance | undefined | Accessible <Readonly <GarminVNavGuidance >> | The VNAV guidance to use. |
glidepathGuidance | undefined | Accessible <Readonly <GarminVNavGlidepathGuidance >> | The glidepath guidance to use. |
Returns
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:79
• new GarminVNavManager2(bus
, flightPlanner
, calculator
, apValues
, options?
): GarminVNavManager2
Creates a new instance of GarminVNavManager2 that maintains its own instance of GarminVNavComputer
from which
to source VNAV guidance. The index of the VNAV computer is 0
.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
flightPlanner | FlightPlanner <any > | The flight planner containing the flight plan for which the VNAV computer provides guidance. |
calculator | VNavPathCalculator | The VNAV path calculator providing the vertical flight path for which the VNAV computer provides guidance. |
apValues | APValues | Autopilot values from this manager's parent autopilot. |
options? | Readonly <GarminVNavManager2InternalComputerOptions > | Options with which to configure the internal VNAV and glidepath computers. |
Returns
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:95
• new GarminVNavManager2(bus
, flightPlanner
, calculator
, apValues
, primaryPlanIndex
, options?
): GarminVNavManager2
Creates a new instance of GarminVNavManager2 that maintains its own instance of GarminVNavComputer
from which
to source VNAV guidance. The index of the VNAV computer is 0
.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
flightPlanner | FlightPlanner <any > | The flight planner containing the flight plan for which the VNAV computer provides guidance. |
calculator | VNavPathCalculator | The VNAV path calculator providing the vertical flight path for which the VNAV computer provides guidance. |
apValues | APValues | Autopilot values from this manager's parent autopilot. |
primaryPlanIndex | number | The index of the flight plan for which the VNAV computer provides vertical guidance. |
options? | Partial <Readonly <GarminVNavManager2InternalComputerOptions >> | Guidance options with which to configure the VNAV computer. |
Returns
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:113
Properties
activateMode
• Optional
activateMode: (mode
: APVerticalModes
) => void
Inherit Doc
Type declaration
▸ (mode
): void
Parameters
Name | Type |
---|---|
mode | APVerticalModes |
Returns
void
Inherit Doc
Implementation of
VNavManager.activateMode
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:51
armMode
• Optional
armMode: (mode
: APVerticalModes
) => void
Inherit Doc
Type declaration
▸ (mode
): void
Parameters
Name | Type |
---|---|
mode | APVerticalModes |
Returns
void
Inherit Doc
Implementation of
VNavManager.armMode
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:48
glidepathComputer
• Optional
Readonly
glidepathComputer: GarminGlidepathComputer
This manager's internal glidepath computer.
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:59
onActivate
• Optional
onActivate: () => void
Inherit Doc
Type declaration
▸ (): void
Returns
void
Inherit Doc
Implementation of
VNavManager.onActivate
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:42
onDeactivate
• Optional
onDeactivate: () => void
Inherit Doc
Type declaration
▸ (): void
Returns
void
Inherit Doc
Implementation of
VNavManager.onDeactivate
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:45
state
• state: VNavState
= VNavState.Disabled
Inherit Doc
Implementation of
VNavManager.state
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:39
vnavComputer
• Optional
Readonly
vnavComputer: GarminVNavComputer
This manager's internal VNAV computer.
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:56
Accessors
isActive
• get
isActive(): boolean
Whether VNAV is active.
Returns
boolean
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:66
Methods
canVerticalModeActivate
▸ canVerticalModeActivate(mode
): boolean
Parameters
Name | Type |
---|---|
mode | APVerticalModes |
Returns
boolean
Inherit Doc
Implementation of
VNavManager.canVerticalModeActivate
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:185
onPathDirectorDeactivated
▸ onPathDirectorDeactivated(): void
Returns
void
Inherit Doc
Implementation of
VNavManager.onPathDirectorDeactivated
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:198
setState
▸ setState(): void
Returns
void
Inherit Doc
Implementation of
VNavManager.setState
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:168
tryActivate
▸ tryActivate(): void
Returns
void
Inherit Doc
Implementation of
VNavManager.tryActivate
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:173
tryDeactivate
▸ tryDeactivate(): void
Returns
void
Inherit Doc
Implementation of
VNavManager.tryDeactivate
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:179
update
▸ update(): void
Returns
void
Inherit Doc
Implementation of
VNavManager.update
Defined in
src/garminsdk/autopilot/vnav/GarminVNavManager2.ts:288