]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGTranslation.h
JSBSim updates. This update changes the file format, so an update of the base
[flightgear.git] / src / FDM / JSBSim / FGTranslation.h
index 177ee2f4c72efc2cd7027fec8a923671edf1ab7e..8a17e95812621adfb27d179538e14d2d2ab74fdb 100644 (file)
@@ -98,6 +98,8 @@ public:
   double Getbeta (void) const { return beta; }
   inline double GetMagBeta(void) const { return fabs(beta); }
   double Getqbar (void) const { return qbar; }
+  double GetqbarUW (void) const { return qbarUW; }
+  double GetqbarUV (void) const { return qbarUV; }
   inline double GetVt   (void) const { return Vt; }
   double GetMach (void) const { return Mach; }
   double Getadot (void) const { return adot; }
@@ -109,6 +111,8 @@ public:
   inline void Setalpha(double tt) { alpha = tt; }
   inline void Setbeta (double tt) { beta  = tt; }
   inline void Setqbar (double tt) { qbar = tt; }
+  inline void SetqbarUW (double tt) { qbarUW = tt; }
+  inline void SetqbarUV (double tt) { qbarUV = tt; }
   inline void SetVt   (double tt) { Vt = tt; }
   inline void SetMach (double tt) { Mach=tt; }
   inline void Setadot (double tt) { adot = tt; }
@@ -124,15 +128,15 @@ public:
 private:
   FGColumnVector3 vUVW;
   FGColumnVector3 vUVWdot;
-  FGColumnVector3 vlastUVWdot;
-  FGMatrix33       mVel;
+  FGColumnVector3 vUVWdot_prev[3];
+  FGMatrix33      mVel;
   FGColumnVector3 vAeroUVW;
 
-  double Vt, qbar, Mach;
+  double Vt, Mach;
+  double qbar, qbarUW, qbarUV;
   double dt;
   double alpha, beta;
   double adot,bdot;
-
   void Debug(int from);
 };