Skip to content

Conversation

MichaelLesirge
Copy link
Contributor

@MichaelLesirge MichaelLesirge commented Jul 22, 2025

Reset method for Debouncer class

closes #8086

Adds a C++ version of the reset method to the Debouncer class. Java version written by @therekrab.

therekrab and others added 9 commits July 17, 2025 09:46
- Adds reset() option to clear internal state of debouncer
- Java only for now, I don't know optional equivalent in C++
- Is reset() a good name for this?
- Is more explanation needed in the javadoc?
- I just learned that you can run the same command as the action to make
  sure it doesn't fail again. The more you know...
@MichaelLesirge MichaelLesirge requested a review from a team as a code owner July 22, 2025 23:15
@github-actions github-actions bot added the component: wpimath Math library label Jul 22, 2025
@KangarooKoala
Copy link
Contributor

Please let me know if there is a better way to add on to their pull request.

Generally I've seen people open PRs into their branch (which just involves changing the base branch when you create the PR), but this should hopefully be okay.

@MichaelLesirge MichaelLesirge changed the title Add reset() for Debouncer (With C++ version) Add reset() for Debouncer Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add reset for Debouncer
3 participants