I want one ROS app to communicate multiple ROS controllers. Example?
I want one ROS app to communicate multiple ROS controllers. Need example since I am sure someone has already done this.
Basic ros::init (argc,argv,name,options) seems to read the environment flag for ROS_MASTER_URI.
So the other ros::init API must solve the problem, but can I get a complete example of special remappings like __name, __master, __ns, etc. that would handle multiple ROS masters? After each init I would then cache the node handle. And, what is this remapping list ?
And could I pass the ROS_MASTER_URI. as a remapping without calling the basic ros::init and relying on the shell environment variables?
TIA.