Go to Post A robot is replaced every season by the next robot, but a friend, team member, mentor, and memories will never be replaced. - Jverdon [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 02-03-2014, 22:53
mkausas's Avatar
mkausas mkausas is offline
Registered User
FRC #2485 (W.A.R. Lords)
Team Role: Student
 
Join Date: Feb 2013
Rookie Year: 2012
Location: United States
Posts: 31
mkausas has a spectacular aura aboutmkausas has a spectacular aura about
Axis M1013 holding exposure and white balance

We have been having trouble getting our Axis M1013 to hold exposure and white balance values between restarts.

We have the ability to set the exposure and white balance modes on our M1013 to auto and hold, but we can't figure out how to make the camera hold the same values over restarts. In our tests, it resets to some default value every time.

In previous years using the M1011, we haven't had trouble, so it seems like this might be a M1013-specific issue.

Does anyone have experience with this?

Any help is appreciated.
__________________

2014 Las Vegas Regional Winners
2013 Battle at the Border Winners
2013 Inland Empire Winners
2012 Battle at the Border Winners
  #2   Spotlight this post!  
Unread 02-03-2014, 23:13
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
We having been asking the exact same question, and have yet to find an answer.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #3   Spotlight this post!  
Unread 03-03-2014, 07:23
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,751
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: Axis M1013 holding exposure and white balance

How are you changing the settings? Or what procedure should I follow to reproduce the bug?

I used a web browser to log into the camera, changed the white balance to Fixed Indoor, the Brightness and Exposure and Exposure Priority to make a dark exposure. I saved, viewed the image. I unplugged and plugged in the camera, waited for it to boot, and the exposure was still dark. I reviewed the parameters and they matched what I'd set.

I have an expired beta version of Vision Assistant on this laptop, so I can't see if there is a problem with the particular parameters that it is setting versus what the M1013 supports.

Greg McKaskle
  #4   Spotlight this post!  
Unread 03-03-2014, 07:51
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,717
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Axis M1013 holding exposure and white balance

I had this issue too. What I did was use the robot code to change the exposure from auto to hold since I wasn't seeing a hold option in the settings in the web browser. You should be able to do this with a very simple robot project and have it change the setting when you enable the robot in teleop.
  #5   Spotlight this post!  
Unread 03-03-2014, 08:49
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Axis M1013 holding exposure and white balance

We have this exact same issue. We've verified it is a camera issue that we can repeatably produce.

We proved this to ourselves by disconnecting the camera from the crio and bridge and going straight to the computer. We logged into the camera using the administrator account, and set and saved the brightness and exposure values to automatic. We then held a flashlight in front of the camera lense, allowed it to darken, then set to 'hold current' and saved. Upon removing the flashlight from the lense the camera retains the darkened settings.

Power cycling the camera causes it to began acting as though the settings have been returned to 'automatic'. Going in through the web interface still shows the settings on both white balance and exposure set to 'hold current'.

We have tried changing these settings in the 'simple' camera GUI interface as well with the same results. We have tried saving the settings using both the 'root' administrator account, and the FRC account added by the FRC camera configuration tool. We have reset the camera to factory defaults and manually configured it without the FRC configuration tool and had the same result. We have tried repeatedly saving the 'hold current settings' and had the same result. We have tried configuring the camera using the Labview code in vision processing at run time and setting an exposure value of zero with no noticeable effect. We have tried setting the code to 'hold current' and permanently deploying with the same issue, and we have tried formatting the cRIO and then running the code from the computer with the same issue.

We have 2 of these cameras, one purchased through AM First Choice, and one purchased from an outside vendor. Both exhibit the same behavior.

Last edited by Tom Line : 03-03-2014 at 08:52.
  #6   Spotlight this post!  
Unread 03-03-2014, 15:25
mmaunu's Avatar
mmaunu mmaunu is offline
Registered User
FRC #2485 (W.A.R. Lords)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2010
Location: San Diego, CA
Posts: 89
mmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the rough
Re: Axis M1013 holding exposure and white balance

Quote:
Originally Posted by Tom Line View Post
We have this exact same issue. We've verified it is a camera issue that we can repeatably produce.

We proved this to ourselves by disconnecting the camera from the crio and bridge and going straight to the computer. We logged into the camera using the administrator account, and set and saved the brightness and exposure values to automatic. We then held a flashlight in front of the camera lense, allowed it to darken, then set to 'hold current' and saved. Upon removing the flashlight from the lense the camera retains the darkened settings.

Power cycling the camera causes it to began acting as though the settings have been returned to 'automatic'. Going in through the web interface still shows the settings on both white balance and exposure set to 'hold current'.

We have tried changing these settings in the 'simple' camera GUI interface as well with the same results. We have tried saving the settings using both the 'root' administrator account, and the FRC account added by the FRC camera configuration tool. We have reset the camera to factory defaults and manually configured it without the FRC configuration tool and had the same result. We have tried repeatedly saving the 'hold current settings' and had the same result. We have tried configuring the camera using the Labview code in vision processing at run time and setting an exposure value of zero with no noticeable effect. We have tried setting the code to 'hold current' and permanently deploying with the same issue, and we have tried formatting the cRIO and then running the code from the computer with the same issue.

We have 2 of these cameras, one purchased through AM First Choice, and one purchased from an outside vendor. Both exhibit the same behavior.
We have tried these same steps with the same results (mentor here for OP). Instead of holding a flashlight up to the camera, we use a fancy styrofoam cup to get the same effect. When we "hold current" on the exposure, everything is fine with the camera until we power cycle the robot. By fine, I mean that the image is nicely dark and the vision targets show up very clearly. We have tried "holding current" via the web interface, via the AxisCamera class (we use Java), and by sending http requests to the camera from a SmartDashboard widget. Every time, no matter what we try, the camera image reverts to an "automatic" exposure setting when we boot back up; the image is no longer dark and we need to recalibrate the exposure settings with said fancy cup.

I am glad, I guess, that we aren't the only ones experiencing this.

Greg, how are you setting the settings on the Axis M1013? We will try to duplicate your steps. I don't have our camera in front of me, but I believe that we are using the Video -> Camera Settings page to handle the exposure.

Thanks all for posting...let's get this figured out
__________________
2014 Las Vegas (Winners with 987, 2478; Excellence in Engineering)
2014 San Diego (Finalists with 987, 3250; Quality Award)
2013 Inland Empire (Winners with 1538, 968; Excellence in Engineering Award)
2013 San Diego (Finalists with 2984, 4322; Creativity Award)
2012 Las Vegas (Finalists with 2034, 3187; Quality Award)
  #7   Spotlight this post!  
Unread 03-03-2014, 16:28
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Axis M1013 holding exposure and white balance

Possibly the firmware versions are different?
v 5.40.5.3 is available from Axis.

Some of the M1013 cameras I've looked at have been running v 5.40.5.2
I'm sure there are other variants out there.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 03-03-2014 at 16:34.
  #8   Spotlight this post!  
Unread 06-03-2014, 00:53
mmaunu's Avatar
mmaunu mmaunu is offline
Registered User
FRC #2485 (W.A.R. Lords)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2010
Location: San Diego, CA
Posts: 89
mmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the rough
Re: Axis M1013 holding exposure and white balance

Quote:
Originally Posted by Mark McLeod View Post
Possibly the firmware versions are different?
v 5.40.5.3 is available from Axis.

Some of the M1013 cameras I've looked at have been running v 5.40.5.2
I'm sure there are other variants out there.
We updated our camera's firmware to 5.40.5.3 and retested the exposure and white balance holding, but it did not make a difference.

Like Tom, we tested changing the settings in both the web and simple interfaces with both the root and FRC users, but received the same results.
__________________
2014 Las Vegas (Winners with 987, 2478; Excellence in Engineering)
2014 San Diego (Finalists with 987, 3250; Quality Award)
2013 Inland Empire (Winners with 1538, 968; Excellence in Engineering Award)
2013 San Diego (Finalists with 2984, 4322; Creativity Award)
2012 Las Vegas (Finalists with 2034, 3187; Quality Award)
  #9   Spotlight this post!  
Unread 11-03-2014, 07:17
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Axis M1013 holding exposure and white balance

I had hopes that someone would figure this one out - I've called Axis and their 'support' is less than helpful (have you plugged it in?).

We've updated to the newest firmware as well and it didn't change the behavior.
  #10   Spotlight this post!  
Unread 11-03-2014, 10:13
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,751
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: Axis M1013 holding exposure and white balance

Here is what I found when looking at the M1013.

I logged into the camera to see if I could find the auto/hold exposure control on the M1013. I couldn't find it. I looked at a parameter report on the camera and verified it was in "auto" mode.

I modified the LV dashboard to set the exposure to hold. I looked at the parameter report and it said "hold". I rebooted the camera and the parameter report still said hold. I modified the exposure value on the camera's web page and saved, and it still said "hold" in the report.

So, I believe that the camera will still hold the calibration, but the web page will no longer let you set it to that mode, and in fact if you save the right things on the page, I could see how it may switch back to auto.

The parameters report is available on the web page as shown in the attachment. It is the Parameters List button. Search for [ImageSource.I0.Sensor]. I am running a beta version of Vision Assistant, so I'm not able to easily verify that it will set the camera to hold.

Can someone verify that this procedure works for them, or detail how you are setting the camera to hold and how you are checking whether it resets?

Greg McKaskle
Attached Thumbnails
Click image for larger version

Name:	From Clipboard.png
Views:	45
Size:	151.4 KB
ID:	16535  
  #11   Spotlight this post!  
Unread 11-03-2014, 12:07
jonboy jonboy is offline
Engineer/Mentor
FRC #0885 (The Green Team)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Tunbridge, Vermont
Posts: 46
jonboy is an unknown quantity at this point
Re: Axis M1013 holding exposure and white balance

We have had the same behavior ie losing the exposure hold value on the M1013 camera when power is cycled.

Our solution was to revert to the axis 206 camera which will save the exposure hold setting when power is cycled. 206 is discontinued but available on EBAY.
__________________
... jon
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


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

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