Skip to content
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

[wpimath] Add getAccumulatedError() to PIDController #6813

Merged
merged 4 commits into from
Jul 21, 2024

Conversation

Braykoff
Copy link
Contributor

@Braykoff Braykoff commented Jul 9, 2024

Adds a method getAccumulatedError() (GetAccumulatedError() in cpp) to get the accumulated value used for the integral gain of the PID controllers. This can be useful in debugging to determine how high the integral accumulates over time.

This has Java and CPP implementations for PIDController and ProfiledPIDController.

@Braykoff Braykoff requested a review from a team as a code owner July 9, 2024 00:04
@Braykoff Braykoff requested a review from spacey-sooty July 10, 2024 16:08
@PeterJohnson PeterJohnson merged commit 45f3e3a into wpilibsuite:main Jul 21, 2024
33 checks passed
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.

5 participants