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

By default, the messages are queued, up to the number of messages you specify when you subscribe. Python, and ROS nodes in general, are single-threaded by default, so they will come one after the other. If you want to handle them in parallel, you need to explicitly kick off a separate thread when you get each message.