Skip to content

Commit

Permalink
Assure the description is loaded as string
Browse files Browse the repository at this point in the history
If this isn't explicitly specified, the description string might be
interpreted as a yaml content, which leads to problems, obviously.
  • Loading branch information
fmauch authored and VinDp committed Sep 30, 2024
1 parent 6188912 commit 2a7506b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ur_robot_driver/launch/ur_rsp.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2a7506b

Please sign in to comment.