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