Project 7: Find Ball and Touch it but Don't Go Out
Share
Project 7: find ball and touch it but don't go out
We need to check both the line and the ball sensor for this one. The line sensor is more important than the ball sensor here because we can’t ever go out of bounds, but we can miss the ball a few times and still find it.
That means we should check the line sensor first, and then if we don’t see a line, check the ball sensor.