Go to Post So perhaps those that are so eager to complain might realize that if they spent a little less time complaining and a little more time analyzing the problem and developing solutions, then they might have a little less to complain about. - dlavery [more]
Home
Go Back   Chief Delphi > Other > VEX
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-01-2008, 18:02
charlie1218 charlie1218 is offline
Registered User
FRC #1218
Team Role: Coach
 
Join Date: Jan 2006
Rookie Year: 2005
Location: PHILADELPHIA
Posts: 55
charlie1218 will become famous soon enoughcharlie1218 will become famous soon enough
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 02-01-2008, 18:09
Boydean's Avatar
Boydean Boydean is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Apr 2007
Rookie Year: 2003
Location: SC
Posts: 319
Boydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant future
Send a message via AIM to Boydean
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.
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 02-01-2008, 18:35
Billfred's Avatar
Billfred Billfred is online now
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,550
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
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.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-01-2008, 19:59
charlie1218 charlie1218 is offline
Registered User
FRC #1218
Team Role: Coach
 
Join Date: Jan 2006
Rookie Year: 2005
Location: PHILADELPHIA
Posts: 55
charlie1218 will become famous soon enoughcharlie1218 will become famous soon enough
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.
Reply With Quote
  #5   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
  #6   Spotlight this post!  
Unread 02-01-2008, 20:03
charlie1218 charlie1218 is offline
Registered User
FRC #1218
Team Role: Coach
 
Join Date: Jan 2006
Rookie Year: 2005
Location: PHILADELPHIA
Posts: 55
charlie1218 will become famous soon enoughcharlie1218 will become famous soon enough
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.
Reply With Quote
  #7   Spotlight this post!  
Unread 02-01-2008, 20:05
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
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.


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
__________________
ALWAYS a mechanical problem!
Reply With Quote
  #8   Spotlight this post!  
Unread 02-01-2008, 20:06
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,814
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
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.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk


Last edited by EricH : 02-01-2008 at 20:09.
Reply With Quote
  #9   Spotlight this post!  
Unread 02-01-2008, 20:07
charlie1218 charlie1218 is offline
Registered User
FRC #1218
Team Role: Coach
 
Join Date: Jan 2006
Rookie Year: 2005
Location: PHILADELPHIA
Posts: 55
charlie1218 will become famous soon enoughcharlie1218 will become famous soon enough
Re: Help Maze solving

Quote:
Originally Posted by rhoads2234 View Post
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..
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.
Reply With Quote
  #10   Spotlight this post!  
Unread 02-01-2008, 20:08
charlie1218 charlie1218 is offline
Registered User
FRC #1218
Team Role: Coach
 
Join Date: Jan 2006
Rookie Year: 2005
Location: PHILADELPHIA
Posts: 55
charlie1218 will become famous soon enoughcharlie1218 will become famous soon enough
Re: Help Maze solving

Quote:
Originally Posted by rhoads2234 View Post
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
Exactly. I will be entering in that later... as well as their mini darpa challenge, which i am working on now (search under "trig")
Reply With Quote
  #11   Spotlight this post!  
Unread 02-01-2008, 20:09
charlie1218 charlie1218 is offline
Registered User
FRC #1218
Team Role: Coach
 
Join Date: Jan 2006
Rookie Year: 2005
Location: PHILADELPHIA
Posts: 55
charlie1218 will become famous soon enoughcharlie1218 will become famous soon enough
Re: Help Maze solving

Quote:
Originally Posted by rhoads2234 View Post
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
You cannot see over the walls, part of the rules for our competition, so you will need to be in the same space as the candle
Reply With Quote
  #12   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
  #13   Spotlight this post!  
Unread 02-01-2008, 20:17
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
You cannot see over the walls, part of the rules for our competition, so you will need to be in the same space as the candle
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
__________________
ALWAYS a mechanical problem!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 21:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi