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

Revision history [back]

click to hide/show revision 1
initial version

This sounds like Nagle's algorithm at work. (it's a fairly standard packet coalescing algorithm)

Try using the tcpNoDelay() transport hint in your subscriber to turn it off.

You may also want to read http://wiki.ros.org/roscpp/Overview/Publishers%20and%20Subscribers for more details on how the publish queue and transport hints work in roscpp.