Quote:
Originally Posted by microbuns
Just out of curiosity - what is considered the "best" way to drive straight ?
|
Any of these (gyroscope, encoders on wheels) or even a magnetic compass is a good first step, and is probably good enough to get you through most 15 second autonomous tasks.
The next step is to make mid-course corrections, based on sensing the environment. This could range from the highly complex (camera-based navigation) to the ridiculously simple (two "curb feelers" or other touch sensors that as limit switches for the drive on either side) and a number of points in between (down-looking sensor looking for the landmark; optical or ultrasonic rangefinders). In this game (unlike most), you could even set down a "trail of bread crumbs" to follow, provided that those bread crumbs are on a tether to your robot.