Go to Post Smaller FRC bots...... This is what the Mayans were referring to.... My world is ending.... - CrazyHorse [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 22-01-2011, 23:41
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Camera Light

Thanks all for the suggestions. I think the final verdict is going to be replacing the white LED's out of a small LED flashlight with green ones, just for the sake of having a built housing, unless we can find one local, and then putting in the appropriate power regulation and connections.

Quote:
Originally Posted by apalrd View Post
1. The vision code is very very slow
Very true, which is why you shouldn't design your program to use the vision processing algorithm you design continuously. Instead, use it to give you a rough angle (whatever parameter you are going with), decrease the error of that parameter, and continue. We are planning on going through no more than 3 stages of this any time we enter our auto-score mode, and use PID control for our robot/manipulator movements, i.e. Rough, Middle, Fine correction.

Quote:
Originally Posted by apalrd View Post
and can cause great control lag to other systems. Think about this while manipulating your images.
Can you explain why it would cause lag in your other systems? I know why it should cause lag (because you are trying to move your robot/manipulator with to obsolete commands) but it should not cause lag due to communications or from the vision processing resources being used. If they are, you should make sure that all your vision processing is done (if you're using LabView, I have no experience with WindRiver) in the Vision Processing.vi and you are passing that data to global variables. If you don't do it this way you are much more likely to have lag issues.

When not in auto-scoring mode, the vision processing algorithm will be completely disabled. I haven't been able to do much testing yet but I assume this will reduce lag. Now we are getting around 4-6 frames per second I believe, and are shooting for around 12 without the vision processing, which is about what we were getting about last year if I'm not mistaken.
__________________

Last edited by DavidGitz : 22-01-2011 at 23:48. Reason: clarification
  #2   Spotlight this post!  
Unread 24-01-2011, 10:41
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: Camera Light

Quote:
Originally Posted by DavidGitz View Post
Can you explain why it would cause lag in your other systems? ...
Those other systems rely on P control, which requires a consistent loop time to work. As soon as vision processing runs, the cRio CPU load goes to 100% and every loop gets behind, causing inconsistent loop times for the rest of the code. By attempting to do any vision processing, the change in loop time will cause the control loops to behave unpredictably.

Plus, in the tests I did with the Axis 206 camera, any significant movement while processing images causes the image to be blurry, and useless. (probably because of a long exposure time on the camera).
__________________
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
  #3   Spotlight this post!  
Unread 24-01-2011, 12:30
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: Camera Light

This link is a LED Resistor Calculator.
Give it the LED operating voltage and the current you want. It returns the theoretical resistor value, the nearest higher standard resistor and the resistor wattage. It works for single LEDS and multiple serial or parallel LEDS.
http://www.hebeiltd.com.cn/?p=zz.led...tor.calculator
__________________
  #4   Spotlight this post!  
Unread 05-02-2011, 23:42
gnunes gnunes is offline
Registered User
FRC #1391 (Metal Moose)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Westtown School
Posts: 57
gnunes has a spectacular aura aboutgnunes has a spectacular aura aboutgnunes has a spectacular aura about
Re: Camera Light

Has anyone tried infrared? We have an Axis 206, and I thought it would be nifty to try one of these infrared (850 nm) flood lights. The camera can't see it!! They must have a pretty darn good IR filter in that camera, and it seems to be glued right to the CCD. (In other, non FRC, cameras I have used, the IR filter was easily removable...)
  #5   Spotlight this post!  
Unread 06-02-2011, 09:35
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,748
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: Camera Light

At least on the 206, the filter is on the lens, not the sensor. If you purchase a new lens, say from Edmunds, you can get monochrome ones without a filter.

From the tests I've done in the past, the sensor definitely sees the IR, but the floodlight is VERY bright. I'd be concerned that it would wash out and would blind other cameras.

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

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