Quote:
Originally Posted by TimTheGreat
But what happens when the robot doesn't have a ball. On the field it might be good to always be intaking, but what about in the pit?
|
Ah, ok, I see.
Yes, the intake is always running when it doesn't have a ball. In the pit we cover the sensor with tape before enabling it to trick it into thinking that it has a ball.
We wanted as many systems to be autonomous as possible, so the driver could focus on more important tasks than manually hitting a button to intake a ball. During a match you always want to pick up a ball if you don't have one, so the code just automates that away.