ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

[ROS2] Call launch file from another launch file.

asked 2020-10-19 01:08:05 -0500

jeferrandiz gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-10-19 09:26:01 -0500

miura gravatar image

The LaunchDescription can be used.

This was discussed in the past at https://answers.ros.org/question/3069....

An example in Autoware.auto: https://gitlab.com/autowarefoundation.... launch.py

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-10-19 01:08:05 -0500

Seen: 11,256 times

Last updated: Oct 19 '20