Thanks Curt, Jeff, Norman and Wendell for the slick new autopilot system. I've been playing with it, trying to adapt the generic autopilot to the 737.
I see that I can set the autopilot to use actual mag heading, rather than DG heading, by setting "autopilot/config/indicated-heading-magnetic" to true. I wasn't able to get it to work until I changed a line in xmlauto.cxx, where the heading error is calculated. The current code finds the error by comparing the target heading with the DG heading. I changed line 630 to use the property "/orientation/heading-magnetic-deg" instead, and now it works fine. So, it appears that newauto.cxx allows for the heading source to be selected, but FGXMLAutopilot::update_helper() has it hard-wired to the DG. Or, very likely, I missed something obvious. Dave -- **************************** David Culp davidculp2[at]comcast.net **************************** _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
