Skip to content

Commit 77bbe74

Browse files
yconstclaude
andcommitted
Fix launch files - remove incorrect PathJoinSubstitution wrapper
FindExecutable should be used directly, not wrapped in PathJoinSubstitution. This was causing 'executable not found on PATH' error. Co-Authored-By: Claude <[email protected]>
1 parent 8918f21 commit 77bbe74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

launch/my_robot.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def generate_launch_description():
2323
# Get URDF via xacro - using MY_ROBOT configuration
2424
robot_description_content = Command(
2525
[
26-
PathJoinSubstitution([FindExecutable(name="xacro")]),
26+
FindExecutable(name="xacro"),
2727
" ",
2828
PathJoinSubstitution(
2929
[FindPackageShare("tinymovr_ros"), "urdf", "my_robot.urdf.xacro"]

launch/tinymovr_diffbot_demo.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def generate_launch_description():
2323
# Get URDF via xacro
2424
robot_description_content = Command(
2525
[
26-
PathJoinSubstitution([FindExecutable(name="xacro")]),
26+
FindExecutable(name="xacro"),
2727
" ",
2828
PathJoinSubstitution(
2929
[FindPackageShare("tinymovr_ros"), "urdf", "tinymovr_diffbot.urdf.xacro"]

0 commit comments

Comments
 (0)