File tree Expand file tree Collapse file tree 13 files changed +21
-13
lines changed Expand file tree Collapse file tree 13 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 330
330
331
331
<!-- ros_control plugin -->
332
332
<gazebo >
333
- <plugin name =" ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
333
+ <plugin name =" ${name}_ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
334
334
<robotNamespace >${name}</robotNamespace >
335
335
<filterJointsParam >joint_names</filterJointsParam >
336
336
</plugin >
Original file line number Diff line number Diff line change 125
125
126
126
<!-- ros_control plugin -->
127
127
<gazebo >
128
- <plugin name =" ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
128
+ <plugin name =" ${name}_ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
129
129
<robotNamespace >${name}</robotNamespace >
130
130
<filterJointsParam >joint_names</filterJointsParam >
131
131
</plugin >
Original file line number Diff line number Diff line change 158
158
159
159
<!-- ros_control plugin -->
160
160
<gazebo >
161
- <plugin name =" ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
161
+ <plugin name =" ${name}_ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
162
162
<robotNamespace >${name}</robotNamespace >
163
163
<filterJointsParam >joint_names</filterJointsParam >
164
164
</plugin >
Original file line number Diff line number Diff line change 180
180
<!-- ros_control plugin -->
181
181
<xacro : if value =" ${(dof1 == True) or (dof2 == True) or (dof3 == True)}" >
182
182
<gazebo >
183
- <plugin name =" ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
183
+ <plugin name =" ${name}_ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
184
184
<robotNamespace >${name}</robotNamespace >
185
185
<filterJointsParam >joint_names</filterJointsParam >
186
186
</plugin >
Original file line number Diff line number Diff line change 74
74
<!-- ros_control plugin -->
75
75
<xacro : if value =" ${active}" >
76
76
<gazebo >
77
- <plugin name =" ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
77
+ <plugin name =" ${name}_ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
78
78
<robotNamespace >${name}</robotNamespace >
79
79
<filterJointsParam >joint_names</filterJointsParam >
80
80
</plugin >
Original file line number Diff line number Diff line change 187
187
<!-- ros_control plugin -->
188
188
<xacro : if value =" ${(dof1 == True) or (dof2 == True) or (dof3 == True)}" >
189
189
<gazebo >
190
- <plugin name =" ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
190
+ <plugin name =" ${name}_ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
191
191
<robotNamespace >${name}</robotNamespace >
192
192
<filterJointsParam >joint_names</filterJointsParam >
193
193
</plugin >
Original file line number Diff line number Diff line change 98
98
<mimic joint =" ${name}_finger_left_joint" multiplier =" 1" offset =" 0" />
99
99
<limit effort =" 10" lower =" -0.001" upper =" 0.0301" velocity =" 0.041" />
100
100
</joint >
101
+ <gazebo >
102
+ <plugin name =" ${name}_finger_right_joint_gazebo" filename =" libgazebo_ros_mimic_joint.so" >
103
+ <jointName >${name}_finger_right_joint</jointName >
104
+ <mimicJoint >${name}_finger_left_joint</mimicJoint >
105
+ <multiplier >1.0</multiplier >
106
+ <offset >0.0</offset >
107
+ </plugin >
108
+ </gazebo >
101
109
102
110
<link name =" ${name}_finger_right_link" >
103
111
<xacro : default_inertial />
125
133
126
134
<!-- ros_control plugin -->
127
135
<gazebo >
128
- <plugin name =" ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
136
+ <plugin name =" ${name}_ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
129
137
<robotNamespace >${name}</robotNamespace >
130
138
<filterJointsParam >joint_names</filterJointsParam >
131
139
</plugin >
Original file line number Diff line number Diff line change 120
120
121
121
<!-- ros_control plugin -->
122
122
<gazebo >
123
- <plugin name =" ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
123
+ <plugin name =" ${name}_ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
124
124
<robotNamespace >${name}</robotNamespace >
125
125
<filterJointsParam >joint_names</filterJointsParam >
126
126
</plugin >
Original file line number Diff line number Diff line change 122
122
123
123
<!-- ros_control plugin -->
124
124
<gazebo >
125
- <plugin name =" ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
125
+ <plugin name =" ${name}_ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
126
126
<robotNamespace >${name}</robotNamespace >
127
127
<filterJointsParam >joint_names</filterJointsParam >
128
128
</plugin >
Original file line number Diff line number Diff line change 108
108
109
109
<!-- ros_control plugin -->
110
110
<gazebo >
111
- <plugin name =" ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
111
+ <plugin name =" ${name}_ros_control " filename =" libhwi_switch_gazebo_ros_control.so" >
112
112
<robotNamespace >${name}</robotNamespace >
113
113
<filterJointsParam >joint_names</filterJointsParam >
114
114
</plugin >
You can’t perform that action at this time.
0 commit comments