Quote:
|
Originally Posted by christinedevrie
What is the best way to teach my students to write a line tracking program? Are there any tutorials for them to use? Thanks, Chris de Vries
|
As someone who's had a hand in programming a few line followers of the Mindstorms nature, the best advice I can offer here is to act like you're the robot. You've got three readings, one from each sensor in the line follower kit. What do you do if your left sensor is reading what is most likely a white line? (How long do you do that for?) The right sensor? What if none of the sensors are seeing the line?
Be the robot (
no, not like that), and it should be pretty easy to figure out.
Naturally, I'm assuming that you know how to program your robot to move autonomously at all. If not, you'll want a lesson in EasyC or MPLAB first.