Go to Post FIRST is hard. It's supposed to be. We can't keep giving people a check and expecting them to succeed. We need to stop this model. It takes a village to raise a child but it takes a community to build a FIRST team. - Andrew Schreiber [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 03-02-2014, 21:25
gizmo720 gizmo720 is offline
Registered User
FRC #1719
 
Join Date: Jan 2011
Rookie Year: 2010
Location: USA
Posts: 4
gizmo720 is an unknown quantity at this point
Programmaticly adjust axis M1011 settings

My team just worked out how to programmaticly adjust settings such as exposure on the axis M1011 camera, and I thought I would share what we found with the community.

First, if you are trying to change camera settings, you should look at the wpi library first, as it has many options already available with an easy API. However, if you are using the M1011, you may notice that some options that are available on the web UI (such as exposure) are not exposed through the wpi library, and do not have a documented API in the camera manual.

We found that these settings could be changed directly using httprequest of the form:

Code:
http://10.te.am.11/sm/sm.srv?<parameter>=<value>&action=modify
The likely incomplete list of parameters that we found (along with default values) is:

Code:
root_ImageSource_I0_Sensor_ColorLevel=50
root_ImageSource_I0_Sensor_Brightness=50
root_ImageSource_I0_Sensor_Sharpness=50
root_ImageSource_I0_Sensor_Contrast=50
root_ImageSource_I0_Sensor_WhiteBalance=auto
root_ImageSource_I0_Sensor_ExposureValue=50
root_ImageSource_I0_Sensor_Exposure=flickerfree50
root_ImageSource_I0_Sensor_BacklightCompensation=no
root_ImageSource_I0_Sensor_ExposureWindow=center
zoneType=other
root_ImageSource_I0_Sensor_ExposurePriority=0
root_ImageSource_I0_Sensor_MinExposureTime=10000
root_ImageSource_I0_Sensor_MaxExposureTime=10000
root_ImageSource_I0_Sensor_MinGain=0
root_ImageSource_I0_Sensor_MaxGain=0
You will need to authenticate yourself before the camera will accept a command. If your http library does not support authentication, you can likely change the URI to
Code:
http://FRC:FRC@10.te.am.11/sm/sm.srv?<parameter>=<value>&action=modify
 


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 22:06.

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