View Single Post
  #11   Spotlight this post!  
Unread 02-01-2008, 20:02
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

you can do a simple wall following routine to start - This approach would use maybe 2 touch switches

have one touch (limit is better but bump would work) on the side of your robot and another facing the front
the code would basically say
while not front sensor not pressed
{ if side sensor is pressed turn away from wall
if side sensor is not pressed then turn into wall}
GetOutOfCorner();
With this you could follow one side or the other around..
__________________
ALWAYS a mechanical problem!
Reply With Quote