*/
-#include <simgear/compiler.h>
-
#include <math.h>
#include <list>
#include <vector>
#include <string>
+#include <simgear/compiler.h>
#include <simgear/constants.h>
-// #include <simgear/timing/timestamp.hxx>
-
-#include <Main/fgfs.hxx>
-#include <Model/model.hxx>
-#include <Main/location.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
SG_USING_STD(list);
SG_USING_STD(vector);
typedef double FG_VECTOR_3[3];
// This is based heavily on LaRCsim/ls_generic.h
-class FGInterface : public FGSubsystem {
+class FGInterface : public SGSubsystem {
private:
// SGTimeStamp valid_stamp; // time this record is valid
// SGTimeStamp next_stamp; // time this record is valid
- // Model tied to FDM
- FGAircraftModel * _acmodel;
-
protected:
int _calc_multiloop (double dt);
inline float get_faux( int n ) const { return faux[n]; }
inline int get_iaux( int n ) const { return iaux[n]; }
- // Model tied to FDM
- FGAircraftModel * getACModel() const { return _acmodel; }
-
// Note that currently this is the "same" value runway altitude...
inline double get_ground_elev_ft() const { return runway_altitude; }