I get an error when I try to install ROS on VMware fusion 12 pro

216 views Asked by At

I'm trying to install ROS on my VMware fusion 12, but after updating the bash file as per the installation document, I get an error when I enter roscore in the terminal. The error seems to be that my VMware cannot ping itself. It also affected me using openCv. It offers a solution which asks me to ping an IP address, however when I do this I get another error which I also included in this question. Thanks for your help!

Here is the error

enter image description here enter image description here

1

There are 1 answers

0
Kaviranga On

This causes because of wrong configuration of ros parameters .

Check your ros parameter configuration on the VM

Keep in mind that roscore and all other ros commands run without root permission

 ### Configuring the parameter on VM ####
 export YOUR_VM_IP=192.168.7.2

 #setting ROS_MASTER_URI as VM's_ip ####
 export ROS_MASTER_URI=http://192.168.7.2:11311

If this not work manually add above the ROS parameters lines on ~/.bashrc executing the following commands

 sudo vim ~/.bashrc

 sudo source ~/.bashrc

 sudo source ~/.profile

Also check my answer on Robotics.Stackexchange for accessing master/remote ros notes correctly.

How to call remote ROS node on mobile robot through laptop using wifi?

Also try this link Setting up ROS on a virtual machine

Hope this will somewhat help you !