|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Help Maze solving
Hi,
For my engineering class we need to configure a vex platform to solve a maze made of 2inx3in wood blocks. The sensors we are given are 2 limit switches 4 bumpers 1 ultrasonic. There will be "rooms" and we will essentially need to travel no greater than 6 inches away from the wall. any ideas? |
|
#2
|
||||
|
||||
|
Re: Help Maze solving
A kid on our programming team did it once with Lego NXT kit, and it used three ultrasonic. I can't image it being that harder with Vex taking accepting the fact that its easer to use variables in the Vex programming system....allot easer.
|
|
#3
|
|||||
|
|||||
|
Re: Help Maze solving
Just to clarify the task, is your main issue navigating the maze or staying within the reach of the wall? Maze navigation is particularly simple, particularly if the entry and exit are on the outer perimeter of the maze, though the software issue of wall-handling may be trickier.
|
|
#4
|
|||
|
|||
|
Re: Help Maze solving
Here is the problem: A maze with a set entrance, no exit. A candle will be placed within 6 inches of the wall, we must follow the maze so we can find the candle with the light sensors.
|
|
#5
|
|||
|
|||
|
Re: Help Maze solving
Let me clarify. at this time we are running this a project where we need only to continuosly follow the walls, as if the flame were not there. only 1 ultrasonic, standard kit of metal and other parts/gears/motors.
|
|
#6
|
|||||
|
|||||
|
Re: Help Maze solving
One ultrasonic, one touch. Ultrasonic aims to the side, bump to the front. Use the ultrasonic to stay within 6" of the wall. If you hit something, have the robot back up slightly, turn away from the ultrasonic sensor, and find the new wall. If the ultrasonic reads more than 6", turn into that side and move forward. Repeat as necessary to find a hole.
Last edited by EricH : 02-01-2008 at 20:09. |
|
#7
|
||||
|
||||
|
Re: Help Maze solving
Quote:
This sounds alot like the PennState Abbington Fire Fighting competitions.. if it is then one way to solve the problem is to look for the white mat the candle is placed on(by testing the amount of time on the white) and then scan for the candle you would be much more accurate |
|
#8
|
|||
|
|||
|
Re: Help Maze solving
Quote:
|
|
#9
|
|||
|
|||
|
Re: Help Maze solving
Quote:
|
|
#10
|
||||
|
||||
|
Re: Help Maze solving
you can't in PennState's comp either - in their comp the candle has a white mat around it and you must be on the mat when you extinguish the candle
|
|
#11
|
||||
|
||||
|
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.. |
|
#12
|
|||
|
|||
|
Re: Help Maze solving
Quote:
|
|
#13
|
||||
|
||||
|
Re: Help Maze solving
Quote:
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: 1930's Design and Problem Solving Challenge | Tetraman | Extra Discussion | 1 | 29-09-2006 20:25 |
| Math genius rejects attention after solving problems | Andy Baker | Math and Science | 14 | 24-08-2006 01:47 |
| Rubik's Cube Solving Robot | Alexa Stott | Chit-Chat | 6 | 01-07-2006 13:03 |
| Methods of Solving Differential Equations | sanddrag | Math and Science | 7 | 26-01-2006 14:38 |