Skip to content

Commit 2a7506b

Browse files
Felix ExnerVinDp
authored andcommitted
Assure the description is loaded as string
If this isn't explicitly specified, the description string might be interpreted as a yaml content, which leads to problems, obviously.
1 parent 6188912 commit 2a7506b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ur_robot_driver/launch/ur_rsp.launch.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
from launch_ros.actions import Node
3333
from launch_ros.substitutions import FindPackageShare
34+
from launch_ros.parameter_descriptions import ParameterValue
3435

3536
from launch import LaunchDescription
3637
from launch.actions import DeclareLaunchArgument
@@ -185,7 +186,9 @@ def generate_launch_description():
185186
" ",
186187
]
187188
)
188-
robot_description = {"robot_description": robot_description_content}
189+
robot_description = {
190+
"robot_description": ParameterValue(robot_description_content, value_type=str)
191+
}
189192

190193
declared_arguments = []
191194
# UR specific arguments

0 commit comments

Comments
 (0)