ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ROS_MASTER_URI, ROS_IP and network loss

asked 2014-12-05 08:33:38 -0600

madmage gravatar image

I have two laptops, one with a running roscore, the other has running nodes connected to the roscore in the first laptop. I noticed that I have to run both launch files using the ROS_IP set to the laptop IP address, in particular, in this case, to the wlan0 card IP address. On the second laptop, I also set the ROS_MASTER_URI variable, so that it connects to the first one's roscore.

The problem is when there is a wireless connection loss, ROS master starts complying about network loss, some node dies, and, however, after a reconnection, things do not reactivate, I have to stop the launch and restart.

Is there any way to avoid this? In a robot world a wireless network loss is a probable event.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-05 14:31:39 -0600

ahendrix gravatar image

ROS does not currently have any mechanism for dealing with dropped connections.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-12-05 08:33:38 -0600

Seen: 776 times

Last updated: Dec 05 '14