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

Added IR Break Beam and autoIntake with Ada, and also synced stuff in Swerve #11

Closed
wants to merge 5 commits into from

Conversation

NandaGuntupalli
Copy link
Contributor

I added an IR Break Beam such that if the IR beam is interrupted, it will send to smartDashboard that the intake took a note. In addition, I also created a named command such that when the intake intook a note, it will stop intaking. This will only be used during autos. Ada helped me with both of these, so give her some credit.

@NandaGuntupalli
Copy link
Contributor Author

/format

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These constants are outdated (names have been changed), please update your branch so it doesn't conflict with the latest code

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While the intake note method will do what it is supposed to do, it won't actually end the command. and there is no timeout so it could theoretically run forever in auto

Copy link
Member

@Gold872 Gold872 Jan 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the motor ID being used for the beam break DIO port number?

Copy link
Member

@Gold872 Gold872 Jan 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is outdated by a few commits, and will conflict with the latest changes. Re-syncing your repository will fix it

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.

2 participants