Interface: JetFadecMode
A control mode used by a jet FADEC.
Properties
name
• Readonly
name: string
The name of this mode.
Defined in
src/sdk/fadec/JetFadec.ts:11
Methods
accept
▸ accept(index
, throttleLeverPos
, throttle
, thrust
, n1
, n1Corrected
): boolean
Checks whether the FADEC should enter this mode for a specified engine.
Parameters
Name | Type | Description |
---|---|---|
index | number | The index of the engine. |
throttleLeverPos | number | The virtual position of the throttle lever, in the range of -1 to +1. |
throttle | number | The current engine throttle setting, in the range of -1 to +1. |
thrust | number | The current net thrust delivered by the engine, in pounds. |
n1 | number | The current N1 value of the engine, in percent. |
n1Corrected | number | The current corrected N1 value of the engine, in percent. |
Returns
boolean
Whether the FADEC should enter this mode for the specified engine.
Defined in
src/sdk/fadec/JetFadec.ts:23
computeDesiredThrottle
▸ computeDesiredThrottle(index
, throttleLeverPos
, throttle
, thrust
, n1
, n1Corrected
, dt
): number
Computes the desired engine throttle setting.
Parameters
Name | Type | Description |
---|---|---|
index | number | The index of the engine. |
throttleLeverPos | number | The virtual position of the throttle lever, in the range of -1 to +1. |
throttle | number | The current engine throttle setting, in the range of -1 to +1. |
thrust | number | The current net thrust delivered by the engine, in pounds. |
n1 | number | The current N1 value of the engine, in percent. |
n1Corrected | number | The current corrected N1 value of the engine, in percent. |
dt | number | The elapsed time since the last FADEC update, in milliseconds. |
Returns
number
The desired engine throttle setting, in the range of -1 to +1.
Defined in
src/sdk/fadec/JetFadec.ts:36
getVisibleThrottlePos
▸ getVisibleThrottlePos(index
, throttleLeverPos
): number
Gets the visible position of the throttle lever for a specified engine.
Parameters
Name | Type | Description |
---|---|---|
index | number | The index of the engine. |
throttleLeverPos | number | The virtual position of the throttle lever, in the range of -1 to +1. |
Returns
number
The visible position of the throttle lever, in the range of -1 to +1.
Defined in
src/sdk/fadec/JetFadec.ts:44