Thanks a lot!<div>It works!</div><div><br></div><div>- Yoonsoo<br><br><div class="gmail_quote">2011/10/13 Troy Straszheim <span dir="ltr"><<a href="mailto:straszheim@willowgarage.com">straszheim@willowgarage.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks for the reproducable bug report... I get the same behavior, so<br>
long as the packets are small enough.. above 10k or so I don't see<br>
this behavior.  This looks like like Nagel's algorithm at work, try<br>
setting TCP_NODELAY on the subscriber, like this:<br>
<br>
#include <ros/transport_hints.h><br>
ros::Subscriber sub = n.subscribe("chatter", 1000, chatterCallback,<br>
<br>
ros::TransportHints().tcpNoDelay());<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></div>