Go Down

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



What are you using as your robot controller? You might find the PID line following section of the 3pi robot user's guide helpful. To really use PID well, you want to find a way to convert the sensor readings into a single "position" value that tells you where the line is. Ideally, the function you come up with will vary monotonically as the sensor array sweeps over the line. That is to say, as you sweep across the line, you want your position value to always increase as you move in one direction and always decrease as you move in the other. If the position value sometimes increases and sometimes decreases for the same sweep direction, the PID algorithm could result in instability problems.


i am using an old arduino atmega 8 board

Go Up