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

At higher publishing rates, you probably want to set the tcp_nodelay option. It should help with latency issues like you describe. I believe that you can set the option on either the publisher or the subscriber.

pub = rospy.Publisher(topic_name, msg_class, queue_size, tcp_nodelay=True)