Class: TurbopropAutothrottle
Defined in: src/sdk/autothrottle/TurbopropAutothrottle.ts:11
An autothrottle system for turboprop engines.
Extends
Constructors
Constructor
new TurbopropAutothrottle(
bus
,airspeedIndex
,throttleInfos
,options
,throttleLeverManager?
):TurbopropAutothrottle
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:584
Constructor.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
airspeedIndex | number | Subscribable <number > | The index of the sim airspeed indicator from which this autothrottle should source airspeed data. |
throttleInfos | readonly Readonly <AutothrottleThrottleInfo >[] | Information on the throttles controlled by this autothrottle. Each entry in the array should describe a single unique throttle. Order does not matter. |
options | AutothrottleOptions | Options with which to initialize this autothrottle. |
throttleLeverManager? | ThrottleLeverManager | The throttle lever manager to use to request position changes for virtual throttle levers. If not defined, position changes for virtual throttle levers will be requested using key events (specifically the THROTTLE[N]_SET event). |
Returns
TurbopropAutothrottle
Inherited from
AbstractAutothrottle
.constructor
Properties
accelSmoother?
protected
readonly
optional
accelSmoother:MultiExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:499
Inherited from
AbstractAutothrottle
.accelSmoother
airspeedIndex
protected
readonly
airspeedIndex:Subscribable
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:459
Inherited from
AbstractAutothrottle
.airspeedIndex
airspeedSimVar
protected
airspeedSimVar:string
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:460
Inherited from
AbstractAutothrottle
.airspeedSimVar
hysteresis
protected
readonly
hysteresis:number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:542
Inherited from
AbstractAutothrottle
.hysteresis
hysteresisRecord
protected
readonly
hysteresisRecord:Record
<AutothrottleThrottleIndex
,number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:543
Inherited from
AbstractAutothrottle
.hysteresisRecord
iasLookahead
protected
readonly
iasLookahead:Subscribable
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:487
Inherited from
AbstractAutothrottle
.iasLookahead
iasSmoother
protected
readonly
iasSmoother:MultiExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:488
Inherited from
AbstractAutothrottle
.iasSmoother
isAlive
protected
isAlive:boolean
=true
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:570
Inherited from
isOverpowerProtActive
protected
readonly
isOverpowerProtActive:Subject
<boolean
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:466
Inherited from
AbstractAutothrottle
.isOverpowerProtActive
isOverspeedProtActive
protected
readonly
isOverspeedProtActive:Subject
<boolean
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:464
Inherited from
AbstractAutothrottle
.isOverspeedProtActive
isUnderspeedProtActive
protected
readonly
isUnderspeedProtActive:Subject
<boolean
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:465
Inherited from
AbstractAutothrottle
.isUnderspeedProtActive
lastIasLookahead
protected
lastIasLookahead:number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:490
Inherited from
AbstractAutothrottle
.lastIasLookahead
lastSmoothedIas
protected
lastSmoothedIas:undefined
|number
=undefined
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:491
Inherited from
AbstractAutothrottle
.lastSmoothedIas
latchOptions
protected
readonly
latchOptions:Readonly
<Required
<AutothrottleLatchOptions
>>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:539
Inherited from
AbstractAutothrottle
.latchOptions
latchRecord
protected
readonly
latchRecord:Record
<AutothrottleThrottleIndex
,number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:540
Inherited from
AbstractAutothrottle
.latchRecord
lookaheadIasSmoother
protected
readonly
lookaheadIasSmoother:MultiExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:489
Inherited from
AbstractAutothrottle
.lookaheadIasSmoother
machToKiasSmoother
protected
readonly
machToKiasSmoother:ExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:485
Inherited from
AbstractAutothrottle
.machToKiasSmoother
maxIas
protected
readonly
maxIas:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:476
Inherited from
maxMach
protected
readonly
maxMach:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:478
Inherited from
maxPower
protected
readonly
maxPower:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:480
Inherited from
maxThrottlePos
protected
readonly
maxThrottlePos:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:482
Inherited from
AbstractAutothrottle
.maxThrottlePos
minIas
protected
readonly
minIas:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:477
Inherited from
minMach
protected
readonly
minMach:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:479
Inherited from
minThrottlePos
protected
readonly
minThrottlePos:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:483
Inherited from
AbstractAutothrottle
.minThrottlePos
overpowerPids
protected
readonly
overpowerPids:Record
<AutothrottleThrottleIndex
,PidController
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:519
Inherited from
AbstractAutothrottle
.overpowerPids
overspeedAccelCorrectionSmoother?
protected
readonly
optional
overspeedAccelCorrectionSmoother:MultiExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:502
Inherited from
AbstractAutothrottle
.overspeedAccelCorrectionSmoother
overspeedAccelTargetFunc?
protected
readonly
optional
overspeedAccelTargetFunc:AutothrottleAccelTargetFunc
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:496
Inherited from
AbstractAutothrottle
.overspeedAccelTargetFunc
overspeedChangeThreshold
protected
readonly
overspeedChangeThreshold:number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:524
Inherited from
AbstractAutothrottle
.overspeedChangeThreshold
overspeedPid
protected
readonly
overspeedPid:PidController
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:516
Inherited from
AbstractAutothrottle
.overspeedPid
overspeedPowerCorrectionTransformer
protected
readonly
overspeedPowerCorrectionTransformer:AutothrottlePowerCorrectionTransformer
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:510
Inherited from
AbstractAutothrottle
.overspeedPowerCorrectionTransformer
overspeedProtAccelTargetSmoother?
protected
readonly
optional
overspeedProtAccelTargetSmoother:ExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:506
Inherited from
AbstractAutothrottle
.overspeedProtAccelTargetSmoother
overspeedProtPowerTargetSmoother
protected
readonly
overspeedProtPowerTargetSmoother:ExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:536
Inherited from
AbstractAutothrottle
.overspeedProtPowerTargetSmoother
overspeedSpeedTarget
protected
readonly
overspeedSpeedTarget:AutothrottleSpeedTargetRecord
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:528
Inherited from
AbstractAutothrottle
.overspeedSpeedTarget
powerCommand
protected
readonly
powerCommand:PowerCommand
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:557
Inherited from
AbstractAutothrottle
.powerCommand
powerLookahead
protected
readonly
powerLookahead:Subscribable
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:513
Inherited from
AbstractAutothrottle
.powerLookahead
prevOverspeedSpeedTarget
protected
readonly
prevOverspeedSpeedTarget:AutothrottleSpeedTargetRecord
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:532
Inherited from
AbstractAutothrottle
.prevOverspeedSpeedTarget
prevSelectedSpeedTarget
protected
readonly
prevSelectedSpeedTarget:AutothrottleSpeedTargetRecord
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:531
Inherited from
AbstractAutothrottle
.prevSelectedSpeedTarget
prevUnderspeedSpeedTarget
protected
readonly
prevUnderspeedSpeedTarget:AutothrottleSpeedTargetRecord
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:533
Inherited from
AbstractAutothrottle
.prevUnderspeedSpeedTarget
publisher
protected
readonly
publisher:Publisher
<AutothrottleEvents
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:455
Inherited from
AbstractAutothrottle
.publisher
selectedIas
protected
readonly
selectedIas:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:471
Inherited from
AbstractAutothrottle
.selectedIas
selectedMach
protected
readonly
selectedMach:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:472
Inherited from
AbstractAutothrottle
.selectedMach
selectedPower
protected
readonly
selectedPower:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:473
Inherited from
AbstractAutothrottle
.selectedPower
selectedPowerPids
protected
readonly
selectedPowerPids:Record
<AutothrottleThrottleIndex
,PidController
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:518
Inherited from
AbstractAutothrottle
.selectedPowerPids
selectedSpeedAccelCorrectionSmoother?
protected
readonly
optional
selectedSpeedAccelCorrectionSmoother:MultiExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:501
Inherited from
AbstractAutothrottle
.selectedSpeedAccelCorrectionSmoother
selectedSpeedAccelTargetFunc?
protected
readonly
optional
selectedSpeedAccelTargetFunc:AutothrottleAccelTargetFunc
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:495
Inherited from
AbstractAutothrottle
.selectedSpeedAccelTargetFunc
selectedSpeedAccelTargetSmoother?
protected
readonly
optional
selectedSpeedAccelTargetSmoother:ExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:505
Inherited from
AbstractAutothrottle
.selectedSpeedAccelTargetSmoother
selectedSpeedIsMach
protected
readonly
selectedSpeedIsMach:Subject
<boolean
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:470
Inherited from
AbstractAutothrottle
.selectedSpeedIsMach
selectedSpeedPid
protected
readonly
selectedSpeedPid:PidController
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:515
Inherited from
AbstractAutothrottle
.selectedSpeedPid
selectedSpeedPowerCorrectionTransformer
protected
readonly
selectedSpeedPowerCorrectionTransformer:AutothrottlePowerCorrectionTransformer
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:509
Inherited from
AbstractAutothrottle
.selectedSpeedPowerCorrectionTransformer
selectedSpeedPowerTargetSmoother
protected
readonly
selectedSpeedPowerTargetSmoother:ExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:535
Inherited from
AbstractAutothrottle
.selectedSpeedPowerTargetSmoother
selectedSpeedTarget
protected
readonly
selectedSpeedTarget:AutothrottleSpeedTargetRecord
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:527
Inherited from
AbstractAutothrottle
.selectedSpeedTarget
selectedThrottlePos
protected
readonly
selectedThrottlePos:Subject
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:474
Inherited from
AbstractAutothrottle
.selectedThrottlePos
shouldTargetAccel
protected
readonly
shouldTargetAccel:boolean
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:493
Inherited from
AbstractAutothrottle
.shouldTargetAccel
speedCommand
protected
readonly
speedCommand:SpeedCommand
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:550
Inherited from
AbstractAutothrottle
.speedCommand
speedTargetChangeThreshold
protected
readonly
speedTargetChangeThreshold:number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:523
Inherited from
AbstractAutothrottle
.speedTargetChangeThreshold
targetMode
protected
readonly
targetMode:Subject
<AutothrottleTargetMode
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:468
Inherited from
AbstractAutothrottle
.targetMode
throttles
protected
readonly
throttles:AutothrottleThrottle
[]
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:462
Inherited from
AbstractAutothrottle
.throttles
throttleSpeedSmoothers
protected
readonly
throttleSpeedSmoothers:Record
<AutothrottleThrottleIndex
,ExpSmoother
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:521
Inherited from
AbstractAutothrottle
.throttleSpeedSmoothers
underspeedAccelCorrectionSmoother?
protected
readonly
optional
underspeedAccelCorrectionSmoother:MultiExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:503
Inherited from
AbstractAutothrottle
.underspeedAccelCorrectionSmoother
underspeedAccelTargetFunc?
protected
readonly
optional
underspeedAccelTargetFunc:AutothrottleAccelTargetFunc
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:497
Inherited from
AbstractAutothrottle
.underspeedAccelTargetFunc
underspeedChangeThreshold
protected
readonly
underspeedChangeThreshold:number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:525
Inherited from
AbstractAutothrottle
.underspeedChangeThreshold
underspeedPid
protected
readonly
underspeedPid:PidController
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:517
Inherited from
AbstractAutothrottle
.underspeedPid
underspeedPowerCorrectionTransformer
protected
readonly
underspeedPowerCorrectionTransformer:AutothrottlePowerCorrectionTransformer
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:511
Inherited from
AbstractAutothrottle
.underspeedPowerCorrectionTransformer
underspeedProtAccelTargetSmoother?
protected
readonly
optional
underspeedProtAccelTargetSmoother:ExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:507
Inherited from
AbstractAutothrottle
.underspeedProtAccelTargetSmoother
underspeedProtPowerTargetSmoother
protected
readonly
underspeedProtPowerTargetSmoother:ExpSmoother
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:537
Inherited from
AbstractAutothrottle
.underspeedProtPowerTargetSmoother
underspeedSpeedTarget
protected
readonly
underspeedSpeedTarget:AutothrottleSpeedTargetRecord
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:529
Inherited from
AbstractAutothrottle
.underspeedSpeedTarget
useIndicatedMach
protected
readonly
useIndicatedMach:boolean
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:457
Inherited from
AbstractAutothrottle
.useIndicatedMach
ALL_THROTTLE_INDEXES
protected
readonly
static
ALL_THROTTLE_INDEXES: readonly [1
,2
,3
,4
]
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:453
Inherited from
AbstractAutothrottle
.ALL_THROTTLE_INDEXES
Methods
calculatePowerTargetThrottlePos()
protected
calculatePowerTargetThrottlePos(throttle
,speedCommand
,isOverpowerProtActive
,isPowerTargetActive
,isThrottlePosTargetActive
,dt
,out
):PowerCommand
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1499
Calculates the throttle position for a specific throttle commanded by this autothrottle's power controller. The power controller incorporates the power target if active and overpower protection.
Parameters
Parameter | Type | Description |
---|---|---|
throttle | AutothrottleThrottle | The throttle for which to calculate commanded throttle position. |
speedCommand | SpeedCommand | The engine power commanded by this autothrottle's speed controller. |
isOverpowerProtActive | boolean | Whether overpower protection is active. |
isPowerTargetActive | boolean | Whether power target is active. |
isThrottlePosTargetActive | boolean | Whether throttle lever position target is active. |
dt | number | The elapsed time since the last update. |
out | PowerCommand | The object to which to write the results. |
Returns
The throttle position for the specified throttle commanded by this autothrottle's power controller.
Inherited from
AbstractAutothrottle
.calculatePowerTargetThrottlePos
calculateSpeedTargetPower()
protected
calculateSpeedTargetPower(dt
,out
):SpeedCommand
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1135
Calculates the engine power for all throttles commanded by this autothrottle's speed controller. The speed controller incorporates the speed target and over-/under-speed protection if active.
Parameters
Parameter | Type | Description |
---|---|---|
dt | number | The elapsed time since the last update. |
out | SpeedCommand | The object to which to write the results. |
Returns
The engine power for all throttles commanded by this autothrottle's speed controller.
Inherited from
AbstractAutothrottle
.calculateSpeedTargetPower
createThrottle()
protected
createThrottle(bus
,info
,servoSpeed
,powerSmoothingConstant
,powerSmoothingVelocityConstant
,powerLookahead
,powerLookaheadSmoothingConstant
,powerLookaheadSmoothingVelocityConstant
,throttleLeverManager
):AutothrottleThrottle
Defined in: src/sdk/autothrottle/TurbopropAutothrottle.ts:13
Creates a throttle controlled by this autothrottle system.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
info | AutothrottleThrottleInfo | Information describing the throttle to create. |
servoSpeed | number | Accessible <number > | The speed delivered by the servo controlling the throttle, in units of normalized position per second. |
powerSmoothingConstant | number | The smoothing time constant, in seconds, to use to smooth engine power data. |
powerSmoothingVelocityConstant | undefined | number | The smoothing time constant, in seconds, to use to smooth estimated power velocity while smoothing engine power data. A value of zero is equivalent to no smoothing. If not defined, estimated power velocity will not be used to adjust smoothed engine power data. |
powerLookahead | Subscribable <number > | The lookahead time, in seconds, to use for engine power data. |
powerLookaheadSmoothingConstant | undefined | number | The smoothing time constant, in seconds, to use to smooth lookahead engine power data. If not defined, defaults to the value of powerSmoothingConstant . |
powerLookaheadSmoothingVelocityConstant | undefined | number | The smoothing time constant, in seconds, to use to smooth estimated power velocity while smoothing lookahead engine power data. A value of zero is equivalent to no smoothing. If not defined, estimated power velocity will not be used to adjust smoothed lookahead engine power data. If not defined, defaults to the value of powerSmoothingVelocityConstant . |
throttleLeverManager | undefined | ThrottleLeverManager | The throttle lever manager to use to request position changes for the throttle's lever. |
Returns
A new throttle controlled by this autothrottle system.
Overrides
AbstractAutothrottle
.createThrottle
destroy()
destroy():
void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1669
Destroys this autothrottle.
Returns
void
Inherited from
setMaxIas()
setMaxIas(
ias
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:820
Sets this autothrottle's maximum allowed indicated airspeed, in knots.
Parameters
Parameter | Type | Description |
---|---|---|
ias | number | An indicated airspeed, in knots. |
Returns
void
Inherited from
AbstractAutothrottle
.setMaxIas
setMaxMach()
setMaxMach(
mach
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:836
Sets this autothrottle's maximum allowed mach number.
Parameters
Parameter | Type | Description |
---|---|---|
mach | number | A mach number. |
Returns
void
Inherited from
AbstractAutothrottle
.setMaxMach
setMaxPower()
setMaxPower(
power
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:852
Sets this autothrottle's maximum allowed engine power.
Parameters
Parameter | Type | Description |
---|---|---|
power | number | An engine power value. |
Returns
void
Inherited from
AbstractAutothrottle
.setMaxPower
setMaxThrottlePos()
setMaxThrottlePos(
pos
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:860
Sets this autothrottle's maximum allowed normalized throttle lever position.
Parameters
Parameter | Type | Description |
---|---|---|
pos | number | A normalized throttle lever position. |
Returns
void
Inherited from
AbstractAutothrottle
.setMaxThrottlePos
setMinIas()
setMinIas(
ias
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:828
Sets this autothrottle's minimum allowed indicated airspeed, in knots.
Parameters
Parameter | Type | Description |
---|---|---|
ias | number | An indicated airspeed, in knots. |
Returns
void
Inherited from
AbstractAutothrottle
.setMinIas
setMinMach()
setMinMach(
mach
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:844
Sets this autothrottle's minimum allowed mach number.
Parameters
Parameter | Type | Description |
---|---|---|
mach | number | A mach number. |
Returns
void
Inherited from
AbstractAutothrottle
.setMinMach
setMinThrottlePos()
setMinThrottlePos(
pos
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:868
Sets this autothrottle's minimum allowed normalized throttle lever position.
Parameters
Parameter | Type | Description |
---|---|---|
pos | number | A normalized throttle lever position. |
Returns
void
Inherited from
AbstractAutothrottle
.setMinThrottlePos
setOverpowerProtActive()
setOverpowerProtActive(
val
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:764
Sets whether this autothrottle's overpower protection is active.
Parameters
Parameter | Type | Description |
---|---|---|
val | boolean | Whether overpower protection is active. |
Returns
void
Inherited from
AbstractAutothrottle
.setOverpowerProtActive
setOverspeedProtActive()
setOverspeedProtActive(
val
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:748
Sets whether this autothrottle's overspeed protection is active.
Parameters
Parameter | Type | Description |
---|---|---|
val | boolean | Whether overspeed protection is active. |
Returns
void
Inherited from
AbstractAutothrottle
.setOverspeedProtActive
setSelectedIas()
setSelectedIas(
ias
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:788
Sets this autothrottle's selected indicated airspeed target, in knots.
Parameters
Parameter | Type | Description |
---|---|---|
ias | number | An indicated airspeed, in knots. |
Returns
void
Inherited from
AbstractAutothrottle
.setSelectedIas
setSelectedMach()
setSelectedMach(
mach
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:796
Sets this autothrottle's selected mach number target.
Parameters
Parameter | Type | Description |
---|---|---|
mach | number | A mach number. |
Returns
void
Inherited from
AbstractAutothrottle
.setSelectedMach
setSelectedPower()
setSelectedPower(
power
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:804
Sets this autothrottle's selected engine power target.
Parameters
Parameter | Type | Description |
---|---|---|
power | number | An engine power value. |
Returns
void
Inherited from
AbstractAutothrottle
.setSelectedPower
setSelectedSpeedIsMach()
setSelectedSpeedIsMach(
val
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:780
Sets whether this autothrottle's selected speed target is a mach number.
Parameters
Parameter | Type | Description |
---|---|---|
val | boolean | Whether the selected speed target is a mach number. |
Returns
void
Inherited from
AbstractAutothrottle
.setSelectedSpeedIsMach
setSelectedThrottlePos()
setSelectedThrottlePos(
pos
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:812
Sets this autothrottle's selected normalized throttle lever position target.
Parameters
Parameter | Type | Description |
---|---|---|
pos | number | A normalized throttle lever position. |
Returns
void
Inherited from
AbstractAutothrottle
.setSelectedThrottlePos
setServoActive()
setServoActive(
index
,active
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:877
Sets whether one of this autothrottle's throttle servos are active.
Parameters
Parameter | Type | Description |
---|---|---|
index | AutothrottleThrottleIndex | The index of the throttle servo to activate/deactivate. |
active | boolean | Whether the servo should be activated. |
Returns
void
Inherited from
AbstractAutothrottle
.setServoActive
setTargetMode()
setTargetMode(
mode
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:772
Sets this autothrottle's target mode.
Parameters
Parameter | Type | Description |
---|---|---|
mode | AutothrottleTargetMode | A target mode. |
Returns
void
Inherited from
AbstractAutothrottle
.setTargetMode
setUnderspeedProtActive()
setUnderspeedProtActive(
val
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:756
Sets whether this autothrottle's underspeed protection is active.
Parameters
Parameter | Type | Description |
---|---|---|
val | boolean | Whether underspeed protection is active. |
Returns
void
Inherited from
AbstractAutothrottle
.setUnderspeedProtActive
start()
start(
frequency
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:890
Turns this autothrottle on with a specified update frequency. If this autothrottle is already running, then it will be turned off before turning on again with the specified frequency.
Parameters
Parameter | Type | Description |
---|---|---|
frequency | number | The frequency, in hertz, at which this autothrottle will update. |
Returns
void
Throws
Error if this autothrottle has been destroyed.
Inherited from
stop()
stop():
void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:906
Turns this autothrottle off.
Returns
void
Throws
Error if this autothrottle has been destroyed.
Inherited from
update()
protected
update():void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:963
Updates this autothrottle.
Returns
void
Inherited from
createPidFromParams()
protected
static
createPidFromParams(params
):PidController
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1684
Creates a PID controller using a given set of parameters.
Parameters
Parameter | Type | Description |
---|---|---|
params | AutothrottlePidParams | A set of PID parameters. |
Returns
A new PID controller created using the specified parameters.
Inherited from
AbstractAutothrottle
.createPidFromParams
defaultPowerCorrectionTransformer()
protected
static
defaultPowerCorrectionTransformer(correction
):number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1693
A default transformation function for power target corrections which returns the correction unchanged.
Parameters
Parameter | Type | Description |
---|---|---|
correction | number | The raw power target correction. |
Returns
number
The transformed power target correction.