[ros-users] call for testing: camera1394 in C-turtle

Jack O'Quin jack.oquin at gmail.com
Wed Jun 16 15:05:16 UTC 2010


On Wed, Jun 16, 2010 at 10:00 AM, Patrick Beeson <beeson.p at gmail.com> wrote:
> Furthermore, setting auto_shutter: 3 and shutter: 0.006 doesn't work.
> Setting shutter: 257, which I expected to work after my last email, didn't
> work.  It seems no values sent to shutter are working. I do not know if it
> is making it into manual mode or not.
>
>
> On 06/16/2010 09:54 AM, Patrick Beeson wrote:
>>
>> Jack,
>>
>> Manual control of shutter does not work right in dynamic configuration.
>> For the Sony Firewire cameras that you have on Marvin, the manual slider
>> in the gui goes from 0 to 1. Auto shows (for my lighting) a number of
>> 0.006. However, I was noticing that no calues between 0 and 16 were
>> making a difference. Running, Coriander, I see that I can go from 3 to
>> 1150 on the slider which equate to a shutter speed of 0.00001 to 16.0
>> seconds. So, the values you send to set the shutter are not floats in
>> seconds, but integers (0-16; should be 3-1150 for my camera).

I think what's happing is that the camera lies and says it accepts
"absolute" (i.e. float) values. The driver, seeing "absolute_capable
== true", tries to set the values using
dc1394_feature_set_absolute_value() instead of
dc1394_feature_set_value().

Not sure how to handle this in a portable fashion that works for all cameras.
-- 
 joq



More information about the ros-users mailing list