I know about line follower mainly the grid solving robots i know the basics actually. Actually they have to trace the path of the grid in an arena and then reach back to starting point in a shortest distance. Here my doubt is regarding the line follower in this link I have attached.Advanced Line Follower Robot for maze solving
My doubt is what are the procedures to do it? They have mapped the path and used Dijkstra algorithm to solve the path. But how do they transfer the code(i.e) where it has to turn which direction it has to turn. how are they generating the what function should be passed? Please explain i need the procedure alone. am going to try it with python.
1 Answer 1
Any language will do, as long as it is supported by your HW platform. If you want to use python, you need a board that can run python. That could be an Arduino Yun, for example. Or an Intel Quark. Or an Intel Edison with an Arduino shield. But these will be expensive.
You could, alternatively, use C/C++ and an Ardino UNO (or micro, nano, mini pro), which is far cheaper.
Googling for something as simple as "Arduino line following kit" gives as first answer this, which seems to be exactly what you are looking for.
-
Please read my question and see the link I have attached.Karthik– Karthik2015年10月18日 07:20:16 +00:00Commented Oct 18, 2015 at 7:20
-
Why do you think I didn't do that? Try instead with a constructive comment, explaining what of my answer is not matching your question.Igor Stoppa– Igor Stoppa2015年10月18日 07:21:22 +00:00Commented Oct 18, 2015 at 7:21
-
Did you see the link? They have just mapped the arena and did it. I want to know the procedures exactly how they did it. I didn't ask whether it will work with python. Arduino works with python-pySerialKarthik– Karthik2015年10月18日 07:24:53 +00:00Commented Oct 18, 2015 at 7:24
-
1I did watch the link, but you need to ask them exactly how they did it. Other than that, pySerial is not sufficient. It will let you run python code to talk to the arduino, but you need something on the Arduino to listen to it and take the corresponding actions. And send to the PC where your python program is running all the information coming from the sensors.Igor Stoppa– Igor Stoppa2015年10月18日 07:29:05 +00:00Commented Oct 18, 2015 at 7:29
-
Oh, wait, are you thinking to continuously poll the sensor over the connection? That might work, but it's kinda lame.Igor Stoppa– Igor Stoppa2015年10月18日 07:31:57 +00:00Commented Oct 18, 2015 at 7:31
Explore related questions
See similar questions with these tags.