|
Yeah
I'm just showing a simple algorithm to do it. Plus, most teams I'm thinking will create a couple of different programs and switch it based on their alliance partner.
if you use two light sensors and have a good distance away from the line, and go straight until a hit, then turn until it hits on the right one. then go straight and perform same algorithm, it's pretty efficient. You'd do 5 turns at max. What would you choose accuracy or speed.
Doing it time based is still 3 turns. Well you could always use the radius of the circle and make a triangle using delta_t to brace time. But I would still use a light sensor to check if your on track every second or so.
__________________
R
|