]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGTranslation.cpp
Latest JSBSim changes, including a kludge from Tony to keep the
[flightgear.git] / src / FDM / JSBSim / FGTranslation.cpp
index d191b8c74371469772d2a628c6399da629999da0..9b36f81cf9adb929ce36b03063aca774b1ff8a67 100644 (file)
@@ -116,7 +116,8 @@ bool FGTranslation::Run(void)
 
     vUVWdot = mVel*Rotation->GetPQR() + Aircraft->GetBodyAccel();
 
-    vUVW += Tc * (vlastUVWdot + vUVWdot);
+    vUVW += Tc*(vUVWdot + vlastUVWdot);
+
     vAeroUVW = vUVW + State->GetTl2b()*Atmosphere->GetWindNED();
 
     Vt = vAeroUVW.Magnitude();
@@ -212,4 +213,11 @@ void FGTranslation::Debug(int from)
     if (qbar > 1e6 || qbar < 0.00)
       cout << "FGTranslation::qbar is out of bounds: " << qbar << endl;
   }
+  if (debug_lvl & 64) {
+    if (from == 0) { // Constructor
+      cout << IdSrc << endl;
+      cout << IdHdr << endl;
+    }
+  }
 }
+