ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Revision history [back]

Unless you need to transfer a lot of data from one node to another there is basically no need to use nodelets.

The process you described is naturally organized by callback function specified as a parameter to subscribe method. By means of state variable in that callback you can modify published data in the main loop.