Skip to content

Commit

Permalink
Correct launchfiles to use tf_prefix URDF argument, and ros_gz_sim pa…
Browse files Browse the repository at this point in the history
…ckage name. (UniversalRobots#13)

Co-authored-by: Felix Exner <[email protected]>
  • Loading branch information
mrjogo and fmauch authored Jun 24, 2024
1 parent e2acca2 commit 2693c6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ur_simulation_gz/launch/ur_sim_control.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def launch_setup(context, *args, **kwargs):
# General arguments
runtime_config_package = LaunchConfiguration("runtime_config_package")
controllers_file = LaunchConfiguration("controllers_file")
prefix = LaunchConfiguration("prefix")
tf_prefix = LaunchConfiguration("tf_prefix")
activate_joint_controller = LaunchConfiguration("activate_joint_controller")
initial_joint_controller = LaunchConfiguration("initial_joint_controller")
description_file = LaunchConfiguration("description_file")
Expand Down Expand Up @@ -91,8 +91,8 @@ def launch_setup(context, *args, **kwargs):
"ur_type:=",
ur_type,
" ",
"prefix:=",
prefix,
"tf_prefix:=",
tf_prefix,
" ",
"simulation_controllers:=",
initial_joint_controllers,
Expand Down Expand Up @@ -234,7 +234,7 @@ def generate_launch_description():
)
declared_arguments.append(
DeclareLaunchArgument(
"prefix",
"tf_prefix",
default_value='""',
description="Prefix of the joint names, useful for "
"multi-robot setup. If changed than also joint names in the controllers' configuration "
Expand Down
2 changes: 1 addition & 1 deletion ur_simulation_gz/launch/ur_sim_moveit.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def launch_setup(context, *args, **kwargs):
"runtime_config_package": runtime_config_package,
"controllers_file": controllers_file,
"description_file": description_file,
"prefix": prefix,
"tf_prefix": prefix,
"launch_rviz": "false",
}.items(),
)
Expand Down

0 comments on commit 2693c6c

Please sign in to comment.