Interface: APConfig
Defined in: src/sdk/autopilot/APConfig.ts:22
An autopilot configuration.
Extended by
Properties
altitudeHoldSlotIndex?
optionalaltitudeHoldSlotIndex:2|1|3
Defined in: src/sdk/autopilot/APConfig.ts:89
The altitude hold slot index to use. Defaults to 1
autoEngageFd?
optionalautoEngageFd:boolean
Defined in: src/sdk/autopilot/APConfig.ts:109
Whether to automatically engage the FD(s) with AP or mode button presses, defaults to true. Lateral/Vertical press events will be ignored if this is false and neither AP nor FDs are engaged.
autopilotDriverOptions?
readonlyoptionalautopilotDriverOptions:Readonly<AutopilotDriverOptions>
Defined in: src/sdk/autopilot/APConfig.ts:119
Options for the Autopilot Driver
cdiId?
readonlyoptionalcdiId:string
Defined in: src/sdk/autopilot/APConfig.ts:95
The ID of the CDI associated with the autopilot. Defaults to the empty string ''.
deactivateAutopilotOnGa?
readonlyoptionaldeactivateAutopilotOnGa:boolean
Defined in: src/sdk/autopilot/APConfig.ts:103
Whether to deactivate the autopilot when GA mode is armed in response to a TO/GA mode button press. Defaults to true.
defaultLateralMode
defaultLateralMode:
number| () =>number
Defined in: src/sdk/autopilot/APConfig.ts:65
The autopilot's default lateral mode.
defaultMaxBankAngle?
optionaldefaultMaxBankAngle:number
Defined in: src/sdk/autopilot/APConfig.ts:74
The default maximum bank angle the autopilot may command in degrees. If not defined, then the maximum bank angle will be sourced from the AUTOPILOT MAX BANK SimVar
defaultMaxNoseDownPitchAngle?
optionaldefaultMaxNoseDownPitchAngle:number
Defined in: src/sdk/autopilot/APConfig.ts:86
The default maximum nose down pitch angle the autopilot may command in degrees. If not defined, then the maximum angle will be 15 degrees.
defaultMaxNoseUpPitchAngle?
optionaldefaultMaxNoseUpPitchAngle:number
Defined in: src/sdk/autopilot/APConfig.ts:80
The default maximum nose up pitch angle the autopilot may command in degrees. If not defined, then the maximum angle will be 15 degrees.
defaultVerticalMode
defaultVerticalMode:
number| () =>number
Defined in: src/sdk/autopilot/APConfig.ts:68
The autopilot's default vertical mode.
headingHoldSlotIndex?
optionalheadingHoldSlotIndex:2|1|3
Defined in: src/sdk/autopilot/APConfig.ts:92
The heading hold slot index to use. Defaults to 1
independentFds?
optionalindependentFds:boolean
Defined in: src/sdk/autopilot/APConfig.ts:114
Whether to have independent flight directors that can be switched on/off separately. Defaults to false.
onlyDisarmLnavOnOffEvent?
optionalonlyDisarmLnavOnOffEvent:boolean
Defined in: src/sdk/autopilot/APConfig.ts:100
Whether to only allow disarming (not deactivating) LNAV when receiving the AP_NAV1_HOLD_OFF event
publishAutopilotModesAsLVars?
readonlyoptionalpublishAutopilotModesAsLVars:boolean
Defined in: src/sdk/autopilot/APConfig.ts:124
Whether to publish the active and armed autopilot modes as LVars. Defaults to false.
Methods
createLateralDirectors()?
optionalcreateLateralDirectors(apValues):Iterable<Readonly<APConfigDirectorEntry>>
Defined in: src/sdk/autopilot/APConfig.ts:55
Creates the autopilot's lateral mode directors. Mode APLateralModes.NONE (0) is ignored.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
Iterable<Readonly<APConfigDirectorEntry>>
An iterable of lateral mode directors to add to the autopilot.
createNavToNavManager()?
optionalcreateNavToNavManager(apValues):NavToNavManager2|undefined
Defined in: src/sdk/autopilot/APConfig.ts:41
Creates the autopilot's nav-to-nav manager.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
NavToNavManager2 | undefined
The autopilot's nav-to-nav manager.
createVariableBankManager()?
optionalcreateVariableBankManager(apValues):Record<any,any> |undefined
Defined in: src/sdk/autopilot/APConfig.ts:48
Creates the autopilot's variable bank manager.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
Record<any, any> | undefined
The autopilot's variable bank manager.
createVerticalDirectors()?
optionalcreateVerticalDirectors(apValues):Iterable<Readonly<APConfigDirectorEntry>>
Defined in: src/sdk/autopilot/APConfig.ts:62
Creates the autopilot's vertical mode directors. Mode APVerticalModes.NONE (0) is ignored.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
Iterable<Readonly<APConfigDirectorEntry>>
An iterable of vertical mode directors to add to the autopilot.
createVNavManager()?
optionalcreateVNavManager(apValues):VNavManager|undefined
Defined in: src/sdk/autopilot/APConfig.ts:34
Creates the autopilot's VNAV Manager.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
VNavManager | undefined
The autopilot's VNAV Manager.
getDataProvider()?
optionalgetDataProvider():ControllableAPDataProvider|undefined
Defined in: src/sdk/autopilot/APConfig.ts:27
Gets a provider of data for the autopilot.
Returns
ControllableAPDataProvider | undefined
A provider of data for the autopilot.