#include <simgear/props/props.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
#include <simgear/route/waypoint.hxx>
-#include <Main/fgfs.hxx>
#include <Main/fg_props.hxx>
// Structures
-class FGAutopilot : public FGSubsystem
+class FGAutopilot : public SGSubsystem
{
public:
double climb_error_accum; // climb error accumulator (for GS)
double speed_error_accum; // speed error accumulator
+ double current_ap_throttle; // current ap stored throttle setting used to set all engines
double previous_speed; // used to detect acceleration rate
double TargetSlope; // the glide slope hold value
\f
////////////////////////////////////////////////////////////////////
- // Implementation of FGSubsystem.
+ // Implementation of SGSubsystem.
////////////////////////////////////////////////////////////////////
void init ();