Skip to content

Commit

Permalink
Revert "Remove tf_prefix from ur_control.launch.py (UniversalRobots#1020
Browse files Browse the repository at this point in the history
)"

tf_prefix is used as a substitution argument inside the controllers.yaml

Therefore, it needs to be specified as an argument for the ur_conttrol.launch.py file
  • Loading branch information
fmauch authored and VinDp committed Jun 19, 2024
1 parent 58b5e20 commit c623813
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ur_robot_driver/launch/ur_control.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ def launch_setup():
parameters=[
LaunchConfiguration("update_rate_config_file"),
ParameterFile(controllers_file, allow_substs=True),
# We use the tf_prefix as substitution in there, so that's why we keep it as an
# argument for this launchfile
],
output="screen",
)
Expand Down Expand Up @@ -280,6 +282,15 @@ def generate_launch_description():
"publishes the description topic.",
)
)
declared_arguments.append(
DeclareLaunchArgument(
"tf_prefix",
default_value="",
description="tf_prefix of the joint names, useful for "
"multi-robot setup. If changed, also joint names in the controllers' configuration "
"have to be updated.",
)
)
declared_arguments.append(
DeclareLaunchArgument(
"use_mock_hardware",
Expand Down

0 comments on commit c623813

Please sign in to comment.