-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controller state doesn't need to be reset on reconfigure #121
Comments
Should the values also be kept if the D, I or cutoff parameters are changed? |
Yes, the integrator filter contains basically the integrated value of the signal. That won't change if you reconfigure the |
So if I reconfigure the I action to zero. I will keep having the previous value? |
The integrated value stays the same. That value will be multiplied with the |
Great, sorry for asking instead of checking 🙂 |
The controller can be reconfigured while driving. If the controller is also reset, then the D and I action are reset to 0, and the lowpass starts from scratch. This is unwanted behavior.
path_tracking_pid/src/controller.cpp
Line 978 in ff653a6
The text was updated successfully, but these errors were encountered: