Labyrinth maze control

Status
Not open for further replies.

yamanoorsai

Newbie level 5
Joined
Mar 12, 2007
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,374
Hello All,

I am building an automatic maze solver using the following as an inspiration:

YouTube - ‪Automatic control of maze game‬‏
I have built the maze control with steppers and I am using the following stepper motor control board:

EiBotBoard - SparkFun Electronics

I am using a vision system to control the maze solver. I also found a link where this problem has been solved:

Object Tracking with Templates | Automated Labyrinth

They have used template matching to identify the ball. The team mentioned in the above link also uploaded a video where it looks like they have canny edge detection for finding the path and executing a PID algorithm.

YouTube - ‪OpenCV labyrinth‬‏

Now, I have also established template matching and edge detection in opencv. I have also established controls of my stepper via USB serial port. How do I implement the navigation algorithm? How do I implement the PID control? I know the concept of PID control theoretically but I just don't know to implement it using the information from the camera. I am just clueless about making the ball follow the line.

Please find an attached image of the result I have obtained so far.

Sai
 

Attachments

  • Screenshot-2.png
    873.4 KB · Views: 57

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…