Closed Rayman closed 2 years ago
How the lowpass filter was derived: https://github.com/nobleo/path_tracking_pid/blob/fix/lowpass/doc/second_order_lowpass_tustin.ipynb
PidDebug output with lowpass crossover frequency at 20, 4 and 1 Hz.
The amount of comments I made may suggest otherwise, but I really like this change. You added a nice abstraction, cleaned up Controller and added unit tests.
Controller
Nice work!
How the lowpass filter was derived: https://github.com/nobleo/path_tracking_pid/blob/fix/lowpass/doc/second_order_lowpass_tustin.ipynb
PidDebug output with lowpass crossover frequency at 20, 4 and 1 Hz.
![lowpass_1hz](https://user-images.githubusercontent.com/91969/156391868-63d06473-c866-43b6-9a5c-ffbf9980cfbd.png)