Ask Your Question
0

Docker ROS "unable to communicate with master!"

asked 2017-02-09 13:07:14 -0500

entombedstorm gravatar image

Hi, I have ros indigo running through docker and when i try to run rostopic list on a new terminal with roscore open in another, I get "ERROR: Unable to communicate with master!" I don't really have experience with any of this but both of these terminals are on the same laptop so I'm unsure as to what the problem could be or what to do,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-04-10 22:28:25 -0500

Mabecr gravatar image

I was able to fix this by typing ip addr and noting the ip address of the machine I was using.

After finding the IP, edit the /etc/hosts file with that IP and your hostname, which can be found in the /etc/hostname file.

(I had to add 127.17.0.2 9fc279ddb197 to my hosts file)

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-02-09 13:07:14 -0500

Seen: 502 times

Last updated: Feb 09 '17