Melchior FRANZ writes:
> 
> 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.


Yes this is a *pain*

FWIW - Here is what I have been using 

Norman

/**
 * Set the autopilot altitude lock (true=on).
 */
void
FGAutopilot::setAPAltitudeLock (bool lock)
{
  static double old_trim = 0.0;
  if (lock)
  {
    set_AltitudeMode(DEFAULT_AP_ALTITUDE_LOCK);
    old_trim = globals->get_controls()->get_elevator_trim();
  }
  else
  {
      globals->get_controls()->set_elevator_trim(old_trim);
  }
  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