]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGTranslation.h
Check return value of FDM::init().
[flightgear.git] / src / FDM / JSBSim / FGTranslation.h
index c4a068b67ea8d55cfd30c8f70c74c62d1a971d71..cb3696b46127438e18b3365d71ab539089b2f643 100644 (file)
@@ -70,6 +70,8 @@ INCLUDES
 #include "FGModel.h"
 #include "FGMatrix.h"
 
+#define ID_TRANSLATION "$Header"
+
 /*******************************************************************************
 CLASS DECLARATION
 *******************************************************************************/
@@ -88,7 +90,8 @@ public:
   inline float Getqbar (void) { return qbar; }
   inline float GetVt   (void) { return Vt; }
   inline float GetMach (void) { return Mach; }
-
+  inline float Getadot (void) { return adot; }
+  inline float Getbdot (void) { return bdot; }
 
   void SetUVW(FGColumnVector tt) { vUVW = tt; }
 
@@ -97,6 +100,8 @@ public:
   inline void Setqbar (float tt) { qbar = tt; }
   inline void SetVt   (float tt) { Vt = tt; }
   inline void SetMach (float tt) { Mach=tt; }
+  inline void Setadot (float tt) { adot = tt; }
+  inline void Setbdot (float tt) { bdot = tt; }
 
   inline void SetAB(float t1, float t2) { alpha=t1; beta=t2; }
 
@@ -115,6 +120,7 @@ private:
   float Vt, qbar, Mach;
   float Mass, dt;
   float alpha, beta;
+  float adot,bdot;
   float rho;
 
   void GetState(void);