ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
AFAIK, joq's answer is the main approach if you wanted to separate machine-specific information out w/o having to change the <node> tag.
There are multiple ways of solving this problem that go a bit out of the original problem statement. It seems that you just want the nodes to know what the different machines are. This could easily be done by storing a data structure of all the machines on the Parameter Server, and having the nodes all read that same data structure (presumably they could recognize themselves). If you need to know the node names, the nodes could register their own name on the Parameter Server is a pre-assigned namespace, so that could be used to find each other.
Basically, I don't understand the need to launch with parameter specific to the remote machine. The remote machine knows where it is, so the information that all the nodes need is the same -- data about the full list of machines that they should monitor.