ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I run into this issue often enough to where I created a gist for it: https://gist.github.com/chfritz/8c2adab45a94e091be77c55b0432ad2e
Note that one pitfall is that the ROS_HOSTNAME used by either machine needs to be resolvable by the other machine. This is because ROS uses that hostname to register with the master, and when a direct connection between the two machines is being established (e.g., for rostopic echo
), that hostname is given to the machines to start talking with each other. This is where I have seen people fail most often. If rostopic list
works, but rostopic echo
doesn't, then this latter problem is what you are dealing with most likely.