Team3256 / FRC_Programming_2022

Team 3256's 2022 FRC Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically outtake wrong color balls

adityapawar1 opened this issue · comments

What sensor do we have to find out if we have a wrong color ball inside the bot?
IR?

IR to see if a ball is there and color sensor to check the color of the ball in the feeder

There should already be code in transfer to detect ball color while it's intaking

Just needs testing and a way to outtake it

Maybe run the intake (outaking) for a second more to shoot the ball out once we detect the ball is no longer in the feeder

ok

Sid said that it might be a good idea to soft shoot if the incorrect ball was first but outtake if the incorrect ball was second