I am currently making a line following robot using the Makeblock ultimate 2.0 kit. i am having a lot of trouble writing a code to make the robot follow lines and take turns, any help would be much appreciated. Thank you.
Mblock Ultimate 2.0 line following
Andreas
#2
Please post the code you tried so far.
You might also try to run the code in Arduino mode to check if there is a performance problem.
penguinman
#4
Also i think i have been running it through arduino mode when the sensor goes on black it reverses and goes forward to try and correct itself, but it doesnt work very well. Thank you in advice
Andreas
#5
Hm your coding seems a bit complex. I am too tired today to analyze what is the trouble here.
My coding here works fine for the mBot … you might need to tune it for your board, but you get the idea … it does not need to be more complex than that.
penguinman
#9
I see, we have to make it work without a remote, it has to sense the line and then start going forward