Go to Post "What connection is the most vital to the success of your robot?" The one between the drivers brain and hands, and the one between the coaches brain and mouth. None of the other ones matter if those two don't work. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 16-01-2014, 09:31
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Vision Tracking the Hot Goal LEDs

I personally wouldn't try to see the color specifically but rather the brightness. You could align your robot left or right of the center of the goal, but in a position that the camera can see both the left and right sides of the I. With some pretty simple brightness filters, you should be able to detect if your side or the other side is hotter.

If you are only using this to detect hotness, then I would also align the camera so the target is in the top portion of your view, that way you can filter out the lower section. Given you have a line for alignment you may even want to filter out some of the area in the middle of the goal to avoid noise from the crowd etc.

If you're using rgb, you could use a custom threshold like minimum of rgb, or if your camera sees the yellow you could use a min average threshold of RG.

Then split you screen into three columns and calculate the average brightness of the three. If you're in the hot side two of the three should show up as hot, if you're on the cold side, only one of the three should show up hot.
__________________
"Never let your schooling interfere with your education" -Mark Twain
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2014, 09:41
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Vision Tracking the Hot Goal LEDs

Quote:
Originally Posted by lineskier View Post
I personally wouldn't try to see the color specifically but rather the brightness. You could align your robot left or right of the center of the goal, but in a position that the camera can see both the left and right sides of the I. With some pretty simple brightness filters, you should be able to detect if your side or the other side is hotter.
Be careful with this approach, though. Just make sure you find a way to filter out the field lighting, which will definitely be brighter than your shop and could confuse your system.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2014, 09:43
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,748
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Vision Tracking the Hot Goal LEDs

What are teams using to practice with? Any particular led strips people are putting on practice goals?
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2014, 09:47
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Vision Tracking the Hot Goal LEDs

Quote:
Originally Posted by rsisk View Post
What are teams using to practice with? Any particular led strips people are putting on practice goals?
I found these LEDs that seem to match closely the philips ones on the field.

The philips ones are spaced 3 or 4 inches apart, couldn't figure out exactly which strip they were using.

yellow:
http://www.superbrightleds.com/morei...-mcd/362/1309/

blue:
http://www.superbrightleds.com/morei...-mcd/359/1306/

red:
http://www.superbrightleds.com/morei...-mcd/361/1308/.


I also second rsisk's statement. The light's you use really won't make much a difference, because you will need to have a pretty good filter in place that works in many different lighting environments to minimize calibration necessary on the field (I'm guessing the practice field won't have this lighting).

Also remember, you have a 50/50 chance at hitting the hot goal so it's only worth on average ~2.5 points, so take that into account when you prioritize your programming tasks.
__________________
"Never let your schooling interfere with your education" -Mark Twain

Last edited by mwtidd : 16-01-2014 at 12:27.
Reply With Quote
  #5   Spotlight this post!  
Unread 16-01-2014, 14:41
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,517
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Vision Tracking the Hot Goal LEDs

Tightening up your color constraints too much is a mistake. Ambient lighting definitely will affect your vision.

In addition, don't rely on just seeing one shape.

The most accurate vision systems will be those that combine the two approaches. They will look for the correctly color using fairly wide open constraints, look for shapes with fairly wide open constraints, then check the shapes position and verify their colors.

In other words, your vision system should check that what you see is around the right color, about the right shape, and has approximately the correct spacial relationship to the other target (vertical versus horizontal). This will result in a much higher % chance of you identifying the correct object and state.
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


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

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