Go to Post So I guess this is just another case of someone reinventing the leg? - petek [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 07-02-2010, 18:24
Bigcheese Bigcheese is offline
C++0x FTW!
AKA: Michael Spencer
FRC #1771
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: GA
Posts: 36
Bigcheese is a jewel in the roughBigcheese is a jewel in the roughBigcheese is a jewel in the roughBigcheese is a jewel in the rough
[HOW TO]Removing motion blur on the camera by forcing a low exposure time

As anyone who has setup the AXIS Camera knows, there is no way to set the exposure time explicitly from the setup web page. I needed to force the exposure time down in order to keep tracking this years target while moving, so I looked around on the file system and figured it out.

There are three values that have an available settings of "Hold Current" that are saved between power cycles. These values are simply stored on the file system under /dynamic/image.conf (it may be slightly different, but I don't have the camera with me at the moment). It is a text file with three lines:

Code:
HOLD1=x.xxxx
HOLD2=y.yyy
HOLD3=zzz
The third line is the exposure and is a number between 0 and 1000 (I don't know if that's inclusive or not). I don't know what the number represents, but I believe it to be milliseconds (lower is a lower exposure time).

To force the exposure low:
  1. Set the exposure to Hold Current.
  2. Go to the script editor (I forget where it is right now, but it's near the same place you create backups).
  3. Find /dynamic/image.conf
  4. Set HOLD3 to the desired value (150 was a good value for me).
  5. Save the file.
  6. Power cycle the camera.

This doesn't work every time, and seems kind of random, but once it works, it will stay between power cycles. Once you get it working I recommend backing up the settings and not changing the exposure programmatically.

With this change I was able to get tracking working at 8fps even while wildly flailing the camera around .

Last edited by Bigcheese : 07-02-2010 at 21:59. Reason: fixed title
  #2   Spotlight this post!  
Unread 07-02-2010, 19:55
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
Re: [HOW TO]Remove motion blur on the camera by forcing a low exposure time

Great tip Michael!

We've been looking for a solution for this for quite some time.

Thanks for sharing!
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #3   Spotlight this post!  
Unread 03-02-2011, 21:53
gnunes gnunes is offline
Registered User
FRC #1391 (Metal Moose)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Westtown School
Posts: 57
gnunes has a spectacular aura aboutgnunes has a spectacular aura aboutgnunes has a spectacular aura about
Re: [HOW TO]Removing motion blur on the camera by forcing a low exposure time

Quote:
Originally Posted by Bigcheese View Post
These values are simply stored on the file system under /dynamic/image.conf
Michael-

I can't find this file. Is it on my PC? On my cRIO?

If it is on my cRIO, how do I access the file system on that computer? Is there a tool for connecting to it's operating system directly?
  #4   Spotlight this post!  
Unread 03-02-2011, 21:59
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: [HOW TO]Removing motion blur on the camera by forcing a low exposure time

Quote:
Originally Posted by gnunes View Post
Michael-

I can't find this file. Is it on my PC? On my cRIO?

If it is on my cRIO, how do I access the file system on that computer? Is there a tool for connecting to it's operating system directly?
This was for last years camera. The new 2011 camera seems to work fine without this change.
  #5   Spotlight this post!  
Unread 04-02-2011, 09:31
gnunes gnunes is offline
Registered User
FRC #1391 (Metal Moose)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Westtown School
Posts: 57
gnunes has a spectacular aura aboutgnunes has a spectacular aura aboutgnunes has a spectacular aura about
Re: [HOW TO]Removing motion blur on the camera by forcing a low exposure time

Quote:
Originally Posted by nighterfighter View Post
This was for last years camera. The new 2011 camera seems to work fine without this change.
And... we have last year's camera! If anyone can help here, this would be much appreciated.
  #6   Spotlight this post!  
Unread 06-02-2011, 01:16
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 432
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: [HOW TO]Remove motion blur on the camera by forcing a low exposure time

I got the impression that they were discussing files which reside on the camera itself. I'm not sure how to go about accessing them, it might be possible to ftp into the cameras ip address? I don't recall seeing a file explorer accessible through the web based config. page.
  #7   Spotlight this post!  
Unread 06-02-2011, 08:50
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: [HOW TO]Remove motion blur on the camera by forcing a low exposure time

These files are on the camera. You should be able to ftp into the camera. Be very careful not to change or delete other files.

Greg McKaskle
  #8   Spotlight this post!  
Unread 15-02-2011, 23:21
gnunes gnunes is offline
Registered User
FRC #1391 (Metal Moose)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Westtown School
Posts: 57
gnunes has a spectacular aura aboutgnunes has a spectacular aura aboutgnunes has a spectacular aura about
Question Re: [HOW TO]Remove motion blur on the camera by forcing a low exposure time

Quote:
Originally Posted by Greg McKaskle View Post
These files are on the camera. You should be able to ftp into the camera. Be very careful not to change or delete other files.
I was able to FTP to the camera. I spent a lot of time poking around, but I did not find /dynamic/image.conf

Does anybody have a more precise location for this file? We really need to turn the gain down on our camera.

Thanks,
Geoff Nunes
  #9   Spotlight this post!  
Unread 18-02-2011, 07:09
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: [HOW TO]Remove motion blur on the camera by forcing a low exposure time

I've never done the file change either. If I want to shorten the exposure, I point the camera at a bright light source with it set to auto, count to five, then set to hold and point at the field. This is not a very repeatable calibration, but you can use the same principle.

If you are doing this, keep in mind that the exposure calculation is probably based on area. A single spot of bright light will likely not cause the exposure to change. A big spot of bright light probably will. If I have time, I'll look on the cameras for the file mentioned earlier and give a more precise path.

Greg McKaskle
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
How to remove partial lines in Ink'n'Paint rjbman 3D Animation and Competition 3 14-02-2010 01:02
Saving Camera Exposure and White Balance Holds after Restart? Mr. Lim Programming 12 29-01-2010 12:02
To Remove or not to Remove..that is now the Question? ShadowNinja General Forum 16 04-01-2009 18:29
Robot motion after the time has run out. Randy Ai Rules/Strategy 1 06-01-2003 17:17
Low Battery Warning most of the time? archiver 2000 4 23-06-2002 23:14


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

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