]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGAuxiliary.h
Check return value of FDM::init().
[flightgear.git] / src / FDM / JSBSim / FGAuxiliary.h
index 2d64cd68ee9a6212539d9f2ce724c4ae8aaa0a21..12cdabdd0495c7e6c966f3a1801549cf4dfc7ae5 100644 (file)
@@ -38,7 +38,11 @@ SENTRY
 /*******************************************************************************
 INCLUDES
 *******************************************************************************/
+
 #include "FGModel.h"
+#include "FGMatrix.h"
+
+#define ID_AUXILIARY "$Header"
 
 /*******************************************************************************
 DEFINES
@@ -60,9 +64,13 @@ public:
   inline float GetVcalibratedKTS(void) { return vcas*FPSTOKTS; }
   inline float GetVequivalentFPS(void) { return veas; }
   inline float GetVequivalentKTS(void) { return veas*FPSTOKTS; }
-
-
-
+  
+  inline FGColumnVector GetPilotAccel(void) { return vPilotAccel; }
+  inline FGColumnVector GetNpilot(void) { return vPilotAccel*INVGRAVITY; }
+  
+  inline float GetEarthPositionAngle(void) { return earthPosAngle; }
+  
 protected:
 
 private:
@@ -76,6 +84,12 @@ private:
   //if a general freestream total is needed, e-mail Tony Peden
   // (apeden@earthlink.net) or you can add it your self using the
   // isentropic flow equations
+  
+  
+  FGColumnVector vPilotAccel;
+  
+  float earthPosAngle;
 
   void GetState(void);
 };