How to terminate the excecution of a launch file if a node is not active? [closed]
Hello everyone,
here follows a short description of my issue. I have created a launch that opens up multiple nodes. The first node that opens is responsible for publishing the data stored on my computer and is made by me. Then, the next nodes are from an already made package. My python script is terminated in case a file does not exist but the launch file continues with the execution of the following nodes. How can I prevent that?
All ideas are welcome, thanks in advance!
Please refer to #q10089, and close your own question if you agree yours is a duplicate.
@gvdhoorn thanks, this is exactly what I wanted to do. I am sorry for creating a duplicate.
No need to apologise.