Skip to main content

Class: DefaultAutothrottleDataProvider

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:52

An autothrottle data provider

Implements

Constructors

Constructor

new DefaultAutothrottleDataProvider(bus, config, airspeedDataProvider): DefaultAutothrottleDataProvider

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:124

Ctor.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
configAutothrottleConfigThe autothrottle panel config
airspeedDataProviderAirspeedDataProviderAn airspeed data provider

Returns

DefaultAutothrottleDataProvider

Properties

_mode

protected readonly _mode: Subject<null | AutothrottleMode>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:73


_state

protected readonly _state: Subject<null | AutothrottleState>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:70


_targetCasConverted

protected readonly _targetCasConverted: MappedSubject<[number, number, number], number>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:81


_thrustDirectorTargetSpeed

protected readonly _thrustDirectorTargetSpeed: Subject<null>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:76


ambientPressure

protected readonly ambientPressure: ConsumerSubject<number>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:54


atActiveMode

protected readonly atActiveMode: ConsumerValue<string>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:57


atArmedMode

protected readonly atArmedMode: ConsumerValue<string>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:56


atDisconnectWarning

protected readonly atDisconnectWarning: ConsumerValue<boolean>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:59


atMaxThrottlePos

protected readonly atMaxThrottlePos: ConsumerValue<number>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:67


atMinThrottlePos

protected readonly atMinThrottlePos: ConsumerValue<number>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:68


atOverspeedEngaged

protected readonly atOverspeedEngaged: ConsumerValue<boolean>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:62


atStatus

protected readonly atStatus: ConsumerValue<Epic2AutothrottleStatus>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:58


atTargetCas

protected readonly atTargetCas: ConsumerSubject<number>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:63


atTargetMach

protected readonly atTargetMach: ConsumerSubject<number>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:64


atThrustDirectorSpeed

protected readonly atThrustDirectorSpeed: ConsumerSubject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:60


atUnderspeedEngaged

protected readonly atUnderspeedEngaged: ConsumerValue<boolean>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:61


bus

protected readonly bus: EventBus

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:125

The event bus.


isActive

protected isActive: boolean = false

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:94


mode

readonly mode: Subscribable<null | AutothrottleMode>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:74

The current autothrottle mode, or null when invalid.

Implementation of

AutothrottleDataProvider.mode


outputSubs

protected readonly outputSubs: (Subject<null | AutothrottleState> | Subject<null | AutothrottleMode> | Subject<null>)[]

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:112


pausables

protected readonly pausables: Subscription[]

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:96


speedProtectionAvailable

readonly speedProtectionAvailable: boolean

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:92

Are autothrottle speed protections available?

Implementation of

AutothrottleDataProvider.speedProtectionAvailable


state

readonly state: Subscribable<null | AutothrottleState>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:71

The current autothrottle state, or null when invalid.

Implementation of

AutothrottleDataProvider.state


sub

protected readonly sub: EventSubscriber<Epic2AutothrottleEvents & AutothrottleEvents & AmbientEvents & VirtualThrottleLeverEvents>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:53


targetCasConverted

readonly targetCasConverted: Subscribable<number>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:90

What is the current target calibrated airspeed, accounting for a conversion from target mach to target cas if AT is targetting a mach number

Implementation of

AutothrottleDataProvider.targetCasConverted


throttlePos

protected readonly throttlePos: Accessible<number>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:66


thrustDirectorSpeedPipe

protected readonly thrustDirectorSpeedPipe: Subscription

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:79


thrustDirectorTargetSpeed

readonly thrustDirectorTargetSpeed: Subscribable<null | number>

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:77

The thrust director target throttle speed in range [0, 1], or null when the thrust director is disabled.

Implementation of

AutothrottleDataProvider.thrustDirectorTargetSpeed

Methods

init()

init(): void

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:157

Initializes this instrument.

Returns

void

Implementation of

Instrument.init


onUpdate()

onUpdate(): void

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:162

Updates this instrument.

Returns

void

Implementation of

Instrument.onUpdate


pause()

pause(): void

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:145

Pauses all data.

Returns

void


resume()

resume(): void

Defined in: workingtitle-instruments-epic2/shared/Instruments/AutothrottleDataProvider.ts:137

Resumes all data.

Returns

void