]> git.mxchange.org Git - flightgear.git/commit
Roy Ovesen:
authorcurt <curt>
Mon, 4 Feb 2008 20:01:20 +0000 (20:01 +0000)
committercurt <curt>
Mon, 4 Feb 2008 20:01:20 +0000 (20:01 +0000)
commit15cd4284fba912a7bb37a1aeece6cde5d08916a8
treef7b6aee4ca40a7517f503542dabc24e56717c405
parente00b796b3c845c4a90bd586fede1e4875d99955c
Roy Ovesen:

Please find attatched a new version of xmlauto.cxx.

Remove the call to build() in reinit(). This prevents build() from being
called twice when Reload Autopilot is selected from the Debug menu.

I've also added the ability to define an enabled property for the filters.
It's used like the PID controllers. If there is no enabled tag then the
filter defaults to enabled so that nothing should get broken by this change.

This ability can be used to create a filter between the output of a PID
controller and the property that it controls (a control surface). By putting
a noise spike filter between the output of a controller and the control
surface that it controls, we can simulate the limited movement rate that is
inherent in autopilot servos.
src/Autopilot/xmlauto.cxx