From 24433cf679c26053ebd280cf0f85e1bca74c7503 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Sun, 20 Apr 2025 15:25:17 -0700 Subject: [PATCH] Mention PathJoinSubstitution improvement in Kilted release notes Signed-off-by: Christophe Bedard --- source/Releases/Release-Kilted-Kaiju.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/source/Releases/Release-Kilted-Kaiju.rst b/source/Releases/Release-Kilted-Kaiju.rst index 738ed7e6e7a..349b39d46da 100644 --- a/source/Releases/Release-Kilted-Kaiju.rst +++ b/source/Releases/Release-Kilted-Kaiju.rst @@ -64,6 +64,27 @@ Try replacing the ``ament_target_dependencies()`` call with the ``target_link_l For more information see `ament/ament_cmake#572 `__ and `ament/ament_cmake#292 `__. +``launch`` +^^^^^^^^^^ + +``PathJoinSubstitution`` +"""""""""""""""""""""""" + +``PathJoinSubstitution`` now supports concatenating strings or substitutions into a single path component. +For example: + +.. code-block:: python + + PathJoinSubstitution(['robot_description', 'urdf', [LaunchConfiguration('model'), '.xacro']]) + +If the ``model`` launch configuration was set to ``my_model``, this would result in a path equal to: + +.. code-block:: python + + 'robot_description/urdf/my_model.xacro' + +For more information, see `ros2/launch#835 `__ and `ros2/launch#838 `__. + Development progress --------------------