Integral control

Applies to: general, robotics

Integral control accumulates error over time to remove steady-state offset, but can wind up if saturated.

sum_e += error * dt;

See also: pid-controller