Skip to content

Commit

Permalink
Fix multi-line strings in DeclareLaunchArgument (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Apr 15, 2024
1 parent e5a8c85 commit a5e6a46
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
11 changes: 5 additions & 6 deletions ur_simulation_gazebo/launch/ur_sim_control.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@


def launch_setup(context, *args, **kwargs):

# Initialize Arguments
ur_type = LaunchConfiguration("ur_type")
safety_limits = LaunchConfiguration("safety_limits")
Expand Down Expand Up @@ -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(
Expand All @@ -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(
Expand Down
19 changes: 9 additions & 10 deletions ur_simulation_gazebo/launch/ur_sim_moveit.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@


def launch_setup(context, *args, **kwargs):

# Initialize Arguments
ur_type = LaunchConfiguration("ur_type")
safety_limits = LaunchConfiguration("safety_limits")
Expand Down Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -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(
Expand All @@ -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.",
)
)

Expand Down

0 comments on commit a5e6a46

Please sign in to comment.