Couldn't find an AF_INET address for [] with Virtual Machine
So i tried a few different things already, primarily this answers: http://answers.ros.org/question/16355... but for some reason im still getting the Couldn't find an AF_INET address error.
I have a gazebo simulation setup on my desktop machine (14.04 indigo) that im running, and then trying to get my ubuntu VM on my mac to connect with the ros master on my desktop (for rviz and development purposes). Im using Parallels 10 and have two network interfaces configured; 1-shared network between mac and vm, 2-WiFi bridge so that the VM can have a ip address that is on the same subnet as my desktop (to allow one to ping the other, as said is needed in the network setup tutorials).
I editted /etc/hosts
on both the desktop:
192.168.1.1 home-pc
192.168.1.2 ubuntu-mac
and my VM :
192.168.1.1 home-pc
192.168.1.2 ubuntu-mac
and then on my desktop (ros master) i edited the ~/.bashrc
like so:
export ROS_MASTER_URI=http://home-pc:11311
export ROS_IP=192.168.1.1
and on my VM i edited ~/.bashrc
like so:
export ROS_MASTER_URI=http://home-pc:11311
export ROS_IP=192.168.1.2
Im not sure whether the ROS_IP can also simply be the respective hostname or not, but thats what the answers i posted in the beggining said to do, and i was under the impression that that answer was already assuming you followed the NetworkSetup tutorial with having to setup the hostnames properly.
Might be a quick fix, but if anyone could give some insight thatd be great. Cheers