wow, that's good! hey i'm working on a project w/ the 3pi and part of it requires line following with gaps and avoiding obstacles. Would you mind sharing how you did this with your 3pi, as far as programming and hardware connection???
@pryns I used the basic PID C code from Pololu which works great for linefollowing. I figured out how to program in a timer and started watching the time. When the clock hit 2.2 seconds I called my routine which steered right for about 1/2 second then left for about 1/2 second. I then returned back to main and it followed the line again.
wow, that's good! hey i'm working on a project w/ the 3pi and part of it requires line following with gaps and avoiding obstacles. Would you mind sharing how you did this with your 3pi, as far as programming and hardware connection???
pryns 1 year ago
@pryns I used the basic PID C code from Pololu which works great for linefollowing. I figured out how to program in a timer and started watching the time. When the clock hit 2.2 seconds I called my routine which steered right for about 1/2 second then left for about 1/2 second. I then returned back to main and it followed the line again.
leenstl 10 months ago