Log in

View Full Version : Perfect Calibration Image....


felipe.reis
20-01-2006, 17:12
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?!
:D

thnx,
Felipe Reis

ChaChee
20-01-2006, 17:55
Our camera is having the same problems also. Any input as to how to fix it would be appreciated

Kevin Watson
20-01-2006, 18:10
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

Eldarion
20-01-2006, 20:03
Also, if you would like to have the CMUCam GUI see the target properly, see my post at http://www.chiefdelphi.com/forums/showthread.php?p=433127

felipe.reis
20-01-2006, 21:07
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

Eldarion
20-01-2006, 21:59
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.

Joe Hershberger
21-01-2006, 03:25
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

felipe.reis
21-01-2006, 13:00
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

esquared
21-01-2006, 17:25
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

Denz
25-01-2006, 07:18
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 :)

Estrual
04-02-2006, 14:06
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

Denz
04-02-2006, 18:36
Any conditions in Kevin's code that I can change so that it doesn't see the fluorescents at all?

Alan Anderson
04-02-2006, 18:49
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.

Denz
05-02-2006, 00:25
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?

Tureyhall
05-02-2006, 00:47
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?

Calvin
07-02-2006, 01:27
Are you guys saying that the camera is already calibrated for the way things will look like at the competition? Because I spent over 2 hours trying to get this thing calibrated today, and was planning to spend a few more hours tomorrow...

I just want someone to confirm what I just read... lol

Denz
07-02-2006, 07:11
Yeah, besides some minor settings I had to change, it was working really well. It found the fluorescent lights SOMETIMES, but I raised the tolerence one and it doesn't even do that anymore. U can tweek some values from the menus that it brings up in the terminal window by typing "t" in there to get the tracking menu and "c" for the camera menu.

Kevin Watson
07-02-2006, 10:44
Are you guys saying that the camera is already calibrated for the way things will look like at the competition? Because I spent over 2 hours trying to get this thing calibrated today, and was planning to spend a few more hours tomorrow...

I just want someone to confirm what I just read... lolYes, it should work without having to calibrate the camera. The only thing I've heard people tweaking is the noise filter, which can be easilly changed on-the-fly using the camera parameter menu.

-Kevin

Estrual
07-02-2006, 18:41
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.

Dang, why didn't I think of that? Thanks.