Interface: VNavManager
Defined in: src/sdk/autopilot/managers/VNavManager.ts:7
A Vertical Navigation Manager.
Properties
activateMode()?
optionalactivateMode: (mode) =>void
Defined in: src/sdk/autopilot/managers/VNavManager.ts:46
A callback called by the autopilot to activate the supplied vertical mode.
Parameters
| Parameter | Type |
|---|---|
mode | APVerticalModes |
Returns
void
armMode()?
optionalarmMode: (mode) =>void
Defined in: src/sdk/autopilot/managers/VNavManager.ts:41
A callback called by the autopilot to arm the supplied vertical mode.
Parameters
| Parameter | Type |
|---|---|
mode | APVerticalModes |
Returns
void
canVerticalModeActivate()
canVerticalModeActivate: (
mode) =>boolean
Defined in: src/sdk/autopilot/managers/VNavManager.ts:33
A callback called by the autopilot to check if a vertical mode can be activated.
Parameters
| Parameter | Type |
|---|---|
mode | APVerticalModes |
Returns
boolean
onActivate()?
optionalonActivate: () =>void
Defined in: src/sdk/autopilot/managers/VNavManager.ts:49
A callback called when the manager is activated.
Returns
void
onDeactivate()?
optionalonDeactivate: () =>void
Defined in: src/sdk/autopilot/managers/VNavManager.ts:52
A callback called when the manager is deactivated.
Returns
void
onPathDirectorDeactivated()
onPathDirectorDeactivated: () =>
void
Defined in: src/sdk/autopilot/managers/VNavManager.ts:36
A callback called when the APVNavPathDirector Deactivates.
Returns
void
state
state:
VNavState
Defined in: src/sdk/autopilot/managers/VNavManager.ts:55
The current manager state.
Methods
setState()
setState(
vnavState):void
Defined in: src/sdk/autopilot/managers/VNavManager.ts:12
Sets the state of the manager.
Parameters
| Parameter | Type |
|---|---|
vnavState | VNavState |
Returns
void
tryActivate()
tryActivate():
void
Defined in: src/sdk/autopilot/managers/VNavManager.ts:17
Tries to activate the manager.
Returns
void
tryDeactivate()
tryDeactivate(
newMode?):void
Defined in: src/sdk/autopilot/managers/VNavManager.ts:23
Tries to deactivate the manager.
Parameters
| Parameter | Type | Description |
|---|---|---|
newMode? | APVerticalModes | Is the new mode to set active in the Autopilot if Path Mode is currently active. |
Returns
void
update()
update():
void
Defined in: src/sdk/autopilot/managers/VNavManager.ts:28
Updates the manager.
Returns
void