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

Yes! So if you check out the source code for executor (cpp or py whichever you are working with). There is no concurrency, so as long as you are NOT threading in the Node, the spin will handle it one at a time.

So in your case, if a node subscribes to multiple topics, it will read the message of one and finish it before going on to the next topic and next message and on and on.

Yes! The node waits for ONE to be processed before going on to TWO! So if you check out the source code for executor (cpp or py whichever you are working with). There is no concurrency, so as long as you are NOT threading in the Node, the spin will handle it one at a time.

So in your case, if a node subscribes to multiple topics, it will read the message of one and finish it before going on to the next topic and next message and on and on.