How does ROS optimize topic routes in multi-machine setups?
Let's say I have 3 ROS1 nodes all publishing and subscribing to the same topic. 2 of them are running on the same machine and the last on another, and both machines are connected via a router. Will the 2 nodes on the same machine communicate over lo
for the least amount of latency? If not, and if all 3 nodes are running on the same machine, but the ROS_IP is set to its router-provided IP address, will all 3 communicate over the router?