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

How to prevent launch shutdown on single remote connection failure? (required="true" not working)

asked 2013-01-13 13:18:19 -0600

updated 2013-01-13 13:26:41 -0600

I have a launch set up that includes two separate other launch files which are run on other machines. Those launch files have nodes with attribute required="true" set however, the first node fails to start because of a failed ssh connection and the second is never attempted as the launch file exits on the first failure.

I suspect that the required="true" doesn't take effect as the remote ssh connection fails before hand, but the machine and include tags don't have a required="true" option.

Is there a way to prevent a remote machine launch failure from killing the entire launch?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-03-05 05:12:33 -0600

tfoote gravatar image

The required=True is for process management. roslaunch does not have the functionality to continue through a lost link to the remote machine.

It would be a good feature request. And as a work around if you use openvpn between the machines the connection will persist over a broken link if using the tunnel interface.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-13 13:18:19 -0600

Seen: 322 times

Last updated: Mar 05 '13