Class: Epic2TurbopropFadec
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Autothrottle/Epic2TurbopropFadec.ts:9
A default FADEC for a turboprop engined plane. Useful during early development but planes should implement a FADEC plugin.
Extends
Implements
Constructors
Constructor
new Epic2TurbopropFadec(
bus,config?):Epic2TurbopropFadec
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Autothrottle/Epic2TurbopropFadec.ts:48
Ctor.
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus. |
config? | Partial<Epic2FadecConfig> | The configuration for the FADEC. |
Returns
Epic2TurbopropFadec
Overrides
Properties
bus
protectedreadonlybus:EventBus
Defined in: sdk/fadec/TurbopropFadec.ts:135
The event bus.
Inherited from
climbThrottlePosition
climbThrottlePosition:
number=1
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Autothrottle/Epic2TurbopropFadec.ts:32
The climb throttle detent position in the range [0, 1].
Implementation of
Epic2Fadec.climbThrottlePosition
desiredThrottleMax
protectedreadonlydesiredThrottleMax:number=100
Defined in: sdk/fadec/TurbopropFadec.ts:139
The max value to limit the desiredThrottle by. Defaults to 100.
Inherited from
TurbopropFadec.desiredThrottleMax
desiredThrottleMin
protectedreadonlydesiredThrottleMin:number=-100
Defined in: sdk/fadec/TurbopropFadec.ts:138
The min value to limit the desiredThrottle by. Defaults to -100.
Inherited from
TurbopropFadec.desiredThrottleMin
engineStates
protectedreadonlyengineStates:Record<number,TurbopropFadecEngineState>
Defined in: sdk/fadec/TurbopropFadec.ts:119
Inherited from
idleThrottlePosition
idleThrottlePosition:
number=0
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Autothrottle/Epic2TurbopropFadec.ts:34
The idle throttle detent position in the range [0, 1].
Implementation of
Epic2Fadec.idleThrottlePosition
lastModes
protectedreadonlylastModes: (null|TurbopropFadecMode)[]
Defined in: sdk/fadec/TurbopropFadec.ts:121
Inherited from
modes
protectedreadonlymodes: readonlyTurbopropFadecMode[]
Defined in: sdk/fadec/TurbopropFadec.ts:136
The modes supported by this FADEC, ordered from highest to lowest priority.
Inherited from
onThrottleLeverKeyEvent()?
optionalonThrottleLeverKeyEvent: (index,currentPos,newPos,keyEvent) =>number
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Autothrottle/Epic2TurbopropFadec.ts:41
A function which handles throttle lever input key events. The function takes in the index of the throttle, the current and requested throttle lever positions (both in the range -1 to +1), and the name of the key event, and should return the desired actual position to set (also in the range -1 to +1).
Parameters
| Parameter | Type |
|---|---|
index | AutothrottleThrottleIndex |
currentPos | number |
newPos | number |
keyEvent | string |
Returns
number
Implementation of
Epic2Fadec.onThrottleLeverKeyEvent
publisher
protectedreadonlypublisher:Publisher<FadecEvents>
Defined in: sdk/fadec/TurbopropFadec.ts:108
Inherited from
takeoffThrottlePosition
takeoffThrottlePosition:
number=1
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Autothrottle/Epic2TurbopropFadec.ts:33
The takeoff throttle detent position in the range [0, 1].
Implementation of
Epic2Fadec.takeoffThrottlePosition
throttleInfos
protectedreadonlythrottleInfos: readonlyTurbopropFadecThrottleInfoInternal[]
Defined in: sdk/fadec/TurbopropFadec.ts:110
Inherited from
throttleLeverManager
readonlythrottleLeverManager:ThrottleLeverManager
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Autothrottle/Epic2TurbopropFadec.ts:18
The throttle lever manager.
Implementation of
Epic2Fadec.throttleLeverManager
throttleLeverPositionValues
protectedreadonlythrottleLeverPositionValues: readonlyConsumerValue<number>[]
Defined in: sdk/fadec/TurbopropFadec.ts:112
Inherited from
TurbopropFadec.throttleLeverPositionValues
MSFS_STANDARD_SEA_LEVEL_TEMP_RANKINE
protectedreadonlystaticMSFS_STANDARD_SEA_LEVEL_TEMP_RANKINE:518.69=518.69
Defined in: sdk/fadec/TurbopropFadec.ts:106
Inherited from
TurbopropFadec.MSFS_STANDARD_SEA_LEVEL_TEMP_RANKINE
Accessors
engineType
Get Signature
get engineType():
Epic2EngineType
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Autothrottle/Epic2TurbopropFadec.ts:107
The type of engine on this plane.
Returns
The type of engine on this plane.
Implementation of
numberOfEngines
Get Signature
get numberOfEngines():
AutothrottleThrottleIndex
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Autothrottle/Epic2TurbopropFadec.ts:115
The number of engines configured for this plane.
Returns
the number of engines configured for this plane.
The number of engines configured for this plane.
Implementation of
Methods
onThrottleLeverPosRequested()
protectedonThrottleLeverPosRequested(index,currentPos,newPos,keyEvent?):number
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Autothrottle/Epic2TurbopropFadec.ts:94
Responds to when a throttle lever position is requested.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the throttle lever. |
currentPos | number | The current position of the throttle lever, from -1 to +1. |
newPos | number | The requested new position, from -1 to +1. |
keyEvent? | string | The key event that triggered the request. |
Returns
number
The actual throttle lever position to set.
onUpdate()
protectedonUpdate(dt):void
Defined in: sdk/fadec/TurbopropFadec.ts:225
A method called when this FADEC is updated.
Parameters
| Parameter | Type | Description |
|---|---|---|
dt | number | The elapsed real time, in milliseconds, since the last update. |
Returns
void
Inherited from
setMode()
protectedsetMode(index,mode):void
Defined in: sdk/fadec/TurbopropFadec.ts:297
Sets a FADEC mode for a throttle.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the throttle in this FADEC's throttle list. |
mode | null | TurbopropFadecMode | The mode to set. |
Returns
void
Inherited from
start()
start(
frequency):void
Defined in: sdk/fadec/TurbopropFadec.ts:176
Turns this FADEC on. If this FADEC 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 FADEC will update. |
Returns
void
Inherited from
stop()
stop():
void
Defined in: sdk/fadec/TurbopropFadec.ts:187
Turns this FADEC off.
Returns
void
Inherited from
updateEngineStates()
protectedupdateEngineStates():void
Defined in: sdk/fadec/TurbopropFadec.ts:233
Updates the states for this FADEC's engines.
Returns
void
Inherited from
TurbopropFadec.updateEngineStates
updateThrottle()
protectedupdateThrottle(index,dt):void
Defined in: sdk/fadec/TurbopropFadec.ts:261
Updates a throttle.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the throttle in this FADEC's throttle list. |
dt | number | The elapsed time, in milliseconds, since the last update. |
Returns
void
Inherited from
updateThrottles()
protectedupdateThrottles(dt):void
Defined in: sdk/fadec/TurbopropFadec.ts:250
Updates this FADEC's engine throttles.
Parameters
| Parameter | Type | Description |
|---|---|---|
dt | number | The elapsed real time, in milliseconds, since the last update. |
Returns
void