Skip to content

Conversation

@emersonknapp
Copy link
Contributor

@emersonknapp emersonknapp commented Oct 23, 2025

Description

Part of robograph-project/planning#38

Makes the two Substitutions that return a directory into a subclass of PathSubstitution

  • LaunchLogDir
  • ThisLaunchFileDir

So that one can immediately use the path join operator / with them.

Allows changing:

PathSubstitution(ThisLaunchFileDir()) / 'my_launch.py'
# or
PathJoinSubstitution([ThisLaunchFileDir(), 'my_launch.py'])

into

ThisLaunchFileDir() / 'my_launch.py'

Is this user-facing behavior change?

New user-facing capability, no existing usage changed.

Did you use Generative AI?

No

Additional Information

@ahcorde
Copy link
Contributor

ahcorde commented Oct 24, 2025

Pulls: #914, ros2/launch_ros#494
Gist: https://gist.githubusercontent.com/ahcorde/1d8541d31501406682d13767e15e788e/raw/cb7660853dbaea155933d8576f146a1a0d5953d6/ros2.repos
BUILD args: --packages-above-and-dependencies launch launch_ros test_launch_ros
TEST args: --packages-above launch launch_ros test_launch_ros
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/17368

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@emersonknapp
Copy link
Contributor Author

emersonknapp commented Oct 28, 2025

Pulls: #914, ros2/launch_ros#494
Gist: https://gist.githubusercontent.com/emersonknapp/2c725d3e9c99a8e2cd15f567470d1ada/raw/cb7660853dbaea155933d8576f146a1a0d5953d6/ros2.repos
BUILD args: --packages-above-and-dependencies launch launch_ros test_launch_ros
TEST args: --packages-above launch launch_ros test_launch_ros
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/17378

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
    • Build Status
  • Windows Build Status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants