ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You should not set both ROS_HOSTNAME and ROS_IP. See docs at: http://wiki.ros.org/ROS/EnvironmentVariables
And you appear to be using the same ROS_HOSTNAME/IP for both machines. That should be the address at which to call back to this specific machine not the same address which is likely why you're having trouble.
And lastly you should use an ethernet IP not localhost for multi computer setups.
If you'd like more help please edit your question provide exact outputs and more descriptions about how to reproduce your setup. Such as where are you running the master? What order are you running applications etc. And please show the output of the debugging suggestions at: http://www.ros.org/wiki/ROS/NetworkSetup