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

Turn off intake with break beam sensor #33

Closed
dlpond917 opened this issue Jan 30, 2024 · 1 comment · Fixed by #55
Closed

Turn off intake with break beam sensor #33

dlpond917 opened this issue Jan 30, 2024 · 1 comment · Fixed by #55
Assignees

Comments

@dlpond917
Copy link
Collaborator

The break beam will be near the front of the intake, so once the note is captured it almost instantly breaks the beam.
Once the signal from the sensor arrives, we can have a delay before the intake motors stop, so that the note is in a good position.

In order to shoot the note, the shooter should get up to speed first, and when it has reached the desired speed, the intake runs again to feed the note into the shooter.

@dlpond917
Copy link
Collaborator Author

See Slack discussion in #electrical_24 - https://team3476.slack.com/archives/C05GW8FFJ3X/p1707083434032859

You'll need to use the DigitalInput class from WPIlib

@amb2127 amb2127 self-assigned this Feb 5, 2024
@amb2127 amb2127 linked a pull request Feb 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants