Go to Post The more time we spend there, and the more investment we have in the team, the more rewarding it is. - ILAMtitan [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 21-01-2011, 22:26
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 BJC View Post
While our programmer was experimenting he found that a wider beam light (think shop light) gave a much cleaner image over the camera then a narrower beam (like a flashlight).

Hope this helps.
Being the programmer, I have some more input and more detail:

1. The vision code is very very slow, and can cause great control lag to other systems. Think about this while manipulating your images.

2. The light source I used first was a 12v drill flashlight. It didn't really work at all, because the code would just find a white circle (including the vision target, the wall, and the PVC) and nothing else. It might get the target if it wasn't in the direct beam of the light, but not work very well.

3. The light source I used second was a 60w incandescent bulb in a shop light (with a half-sphere reflector, you know what kind I mean, right?). It worked very well, sorta. The image detection worked fine, but nothing else did (the driver complained about lag, even at 2hz, and the control loops freaked out because of lack of consistent loop time).

4. We haven't decided what light to use yet. We might try colors, but colors require processing of the image in RGB or HSL mode, while white can be processed in greyscale.
__________________
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

Last edited by apalrd : 21-01-2011 at 22:27. Reason: wording
 


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 19:43.

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