Go to Post They can either incorporate the suggestions in this thread, go totally against them, or even make us all write code on banana peels with our fingernails. - Andy Baker [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 20-01-2006, 17:12
felipe.reis's Avatar
felipe.reis felipe.reis is offline
Registered User
#1382
 
Join Date: Nov 2004
Location: Brazil
Posts: 15
felipe.reis will become famous soon enoughfelipe.reis will become famous soon enough
Perfect Calibration Image....

Hi, we´re having some trouble to calibrate the cmu cam, the green light appears white on the image, even when we uploaded the cfg file for the target light, can anyone post a image with a perfect calibration and the settings?!


thnx,
Felipe Reis

Last edited by felipe.reis : 20-01-2006 at 17:13. Reason: wrong word in title
  #2   Spotlight this post!  
Unread 20-01-2006, 17:55
ChaChee's Avatar
ChaChee ChaChee is offline
Registered User
AKA: ChaChee³
None #1372 (Lambda Cubed)
Team Role: Mascot
 
Join Date: Sep 2005
Location: San Diego
Posts: 2
ChaChee is an unknown quantity at this point
Send a message via AIM to ChaChee Send a message via MSN to ChaChee
Re: Perfect Calibration Image....

Our camera is having the same problems also. Any input as to how to fix it would be appreciated
  #3   Spotlight this post!  
Unread 20-01-2006, 18:10
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Perfect Calibration Image....

If you're using the FIRST green light, you don't need to calibrate the camera for most lighting conditions. Just load camera.hex and the camera should find it using the default calibration values.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #4   Spotlight this post!  
Unread 20-01-2006, 20:03
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: Perfect Calibration Image....

Also, if you would like to have the CMUCam GUI see the target properly, see my post at http://www.chiefdelphi.com/forums/sh...d.php?p=433127
__________________
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
  #5   Spotlight this post!  
Unread 20-01-2006, 21:07
felipe.reis's Avatar
felipe.reis felipe.reis is offline
Registered User
#1382
 
Join Date: Nov 2004
Location: Brazil
Posts: 15
felipe.reis will become famous soon enoughfelipe.reis will become famous soon enough
Re: Perfect Calibration Image....

I was calibrating using Labview, but if theres no need to calibrate with Labview... for what that LabView´s program is used for? Do I really have to use it for something?



thnx,
Felipe Reis
__________________
Tribotec Team #1382 - Animator
Tribotec Forum - Brazilian Teams!
  #6   Spotlight this post!  
Unread 20-01-2006, 21:59
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: Perfect Calibration Image....

Quote:
Originally Posted by felipe.reis
I was calibrating using Labview, but if theres no need to calibrate with Labview... for what that LabView´s program is used for? Do I really have to use it for something?



thnx,
Felipe Reis
I have just been using the CMUCam GUI from last year--it works great!

If you know how to use LabView and want to use it instead, you could always try sending a "CR 3 2" to the camera first. This will lower the saturation value to 2, which will fix the light problem. Keep in mind that this will only work if LabView doesn't reset the camera first.

By the way, the camera communicates at 115200 baud, just use HyperTerminal.
__________________
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
  #7   Spotlight this post!  
Unread 21-01-2006, 03:25
Joe Hershberger Joe Hershberger is offline
National Instruments
AKA: jhersh
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 1997
Location: Austin, TX
Posts: 148
Joe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to all
Re: Perfect Calibration Image....

Quote:
Originally Posted by Eldarion
I have just been using the CMUCam GUI from last year--it works great!

If you know how to use LabView and want to use it instead, you could always try sending a "CR 3 2" to the camera first. This will lower the saturation value to 2, which will fix the light problem. Keep in mind that this will only work if LabView doesn't reset the camera first.

By the way, the camera communicates at 115200 baud, just use HyperTerminal.
The LabVIEW CMUCam2 application does reset the camera. It also has an entry to change all of the settings for the camera, including the saturation, without the need for a terminal application.

You can also load values for all the settings from a file. 2 configuration files are packaged with the application. One is the default for this years target (a suggested base line if tweaking calibration) and the default camera settings (for typical imaging).

If you are having trouble getting your camera to track, the LabVIEW application is a way to verify that the camera is working, that the settings are tracking properly, and to prototype other code that responds to the camera's feedback.

Cheers!
-Joe
  #8   Spotlight this post!  
Unread 21-01-2006, 13:00
felipe.reis's Avatar
felipe.reis felipe.reis is offline
Registered User
#1382
 
Join Date: Nov 2004
Location: Brazil
Posts: 15
felipe.reis will become famous soon enoughfelipe.reis will become famous soon enough
Re: Perfect Calibration Image....

Well, theres a little bug in the LabView program, sometimes, only sometimes when I press the grab button , the download progress bar starts to advance, but it gets stuck in the end, the image doesnt appear and we have to restart the programm....

Any idea why is it happening?

thnx
__________________
Tribotec Team #1382 - Animator
Tribotec Forum - Brazilian Teams!
  #9   Spotlight this post!  
Unread 21-01-2006, 17:25
esquared's Avatar
esquared esquared is offline
Keeps saying 3-2-1-Rush...
AKA: Angry Eric
no team (Volunteer!)
Team Role: Mascot
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Boston, MA
Posts: 192
esquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond repute
Re: Perfect Calibration Image....

Quote:
Originally Posted by felipe.reis
Well, theres a little bug in the LabView program, sometimes, only sometimes when I press the grab button , the download progress bar starts to advance, but it gets stuck in the end, the image doesnt appear and we have to restart the programm....

Any idea why is it happening?

thnx
You need to get the updated labview application from the ftp site (ftp://ftp.ni.com/outgoing/FRC/), the version updated on 1/17/06 fixes this issue. WE had the same problem as you, until Joe H. suggested getting the new version.

-Eric
  #10   Spotlight this post!  
Unread 25-01-2006, 07:18
Denz's Avatar
Denz Denz is offline
Registered User
FRC #0772 (Sabre Bytes Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Location: LaSalle, Ont, Canada
Posts: 66
Denz is on a distinguished road
Send a message via MSN to Denz
Re: Perfect Calibration Image....

We are having the same problem. It seems that the camera sees any type of light (different colours) as white light and always tracks the fluorescent lighting instead of the light source.
Do the values we load to the camera in LabVIEW affect the camera when it's running off of Kevin's code?
It should track the green light fine and not mistake it for and fluorescents even though in LabVIEW it does?

Thanks in advace
__________________
www.sabrerobotics.com
  #11   Spotlight this post!  
Unread 04-02-2006, 14:06
Estrual Estrual is offline
Registered User
AKA: Ryan Tanner
FRC #1782 (BlueJay Robotics)
Team Role: Programmer
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Raytown, MO
Posts: 2
Estrual is an unknown quantity at this point
Re: Perfect Calibration Image....

Quote:
Originally Posted by esquared
You need to get the updated labview application from the ftp site (ftp://ftp.ni.com/outgoing/FRC/), the version updated on 1/17/06 fixes this issue. WE had the same problem as you, until Joe H. suggested getting the new version.

-Eric
That sounds pretty useful, but is there another place to get it? Our school server is denying me access to the FTP. So, if there is another way to get it, please reply. Thanks! ~Estrual
  #12   Spotlight this post!  
Unread 04-02-2006, 18:36
Denz's Avatar
Denz Denz is offline
Registered User
FRC #0772 (Sabre Bytes Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Location: LaSalle, Ont, Canada
Posts: 66
Denz is on a distinguished road
Send a message via MSN to Denz
Re: Perfect Calibration Image....

Any conditions in Kevin's code that I can change so that it doesn't see the fluorescents at all?
__________________
www.sabrerobotics.com
  #13   Spotlight this post!  
Unread 04-02-2006, 18: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: Perfect Calibration Image....

So far as I can tell, the camera code from Kevin Watson already ignores fluorescent lights rather effectively. The only thing I've seen trick it has been daylight through the windows of our shop.

Estrual, if you can't convince your school's network administrator to let you get through to the NI ftp server, you'll probably need to have someone download the LabView files at home or work and bring them to your team's programming computer on a flash drive.
  #14   Spotlight this post!  
Unread 05-02-2006, 00:25
Denz's Avatar
Denz Denz is offline
Registered User
FRC #0772 (Sabre Bytes Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Location: LaSalle, Ont, Canada
Posts: 66
Denz is on a distinguished road
Send a message via MSN to Denz
Re: Perfect Calibration Image....

It ignors them most of the time, but sometimes if finds one.. atleast in our electrical shop it does. Any settings I can change so it doesn't see them?
__________________
www.sabrerobotics.com
  #15   Spotlight this post!  
Unread 05-02-2006, 00:47
Tureyhall Tureyhall is offline
Registered User
AKA: Thomas Hall
FRC #0668 (Apes Of Wrath)
Team Role: Programmer
 
Join Date: Feb 2006
Rookie Year: 2004
Location: San Jose
Posts: 40
Tureyhall will become famous soon enoughTureyhall will become famous soon enough
Re: Perfect Calibration Image....

Quote:
Originally Posted by esquared
You need to get the updated labview application from the ftp site (ftp://ftp.ni.com/outgoing/FRC/), the version updated on 1/17/06 fixes this issue. WE had the same problem as you, until Joe H. suggested getting the new version.

-Eric
ok, i've serched the ftp and can't find what your talking about..... help?
__________________
/*Nerd Camouflage*/

2005 SVR - 668+1072+840 - Semifinalists.
2006 SVR - 668+1280+1693 - Finalists.
2007 SVR - 668+604+624 - Quarter-finalists, Xerox Creativity Award, two highest scores (290-2, 128-0) at SVR.
2007 Nat's - TBA.
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
Strange CMUCam Image Sidney San Martín Programming 22 27-01-2005 15:00
New cool image generator Elgin Clock Computer Graphics 13 03-11-2004 20:10
Getting an image from a website Raven_Writer Website Design/Showcase 17 09-06-2004 11:39
extra image discussion text rbayer CD Forum Support 15 06-05-2004 19:04


All times are GMT -5. The time now is 01:53.

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