Go to Post CD has a vast store of knowledge, information, and wisdom. Add to it. - JaneYoung [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-01-2010, 17:58
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Saving Camera Exposure and White Balance Holds after Restart?

A strange one for all of you.

We can get our camera running exceptionally well, with great framerates on the DS feed, and with excellent ellipse detection, but only under a few weird conditions:

1) I first use my laptop to log in directly to the Axis 206 web interface, point the camera at a light in the room so that the field target is dimmed, and then set the Exposure and White Balance to HOLD CURRENT.

2) Log in to the DS as Developer, and use the task manager to log off the Driver account.

My question pertains to #1. I can't get my Axis camera to save its exposure and white balance hold settings when the robot is power cycled. Everytime it starts up, they revert back to AUTOMATIC, and that causes tons of problem.

It's strange that the vision system seems to run best when the image is dim. But when auto exposure and white balance work to brighten it up to a nicer looking image, the ellipse detection starts to become unreliable.

Lastly, as long as exposure and white balance are set to AUTOMATIC, our frame rates on the DS feed are terrible. But once we set them to HOLD via the web interface, it speeds right up.

Attempting to set the exposure and white balance to HOLD via the writeExposure and writeWhiteBalance(?) functions in WPILib don't seem to do anything. When I log in to the web interface, they show up as AUTOMATIC again. Manually setting them via the web interface seems to be the only effective way.

Does anyone know a way to make the Axis permanently hold its exposure and white balance settings?
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
 


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
Saving images/video from camera (LabVIEW) Chaos in a Can NI LabVIEW 3 16-08-2010 16:21
Manually Calibrate White Balance MartinStewart Technical Discussion 2 23-01-2009 13:28
timer after restart sciguy125 Programming 10 04-04-2006 01:12
[white paper] Auto-Balance Gyro Code Brandon Martus Technical Discussion 3 21-06-2001 10:36


All times are GMT -5. The time now is 02:05.

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