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