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

It is even worse when you run the identical nodelet.

When using a singlethreaded executor, you will have to call the first callback (nodelet 1), and only when the first ended, you can call the second nodelet (nodelet 2) with the same data.

If you are running on a single CPU or a single-threaded executor, you will end up multiplying the time of execution by AT LEAST the number of nodelets you have.

In a practical case, this should not happen as you are not supposed to have identical nodelets running (except if in different namespaces).

Of course, having multiple nodelets in a single-threaded context will reduce the overall performance of your system by the extra processing to do.