[ros-users] Sync problem with stereo_image_proc

Sacha Aury sacha at shadowrobot.com
Mon May 17 12:23:50 UTC 2010


Hi,

I am trying to make a stereo camera acquisition using ROS with the
cameradc1394 driver and the stereo_proc package. I've got a separate
computer to stream the image_raw from my two cameras. The stream works,
but when I launch stereo_image_proc, it seems that my two cameras are
not synchronized : 

[ WARN] 1274098675.074074000: [stereo_image_proc] Low number of
synchronized left/right image pairs received.
Left images received: 3079
Right images received: 3076
Synchronized pairs: 0
Possible issues:
	* The cameras are not synchronized.
	* The network is too slow. For each synchronized image pair, at most 1
is getting through.

Here is my launch file : 

<!-- startstream.launch  -->
<launch>
        <param name="display" type="int" value="0"/>
        <param name="framerate" type="double" value="15"/>
        <param name="mode" value="MODE_320x240_YUV422"/>

 <node name="camera_left" pkg="cameradc1394" type="cameradc1394"
respawn="true">
        <param name="prefix" type="string" value="/stereo/left/"/>
        <param name="cameraindex" type="int" value="0"/>
 </node>


  <node name="camera_right" pkg="cameradc1394" type="cameradc1394"
respawn="true">
        <param name="prefix" type="string" value="/stereo/right/"/>
        <param name="cameraindex" type="int" value="1"/>
 </node>

</launch>

Is there any specific way to make the two cameras synchronize ?

I am following that tutorial : 

http://www.ros.org/wiki/stereo_image_proc

Thank you for any help.

Sacha





More information about the ros-users mailing list