From a5e6a46b7885c1bfafb2598852bfb89ae041df75 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Mon, 15 Apr 2024 20:57:13 +0200 Subject: [PATCH] Fix multi-line strings in DeclareLaunchArgument (#59) --- .../launch/ur_sim_control.launch.py | 11 +++++------ .../launch/ur_sim_moveit.launch.py | 19 +++++++++---------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/ur_simulation_gazebo/launch/ur_sim_control.launch.py b/ur_simulation_gazebo/launch/ur_sim_control.launch.py index 7f0f7e8..80d36e8 100644 --- a/ur_simulation_gazebo/launch/ur_sim_control.launch.py +++ b/ur_simulation_gazebo/launch/ur_sim_control.launch.py @@ -44,7 +44,6 @@ def launch_setup(context, *args, **kwargs): - # Initialize Arguments ur_type = LaunchConfiguration("ur_type") safety_limits = LaunchConfiguration("safety_limits") @@ -208,8 +207,8 @@ def generate_launch_description(): DeclareLaunchArgument( "runtime_config_package", default_value="ur_simulation_gazebo", - description='Package with the controller\'s configuration in "config" folder. \ - Usually the argument is not set, it enables use of a custom setup.', + description='Package with the controller\'s configuration in "config" folder. ' + "Usually the argument is not set, it enables use of a custom setup.", ) ) declared_arguments.append( @@ -223,9 +222,9 @@ def generate_launch_description(): DeclareLaunchArgument( "prefix", default_value='""', - description="Prefix of the joint names, useful for \ - multi-robot setup. If changed than also joint names in the controllers' configuration \ - have to be updated.", + description="Prefix of the joint names, useful for " + "multi-robot setup. If changed than also joint names in the controllers' configuration " + "have to be updated.", ) ) declared_arguments.append( diff --git a/ur_simulation_gazebo/launch/ur_sim_moveit.launch.py b/ur_simulation_gazebo/launch/ur_sim_moveit.launch.py index a3d96dd..d193edf 100644 --- a/ur_simulation_gazebo/launch/ur_sim_moveit.launch.py +++ b/ur_simulation_gazebo/launch/ur_sim_moveit.launch.py @@ -36,7 +36,6 @@ def launch_setup(context, *args, **kwargs): - # Initialize Arguments ur_type = LaunchConfiguration("ur_type") safety_limits = LaunchConfiguration("safety_limits") @@ -114,8 +113,8 @@ def generate_launch_description(): DeclareLaunchArgument( "runtime_config_package", default_value="ur_simulation_gazebo", - description='Package with the controller\'s configuration in "config" folder. \ - Usually the argument is not set, it enables use of a custom setup.', + description='Package with the controller\'s configuration in "config" folder. ' + "Usually the argument is not set, it enables use of a custom setup.", ) ) declared_arguments.append( @@ -129,8 +128,8 @@ def generate_launch_description(): DeclareLaunchArgument( "description_package", default_value="ur_description", - description="Description package with robot URDF/XACRO files. Usually the argument \ - is not set, it enables use of a custom description.", + description="Description package with robot URDF/XACRO files. Usually the argument " + "is not set, it enables use of a custom description.", ) ) declared_arguments.append( @@ -144,8 +143,8 @@ def generate_launch_description(): DeclareLaunchArgument( "moveit_config_package", default_value="ur_moveit_config", - description="MoveIt config package with robot SRDF/XACRO files. Usually the argument \ - is not set, it enables use of a custom moveit config.", + description="MoveIt config package with robot SRDF/XACRO files. Usually the argument " + "is not set, it enables use of a custom moveit config.", ) ) declared_arguments.append( @@ -159,9 +158,9 @@ def generate_launch_description(): DeclareLaunchArgument( "prefix", default_value='""', - description="Prefix of the joint names, useful for \ - multi-robot setup. If changed than also joint names in the controllers' configuration \ - have to be updated.", + description="Prefix of the joint names, useful for " + "multi-robot setup. If changed than also joint names in the controllers' configuration " + "have to be updated.", ) )