Get into an aircraft with autopilot (preferably one with 2D panel, e.g.
the c182), climb to some safe altitude, then switch the autopilot to
altitude lock. Now pitch up or down manually and watch the elevator
trim go to the opposite direction. While it is off, unlock the altitude.
The elevator trim is left at its last position, which may be quite
extreme and can make the aircraft somewhat difficult to handle, until
it is (slowly?) trimmed back to a sane state by the pilot.

m.



RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Autopilot/newauto.cxx,v
retrieving revision 1.8
diff -u -p -r1.8 newauto.cxx
--- newauto.cxx 22 Apr 2003 09:21:17 -0000      1.8
+++ newauto.cxx 6 Jun 2003 14:22:14 -0000
@@ -1140,6 +1140,9 @@ FGAutopilot::setAPAltitudeLock (bool loc
 {
   if (lock)
     set_AltitudeMode(DEFAULT_AP_ALTITUDE_LOCK);
+  else
+    globals->get_controls()->set_elevator_trim(0.0);
+
   if (get_AltitudeMode() == DEFAULT_AP_ALTITUDE_LOCK)
     set_AltitudeEnabled(lock);
 }

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to