View Single Post
  #15   Spotlight this post!  
Unread 06-01-2003, 18:24
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
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