1
0
Fork 0
flightgear/src/Autopilot
Julian Smith 333c790086 src/Autopilot/pidcontroller.* added params for control of startup behaviour.
Added <startup-current> param. Default is false which preserves previous
behaviour where internal state is initialised to zero. Otherwise we initialise
internal state using the current error value, which can reduce oscillations.

Added <startup-its> param, default is zero. For the first <startup-its>
iterations we don't update the output, which can be used to cope with initial
bad data from earlier controllers.

Also refactored the code to hopefully make it clearer and modified debug
logging to output all info in a single statement and on a single line for
clarity.

For example avoid initial oscillations with:

    <pid-controller>
        ..
        <startup-current>true</startup-current>
        ...
    </pid-controller>
2021-08-02 22:38:11 +01:00
..
analogcomponent.cxx src/Autopilot/analogcomponent.cxx: fixed misleading indentation. 2021-01-01 17:54:10 +00:00
analogcomponent.hxx SGSubsystem classes: Whitespace standardisation of the declarations. 2019-07-01 14:27:28 +02:00
autopilot.cxx Autopilot: don't warn on un-nmed APs 2020-10-29 14:51:24 +00:00
autopilot.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
autopilotgroup.cxx Remove Sentry XML error suppression 2021-07-28 13:45:23 +01:00
autopilotgroup.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
CMakeLists.txt CMake header support for XCode/Visual Studio 2011-07-19 07:58:03 +01:00
component.cxx Autopilot components: Switch to using the subsystem name. 2019-07-01 14:27:30 +02:00
component.hxx Autopilot components: Switch to using the subsystem name. 2019-07-01 14:27:30 +02:00
digitalcomponent.cxx src/Autopilot/digitalcomponent.cxx: fixed misleading indentation. 2021-01-01 17:54:10 +00:00
digitalcomponent.hxx SGSubsystem classes: Whitespace standardisation of the declarations. 2019-07-01 14:27:28 +02:00
digitalfilter.cxx src/Autopilot/digitalfilter.cxx: show subsystemId() in debug output. 2021-08-02 22:38:11 +01:00
digitalfilter.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
flipflop.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
flipflop.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
functor.hxx Autopilot: add interface properties and property-root. 2014-02-09 18:51:09 +01:00
inputvalue.cxx Autopilot: tolerate whitespace in XML strings 2020-12-12 16:39:04 +00:00
inputvalue.hxx Autopilot: add interface properties and property-root. 2014-02-09 18:51:09 +01:00
logic.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
logic.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
pidcontroller.cxx src/Autopilot/pidcontroller.* added params for control of startup behaviour. 2021-08-02 22:38:11 +01:00
pidcontroller.hxx src/Autopilot/pidcontroller.* added params for control of startup behaviour. 2021-08-02 22:38:11 +01:00
pisimplecontroller.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
pisimplecontroller.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
predictor.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
predictor.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
route_mgr.cxx Route-manager: cache the routePath 2021-07-21 15:45:13 +01:00
route_mgr.hxx Route-manager: cache the routePath 2021-07-21 15:45:13 +01:00