From 2a7506b543dd874e998acceabcc31d97af3dc6ca Mon Sep 17 00:00:00 2001 From: Felix Exner Date: Wed, 18 Sep 2024 13:16:54 +0200 Subject: [PATCH] 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. --- ur_robot_driver/launch/ur_rsp.launch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ur_robot_driver/launch/ur_rsp.launch.py b/ur_robot_driver/launch/ur_rsp.launch.py index aa2324223..375e6adef 100644 --- a/ur_robot_driver/launch/ur_rsp.launch.py +++ b/ur_robot_driver/launch/ur_rsp.launch.py @@ -31,6 +31,7 @@ from launch_ros.actions import Node from launch_ros.substitutions import FindPackageShare +from launch_ros.parameter_descriptions import ParameterValue from launch import LaunchDescription from launch.actions import DeclareLaunchArgument @@ -185,7 +186,9 @@ def generate_launch_description(): " ", ] ) - robot_description = {"robot_description": robot_description_content} + robot_description = { + "robot_description": ParameterValue(robot_description_content, value_type=str) + } declared_arguments = [] # UR specific arguments