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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jack O'Quin
Date:  
To: Patrick Beeson
CC: ros-users
Subject: Re: [ros-users] call for testing: camera1394 in C-turtle
On Wed, Jun 16, 2010 at 1:57 PM, Patrick Beeson <> wrote:
>
>> Would you send me your patch, please?
>
> Jack,  Looking carefully at Coriander, if absolute_capable is TRUE then it
> will DISPLAY absolute values (like real valued shutter speed instead of
> integers than mean little).  But it will only allow the user to EDIT (thus
> calling set_absolute_value) is abs_control is also TRUE.  On the XCD
> cameras, abs_control is FALSE.
>
> A very simple fix makes this work correctly.
>
>
> Index: src/nodes/features.cpp
> ===================================================================
> --- src/nodes/features.cpp      (revision 30293)
> +++ src/nodes/features.cpp      (working copy)
> @@ -284,7 +284,7 @@
>         }
>
>       // TODO: break this into some internal methods
> -      if (finfo->absolute_capable)      // supports float value?
> +      if (finfo->absolute_capable && finfo->abs_control) // supports float
> value?
>         {
>           float fmin, fmax;
>           if (DC1394_SUCCESS ==
> ===================================================================
>


Excellent! That looks like the root problem and the correct fix. I
obviously misunderstood the interface (it is not very clear).

Go ahead and commit the fix, or let me know if you want me to do it.
--
joq