Interface: NavToNavManager2
A manager that handles CDI source switching to a NAV radio source for an autopilot.
Properties
isNavToNavManager2
• Readonly
isNavToNavManager2: true
Flags this object as a NavToNavManager2.
Defined in
src/sdk/autopilot/managers/NavToNavManager2.ts:9
onTransferred
• Optional
onTransferred: (activateLateralMode
: APLateralModes
, activateVerticalMode
: APVerticalModes
) => void
A callback function that is called when this manager has completed a CDI source switch.
Param
The autopilot lateral mode that can be activated as a result of the CDI source switch.
Param
The autopilot vertical mode that can be activated as a result of the CDI source switch.
Type declaration
▸ (activateLateralMode
, activateVerticalMode
): void
A callback function that is called when this manager has completed a CDI source switch.
Parameters
Name | Type | Description |
---|---|---|
activateLateralMode | APLateralModes | The autopilot lateral mode that can be activated as a result of the CDI source switch. |
activateVerticalMode | APVerticalModes | The autopilot vertical mode that can be activated as a result of the CDI source switch. |
Returns
void
Defined in
src/sdk/autopilot/managers/NavToNavManager2.ts:17
Methods
getArmableLateralMode
▸ getArmableLateralMode(): APLateralModes
Gets the autopilot lateral mode that can be armed while waiting for this manager to switch CDI source, or
APLateralModes.NONE
if no modes can be armed.
Returns
The autopilot lateral mode that can be armed while waiting for this manager to switch CDI source, or
APLateralModes.NONE
if no modes can be armed.
Defined in
src/sdk/autopilot/managers/NavToNavManager2.ts:33
getArmableNavRadioIndex
▸ getArmableNavRadioIndex(): -1
| NavRadioIndex
Gets the index of the NAV radio that can be armed for a CDI source switch by this manager, or -1
if a CDI source
switch cannot be armed.
Returns
-1
| NavRadioIndex
The index of the NAV radio that can be armed for a CDI source switch by this manager, or -1
if a CDI
source switch cannot be armed.
Defined in
src/sdk/autopilot/managers/NavToNavManager2.ts:25
getArmableVerticalMode
▸ getArmableVerticalMode(): APVerticalModes
Gets the autopilot vertical mode that can be armed while waiting for this manager to switch CDI source, or
APVerticalModes.NONE
if no modes can be armed.
Returns
The autopilot vertical mode that can be armed while waiting for this manager to switch CDI source, or
APVerticalModes.NONE
if no modes can be armed.
Defined in
src/sdk/autopilot/managers/NavToNavManager2.ts:41
isTransferInProgress
▸ isTransferInProgress(): boolean
Checks whether a CDI source switch initiated by this manager is currently in progress.
Returns
boolean
Whether a CDI source switch initiated by this manager is currently in progress.
Defined in
src/sdk/autopilot/managers/NavToNavManager2.ts:47
onAfterUpdate
▸ onAfterUpdate(): void
A method that is called on every autopilot update cycle after the autopilot directors are updated.
Returns
void
Defined in
src/sdk/autopilot/managers/NavToNavManager2.ts:57
onBeforeUpdate
▸ onBeforeUpdate(): void
A method that is called on every autopilot update cycle before the autopilot directors are updated.
Returns
void
Defined in
src/sdk/autopilot/managers/NavToNavManager2.ts:52