]> git.mxchange.org Git - flightgear.git/commitdiff
Adjust the turbine names for N1, N2 and EGT_degC to match those already specified...
authorehofman <ehofman>
Tue, 17 Feb 2004 09:07:27 +0000 (09:07 +0000)
committerehofman <ehofman>
Tue, 17 Feb 2004 09:07:27 +0000 (09:07 +0000)
src/FDM/JSBSim/JSBSim.cxx

index 573b6d495d93b882a56a9617715d339ee9c9bbcd..97ecdd285f37d50875dc9fbc981f88613f5d595d 100644 (file)
@@ -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());