Related to this question: https://answers.ros.org/question/368557/alternative-to-launch-files/
What would go wrong if instead of roslaunch of a .launch file, I wrote a bash script with a series of rosrun commands? Here are two possibilities:
- would performance would suffer badly?
- does roslaunch do something in addition (e.g. handling errors or handling roscore
Originally posted by pitosalas on ROS Answers with karma: 628 on 2020-12-29
Post score: 0
Original comments
Comment by gvdhoorn on 2020-12-29:
Seeing #q368557 and your question here: perhaps you could add some words on what made you ask your question(s).
Using roslaunch
is quite central to a normal workflow in ROS 1.
I'm not claiming it's perfect (not at all actually), but I'm curious as to what you've encountered that made you post your question here.
Are you running into some (perceived) limitation perhaps?
Comment by pitosalas on 2020-12-29:
As for limitation, the only one is that I wish I could have roslaunch print messages so while I am debugging it I can see what is happening. But xml is so verbose and redundant and unreadable. I want something much simpler for the 90% use case. It doesn't have to be python, it could be json or something else. I could easily imagine this existing. So all my questions are around finding a better way to orchestrate the launch of nodes.
Comment by gvdhoorn on 2020-12-29:\
I wish I could have roslaunch print messages so while I am debugging it
what sort of messages?
Comment by pitosalas on 2020-12-29:
For example, printing the value of a param