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

Idea to improve shooting precision #14

Open
An3Dev opened this issue Feb 8, 2022 · 2 comments
Open

Idea to improve shooting precision #14

An3Dev opened this issue Feb 8, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@An3Dev
Copy link
Member

An3Dev commented Feb 8, 2022

Add a mechanism that stops the ball at a specific point along the intake path. Then we could bind a button that will trigger the robot to shoot. It will spin the intake and shooter motors at a specific speed. The ball will be shot the exact same way every time, so this should theoretically make shooting much more precise and consistent.

We will need to add a sensor(ultrasonic sensor, color sensor, or camera) that will tell the code when the ball is in the right spot. When this is true, the code will automatically stop the intake motors.

@An3Dev An3Dev added the enhancement New feature or request label Feb 8, 2022
@flynneva
Copy link
Contributor

flynneva commented Feb 9, 2022

We will need to add a sensor(ultrasonic sensor, color sensor, or camera)

All of the sensors you listed are pretty complex, and the logic / code to use them for a task like this would be way over-engineered I think (object detection, vision motion sensing, etc.). I'd recommend taking a more simple route based on the logic you outlined above....maybe something like a limit switch would be a good choice here? Maybe even add some extra padding / lever to the limit switch arm to make it easier for the ball to trigger it when in the right position.

@An3Dev
Copy link
Member Author

An3Dev commented Feb 9, 2022

Yeah, you're right. I like the limit switch idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants