]> 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 abb78d70f0c7effa2805fc0dbcc9731eddbf86fe..cb3696b46127438e18b3365d71ab539089b2f643 100644 (file)
@@ -70,12 +70,12 @@ INCLUDES
 #include "FGModel.h"
 #include "FGMatrix.h"
 
+#define ID_TRANSLATION "$Header"
+
 /*******************************************************************************
 CLASS DECLARATION
 *******************************************************************************/
 
-#pragma warn -8026
-
 class FGTranslation : public FGModel {
 public:
   FGTranslation(FGFDMExec*);
@@ -90,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; }
 
@@ -98,6 +99,9 @@ public:
   inline void Setbeta (float tt) { beta  = tt; }
   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; }
 
@@ -116,11 +120,11 @@ private:
   float Vt, qbar, Mach;
   float Mass, dt;
   float alpha, beta;
+  float adot,bdot;
   float rho;
 
   void GetState(void);
 };
-#pragma warn .8026
 
 /******************************************************************************/
 #endif