]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGGroundReactions.h
Latest JSBSim changes, including some gear tweaking from Jon and some
[flightgear.git] / src / FDM / JSBSim / FGGroundReactions.h
index 5a7685ea9276ca642371487bde41624ac57646b3..21b774ab5894108e0bd45345eab56b643b077770 100644 (file)
@@ -69,7 +69,7 @@ class FGGroundReactions : public FGModel
 {
 public:
   FGGroundReactions(FGFDMExec*);
-  ~FGGroundReactions() {};
+  ~FGGroundReactions(void);
 
   bool Run(void);
   bool Load(FGConfigFile* AC_cfg);
@@ -77,30 +77,23 @@ public:
   FGColumnVector3& GetMoments(void) {return vMoments;}
   string GetGroundReactionStrings(void);
   string GetGroundReactionValues(void);
-
-  /** Gets the gear status
-      @return true if gear is not deployed */
-  inline bool GetGearUp(void) { return GearUp; }
-  /** Gets the number of gear units defined for the aircraft
-      @return number of gear units defined */
+  
   inline int GetNumGearUnits(void) { return lGear.size(); }
   /** Gets a gear instance
       @param gear index of gear instance
       @return a pointer to the FGLGear instance of the gear unit requested */
+  
+  
   inline FGLGear* GetGearUnit(int gear) { return &(lGear[gear]); }
-  inline void SetGear(bool tt) { GearUp = tt; }
-  inline void SetGearUp(void) { GearUp = true; }
-  inline void SetGearDown(bool tt) { GearUp = false; }
   
 private:
   vector <FGLGear> lGear;
-  bool GearUp;
   FGColumnVector3 vForces;
   FGColumnVector3 vMoments;
   FGColumnVector3 vMaxStaticGrip;
   FGColumnVector3 vMaxMomentResist;
 
-  void Debug(void);
+  void Debug(int from);
 };
 
 //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%