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

roscpp only allows a single ROS node per process. Running mulitple nodes in different threads will not work as you would like it to be. It would still be a single ROS node.

You need to modify your nodes to actually become nodelets. You don't have to write your own nodelet manager though. There is an existing nodelet manager you may use or even extend for customizing it to your needs.