Class: GarminVNavManager
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:17
A Garmin VNAV Manager.
Deprecated
Implements
VNavManager
Constructors
Constructor
new GarminVNavManager(
bus,flightPlanner,calculator,apValues,primaryPlanIndex,hasNonPathVnav,guidanceEndsAtFaf):GarminVNavManager
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:103
Creates an instance of the Garmin VNAV Manager.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
bus | EventBus | undefined | The event bus to use with this instance. |
flightPlanner | FlightPlanner | undefined | The flight planner to use with this instance. |
calculator | BottomTargetPathCalculator | undefined | The VNAV path calculator to use with this instance. |
apValues | APValues | undefined | are the autopilot ap values. |
primaryPlanIndex | number | undefined | The index of the flightplan to follow vertical guidance from. |
hasNonPathVnav | boolean | false | Whether this VNav Director provides non-path climb and descent restriction adherence (false by default). |
guidanceEndsAtFaf | boolean | true | Whether this VNav Director terminates vertical guidance at the FAF (true by default). |
Returns
GarminVNavManager
Properties
activateMode()?
optionalactivateMode: (mode) =>void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:61
A callback called by the autopilot to activate the supplied vertical mode.
Parameters
| Parameter | Type |
|---|---|
mode | APVerticalModes |
Returns
void
Implementation of
VNavManager.activateMode
armMode()?
optionalarmMode: (mode) =>void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:58
A callback called by the autopilot to arm the supplied vertical mode.
Parameters
| Parameter | Type |
|---|---|
mode | APVerticalModes |
Returns
void
Implementation of
VNavManager.armMode
calculator
readonlycalculator:BottomTargetPathCalculator
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:103
The VNAV path calculator to use with this instance.
capturedAltitude
capturedAltitude:
number=0
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:63
glidepathCalculator
readonlyglidepathCalculator:GlidePathCalculator
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:78
lpvDeviation
readonlylpvDeviation:Subject<number>
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:77
onActivate()?
optionalonActivate: () =>void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:53
A callback called when the manager is activated.
Returns
void
Implementation of
VNavManager.onActivate
onDeactivate()?
optionalonDeactivate: () =>void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:55
A callback called when the manager is deactivated.
Returns
void
Implementation of
VNavManager.onDeactivate
onDisable()?
optionalonDisable: () =>void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:51
A callback called when the manager is disabled.
Returns
void
onEnable()?
optionalonEnable: () =>void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:48
A callback called when the manager is enabled.
Returns
void
state
state:
VNavState=VNavState.Disabled
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:19
The current manager state.
Implementation of
VNavManager.state
Methods
canVerticalModeActivate()
canVerticalModeActivate():
boolean
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:237
Returns
boolean
Inherit Doc
Implementation of
VNavManager.canVerticalModeActivate
onPathDirectorDeactivated()
onPathDirectorDeactivated():
void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:243
Returns
void
Inherit Doc
Implementation of
VNavManager.onPathDirectorDeactivated
setState()
setState(
vnavState):void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:184
Parameters
| Parameter | Type |
|---|---|
vnavState | VNavState |
Returns
void
Inherit Doc
Implementation of
VNavManager.setState
tryActivate()
tryActivate():
void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:208
Returns
void
Inherit Doc
Implementation of
VNavManager.tryActivate
tryDeactivate()
tryDeactivate(
newMode?):void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:219
Parameters
| Parameter | Type |
|---|---|
newMode? | APVerticalModes |
Returns
void
Inherit Doc
Implementation of
VNavManager.tryDeactivate
update()
update():
void
Defined in: src/garminsdk/autopilot/GarminVNavManager.ts:322
Updates the VNAV director.
Returns
void
Implementation of
VNavManager.update