]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/newauto.hxx
Bugfix. The engine thrust is recalculated based on the current N1 value
[flightgear.git] / src / Autopilot / newauto.hxx
index 6097303c1b727ae05f7f4afe116f4d31331dbd0e..a2670d319c61a1019440b20406e4aba6de03f7ac 100644 (file)
@@ -132,6 +132,11 @@ private:
                                 // component of the pid
     SGPropertyNode *zero_pitch_throttle; // amount of throttle at which the aircraft does not pitch up
     SGPropertyNode *zero_pitch_trim_full_throttle; // amount of trim required to level at full throttle
+    SGPropertyNode *max_aileron_node; // maximum aileron setting range -1 ~ 1
+    SGPropertyNode *max_roll_node; // maximum roll setting in degrees
+    SGPropertyNode *roll_out_node; // start rollout offset from desired heading in degrees
+    SGPropertyNode *roll_out_smooth_node; // rollout smoothing offset in degrees
+
     SGPropertyNode *TargetClimbRate;   // target climb rate
     SGPropertyNode *TargetDescentRate; // target decent rate
     SGPropertyNode *current_throttle; // current throttle (engine 0)
@@ -152,7 +157,7 @@ public:
     void init ();
     void bind ();
     void unbind ();
-    void update (int dt);
+    void update (double dt);
 
     // Reset the autopilot system
     void reset(void);
@@ -267,6 +272,7 @@ private:
 
 #define DEFAULT_AP_HEADING_LOCK FGAutopilot::FG_DG_HEADING_LOCK
 // #define DEFAULT_AP_HEADING_LOCK FGAutopilot::FG_TRUE_HEADING_LOCK
+#define DEFAULT_AP_ALTITUDE_LOCK FGAutopilot::FG_ALTITUDE_LOCK
 
 
 /**
@@ -274,3 +280,4 @@ private:
  */
 
 #endif // _NEWAUTO_HXX
+