Adjust the turbine names for N1, N2 and EGT_degC to match those already specified by YASim (n1, n2 and egt_degf).
This commit is contained in:
parent
2402516dfa
commit
1c576866b2
1 changed files with 3 additions and 3 deletions
|
@ -625,9 +625,9 @@ bool FGJSBsim::copy_from_JSBsim()
|
|||
case FGEngine::etSimTurbine:
|
||||
{ // FGSimTurbine code block
|
||||
FGSimTurbine* eng = (FGSimTurbine*)Propulsion->GetEngine(i);
|
||||
node->setDoubleValue("N1", eng->GetN1());
|
||||
node->setDoubleValue("N2", eng->GetN2());
|
||||
node->setDoubleValue("EGT_degC", eng->GetEGT());
|
||||
node->setDoubleValue("n1", eng->GetN1());
|
||||
node->setDoubleValue("n2", eng->GetN2());
|
||||
node->setDoubleValue("egt_degf", 32 + eng->GetEGT()*9/5);
|
||||
node->setBoolValue("augmentation", eng->GetAugmentation());
|
||||
node->setBoolValue("water-injection", eng->GetInjection());
|
||||
node->setBoolValue("ignition", eng->GetIgnition());
|
||||
|
|
Loading…
Reference in a new issue