[ros-users] camera1394 - failure to start cameras

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kim Houck
Date:  
To: ros-users
Old-Topics: Re: [ros-users] Cross-Compilation Patch
Subject: [ros-users] camera1394 - failure to start cameras
I was wondering if anyone else has seen issues with camera1394 throwing
an exception after failing to start the camera. I have been dealing
with an older firewire camera(dc1394 A) that often fails to start on the
first try(this also occurs using the camera with opencv or the dc1394
interface directly).

When the camera fails to start properly the camera1394 node needs to be
restarted to get get the camera to work, which isn't a problem for a
stand alone node but gets aggravating when using launch files. I made a
change to openCamera in camera1394.cpp to have it try again to open the
camera if it fails the first time and only give up and throw an
exception if it fails twice. I was wondering if anyone else has
encountered this problem and if so if have they found a better solution
for it?

I'm not sure if this constitutes a bug/change request for camera1394,
since it may be limited to a very small subset of hardware and I'm not
sure if fixing this would cause problems for other camera hardware.

Thanks.

-Kim