m-lundberg / simple-pid

A simple and easy to use PID controller in Python
MIT License
767 stars 209 forks source link

Derivativ term uses d_error instead of d_input #40

Closed kmodexc closed 3 years ago

kmodexc commented 3 years ago

closes #39

m-lundberg commented 3 years ago

Thanks for helping to make this library better, though the D-term is intentionally calculated on the input rather than the error. See #39.