ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.