diff --git a/launch/full_bot_mini.launch.py b/launch/full_bot_mini.launch.py index 92f6781..942cb24 100644 --- a/launch/full_bot_mini.launch.py +++ b/launch/full_bot_mini.launch.py @@ -19,6 +19,7 @@ from launch_ros.actions import Node from launch_ros.substitutions import FindPackageShare from ament_index_python.packages import get_package_share_directory from launch_ros.actions import LifecycleNode +from launch_ros.descriptions import ParameterValue def generate_launch_description(): @@ -35,7 +36,7 @@ def generate_launch_description(): ), ] ) - robot_description = {"robot_description": robot_description_content} + robot_description = {"robot_description": ParameterValue(robot_description_content, value_type=str)} robot_controllers = PathJoinSubstitution( [ diff --git a/launch/min_bot_mini.launch.py b/launch/min_bot_mini.launch.py index f8a8245..e7c4d5d 100644 --- a/launch/min_bot_mini.launch.py +++ b/launch/min_bot_mini.launch.py @@ -19,6 +19,7 @@ from launch_ros.actions import Node from launch_ros.substitutions import FindPackageShare from ament_index_python.packages import get_package_share_directory from launch_ros.actions import LifecycleNode +from launch_ros.descriptions import ParameterValue def generate_launch_description(): @@ -35,7 +36,7 @@ def generate_launch_description(): ), ] ) - robot_description = {"robot_description": robot_description_content} + robot_description = {"robot_description": ParameterValue(robot_description_content, value_type=str)} robot_controllers = PathJoinSubstitution( [