Reduce overshoot in TemperatureControl.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Fri, 19 Dec 2014 19:56:58 +0000 (21:56 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Fri, 19 Dec 2014 20:26:37 +0000 (22:26 +0200)
commit0d84905d3ab6832dcfa2a120d2cf93ee20e694c3
tree98572cf3bee44c9369b488222949fb0192619f3c
parent1e8b9fc98fbee5fada87def94e3ce518824d6989
Reduce overshoot in TemperatureControl.

Implemented suggestion by ElMonkey. Do not update I term when the output
is saturated (0 or 255). This reduces the overshoot to about half.
src/modules/tools/temperaturecontrol/TemperatureControl.cpp