ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
No, afaik this is not possible: there is a 1-to-1 mapping between nodes and processes in ROS1 as most important data structures are singletons / global.
Invoking ros::init(..)
multiple times will not do what you want it to.
In ROS 2 this is different (ie: multiple nodes in a single process is expressly supported), but even there it will most likely require some magic with partitioning and other tricks.
2 | No.2 Revision |
No, afaik this is not possible: there is a 1-to-1 mapping between nodes and processes in ROS1 as most important data structures are singletons / global.
Invoking ros::init(..)
multiple times will not do what you want it to.
In ROS 2 this is different (ie: multiple nodes in a single process is expressly supported), but even there it will most likely require some magic with partitioning and other tricks.
Edit: could you maybe clarify what it is that you want to exactly? I'm not sure I understand what "I want one ROS app to communicate multiple ROS controllers" means.
It sounds like you're implying a client-server relationship between the master and any ROS nodes, but that doesn't exist.