View Single Post
  #13   Spotlight this post!  
Unread 02-01-2008, 20:16
rhoads2234's Avatar
rhoads2234 rhoads2234 is offline
Registered User
AKA: Erin
FRC #2234
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: PA
Posts: 80
rhoads2234 will become famous soon enough
Re: Help Maze solving

Quote:
Originally Posted by charlie1218 View Post
I like this. I like it alot, one question though, how would we do the turn into wall if there is a hole in the wall (an "entrance" into a room), keep truning until side is pressed? and we would want to keep the robot with the same side on the wall at all times.
that is excatly what the code tells it to do it would follow the wall around teh egde and into the room - I have used similar code for line following with a single sensor

If you don't want to keep the robot on the same side the entire way around I don't recommend using this approach. If all the walls touch the outside this will get your robot all the way around the maze
__________________
ALWAYS a mechanical problem!
Reply With Quote