8 if (fElapsed > 1.0f || !
bass)
18 #pragma region Command Handler 22 if (command.
delay != 0.0f)
continue;
24 if (command.
name ==
"EngineStart")
42 else if (command.
name ==
"EngineStop")
62 #pragma region Game Controller Processing 72 static bool moved =
false;
135 float maxEffectOfStarter = 0.5f;
179 float N1toN1diff = tempdiff * fElapsed * compressionRatio * airFrictionFactor;
227 if (diff > 190) diff = 190;
228 if (diff < -190) diff = -190;
265 float thrustEffectivity = 0.000475f;
271 float n1increaser = n2increaser * n1rampNonsense;
278 float modulate = max(40.0f - ratio, 0.0f) / 5.0f;
279 n2increaser *= modulate;
280 n1increaser *= modulate;
307 float desiredTemp =
bus->
OATorTAT * compressionRatio;
323 float radiant = 0.1f;
375 if (prmFlightControl)
389 if (type ==
"Starter")
407 if (type ==
"IgniterA")
412 if (type ==
"Combustion")
float EngineThrustCommand[enginesC]
(57) Thrust command (when an information source is installed);
float EngineThrustOutput[enginesC]
(9) Thrust/power of each engine—primary flight crew reference;
void FrameMove(float fElapsedTime) override
http://aviation.stackexchange.com/questions/1959/how-are-turbine-engines-started
std::vector< Command > commandStream
Systems::Fault * GetComponentFaultStatePtr(std::string guidStr)
float * ignitionSetFloatPtr
These have to be in this order.
float IndicatedAirspeed
(3) Indicated Airspeed in km per second?
Fadec(Bus *prmBus, int prmSoundDevice, int prmAxis, int prmOrdinal, std::string prmPrefix)
std::string name
command name
float OATorTAT
(24) Outside or total air temperature;
float * starterSetFloatPtr
void Initialize(Devices::Joystick *prmFlightControl, Devices::Bass *prmBass)
void ConnectComponent(std::string name, std::string guid)
Abstract base class for modules By definition, instruments don't do any of the work (they don't modif...
float * starterGetFloatPtr
void Play(std::string trigger, float freq=-1.0f, float vol=1.0f)
float * GetComponentSetStatePtr(std::string guidStr)
float * combustionSetFloatPtr
float delay
wait number of seconds before executing command
std::vector< Devices::Joystick * > flightControls
float * ignitionGetFloatPtr