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

TimBot - Fire Control #6

Open
dlaufen opened this issue Sep 26, 2024 · 0 comments
Open

TimBot - Fire Control #6

dlaufen opened this issue Sep 26, 2024 · 0 comments
Assignees

Comments

@dlaufen
Copy link
Contributor

dlaufen commented Sep 26, 2024

This is an easy one.
The frisbee is delivered via a solenoid to the flywheels. A simple Shoot() api needs to be setup around the solenoid.

It's likely a DoubleSolenoid is used, check this with tubing and PCM port ID wiring.

This doesn't need to be a sub-system on it's own, but please start that way for testing. Later we will likely just merge the code into a larger Shooter class.

See:
https://docs.wpilib.org/en/stable/docs/software/hardware-apis/pneumatics/solenoids.html

public API:
void shoot() - fires the solenoid
void reset() - retracts, ready for next shot

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

No branches or pull requests

4 participants