Connecting to a ros master without internet
Hi, I’m running Ros Indigo under Ubuntu. The IP address are: 192.168.1.99 (master), 192.168.1.12 (slave), both are connected to the same router. I’m sending Twist messages from the master to the slave. The ROS communication between both machines works great while I’m connected to the internet, but with no internet connection the Twist messages do not arrive to the slave. What I do is:
From Master Pc: export ROS_MASTER_URI=http://localhost:11311
From Slave ‘Robot’: export ROS_MASTER_URI=http://192.168.1.99:11311 export ROS_IP=192.168.1.99
With no internet connection, the ping command shows responses from both sides. Has anyone encountered this problem? Thanks
the problem was solved? I'm facing exactly the same situation.
Yes, we were able to solve the problem by deactivating ipv6 in the Master node. In the file /etc/sysctl.conf we added the following lines: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
@fedeva01, how to solve it? I have the same problem. Could you help me, please?
Did you solve it, I got the same problem, try to google and fix but still dont know why.
@BaBui I will add an answer for you.