You can launch several nodes using a unique launch file.
For example, this is a launch file that can launch rtabmap_ros, hector_mapping, rviz and other things.
Notice the parts that start with <node (...) >
and end with </node>
: those mark the limits between the start of the different nodes.
Check here for an answer to a similar question :-).
Originally posted by Blupon with karma: 127 on 2017-08-08
This answer was ACCEPTED on the original site
Post score: 4
Original comments
Comment by jayess on 2017-08-08:
Also, check out the tips for larger projects. This is a far better way to go than using shell scripts. They have their place, but launch
files are far more powerful in this context.