ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The python path is unrelated.
When you set ROS_MASTER_URI to http://localhost:11311, you're telling ROS that it should try to connect to a master on the local machine. Since there is no ros master running on the BeagleBone, you will get an error for any command that you run on the BeagleBone with that ROS_MASTER_URI
On the BeagleBone, you should set your ROS_MASTER_URI to the IP of your laptop:
export ROS_MASTER_URI=http://192.168.0.105:11311
And on the BeagleBone, you should confirm that you have network connectivity to your laptop:
ping 192.168.0.105
If you do not have network connectivity from your BeagleBone to your laptop, you will need to fix that before ROS will work between the two.
You should NOT, UNDER ANY CIRCUNSTANCES, change /etc/hosts to make localhost anything other than 127.0.0.1. Doing so will break many system services which depend on localhost.