Hello,
I have tried to start multiple ROS nodes to solve a challenge by a launch file. This works well so far.
I'm now facing problems while automatically starting this nodes by /opt/euroc_c2s1/startup script. I replaced "rosrun euroc_c2_demos euroc_c2_demo "$@"" with "roslaunch mypackage mylaunch.launch" in the script. The problem now is that even if my nodes are terminating after all challenges the roslaunch task still keeps running and so the next line in the script given by "rosrun euroc_c2_demos euroc_c2_demo "$@"" is never called.
How is it supposed to start more then one node to solve the tasks by not calling rosrun for every single node from the startup script?
Is there any workaround so that I can use launchfiles instead of starting every single node by hand?
Thanks
Johannes