ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

Specifying GUID causes camera1394 to fail. [camera] device open failed: [Camera1394::open]: Could not find camera with guid

asked 2011-11-21 13:41:17 -0600

wpi_igvc12 gravatar image

I have 2 cameras connected via firewire, and can open either one independently, when I dont specify the guid. However, when the guid is specified with the command:

rosrun camera1394 camera1394_node _guid:=b09d01008fe780

it gives the following output:

[ INFO] [1321932109.948708636]: using default calibration URL
[ INFO] [1321932109.949074860]: camera calibration URL: file:///home/igvc/.ros/camera_info/camera.yaml
[ERROR] [1321932109.949321389]: Unable to open camera calibration file [/home/igvc/.ros/camera_info/camera.yaml]
[ WARN] [1321932109.949433333]: Camera calibration file /home/igvc/.ros/camera_info/camera.yaml not found.
[ INFO] [1321932110.109780362]: Found camera with GUID b09d01008fe780
[ INFO] [1321932110.112069001]: Found camera with GUID b09d01008fe77e
[ WARN] [1321932110.112333326]: [camera] exception opening device (retrying): [Camera1394::open]: Could not find camera with guid b09d01008fe780
[ INFO] [1321932110.116237817]: Found camera with GUID b09d01008fe780
[ INFO] [1321932110.118381988]: Found camera with GUID b09d01008fe77e
[ WARN] [1321932110.118514197]: [camera] exception opening device (retrying): [Camera1394::open]: Could not find camera with guid b09d01008fe780
[ INFO] [1321932110.122364814]: Found camera with GUID b09d01008fe780
[ INFO] [1321932110.124582016]: Found camera with GUID b09d01008fe77e
[ERROR] [1321932110.124722269]: [camera] device open failed: [Camera1394::open]: Could not find camera with guid b09d01008fe780

I need the images from both cameras for stereo vision.

edit retag flag offensive close merge delete

Comments

Strange. Do you get the same error opening b09d01008fe77e?
joq gravatar image joq  ( 2011-11-21 14:03:56 -0600 )edit
yes, I get the same error when I specify b09d01008fe77e
wpi_igvc12 gravatar image wpi_igvc12  ( 2011-12-20 12:32:54 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-01-11 09:39:46 -0600

joq gravatar image

While looking at this problem again, I counted the number of GUID bytes. There should be eight, but there are only seven.

Perhaps your camera GUIDs have a leading zero byte. Try opening them like this:

rosrun camera1394 camera1394_node _guid:=00b09d01008fe780

I think that will work. If so, we should fix the driver to print GUIDs with the appropriate number of leading zeros.

edit flag offensive delete link more

Comments

Perhaps the driver should also be patched to output a warning if you specify a GUID with too few bytes?
Eric Perko gravatar image Eric Perko  ( 2012-01-11 10:27:38 -0600 )edit
It should just be modified to pad input GUIDs to the required eight bytes.
joq gravatar image joq  ( 2012-01-11 13:20:51 -0600 )edit
The leading zeros issue was the cause. Thanks for the help!
wpi_igvc12 gravatar image wpi_igvc12  ( 2012-01-18 06:53:41 -0600 )edit
Your are welcome, sorry for the problem. I have opened a defect ticket to get this fixed in the next release: https://code.ros.org/trac/ros-pkg/ticket/5350
joq gravatar image joq  ( 2012-01-18 10:26:18 -0600 )edit

Question Tools

Stats

Asked: 2011-11-21 13:41:17 -0600

Seen: 973 times

Last updated: Jan 11 '12