Problems with maze

Any general or miscellaneous queries that do not fit into the other forum catagories

Moderators: Benj, Mods

Post Reply
kaaskoppen
Posts: 1
Joined: Tue Sep 30, 2008 11:23 am
Contact:

Problems with maze

Post by kaaskoppen »

Hello,

For our project at school, we have to programm the formula flowcode buggy and let the buggy drive into a maze.

We programmed the buggy to follow lines.
We put a long line with tape, through or class room, and the buggy followed that line perfectly.

Then we just build a big maze (check the photo of our maze below this message ) .
But here starts the problem.

The buggy takes the first left hand corner easily.
After that corner follows a straight part.
After that straight part follows a right hand corner, and here will start the problem.

The buggy takes a big corner to the right and he will hit the wall in front of him.
This happens only with right hand corners, because when you pick up the buggy and let him drive further to the next left hand corner, he will take that corner perfectly again, just as the first left hand corner, and the width of the corners is on every place of the maze, the same size, so about 18 centimeters.

So our question is, does somebody recognise this problem, our does somebody know a solution for this problem, please give us a sign with a personal message, or a reaction below.


Our maze:

Image
If the Image doesn't work, please try this link: http://img201.imageshack.us/my.php?image=mazezu5.jpg

P.S. Sorry for our bad english, because we come from the netherlands ;)

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Problems with maze

Post by Benj »

Hello

It sounds like there is a problem in your right wall following routine. Check through this part of the code to find out where the problem is. Using an LCD or the LEDs at the front of the buggy for troubleshooting where it is in the program can be useful. Basically you want the program to follow the left hand wall. If the left hand wall drops away as in a right hand corner then you will need to establish a routine that will get the buggy back into position to begin following the left hand wall again. Hope this helps/

Post Reply