I am making a maze solving robot using a camera but I am stuck.
4 views (last 30 days)
Show older comments
I have built my own robot. I am using a wired camera and an Arduino as the microcontroller. The aim of the project is to solve a red colored line maze by using a camera and image processing techniques in MATLAB.
The camera is mounted on the robot and looks down on the maze. I have been successful in detecting the red line and finding and displaying the centroid of the red line.
However, I am unable to proceed because I do not know what technique to use to detect left and right turns and how can I use centroid information to send commands to Arduino.
Any help would be greatly appreciated.
Shahroz Kaleem.
0 Comments
Answers (1)
krishna reddy dharmavarapu
on 11 Jul 2017
first u should move left,if there is no left then straight,if there is no straight finally right. by using this technique u can first teach the robot and then test again
0 Comments
See Also
Categories
Find more on Labyrinth problems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!