Skip to main content

Abstract Class: AutothrottleThrottle

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1701

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:1793

Constructor.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
infoAutothrottleThrottleInfoInformation describing this throttle.
servoSpeednumber | Accessible<number>The speed delivered by the servo controlling this throttle, in units of normalized position per second.
powerSmoothingConstantnumberThe smoothing time constant, in seconds, to use to smooth engine power data.
powerSmoothingVelocityConstantundefined | numberThe 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.
powerLookaheadSubscribable<number>The lookahead time, in seconds, to use for engine power data.
powerLookaheadSmoothingConstantundefined | numberThe smoothing time constant, in seconds, to use to smooth lookahead engine power data. If not defined, defaults to the value of powerSmoothingConstant.
powerLookaheadSmoothingVelocityConstantundefined | numberThe 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?ThrottleLeverManagerThe 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:1708

The idle position of this throttle.


index

readonly index: AutothrottleThrottleIndex

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1705

The index of the engine controlled by the throttle.


keyEventManager?

protected optional keyEventManager: KeyEventManager

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1756


maxThrustPosition

readonly maxThrustPosition: number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1711

The maximum thrust position of this throttle.


servoSpeed

readonly servoSpeed: Accessible<number>

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1770

Accessors

effectivePower

Get Signature

get effectivePower(): number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1741

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:1748

Whether the autothrottle servo for this throttle is active.

Returns

boolean

Set Signature

set isServoActive(val): void

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1752

Parameters
ParameterType
valboolean
Returns

void


normPosition

Get Signature

get normPosition(): number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1727

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:1716

The current position of this throttle.

Returns

number


power

Get Signature

get power(): number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1734

The power delivered by this throttle's engine.

Returns

number

Methods

destroy()

destroy(): void

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1923

Destroys this throttle.

Returns

void


drive()

drive(targetNormPos, dt): void

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1884

Drives this throttle toward a target normalized position over a period of time.

Parameters

ParameterTypeDescription
targetNormPosnumberThe target normalized position. Will be clamped to the range [0, 1].
dtnumberThe 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:1877

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:1914

Resets this throttle's power smoothing.

Returns

void


update()

update(dt): void

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1851

Updates this throttle's current position and delivered power properties.

Parameters

ParameterTypeDescription
dtnumberThe elapsed time since the last update, in seconds.

Returns

void