Skip to content

Commit

Permalink
Suggest adding exec_dependency on ros2launch for packages with launch…
Browse files Browse the repository at this point in the history
… files

Signed-off-by: Christophe Bedard <[email protected]>
  • Loading branch information
christophebedard committed Jul 30, 2021
1 parent be743aa commit 5448d6b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/Guides/Launch-file-different-formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,17 @@ or run the file directly by specifying the path to the launch file
ros2 launch <path_to_launch_file>
.. note::

For packages with launch files, it is a good idea to add an ``exec_depend`` dependency on the ``ros2launch`` package in your package's ``package.xml``:

.. code-block:: xml
<exec_depend>ros2launch</exec_depend>
This helps make sure that the ``ros2 launch`` command is available after building your package.
It also ensures that all launch file formats are recognized.

Setting arguments
^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 5448d6b

Please sign in to comment.