0
$\begingroup$

Rosanswers logo

Hello,

Is it possible (and how) to call a launch file from another launch file? I believe that was possible on ROS with the "include" tag, but I do not know how to do it on ROS2 with the .launch.py file.


Originally posted by jeferrandiz on ROS Answers with karma: 27 on 2020-10-19

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

The LaunchDescription can be used.

This was discussed in the past at https://answers.ros.org/question/306935/ros2-include-a-launch-file-from-a-launch-file/.

An example in Autoware.auto: https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/blob/master/src/tools/autoware_auto_avp_demo/launch/ms3_core. launch.py


Originally posted by miura with karma: 1908 on 2020-10-19

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.