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

Roslaunch required=true only kills nodes in the same machine

asked 2013-02-26 00:36:20 -0600

Javier J. Salmerón García gravatar image

Hello everyone,

I am executing a multi-node ROS (ROS Fuerte Ubuntu 12.04) architecture. These nodes are spread in different machines. When a certain node finishes, I want the rest to be killed. I thought that using required=true parameter in the roslaunch would be sufficient. However, I found that, when the node finishes, only the nodes located in the same machine would be killed as well. Is there any way to make all the nodes in all the machines be killed (I mean automatically, not using Ctrl-C in the roslaunch).

Thank you in advance,

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-02-27 06:28:43 -0600

Javier J. Salmerón García gravatar image

I found the source of the problem. The required was not in the same machine as the roslaunch was being run. I changed the node to the same machine where the roslaunch was being done and it worked perfectly.

edit flag offensive delete link more

Question Tools


Asked: 2013-02-26 00:36:20 -0600

Seen: 823 times

Last updated: Feb 27 '13