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

Add flywheel bang-bang controller example #4071

Merged
merged 12 commits into from
Aug 5, 2023
Merged

Conversation

m10653
Copy link
Contributor

@m10653 m10653 commented Mar 3, 2022

Added a java example on how to use the BangBangController to control a flywheel (#3829). I plan on adding the corresponding C++ example but wanted to get a sanity check as this is my first Pull request to WPIlib.

Few things I was not sure of. If I should show the example using the tolerance constructor or not and how I should go about getting the setpoint for the example. (Right now I am just pulling a basic joystick axis 0)

Thanks!

@m10653 m10653 requested review from a team as code owners March 3, 2022 22:31
@calcmogul
Copy link
Member

A C++ version of the example will be needed as well.

m10653 and others added 2 commits March 4, 2022 22:00
Co-authored-by: Tyler Veness <calcmogul@gmail.com>
@Starlight220 Starlight220 linked an issue May 1, 2022 that may be closed by this pull request
@calcmogul calcmogul changed the title Added Java example using BangBangController (#3829) Add flywheel bang-bang controller example Aug 1, 2023
@PeterJohnson PeterJohnson merged commit e2c1904 into wpilibsuite:main Aug 5, 2023
21 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.

Add flywheel bang-bang controller example
4 participants