Go to Post If you are "retiring" the old ball, make all the lights green, hang it 8 feet in the air, line up a bunch of 'bots and let 'em shoot poofs. RoboPinata! (warning kids - don't eat the "candy" that falls out!) - Taylor [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-01-2012, 22:22
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Vision: Object Identification

Quote:
Originally Posted by Tom Line View Post
/sourgrapes mode

Ever since 2007, people have asked for the lighted vision targets back. 2010 was a huge improvement with the white/black circles and was doable. In 2011, the gray retroreflective tape placed on and around gray reflective aluminum was pretty unusable for most teams. Now, we get dark gray reflective tape next to black all placed on smoked lexan with bright gray aluminum rectangles behind it.

I sometimes wonder if the FIRST GDC has a single controls/vision programmer left on the committee.

While I'm at it, someone tell the guy doing the prints that measurements for WOOD construction don't go out to the second decimal place. XX.88 or XX.31 are not really valid dimensions for carpentry work.....

/end sourgrapes mode
The tape is retro-reflective. Attach some bright LED's to your robot to light them up in any color you want, and you can have some very bright colored rectangles be easily seen by the camera at any angle. If you choose something other than white/gray/silver/black, like red or green, it's simple work to extract that color and analyze the rectangles that result.
__________________
Attending: MN Duluth Regional
Reply With Quote
  #2   Spotlight this post!  
Unread 09-01-2012, 08:31
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Vision: Object Identification

There should be a vision white paper on the NI site later today, and it is currently on FIRSTFORGE in the documents section. As mentioned, the key to the retro-reflectors is to have a reasonable good ring-light on the robot. If you do that, you have your lit targets.

Please work through the discovery experience described in the white paper and let me know if you still feel the same way.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2012, 13:45
omalleyj omalleyj is offline
Registered User
AKA: Jim O'Malley
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: New Jersey
Posts: 132
omalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to behold
Re: Vision: Object Identification

Quote:
Originally Posted by Greg McKaskle View Post
There should be a vision white paper on the NI site later today, and it is currently on FIRSTFORGE in the documents section.
Greg McKaskle
Greg, Which documents section? I have access looked in the 2012 Beta and Community projects and didn't see it.
EDIT: Never mind, it is on the NI site now, I did not hit refresh :-/

Thanks

BTW, we did not have issues in either Lunacy or Breakaway using vision, though the (Java libraries were a bit behind C++ IIRC). Most of the time I saw people trying to use too high a resolution and too high of a frame rate. 320x240 and 10FPS was plenty and did not bog things down.

Last edited by omalleyj : 09-01-2012 at 13:51.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-01-2012, 14:22
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Vision: Object Identification

I agree that it is better to run the camera resolution and framerate at values needed to control the robot, and not much higher. The paper does a little analysis of the distance where the targets cannot be processed for a given resolution. It doesn't do anything with rate, but this year, I suspect it will be most common for both target and robot to be stationary in most situations.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 09-01-2012, 16:21
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
Re: Vision: Object Identification

What color of LEDs should one use? I believe IR was used in the vision example from last year.
Reply With Quote
  #6   Spotlight this post!  
Unread 09-01-2012, 17:20
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Vision: Object Identification

The white paper last year used a string of indoor LED Christmas lights inserted into foam. They were red LEDs. This year, the paper points out some products from SuperBrightLEDs.com, which, while designed for cosmetic purposes, work quite well as ring lights. I've tested green, red, amber, and blue. All colors can be made to work provided you get the white-balance and exposure settings such that the reflected colors are very saturated.

If you choose to avoid the color masking and simply go with a brightness threshold to form the mask, it doesn't matter what color you use, and you can even mix colors or use a white light. The LV example vision code for 2012 shows both color and brightness approaches. For brightness, it also sets the camera to disable color, receiving a monochrome image directly from the camera.

Greg McKaskle
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 20:41.

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