launching at once from different ws
Hi community, I am using ROS Melodic and I want to launch many launch files at once (this multi-call launch file could be in any ws) but these launch files come from different ws, is it possible to call launches from different ws and run them at once ? AND PLEASE MAKE MORE USABLE GUI FOR ANSWERS! IT'S TOO HARD TO PUT ANSWER HERE BECAUSE OF SILLY TAG OBLIGATION.
Asked by klchsyn on 2023-01-05 03:10:37 UTC
Answers
You can launch several launch files with several roslaunch
commands in several terminal windows.
The launch files can come from several workspaces but please, make sure that the messages used are know from all nodes otherwise you will get issues.
I think that the best is to use extend the workspaces, see: http://wiki.ros.org/catkin/workspaces#Overlays
The idea is to source the ROS installation (/opt/ros/melodic/setup.bash
) while building the first workspace.
Then source this workspace before building the second workspace. Then the packages in the first workspace will be known by the second workspace. You can then write a launch including other launch files with the include statement: http://wiki.ros.org/roslaunch/XML/include
Asked by rreignier on 2023-02-16 10:57:07 UTC
Comments