ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I am not sure, but it looks more like a C++ problem than a ROS specific one.
I think you can write a C++ code for your machines which uses sockets to communicate the IP addresses you need and the setenv() function to change ROS_MASTER_URI and ROS_HOSTNAME the way you want to.