Abstract Class: AutothrottleThrottle
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1700
A throttle controlled by an autothrottle system.
Constructors
Constructor
new AutothrottleThrottle(
bus
,info
,servoSpeed
,powerSmoothingConstant
,powerSmoothingVelocityConstant
,powerLookahead
,powerLookaheadSmoothingConstant
,powerLookaheadSmoothingVelocityConstant
,throttleLeverManager?
):AutothrottleThrottle
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1792
Constructor.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
info | AutothrottleThrottleInfo | Information describing this throttle. |
servoSpeed | number | Accessible <number > | The speed delivered by the servo controlling this 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? | ThrottleLeverManager | The throttle lever manager to use to request position changes for this throttle's lever. If not defined, position changes for the lever will be requested using key events (specifically the THROTTLE[N]_SET event). |
Returns
AutothrottleThrottle
Properties
idlePosition
readonly
idlePosition:number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1707
The idle position of this throttle.
index
readonly
index:AutothrottleThrottleIndex
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1704
The index of the engine controlled by the throttle.
keyEventManager?
protected
optional
keyEventManager:KeyEventManager
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1755
maxThrustPosition
readonly
maxThrustPosition:number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1710
The maximum thrust position of this throttle.
servoSpeed
readonly
servoSpeed:Accessible
<number
>
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1769
Accessors
effectivePower
Get Signature
get effectivePower():
number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1740
The effective power delivered by this throttle's engine, after smoothing and lookahead have been applied.
Returns
number
isServoActive
Get Signature
get isServoActive():
boolean
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1747
Whether the autothrottle servo for this throttle is active.
Returns
boolean
Set Signature
set isServoActive(
val
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1751
Parameters
Parameter | Type |
---|---|
val | boolean |
Returns
void
normPosition
Get Signature
get normPosition():
number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1726
The position of this throttle, normalized such that 0
is the idle position and 1
is the maximum thrust
position.
Returns
number
position
Get Signature
get position():
number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1715
The current position of this throttle.
Returns
number
power
Get Signature
get power():
number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1733
The power delivered by this throttle's engine.
Returns
number
Methods
destroy()
destroy():
void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1922
Destroys this throttle.
Returns
void
drive()
drive(
targetNormPos
,dt
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1883
Drives this throttle toward a target normalized position over a period of time.
Parameters
Parameter | Type | Description |
---|---|---|
targetNormPos | number | The target normalized position. Will be clamped to the range [0, 1] . |
dt | number | The amount of time over which to drive the throttle, in seconds. |
Returns
void
getPower()
abstract
protected
getPower():number
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1876
Gets the power delivered by this throttle's engine.
Returns
number
The power delivered by this throttle's engine.
resetPowerSmoothing()
resetPowerSmoothing():
void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1913
Resets this throttle's power smoothing.
Returns
void
update()
update(
dt
):void
Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1850
Updates this throttle's current position and delivered power properties.
Parameters
Parameter | Type | Description |
---|---|---|
dt | number | The elapsed time since the last update, in seconds. |
Returns
void