Interface: APConfig
Defined in: src/sdk/autopilot/APConfig.ts:181
An autopilot configuration.
Properties
altitudeHoldDefaultAltitude?
optionalaltitudeHoldDefaultAltitude:number
Defined in: src/sdk/autopilot/APConfig.ts:423
The default altitude hold value set during init, defaults to 0
altitudeHoldSlotIndex?
optionalaltitudeHoldSlotIndex:2|1|3
Defined in: src/sdk/autopilot/APConfig.ts:420
The altitude hold slot index to use. Defaults to 1
autoEngageFd?
optionalautoEngageFd:boolean
Defined in: src/sdk/autopilot/APConfig.ts:443
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:461
Options for the Autopilot Driver
cdiId?
readonlyoptionalcdiId:string
Defined in: src/sdk/autopilot/APConfig.ts:429
The ID of the CDI associated with the autopilot. Defaults to the empty string ''.
deactivateAutopilotOnGa?
readonlyoptionaldeactivateAutopilotOnGa:boolean
Defined in: src/sdk/autopilot/APConfig.ts:437
Whether to deactivate the autopilot when GA mode is armed in response to a TO/GA mode button press. Defaults to true.
defaultLateralMode
defaultLateralMode:
APLateralModes| () =>APLateralModes
Defined in: src/sdk/autopilot/APConfig.ts:396
The autopilot's default lateral mode.
defaultMaxBankAngle?
optionaldefaultMaxBankAngle:number
Defined in: src/sdk/autopilot/APConfig.ts:405
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:417
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:411
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:
APVerticalModes| () =>APVerticalModes
Defined in: src/sdk/autopilot/APConfig.ts:399
The autopilot's default vertical mode.
headingHoldSlotIndex?
optionalheadingHoldSlotIndex:2|1|3
Defined in: src/sdk/autopilot/APConfig.ts:426
The heading hold slot index to use. Defaults to 1
independentFds?
optionalindependentFds:boolean
Defined in: src/sdk/autopilot/APConfig.ts:448
Whether to have independent flight directors that can be switched on/off separately. Defaults to false.
initializeStateManagerOnFirstFlightPlanSync?
readonlyoptionalinitializeStateManagerOnFirstFlightPlanSync:boolean
Defined in: src/sdk/autopilot/APConfig.ts:456
When true, will initialize the state manager when the flight plan is next synced. This is a work around to delay initialization of autopilot, and you may not need it if you handle initialization of the ap state manager in your code. Defaults to true.
onlyDisarmLnavOnOffEvent?
optionalonlyDisarmLnavOnOffEvent:boolean
Defined in: src/sdk/autopilot/APConfig.ts:434
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:466
Whether to publish the active and armed autopilot modes as LVars. Defaults to false.
Methods
createAltCapDirector()?
optionalcreateAltCapDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:334
Creates the autopilot's altitude capture mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's altitude capture mode director.
createAltHoldDirector()?
optionalcreateAltHoldDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:327
Creates the autopilot's altitude hold mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's altitude hold mode director.
createBcDirector()?
optionalcreateBcDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:286
Creates the autopilot's back-course mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's back-course mode director.
createFlareDirector()?
optionalcreateFlareDirector():undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:355
Creates the auto land FLARE mode director.
Returns
undefined | PlaneDirector
The autopilot's FLARE mode director.
createFlcDirector()?
optionalcreateFlcDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:320
Creates the autopilot's flight level change mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's flight level change mode director.
createFmsLocLateralDirector()?
optionalcreateFmsLocLateralDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:386
Creates the autopilot's FMC LOC-style mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's FMS LOC mode director.
createFpaDirector()?
optionalcreateFpaDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:313
Creates the autopilot's flight path angle mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's flight path angle mode director.
createGaLateralDirector()?
optionalcreateGaLateralDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:379
Creates the autopilot's lateral go-around mode director.
Parameters
| Parameter | Type |
|---|---|
apValues | APValues |
Returns
undefined | PlaneDirector
The autopilot's lateral go-around mode director.
createGaVerticalDirector()?
optionalcreateGaVerticalDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:367
Creates the autopilot's vertical go-around mode director.
Parameters
| Parameter | Type |
|---|---|
apValues | APValues |
Returns
undefined | PlaneDirector
The autopilot's vertical go-around mode director.
createGpDirector()?
optionalcreateGpDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:341
Creates the autopilot's GPS glidepath mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's GPS glidepath mode director.
createGpssDirector()?
optionalcreateGpssDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:265
Creates the autopilot's GPS LNAV mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's GPS LNAV mode director.
createGsDirector()?
optionalcreateGsDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:348
Creates the autopilot's ILS glideslope mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's ILS glideslope mode director.
createHeadingDirector()?
optionalcreateHeadingDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:216
Creates the autopilot's heading mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's heading mode director.
createHeadingHoldDirector()?
optionalcreateHeadingHoldDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:223
Creates the autopilot's heading hold (level off and then capture heading)
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's heading hold director.
createLocDirector()?
optionalcreateLocDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:279
Creates the autopilot's LOC mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's LOC mode director.
createNavToNavManager()?
optionalcreateNavToNavManager(apValues):undefined|NavToNavManager|NavToNavManager2
Defined in: src/sdk/autopilot/APConfig.ts:195
Creates the autopilot's nav-to-nav manager.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | NavToNavManager | NavToNavManager2
The autopilot's nav-to-nav manager.
createPitchDirector()?
optionalcreatePitchDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:299
Creates the autopilot's pitch mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's pitch mode director.
createPitchLevelerDirector()?
optionalcreatePitchLevelerDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:258
Creates the autopilot's pitch level mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's pitch level mode director.
createRollDirector()?
optionalcreateRollDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:244
Creates the autopilot's roll mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's heading mode director.
createRolloutDirector()?
optionalcreateRolloutDirector():undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:292
Creates the autopilot's ROLLOUT mode director.
Returns
undefined | PlaneDirector
The autopilot's ROLLOUT mode director.
createTakeoffLocLateralDirector()?
optionalcreateTakeoffLocLateralDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:393
Creates the autopilot's takeoff LOC mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's takeoff LOC mode director.
createToLateralDirector()?
optionalcreateToLateralDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:373
Creates the autopilot's lateral takeoff mode director (or combined lateral takeoff/go-around mode director).
Parameters
| Parameter | Type |
|---|---|
apValues | APValues |
Returns
undefined | PlaneDirector
The autopilot's lateral takeoff mode director.
createToVerticalDirector()?
optionalcreateToVerticalDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:361
Creates the autopilot's vertical takeoff mode director (or combined vertical takeoff/go-around mode director).
Parameters
| Parameter | Type |
|---|---|
apValues | APValues |
Returns
undefined | PlaneDirector
The autopilot's vertical takeoff mode director.
createTrackDirector()?
optionalcreateTrackDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:230
Creates the autopilot's track mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's heading mode director.
createTrackHoldDirector()?
optionalcreateTrackHoldDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:237
Creates the autopilot's track hold (level off and then capture track)
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's heading hold director.
createVariableBankManager()?
optionalcreateVariableBankManager(apValues):undefined|Record<any,any>
Defined in: src/sdk/autopilot/APConfig.ts:202
Creates the autopilot's variable bank manager.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | Record<any, any>
The autopilot's variable bank manager.
createVNavManager()?
optionalcreateVNavManager(apValues):undefined|VNavManager
Defined in: src/sdk/autopilot/APConfig.ts:188
Creates the autopilot's VNAV Manager.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | VNavManager
The autopilot's VNAV Manager.
createVNavPathDirector()?
optionalcreateVNavPathDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:209
Creates the autopilot's VNAV Path mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's VNAV Path mode director.
createVorDirector()?
optionalcreateVorDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:272
Creates the autopilot's VOR mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's VOR mode director.
createVsDirector()?
optionalcreateVsDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:306
Creates the autopilot's vertical speed mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's vertical speed mode director.
createWingLevelerDirector()?
optionalcreateWingLevelerDirector(apValues):undefined|PlaneDirector
Defined in: src/sdk/autopilot/APConfig.ts:251
Creates the autopilot's wings level mode director.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | The autopilot's state values. |
Returns
undefined | PlaneDirector
The autopilot's wings level mode director.