Go Down

Topic: my line follower (Read 2 times) previous topic - next topic

0

I had successfully completed my 2nd line follower with arduino
http://www.youtube.com/watch?v=4ER1qnIqEkM
http://www.youtube.com/watch?v=ZWAyEiVTTY8
its not that good though but for beginner i believe its ok...   ;)
but i face a problem... if u see the video closing you will see my robot sways and zigzags too much.... is there someway i can make it go straight and faster.... i used 4 sensors... i have currently reduced my speed becoz if i increase speed it zigzags even more violently. now i am completely overhauling this robot to make a new one any suggestions to avoid this problem in new robot?
thanx in advance  :)

mx270a

It needs some kind of a look ahead so it knows how much it needs to turn to get to the target. The zigzag is caused by overshooting the target. Find a way to make it not overshoot, and you should remove most of the oscillation.

0

yeah wanted to knw how to reduce that overshoot...

Saxdude

Perhaps you can use the PID library to control overshoot and improve line following?

It's in the Playground: http://www.arduino.cc/playground/Code/PIDLibrary

Sorry I can't be of more help, I haven't used it myself yet.

0

5kb is lots of space.... :o

Go Up