Go to Post I have trouble believing that there's really a regional that isn't fun... - psquared89 [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
  #1   Spotlight this post!  
Unread 28-01-2006, 19:40
hpman247 hpman247 is offline
Registered User
FRC #0977
 
Join Date: Jan 2006
Location: South Boston VA
Posts: 9
hpman247 is an unknown quantity at this point
Is anyone else having this problem

Our team hooked up the green lights, however, the camera picks the light up as white light, except for the green tint around the edges. We are using the software that allows us to grab a frame and tell it to track. I don't know if that is the same as Kevins. THe camera also locks onto the flourescent light in the room. They are both white. I don't really understand this. Any ideas.

Also, after we played with the cam for a while today it would move sideways wonderfully but not up and down very well at all. what can cause this??

thanks for your help.
  #2   Spotlight this post!  
Unread 28-01-2006, 20:07
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,113
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: Is anyone else having this problem

The camera tracks colors much better in YCrCb color mode. That's what the provided LabView calibration uses, and that's what Kevin's camera code uses. Fluorescent lights are sufficiently more blue than the goal target, and gymnasium-style vapor lights are more red, so the camera can discriminate well between them.

(Sunlight still tricks ours on occasion, with the camera locking on to a window off to the left side of our test bench. I found a way to fix that, but only at the expense of not being able to find the green target more than about 30 feet away.)
  #3   Spotlight this post!  
Unread 28-01-2006, 20:23
hpman247 hpman247 is offline
Registered User
FRC #0977
 
Join Date: Jan 2006
Location: South Boston VA
Posts: 9
hpman247 is an unknown quantity at this point
Re: Is anyone else having this problem

I dont really understand why the camera "sees" the green light as white. The floruescent lights appear as white also. This seems to be causing the problem.
  #4   Spotlight this post!  
Unread 28-01-2006, 20:49
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,113
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: Is anyone else having this problem

Change the color mode from RGB to YCrCb and try again. You'll have much better results.
  #5   Spotlight this post!  
Unread 13-02-2006, 11:15
JJMax7 JJMax7 is offline
Registered User
None #0918 (Circuit Chargers)
Team Role: Driver
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Oklahoma
Posts: 22
JJMax7 is an unknown quantity at this point
Send a message via AIM to JJMax7
Re: Is anyone else having this problem

also lower the brightness that seemed to work for us very well.
  #6   Spotlight this post!  
Unread 13-02-2006, 12:01
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Is anyone else having this problem

If you actually read the workbook, it tells you how to fix this problem.

http://kevin.org/frc/CMUcam2_workbook.pdf
  #7   Spotlight this post!  
Unread 13-02-2006, 12:02
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Is anyone else having this problem

Quote:
Originally Posted by JJMax7
also lower the brightness that seemed to work for us very well.
Technically it's the saturation. Setting it to 2 works very well.
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #8   Spotlight this post!  
Unread 13-02-2006, 12:18
Keith Watson Keith Watson is offline
Registered User
FRC #0957 (WATSON)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Wilsonville, OR
Posts: 112
Keith Watson is just really niceKeith Watson is just really niceKeith Watson is just really niceKeith Watson is just really nice
Re: Is anyone else having this problem

In the locking code we changed it from using the location of the "target centroid" to using the confidence value. In testing we found low hanging flourescent lights are picked up in the mx,my values but the confidence for those lights is near zero. But the green target has very high confidence.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.
  #9   Spotlight this post!  
Unread 15-02-2006, 10:11
Mike223 Mike223 is offline
Registered User
None #0223
 
Join Date: Feb 2006
Location: New Jersey
Posts: 2
Mike223 is an unknown quantity at this point
Re: Is anyone else having this problem

Quote:
Originally Posted by JJMax7
also lower the brightness that seemed to work for us very well.
Change the brightness of the light or the brightness the camera sees? If the camera how do you change it?
  #10   Spotlight this post!  
Unread 15-02-2006, 13:04
CaseyKasem_1251's Avatar
CaseyKasem_1251 CaseyKasem_1251 is offline
Registered User
AKA: John Casey
FRC #1251 (TechTigers)
Team Role: Student
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Florida
Posts: 21
CaseyKasem_1251 is on a distinguished road
Send a message via AIM to CaseyKasem_1251
Re: Is anyone else having this problem

Quote:
Originally Posted by Mike223
Change the brightness of the light or the brightness the camera sees? If the camera how do you change it?
Im pretty sure they are referring to the camera and you can change the brightness of the camera through labview. (correct me if im wrong)
__________________
2008 UCF Regional Champs thanks to 233 and 86
2008 UCF Regional GM Industrial Design Award
2007 Palmetto Regional finalists thanks to 1626 and 1758
2007 Palmetto Regional Motorola Quality Award
2007 UCF Regional Champs thanks to 1270 and 86
2007 UCF Regional GM Industrial Design Award
2006 Palmetto Regional Champs thanks to 11 and 247
2006 UCF Regional Semifinalist thanks to 86 and 710
2005 Palmetto Regional finalist thanks to 25 and 301
2005 Palmetto Regional Xerox Creativity Award
2005 UCF Regional finalists thanks to 845 and 1270
2005 UCF Regional Judges Award
2004 UCF Regional Rookie All-star Award

  #11   Spotlight this post!  
Unread 27-11-2008, 02:57
sullivan_owns's Avatar
sullivan_owns sullivan_owns is offline
Registered User
FTC #3223
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Surrey, B.C, Canada
Posts: 11
sullivan_owns is an unknown quantity at this point
Send a message via MSN to sullivan_owns
Talking Re: Is anyone else having this problem

what i would do is try the YCrCb mode, try it again, you should end up with better results, hope it helps
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview CMUcam demo problem Windward LabView and Data Acquisition 19 11-08-2007 02:33
Need a realistic Statics Problem sanddrag Technical Discussion 10 05-12-2005 15:07
Programming Problem: Extremely Frustrating chantilly_team Programming 19 12-02-2005 23:00
The problem with scouting... archiver 2001 10 23-06-2002 23:49
Major problem with chipphua motors aka Scott White Motors 18 19-03-2002 19:44


All times are GMT -5. The time now is 03:12.

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