Go to Post One last thing, if a mechanical part fails on you, sometimes you can get a little bit of noise back into it by yelling at it, kicking it, or pounding on it with your fist. This might put enough back into it so it will work for a few more minutes. - KenWittlief [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2010, 21:12
cosato22 cosato22 is offline
Registered User
FRC #2090
 
Join Date: Jan 2010
Location: Honolulu
Posts: 4
cosato22 is an unknown quantity at this point
Sonar Sensors legal

If someone has already posted this, please direct me to the discussion.


My team does not want to use dead-reckoning during autonomous, and we're considering using sonar to find balls. We have two "VEX Robotics Ultrasonic Range Finder Kits." It is from VEX (http://www.studica.com/products/shop...ceid=27 1877).

It is an ultrasonic range module.

Do you think this is legal?

thank you,

Cosato22
  #2   Spotlight this post!  
Unread 15-02-2010, 21:14
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,825
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: Sonar Sensors legal

I don't see anything in the rules against using them.

The rules in question would be the custom circuit/sensor rules.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

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

  #3   Spotlight this post!  
Unread 15-02-2010, 21:50
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Sonar Sensors legal

Cosato,
As long as the sensors are COTS items and not something you have on hand but is no longer available you may use them. Please be aware that the field is a loud place and the player stations have diamond plate on the front. The environment will differ from your shop or practice field.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #4   Spotlight this post!  
Unread 15-02-2010, 21:58
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Sonar Sensors legal

If your goal is to look for a ball, you already know where it is. You place it on a dot that is at a known place on the field, so as long as you put the robot in the right place you're OK. You can use a broken-beam sensor to tell you when you have it. All you really need to do is use your encoders to drive for x inches, then creep forward the last ~3 while checking the broken-beam sensor. Thus, you don't really need ultrasonic.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #5   Spotlight this post!  
Unread 15-02-2010, 22:23
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,394
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: Sonar Sensors legal

I'm really familiar with the ultrasonics and I'd like to suggest you try IR sensors instead.

I can recommend these:

Robodyssey.com IR sensors page They sell two different Sharp sensors that come in two different ranges. At the bottom of the page they have a nice mounting bracket that I've used with great success. Cables, sensor pair, mounting for under $50

The ultrasonics are sensitive to the materials around them, sounds don't bounce exactly like you think, carpet sucks them up and non-flat surfaces (like a ball) don't reflect the way you want. IR with the much shorter wavelenght has better bounce.

The Sharp IRs are my "go to" sensors for finding things 5" to 5' away.
__________________
Foster - VEX Delaware - 17 teams -- Chief Roboteer STEMRobotics.org
2010 - Mentor of the Year - VEX Clean Sweep World Championship
2006-2016, a decade of doing VEX, time really flies while having fun
Downingtown Area Robotics Web site and VEXMen Team Site come see what we can do for you.
  #6   Spotlight this post!  
Unread 16-02-2010, 01:31
cosato22 cosato22 is offline
Registered User
FRC #2090
 
Join Date: Jan 2010
Location: Honolulu
Posts: 4
cosato22 is an unknown quantity at this point
Re: Sonar Sensors legal

Thanks for all the responses!

Al Skierkiewicz, what is a COTS item?

Foster, do the sensors work with Labview code? About how long does it take for them to ship? I live in Hawaii.

Foster, it sounds as though one can use two infrared sensors without interference. Is that true?


thank you,
Colby
  #7   Spotlight this post!  
Unread 16-02-2010, 02:54
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,825
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: Sonar Sensors legal

COTS: Commercial Off-The-Shelf.

Full and complete Manual definition (Section 8.2):
Quote:
COTS – A “Commercial, Off-The-Shelf” COMPONENT or MECHANISM, in its unaltered, unmodified state. A COTS item must be a standard (i.e. not custom order) part commonly available from the VENDOR, available from a non-team source, and available to all teams for purchase.
• Example 1: a team orders two robot grippers from RoboHands Corp. and receives both items. They put one in their storeroom and plan to use it later. Into the other, they drill “lightening holes” to reduce weight. The first gripper is still classified as a COTS item, but the second gripper is now a “custom part” as it has been modified.
• Example 2: a team obtains openly available blueprints of a drive component commonly available from Wheels-R-Us Inc. and has local machine shop “We-Make-It, Inc.” manufacture a copy of the part for them. The produced part is NOT a COTS item, because it is not commonly carried as part of the standard stock of We-Make-It, Inc.
• Example 3: a team obtains openly available design drawings from a professional publication during the pre-season, and uses them to fabricate a gearbox for their ROBOT during the build period following kick-off. The design drawings would be considered a COTS item, and may be used as “raw material” to fabricate the gearbox. The finished gearbox itself would be a FABRICATED ITEM, and not a COTS item.
As for using mulitiple IR sensors without interference, it is possible. Back in 2004, there was an IR beacon on each side of the field. My team mounted 4 IR receivers in tubes that were wrapped in aluminum foil, cut the other ends at angles, and mounted the receivers in pairs on servos, with the angles facing away from each other in each pair. I don't know of any problems other than weight; they and their mounts didn't make it onto the final robot. (It was a pound or two all told; we had not that much available.)

I wouldn't be surprised if a sender/receiver IR unit could be configured in the same way, if needed.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

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

  #8   Spotlight this post!  
Unread 16-02-2010, 08:44
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,394
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: Sonar Sensors legal

I responded to Colby in a PM on how to get overnight shipping.

As far as many IR sensors go, it is possible to put a large number of sensors on the robot. You are limited by two things:

1) Number of analog ports available. These are very simple voltage devices (the closer the object is, the more light is reflected, the more light they see the higher the voltage) so it's not a load on the system.

