Kashu7100 commited on
Commit
5ea4e24
·
1 Parent(s): d89d761

update 2f85

Browse files
Files changed (1) hide show
  1. grippers/robotiq_2f85/2f85.xml +18 -30
grippers/robotiq_2f85/2f85.xml CHANGED
@@ -1,4 +1,14 @@
1
- <mujoco model="Dual_wrist_camera">
 
 
 
 
 
 
 
 
 
 
2
  <compiler angle="radian" meshdir="assets" autolimits="true"/>
3
 
4
  <option cone="elliptic" impratio="10"/>
@@ -44,9 +54,10 @@
44
  </default>
45
  <default class="collision">
46
  <geom type="mesh" group="3"/>
47
- <default class="pad_sphere">
48
- <geom mass="1e-6" type="sphere" size="0.00155" friction="0.65"
49
- solimp="0.95 0.99 0.001" solref="0.004 1" priority="1" rgba="0.5 0.5 0.5 1"/>
 
50
  </default>
51
  </default>
52
  </default>
@@ -90,11 +101,7 @@
90
  <geom class="collision" pos="0.0509079 -0.10392 -0.0091" quat="1 -1 0 0" type="mesh" mesh="follower"/>
91
  <geom class="collision" pos="0.0509079 -0.10392 -0.0091" quat="1 -1 0 0" type="mesh" mesh="tongue"/>
92
  <body name="left_pad" pos="-0.0377897 -0.103916 -0.0091" quat="1 -1 0 0" >
93
- <geom class="pad_sphere" name="left_pad_sphere_1" pos="0.044258 -0.009 0.1165"/>
94
- <geom class="pad_sphere" name="left_pad_sphere_2" pos="0.044258 0.009 0.1165"/>
95
- <geom class="pad_sphere" name="left_pad_sphere_3" pos="0.044258 0 0.1305"/>
96
- <geom class="pad_sphere" name="left_pad_sphere_4" pos="0.044258 -0.009 0.1445"/>
97
- <geom class="pad_sphere" name="left_pad_sphere_5" pos="0.044258 0.009 0.1445"/>
98
  </body>
99
  </body>
100
  </body>
@@ -127,11 +134,7 @@
127
  <geom class="collision" pos="0.0509079 -0.10392 -0.0091" quat="1 -1 0 0" mesh="tongue"/>
128
  <geom class="collision" pos="0.0509079 -0.10392 -0.0091" quat="1 -1 0 0" mesh="follower"/>
129
  <body name="right_pad" pos="-0.0377897 -0.103916 -0.0091" quat="1 -1 0 0" >
130
- <geom class="pad_sphere" name="right_pad_sphere_1" pos="0.044258 -0.009 0.1165"/>
131
- <geom class="pad_sphere" name="right_pad_sphere_2" pos="0.044258 0.009 0.1165"/>
132
- <geom class="pad_sphere" name="right_pad_sphere_3" pos="0.044258 0 0.1305"/>
133
- <geom class="pad_sphere" name="right_pad_sphere_4" pos="0.044258 -0.009 0.1445"/>
134
- <geom class="pad_sphere" name="right_pad_sphere_5" pos="0.044258 0.009 0.1445"/>
135
  </body>
136
  </body>
137
  </body>
@@ -147,12 +150,6 @@
147
  <exclude body1="left_coupler" body2="left_follower"/>
148
  </contact>
149
 
150
- <!--
151
- This adds stability to the model by having a tendon that distributes the forces between both
152
- joints, such that the equality constraint doesn't have to do that much work in order to equalize
153
- both joints. Since both joints share the same sign, we split the force between both equally by
154
- setting coef=0.485
155
- -->
156
  <tendon>
157
  <fixed name="split">
158
  <joint joint="right_driver_joint" coef="0.485"/>
@@ -167,17 +164,8 @@
167
  solref="0.005 1"/>
168
  </equality>
169
 
