Derivative control

Applies to: general, robotics

Derivative control reacts to how fast error is changing, adding damping but amplifying noise if unfiltered.

rate = (error - prev_error) / dt;

See also: pid-controller