Have you tried profiling it to see where the time is being spent, and where the bottleneck is?  1.8MB * 30 = 54MB/sec, which could actually be harddrive-limited depending on the drive you're reading from.<br><br>Josh<br>

<br><div class="gmail_quote">On Fri, Apr 16, 2010 at 11:26 AM, Dejan Pangercic <span dir="ltr"><<a href="mailto:dejan.pangercic@gmail.com">dejan.pangercic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi there,<br>
<br>
I using an attached program to read an image from a disk and to then<br>
continously publish it on an image topic at 30 fps. On _one_ machine<br>
over loopback. When I tried it with a 1608x1236+0+0 color image<br>
(1.8MB) and then used rostopic hz to display the publishing rate of<br>
topic,<br>
the most that I got was around 12, 13 Hz.<br>
Any idea what would cause such a low performance? At what rates and<br>
sizes do you folks usually send images around?<br>
<br>
thx and cheers, D.<br>
<font color="#888888"><br>
--<br>
MSc. Dejan Pangercic<br>
PhD Student/Researcher<br>
Computer Science IX<br>
Technische Universität München<br>
Telephone: +49 (89) 289-17780<br>
E-Mail: <a href="mailto:dejan.pangercic@in.tum.de">dejan.pangercic@in.tum.de</a><br>
WWW: <a href="http://ias.cs.tum.edu/people/pangercic" target="_blank">http://ias.cs.tum.edu/people/pangercic</a><br>
</font><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>
<br></blockquote></div><br>