Skip to content

Commit f13886c

Browse files
authored
ur_moveit_config: Assure the description is loaded as string (#1452)
Otherwise the description might get loaded as yaml under certain situations.
1 parent 8c8e3f7 commit f13886c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ur_moveit_config/launch/ur_moveit.launch.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
from launch_ros.actions import Node
3535
from launch_ros.substitutions import FindPackageShare
3636
from ur_moveit_config.launch_common import load_yaml
37+
from launch_ros.parameter_descriptions import ParameterValue
3738

3839
from launch import LaunchDescription
3940
from launch.actions import DeclareLaunchArgument, OpaqueFunction
@@ -125,7 +126,9 @@ def launch_setup(context, *args, **kwargs):
125126
" ",
126127
]
127128
)
128-
robot_description = {"robot_description": robot_description_content}
129+
robot_description = {
130+
"robot_description": ParameterValue(robot_description_content, value_type=str)
131+
}
129132

130133
# MoveIt Configuration
131134
robot_description_semantic_content = Command(

0 commit comments

Comments
 (0)