2) Reflections from other IR sources. The beam from the IR LED that is illuminating the target is fairly narrow. But due to bounce patterns that light may be seen by another sensor. You can use this to your advantage by using the sin/cos formulas to triangulate the position. You can also narrow the focus by putting the sensor in a tube. (EricH's example)

It takes some experimenting, but it's pretty fast to make changes and figure it out. And since the hold back allowance has gone up 20 lbs it shouldn't be a problem keeping a few of the 1oz sensors to play with.

Good luck!
__________________
Foster - VEX Delaware - 17 teams -- Chief Roboteer STEMRobotics.org
2010 - Mentor of the Year - VEX Clean Sweep World Championship
2006-2016, a decade of doing VEX, time really flies while having fun
Downingtown Area Robotics Web site and VEXMen Team Site come see what we can do for you.
  #9   Spotlight this post!  
Unread 18-02-2010, 03:00
cosato22 cosato22 is offline
Registered User
FRC #2090
 
Join Date: Jan 2010
Location: Honolulu
Posts: 4
cosato22 is an unknown quantity at this point
Re: Sonar Sensors legal

Thanks for all the info.

I'm still wondering about code. Is there a VI I could find somewhere to program the infra-red? I've been looking around, and I found one for labview 9.0, but we only have labview 8.6.1 in this competition.

Should I write it myself? How do I do that?


thanks,
Colby
  #10   Spotlight this post!  
Unread 18-02-2010, 05:49
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,394
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: Sonar Sensors legal

Treat it as an analog device. The value that the sensor puts out is higher the closer the target is. You'll need to do some minor testing: Put the sensor on the robot. Put the ball 5" away. Take a reading. Move the ball 6" away, take a reading. Move the ball, read, repeat.

From the data points collected you should be able to create a formula that will convert the value into distance. (like .1 volt ~ 1"). The formula will depend on the IR sensor that you use. If you buy the ones from the Robodyssey.com IR sensors page they come with a little BasicX program that shows the distance formula.

Good luck!
__________________
Foster - VEX Delaware - 17 teams -- Chief Roboteer STEMRobotics.org
2010 - Mentor of the Year - VEX Clean Sweep World Championship
2006-2016, a decade of doing VEX, time really flies while having fun
Downingtown Area Robotics Web site and VEXMen Team Site come see what we can do for you.
  #11   Spotlight this post!  
Unread 19-02-2010, 02:18
cosato22 cosato22 is offline
Registered User
FRC #2090
 
Join Date: Jan 2010
Location: Honolulu
Posts: 4
cosato22 is an unknown quantity at this point
Re: Sonar Sensors legal

so the basicx program shows up in Labview as a Vi? With open and close Vis?
  #12   Spotlight this post!  
Unread 19-02-2010, 08:19
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,394
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: Sonar Sensors legal

Sorry to confuse you.

In the packet they give you a sample of code using Basic on how you would use the sensor. You can see how they read the value from the Analog to Digital Converter (like our cRio analog card) and convert it to distance.

The formula for the Sharp 2Y0AD21 sensor is:
DistanceToObject = (3027.4 / IRVALUE) ** 1.2134

In my prior message where I said to take a number of samples at different distances and create the formula what I was saying is at the end you'll have a formula like above to calculate the distance.

The sensor is easy to use, plug it into an analog port on your cRio. You'll need to make it work, so it's not 100% plug-and-go, but in under 15 minutes you should be able to figure it out.

Chapter 12 of the FRC Labview Manual has the VI information. You can use GetVoltage.vi, but you might be happier with the GetAverageVoltage.vi. (Dont forget Open.vi to open the channel!)

Good luck!
__________________
Foster - VEX Delaware - 17 teams -- Chief Roboteer STEMRobotics.org
2010 - Mentor of the Year - VEX Clean Sweep World Championship
2006-2016, a decade of doing VEX, time really flies while having fun
Downingtown Area Robotics Web site and VEXMen Team Site come see what we can do for you.
Closed Thread


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
Ultrasonics / Sonar nekng C/C++ 9 17-02-2009 14:03
sonar is being lame Sparky_68 Programming 5 13-02-2009 00:55
How to program sonar FearlessLeader C/C++ 1 11-02-2009 22:39
SONAR sensors for collision avoidance windell747 Programming 4 21-01-2008 18:57
VEX Sonar question Joohoo Programming 2 06-05-2006 01:18


All times are GMT -5. The time now is 04:14.

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