Go to Post FIRST is our lever and the mentors are the fulcrum. - Daniel Brim [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #16   Spotlight this post!  
Unread 01-15-2013, 10:48 AM
dvanvoorst dvanvoorst is offline
Registered User
FRC #2771 (Code Red)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Grand Rapids, MI
Posts: 61
dvanvoorst is an unknown quantity at this point
Re: Full Court Target Detection

I didn't order the equipment, so I don't have the specifics handy. But, in general, it's just a regular infrared light designed to be used with a security camera. I think it cost around $30 or so. It's not a ring, so it is mounted next to the camera. Then we bought an infrared filter that normally would connect to a camera lens. Currently that's just taped over the Axis camera lens. So, nothing too special.
  #17   Spotlight this post!  
Unread 01-15-2013, 11:05 AM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Full Court Target Detection

Thanks for the help. I think we will give this a try.
  #18   Spotlight this post!  
Unread 01-15-2013, 11:35 AM
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: Full Court Target Detection

We found last year that color tracking worked wonderfully when:

1. we overexposed the image and then froze the setting

2. also froze the white balance

The first one helps to keep the camera from going into saturation because of the brightness of the reflected light. This would cause the camera to perceive a color shift.

The second is absolutely essential when it comes to changing lighting conditions. By keeping the white balance fixed, we didn't once have to calibrate the camera at an event or even at practice. We played indoors in fluorescent lights, near sodium lights and even outdoors in daylight in a covered setting and the image processing picked out the targets every time.

We ended up not using tracking in the end only because our driver was amazing (when using our patented photon cannon) and we didn't have a turret system. Creating a controller to center the whole robot proved too daunting a task. A linear system would have been much easier to control.

- Bryce

P.S. That being said, last year we used the "Tools -> Create C Code..." option in Vision Assistant after following the Vision White Paper guidelines. We then stripped out all the extra generic code that the generator created. We ended up with nice streamlined c functions that work just like the vision assistant but didn't have all the gross overhead that the code generator created.
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
  #19   Spotlight this post!  
Unread 01-15-2013, 11:43 AM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Full Court Target Detection

We will have to try the white balance. Is there any rule against that lights you can put on your robot
  #20   Spotlight this post!  
Unread 01-15-2013, 11:54 AM
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Full Court Target Detection

Quote:
Originally Posted by Bpk9p4 View Post
We will have to try the white balance. Is there any rule against that lights you can put on your robot
Only that they can't be a laser above class 1, or so bright as to be blinding to the other team and impede their gameplay.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
  #21   Spotlight this post!  
Unread 01-15-2013, 11:59 AM
cjlane1138 cjlane1138 is offline
Team 1138
FRC #1138 (Eagle Engineering)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Los Angeles
Posts: 88
cjlane1138 is an unknown quantity at this point
Re: Full Court Target Detection

In response to good LED lighting, FIRST recommends using this LED ring that goes around the camera lens. I prefer using a bright color like green due to the fact that it will give off a more clear reflection.
LED Angel Eye Headlight Accent Lights
__________________
Eagle Engineering 1138
  #22   Spotlight this post!  
Unread 01-16-2013, 09:51 PM
cafrava2016 cafrava2016 is offline
Registered User
FRC #4063
 
Join Date: Sep 2012
Location: Del Rio, Texas
Posts: 2
cafrava2016 is an unknown quantity at this point
Re: Full Court Target Detection

Hello we are having some difficulties as to how we wire the led ring for the camera into the cRio, and how to mount it on the camera itself, any help would be greatly appreciated.
  #23   Spotlight this post!  
Unread 01-16-2013, 10:06 PM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Full Court Target Detection

Quote:
Originally Posted by cafrava2016 View Post
Hello we are having some difficulties as to how we wire the led ring for the camera into the cRio,
Why do you want to wire it to the cRIO?

You can power it directly from the battery (via a 20A circuit on the Power Distribution Board) if you want it to be on all the time. You can wire it to a Spike relay if you want to be able to turn it on and off under program control.

Quote:
and how to mount it on the camera itself, any help would be greatly appreciated.
We used double-sided foam tape.
  #24   Spotlight this post!  
Unread 01-16-2013, 10:15 PM
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Full Court Target Detection

Quote:
Originally Posted by dvanvoorst View Post
I have to admit, the results have been very good so far. I've attached an image shot from probably 40' feet away in a flourescent-lit room.
Quote:
Originally Posted by Bpk9p4 View Post
That is very impressive. If you do not mind me asking. what camera and lights are you using? Can you use the same calibrations for the full range?
And to add onto that, what are your current BinaryImage filters and resolutions?
  #25   Spotlight this post!  
Unread 01-17-2013, 06:19 AM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Full Court Target Detection

We are trying IR but are having some problems. How did you set your lights up
  #26   Spotlight this post!  
Unread 01-17-2013, 08:29 AM
protoserge's Avatar
protoserge protoserge is offline
CAD, machining, circuits, fun!
AKA: Some call me... Tim?
FRC #0365 (MOE) & former 836 Mentor)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Wilmington, DE
Posts: 743
protoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond repute
Re: Full Court Target Detection

Look into using the Kinect for next year if you haven't already been exploring it. The sensor capability is pretty impressive. We have been testing the Kinect with a nano-ITX form factor computer.

In outdoor full-sun tests, we were able to get approximately 60' recognition using a flashlight beamed on the reflective tape. I do not recollect if this was using the IR or electro-optical sensor. We were using a circular polarizer to cut down reflected light as well.

Our mentor lead is out this week, but I can get more information when he returns.

Last year, we used a purple (red + blue) LED light source to make a custom color for our 3D vision system. In LogoMotion, we learned that green was not a good color choice due to the field scoring projection screen had green squares behind the pegs/goal height. This green would actually cause the single-camera vision system to go off target.

Additionally, one of the major hurdles with vision processing is available field bandwidth. You may need to operate at very low framerates and resolution, so keep that in mind when designing your system. This is one of the issues that has lead us to pursue on-robot vision targeting using the Kinect.

Last edited by protoserge : 01-17-2013 at 08:44 AM.
  #27   Spotlight this post!  
Unread 01-17-2013, 08:57 AM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Full Court Target Detection

Thanks for your help. We have a system that seems to work well at short distance but are having lots of trouble getting long distance. The only way we can get good reflectivity at long distance is with a bright LED flash light. Only problem with this is we are not sure having such a bright light is legal. Does anyone know if having a very bright flashlight is legal?
  #28   Spotlight this post!  
Unread 01-17-2013, 09:19 AM
protoserge's Avatar
protoserge protoserge is offline
CAD, machining, circuits, fun!
AKA: Some call me... Tim?
FRC #0365 (MOE) & former 836 Mentor)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Wilmington, DE
Posts: 743
protoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond repute
Re: Full Court Target Detection

Don't disrupt gameplay or make an unsafe condition.


Quote:
R08 ROBOT parts shall not be made from hazardous materials, be unsafe, cause an unsafe condition, or interfere with the operation of other ROBOTS.


Examples of items that will violate R08 include (but are not limited to):

A. Shields, curtains, or any other devices or materials designed or used to obstruct or limit the vision of any drivers and/or coaches and/or interfere with their ability to safely control their ROBOT

B. Speakers, sirens, air horns, or other audio devices that generate sound at a level sufficient to be a distraction

C. Any devices or decorations specifically intended to jam or interfere with the remote sensing capabilities of another ROBOT, including vision systems, acoustic range finders, sonars, infrared proximity detectors, etc. (e.g. including imagery on your ROBOT that, to a reasonably astute observer, mimics the VISION TARGET)

D. Exposed lasers other than Class I.
I haven't had any experience testing color photography filters on the optics of the Axis to limit the wavelength of light they can pick up. I'm also not sure if the Axis has a built-in IR filter like most CCD/CMOS cameras.

I would suggest you look at making a custom LED emitter as well.
  #29   Spotlight this post!  
Unread 01-17-2013, 10:11 AM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Full Court Target Detection

we have made are own LED emitter only problem is they are very bright and not sure if they are legal
  #30   Spotlight this post!  
Unread 01-17-2013, 10:29 AM
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,946
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: Full Court Target Detection

Quote:
Originally Posted by Bpk9p4 View Post
we have made are own LED emitter only problem is they are very bright and not sure if they are legal
Look at it from a distance of a few feet, if it bothers your vision, you are probably in violation of R08. A lot of light is not required, just enough to overcome a set threshold.
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "
- Tennyson, Ulysses
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


All times are GMT -5. The time now is 06:09 PM.

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