X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAutopilot%2Fnewauto.hxx;h=a2670d319c61a1019440b20406e4aba6de03f7ac;hb=a682823adaf0fded092a7c6cfc5d099c27525ba8;hp=6097303c1b727ae05f7f4afe116f4d31331dbd0e;hpb=36876decf310c2adbd2ad5eb3b60bf7242c55a49;p=flightgear.git diff --git a/src/Autopilot/newauto.hxx b/src/Autopilot/newauto.hxx index 6097303c1..a2670d319 100644 --- a/src/Autopilot/newauto.hxx +++ b/src/Autopilot/newauto.hxx @@ -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 +