re: Precision Positioning
I know a lot of people like encoders on smooth and level floors with wheeled robots. Another sensor to consider is a good compass. I have been successful (In my opinion) at driving straight lines, over smooth or rougher surfaces, and over longer distances, using just a compass and passing minute steering adjustments to the drive system.
Encoders would be more precise over shorter distances and a very controlled environment, but I think there are advantages to a good compass (there are crappy ones) for not getting fooled. Good to have both. I compass will not get fooled by getting bumped, running over things, a loss in traction on one wheel, or some other issue.
Finding exact position (localization) is one of the most challenging and expensive issues in hobby robotics. That’s why 99.9% of hobby robots can’t do it. GPS will not work. The other solutions range from $300+ for one room (like Bill mentioned) to around $1000 for optical systems that use markers on the ceiling. I’m surprised they are tackling this issue in a class.
Everything depends on the environment. If it is a simple room that is empty and doesn’t have other robots or people moving around in it, the simpliest and cheapest way might be to use a compass and a Sharp IR distance sensor. If the robot has an internal map of the room, it can figure out where it is by making a few distance measurements on 2 or more precise directions and doing a little trig with its map to figure out where it is.
One way if this is a small room is to put 1 or more cams on the ceiling and put a unique color marker on the bot. This can obviously start to get expensive. Using OpenCV, you can locate the marker within its view and calculate position. Lighting can screw with this technique bigtime.
If your bot will have a camera (and a compass to know precise heading), if you have some unique color markers at particular points on the ceiling or walls, you can locate 2 of them with OpenCV. With a lot of trig, you could locate the bot, maybe within a few inches. It would take a lot of time and money, but it can be done. I did it with Word markers on the walls and OCR once and posted about it if you want to watch.
Love to see what you end up doing,
Martin