Ask Your Question
0

Error: unable to communicate with master

asked 2017-08-23 01:38:18 -0500

xpmanfjgh gravatar image

I use Ubuntu 16.04 with ROS Kinetic in VMware to be remote PC (Master), and use RaspberryPI with UbuntuMATE 16.04 and ROS Kinetic to be host.

The IP address in remote PC is 192.168.1.130 and Raspberry's IP address is 192.168.1.125 I set ~/.bashrc in remote PC for: export ROS_MASTER_URI=http://192.168.1.130:11311 export ROS_HOSTNAME=192.168.1.130 export ROS_IP=192.168.1.130

And set ~/.bashrc in RaspberryPI for: export ROS_MASTER_URI=http://192.168.1.130:11311 export ROS_HOSTNAME=192.168.1.125 export ROS_IP=192.168.1.125

I run "roscore" in remote PC and execute "rostopic list" command in RaspberryPI terminal. However, it showed "ERROR: Unable to communicate with master!"

I can ping remote PC (192.168.1.130) in RaspberryPI but if I ping RaspberryPI in remote PC, it showed: PING 192.168.1.125 (192.168.1.125) 56(84) bytes of data. From 192.168.1.130 icmp_seq=1 Destination Host Unreachable From 192.168.1.130 icmp_seq=2 Destination Host Unreachable From 192.168.1.130 icmp_seq=3 Destination Host Unreachable ...

What can I do about it to fix this, or at least undo what I did?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-09-12 13:20:06 -0500

duck-development gravatar image

Is the Adresse of the vm 192.168.1.125 or of the vm host Operation System?(windows)

edit flag offensive delete link more

Comments

1

@duck-development: +1 for posting answers and being active on the forum, but please note that this question is already 2 years old.

gvdhoorn gravatar imagegvdhoorn ( 2019-09-12 16:56:45 -0500 )edit

Did not look at the year just month and day? :)

duck-development gravatar imageduck-development ( 2019-09-14 05:53:52 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-08-23 01:38:18 -0500

Seen: 1,985 times

Last updated: Sep 12