ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

How to have a specific node survive when a required node dies from a roslaunch?

asked 2017-09-19 20:19:50 -0500

Wesley gravatar image

Let's say I have nodes A, B, C ... Z. I want for nodes C to Z to die when A dies, but for B to continue executing and ignore that A died. I know I can use the required="true" argument on A in the roslaunch file to kill other nodes when it dies, but is there a way to tell roslaunch to not kill B?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-09-19 23:29:53 -0500

ahendrix gravatar image

No, roslaunch cannot do this.

If your launch process is this complex, you may want to rethink your launch process, use separate launch files or write your own process management. Roslaunch has an API that may be useful.

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-09-19 20:19:50 -0500

Seen: 299 times

Last updated: Sep 19 '17