Skip to content

Commit

Permalink
Merge branch 'fix/rviz-dicc' into 'humble-devel'
Browse files Browse the repository at this point in the history
Fix robot_description set up

See merge request robots/pal_robotiq_gripper!21
  • Loading branch information
doterkuile committed Feb 5, 2024
2 parents e6bdcfb + 4516a44 commit 25b8937
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ def setup_controller_configuration(context: LaunchContext):
gripper_argument = read_launch_argument('gripper', context)
gripper = gripper_argument.replace('-', '_')

robot_description = {'robot_description': load_xacro(
robot_description = load_xacro(
Path(os.path.join(
get_package_share_directory('pal_robotiq_description'), 'robots',
'pal_' + gripper + '_gripper.urdf.xacro')),
)}
)

return [SetLaunchConfiguration('robot_description', robot_description)]

Expand Down

0 comments on commit 25b8937

Please sign in to comment.