Skip to content

Commit b6efb97

Browse files
author
Dan Zimmerman
committed
Change block name
1 parent abd2947 commit b6efb97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

urdf/ur.ros2_control.xacro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
add_non_joint_interfaces:=true
88
initial_positions:=${dict(shoulder_pan_joint=0.0,shoulder_lift_joint=-1.57,elbow_joint=0.0,wrist_1_joint=-1.57,wrist_2_joint=0.0,wrist_3_joint=0.0)}
99
transmission_hw_interface:=hardware_interface/PositionJointInterface
10-
**hardware_system
10+
**ros2_control_hardware
1111
">
1212

1313
<!-- Add URDF transmission elements (for ros_control) -->
1414
<!--<xacro:ur_arm_transmission prefix="${prefix}" hw_interface="${transmission_hw_interface}" />-->
1515

1616
<ros2_control name="${name}" type="system">
1717
<!-- Start hardware dependency injection from outside the macro-->
18-
<xacro:insert_block name="hardware_system" />
18+
<xacro:insert_block name="ros2_control_hardware" />
1919
<!-- End hardware dependency injection -->
2020
<joint name="${prefix}shoulder_pan_joint">
2121
<command_interface name="position">

urdf/ur.urdf.xacro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
>
9898
<!-- dz: For now, I conditionally pass the right <hardware> as a block param. -->
9999
<!-- dz: Later, this wouldn't be necessary, a consumer package could create and pass it in its top-level xacro -->
100-
<hardware_system>
100+
<ros2_control_hardware>
101101
<xacro:unless value="${sim_gazebo or sim_ignition or fake_hardware}">
102102
<xacro:ur_real_hardware_block
103103
headless_mode="$(arg headless_mode)"
@@ -139,7 +139,7 @@
139139
<plugin>ign_ros2_control/IgnitionSystem</plugin>
140140
</hardware>
141141
</xacro:if>
142-
</hardware_system>
142+
</ros2_control_hardware>
143143
</xacro:ur_ros2_control>
144144

145145

0 commit comments

Comments
 (0)