What level do you want synchronization on?  Within framerate (both frames happen randomly but within 1/30 of a second of each other) or exact frame synchronization? The first is achievable, the second needs extra hardware.<br>
<br>At most, ROS can get you timestamps to align to, but to get actual simultaneous frames, you'll need a triggering signal in hardware such as a wire between 2 cameras (that allow for this). Some 1394 cameras may allow triggering over the 1394 bus and then you'll only have the problem of getting both buses to trigger at the same time ... which may be approximately possible, most of the time ... on average. Depends on the driver and the 1394 port. <br>
<br>I've seen an automotive 1394 article (not ROS related) where they have about 10 cameras. The cameras run the cameras at very high framerates and then they do timestamp synchronization which allows fairly synchronous alignment of multiple with no extra hardware.<br>
<br>Gary<br><br><div class="gmail_quote">On Mon, May 17, 2010 at 5:23 AM, Sacha Aury <span dir="ltr"><<a href="mailto:sacha@shadowrobot.com">sacha@shadowrobot.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I am trying to make a stereo camera acquisition using ROS with the<br>
cameradc1394 driver and the stereo_proc package. I've got a separate<br>
computer to stream the image_raw from my two cameras. The stream works,<br>
but when I launch stereo_image_proc, it seems that my two cameras are<br>
not synchronized :<br>
<br>
[ WARN] 1274098675.074074000: [stereo_image_proc] Low number of<br>
synchronized left/right image pairs received.<br>
Left images received: 3079<br>
Right images received: 3076<br>
Synchronized pairs: 0<br>
Possible issues:<br>
        * The cameras are not synchronized.<br>
        * The network is too slow. For each synchronized image pair, at most 1<br>
is getting through.<br>
<br>
Here is my launch file :<br>
<br>
<!-- startstream.launch  --><br>
<launch><br>
        <param name="display" type="int" value="0"/><br>
        <param name="framerate" type="double" value="15"/><br>
        <param name="mode" value="MODE_320x240_YUV422"/><br>
<br>
 <node name="camera_left" pkg="cameradc1394" type="cameradc1394"<br>
respawn="true"><br>
        <param name="prefix" type="string" value="/stereo/left/"/><br>
        <param name="cameraindex" type="int" value="0"/><br>
 </node><br>
<br>
<br>
  <node name="camera_right" pkg="cameradc1394" type="cameradc1394"<br>
respawn="true"><br>
        <param name="prefix" type="string" value="/stereo/right/"/><br>
        <param name="cameraindex" type="int" value="1"/><br>
 </node><br>
<br>
</launch><br>
<br>
Is there any specific way to make the two cameras synchronize ?<br>
<br>
I am following that tutorial :<br>
<br>
<a href="http://www.ros.org/wiki/stereo_image_proc" target="_blank">http://www.ros.org/wiki/stereo_image_proc</a><br>
<br>
Thank you for any help.<br>
<br>
Sacha<br>
<br>
<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br>