Skip to content

Commit

Permalink
Assure the description is loaded as string (backport of #1107)
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
mergify[bot] authored Oct 1, 2024
1 parent 7802066 commit 72087b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ur_robot_driver/launch/ur_control.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# Author: Denis Stogl

from launch_ros.actions import Node
from launch_ros.parameter_descriptions import ParameterFile
from launch_ros.parameter_descriptions import ParameterFile, ParameterValue
from launch_ros.substitutions import FindPackageShare

from launch import LaunchDescription
Expand Down Expand Up @@ -200,7 +200,9 @@ def launch_setup(context, *args, **kwargs):
" ",
]
)
robot_description = {"robot_description": robot_description_content}
robot_description = {
"robot_description": ParameterValue(value=robot_description_content, value_type=str)
}

initial_joint_controllers = PathJoinSubstitution(
[FindPackageShare(runtime_config_package), "config", controllers_file]
Expand Down

0 comments on commit 72087b1

Please sign in to comment.