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: von Wichert, Georg
Date:  
To: ros-users@code.ros.org
Subject: Re: [ros-users] call for testing: camera1394 in C-turtle
It just worked with coriander. I did not look into the coriander source, but judging from the observed behaviour coriander does reset the camera only via the mentioned button press.

Actually at least for this camera it seems to be not neccessary to reset it at the beginning. I patched the camera1394_dev.cpp to simply issue a waring instead of a fatal error and that made the whole thing work. Unfortunately I do not have sufficient experience with other cameras, so I do not know wheter this "fix" would cause problems elsewhere.
Best,

Georg


-----Original Message-----
From: [mailto:ros-users-bounces@code.ros.org] On Behalf Of Jack O'Quin
Sent: Wednesday, June 16, 2010 6:03 PM
To:
Subject: Re: [ros-users] call for testing: camera1394 in C-turtle

2010/6/16 von Wichert, Georg <>:

> now I tried two other cameras of the same type AVT f145c2 , but ~2
> years younger, and now the node detects the camera, but reproducably
> says "Could not reset camera" in dc1394_camera_reset(), control.c line 500.
>
> Coriander also has this problem. Pushing the reset button in the
> camera tab leads to the same error message. the camera does work
> nevertheless. Is the initial reset really neccessary?


I am not sure whether it is necessary or not. I suspect the answer depends on the exact camera make and model. As far as I can tell, it
*does* seem to be customary for libdc1394 programs to reset the camera when opening it. Perhaps others with more experience will correct me if this is wrong.

Just to be completely clear: when you say the camera "does work" , do you mean with coriander, with camera1394, or with both?

Looking at the code, it appears that camera1394 will fail to open the device if the reset fails. That looks unnecessary and probably counter-productive. If coriander works and camera1394 does not, let's open a ticket for the open failure, at least.
--
joq
_______________________________________________
ros-users mailing list

https://code.ros.org/mailman/listinfo/ros-users