Skip to content

Remove legacy and deprecated PID parameters #1845

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ViktorCVS
Copy link
Contributor

Overview

Remove legacy and deprecated PID parameters from the pid_controller package. Also update the expected command values in the tests to reflect the correct calculations based on the current PID implementation.

What was added/changed in this PR

  • Removed legacy and deprecated PID parameters from the pid_controller package
  • Updated the expected command values in the tests to reflect the correct calculations based on the current PID implementation.

About tests

The packages compile correctly and have passed the pre‑commit and colcon tests.

About change in tests

Three test files were modified. In addition to the updates required by the removal of the legacy anti-windup strategy, some tests now include integral action with forward calculation.

Related PR's

Final notes

I'm very open to any recommendations to improve this code.

Remove legacy and deprecated PID parameters from the pid_controller
package. Also update the expected command values in the tests to reflect
the correct calculations based on the current PID implementation.
@bmagyar
Copy link
Member

bmagyar commented Aug 3, 2025

Did the tests pass for you locally? There seems to be numerical inconsistencies now

@christophfroehlich
Copy link
Contributor

these come from the change of backward to forward integration of the integral action, we are discussing this in the upstream pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants