]> git.mxchange.org Git - flightgear.git/commit
Roy Vegard OVESEN & Lee ELLIOT:
authormfranz <mfranz>
Sun, 17 Feb 2008 09:44:03 +0000 (09:44 +0000)
committermfranz <mfranz>
Sun, 17 Feb 2008 09:44:03 +0000 (09:44 +0000)
commit7d5c5e4aaffa168b77c94f70a08a578a4d586b4f
tree6ad6dcf83b66356375f070f25675ad4fc236f5f7
parentb99a5465b03fbef18e674ed72372a1059cca2197
Roy Vegard OVESEN & Lee ELLIOT:

Lee has added two new filter types, "gain" and "reciprocal". These filters can
read their gain factor from a property. In the process we also added minimum
and maximum output clamps that are applicable to all filters.

I added the ability to configure adaptive controllers i.e. the controller gain
can be tied to a property, so that it can be changed at runtime. This
requires a change in the xml structure of the autopilot configuration file:

<Kp>
  <prop>/autopilot/KAP140/settings/ROL/Kp</prop>
  <value>0.10</value>
</Kp>        <!-- proportional gain -->

The old method <Kp>0.10</Kp> still works so as to not break all existing
autopilots, but it will output a warning to use the new method.
src/Autopilot/xmlauto.cxx
src/Autopilot/xmlauto.hxx