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

Revision history [back]

In the [python publisher tutorial](http://ros.org/wiki/ROS/Tutorials/WritingPublisherSubscriber(python), talker.py shows an example of publishing outside a subscriber callback using a loop at a specified rate.

You can use this sort of publishing scheme when you don't have a sequential processing task. If you have additional subscribers in your python script, they will continue to run at whatever rate the messages come in in their own individual threads.