Wednesday, July 13, 2011

Following a line

After that, I made a small program in Flowcode to make Proton follow a line. This was quite easy to program, but it took me a while to understand that I needed to turn down the robot's speed to make it follow the line smoothly. At full speed, it would simply rush over the line before any course corrections can be made.
video video

1 comment:

  1. Hi Jonathan,

    great job!

    ARe you useing all 3 line sensors at this time? I believe that it could go faster if you use all 3 sensors. (When only 1 sensor 'sees' black, only a slight difference in speed beteen the wheels shoudl be enough to correct the fault, when 2 sensors see black, a bigger difference in wheel speeds should be used and if all 3 sensors see black, a maximum difference shoudl be applied.) Let me know if this helps

    regards
    bart

    ReplyDelete