170
- <!--
171
- The general actuator below is a customized position actuator (with some damping) where
172
- gainprm[0] != kp (see http://mujoco.org/book/modeling.html#position).
173
- The reason why gainprm[0] != kp is because the control input range has to be re-scaled to
174
- [0, 255]. The joint range is currently set at [0, 0.8], the control range is [0, 255] and
175
- kp = 100. Tau = Kp * scale * control_input - Kp * error, max(Kp * scale * control_input) = 0.8,
176
- hence scale = 0.8 * 100 / 255
177
- -->
178
  <actuator>
179
  <general class="2f85" name="fingers_actuator" tendon="split" forcerange="-5 5" ctrlrange="0 255"
180
  gainprm="0.3137255 0 0" biasprm="0 -100 -10"/>
181
  </actuator>
182
-
183
- </mujoco>
 
1
+ <mujoco model="2f85_grip">
2
+ <!--
3
+ Robotiq 2F85 variant tuned for stable grasping. Differs from 2f85.xml only in
4
+ the finger-pad collision geometry: the original models each silicone pad as 5
5
+ tiny spheres (radius 1.55 mm, friction 0.65), which make point contacts on a
6
+ flat object face and let a grasped object pivot/slip. Here each pad is a single
7
+ flat box matching the pad surface, with higher friction — a box-vs-box face
8
+ contact resists rotation, giving a stable parallel-jaw grasp. (Genesis uses a
9
+ scalar slide-friction model; condim 6 is set for MuJoCo correctness but Genesis
10
+ only consumes the slide term.)
11
+ -->
12
  <compiler angle="radian" meshdir="assets" autolimits="true"/>
13
 
14
  <option cone="elliptic" impratio="10"/>
 
54
  </default>
55
  <default class="collision">
56
  <geom type="mesh" group="3"/>
57
+ <!-- Flat silicone pad: box face contact + high friction for a stable grip. -->
58
+ <default class="pad_box">
59
+ <geom mass="1e-6" type="box" size="0.0016 0.0095 0.0145" friction="1.2 0.01 0.001"
60
+ condim="6" solimp="0.95 0.99 0.001" solref="0.004 1" priority="1" rgba="0.9 0.5 0.2 1"/>
61
  </default>
62
  </default>
63
  </default>
 
101
  <geom class="collision" pos="0.0509079 -0.10392 -0.0091" quat="1 -1 0 0" type="mesh" mesh="follower"/>
102
  <geom class="collision" pos="0.0509079 -0.10392 -0.0091" quat="1 -1 0 0" type="mesh" mesh="tongue"/>
103
  <body name="left_pad" pos="-0.0377897 -0.103916 -0.0091" quat="1 -1 0 0" >
104
+ <geom class="pad_box" name="left_pad_box" pos="0.044258 0 0.1305"/>
 
 
 
 
105
  </body>
106
  </body>
107
  </body>
 
134
  <geom class="collision" pos="0.0509079 -0.10392 -0.0091" quat="1 -1 0 0" mesh="tongue"/>
135
  <geom class="collision" pos="0.0509079 -0.10392 -0.0091" quat="1 -1 0 0" mesh="follower"/>
136
  <body name="right_pad" pos="-0.0377897 -0.103916 -0.0091" quat="1 -1 0 0" >
137
+ <geom class="pad_box" name="right_pad_box" pos="0.044258 0 0.1305"/>
 
 
 
 
138
  </body>
139
  </body>
140
  </body>
 
150
  <exclude body1="left_coupler" body2="left_follower"/>
151
  </contact>
152
 
 
 
 
 
 
 
153
  <tendon>
154
  <fixed name="split">
155
  <joint joint="right_driver_joint" coef="0.485"/>
 
164
  solref="0.005 1"/>
165
  </equality>
166
 
 
 
 
 
 
 
 
 
167
  <actuator>
168
  <general class="2f85" name="fingers_actuator" tendon="split" forcerange="-5 5" ctrlrange="0 255"
169
  gainprm="0.3137255 0 0" biasprm="0 -100 -10"/>
170
  </actuator>
171
+ </mujoco>