Maze Navigation
Hello,
For our final paper we are·making a boe bot that can navigate trough a self made maze. However, we have run into some problems. Our strategy was to let the boe bot follow the right wall using the infrared sensors.·The problem is the boe bot wont·make a left turn, the turn it is about to make in the picture. We've also included our script.·Anyone got a suggestion how we can improve·our script / project ?· Thanks in advance![smile.gif](http://forums.parallax.com/images/smilies/smile.gif)
Script:
http://home.planet.nl/~door6048/16_december_script.doc
Maze: the robot wont make a 90 degree left turn right now, instead it makes steps
![3113115434_1626f4355d_b.jpg](http://farm4.static.flickr.com/3077/3113115434_1626f4355d_b.jpg)
·
For our final paper we are·making a boe bot that can navigate trough a self made maze. However, we have run into some problems. Our strategy was to let the boe bot follow the right wall using the infrared sensors.·The problem is the boe bot wont·make a left turn, the turn it is about to make in the picture. We've also included our script.·Anyone got a suggestion how we can improve·our script / project ?· Thanks in advance
![smile.gif](http://forums.parallax.com/images/smilies/smile.gif)
Script:
http://home.planet.nl/~door6048/16_december_script.doc
Maze: the robot wont make a 90 degree left turn right now, instead it makes steps
![3113115434_1626f4355d_b.jpg](http://farm4.static.flickr.com/3077/3113115434_1626f4355d_b.jpg)
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Geen teen -1
-Your turn left function is odd. Logically, it should be the opposite of turn right.
-Your decision structure doesn't really do very well if both sensors detect an object. It will turn left, then turn right. You can fix this by making it an if - if else - else type statement.
-You may want to create some sort of wall following code for when it must go forward. Due to real world inaccuracies, I'm guessing that your robot drifts from the wall quite dramatically in some situations.