Update g1_description/g1_tray_holder.xml

#4
by MarvinZhw - opened
Files changed (1) hide show
  1. g1_description/g1_tray_holder.xml +48 -6
g1_description/g1_tray_holder.xml CHANGED
@@ -1,7 +1,17 @@
1
  <mujoco model="g1_tray_holder">
2
  <compiler angle="radian" meshdir="meshes/"/>
3
 
 
 
 
 
 
4
  <default>
 
 
 
 
 
5
  <default class="torso_motor">
6
  <joint damping="0.05" armature="0.01" frictionloss="0.2"/>
7
  </default>
@@ -167,6 +177,10 @@
167
  actuatorfrcrange="-50 50" class="torso_motor"/>
168
  <geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.7 0.7 0.7 1" mesh="waist_roll_link_rev_1_0"/>
169
  <body name="torso_link">
 
 
 
 
170
  <inertial pos="0.00203133 0.000339727 0.184597" quat="0.999802 -5.98967e-05 0.0198391 0.0013197" mass="7.817" diaginertia="0.121795 0.109773 0.0273733"/>
171
  <joint name="waist_pitch_joint" pos="0 0 0" axis="0 1 0" range="-0.52 0.52"
172
  actuatorfrcrange="-50 50" class="torso_motor"/>
@@ -219,7 +233,11 @@
219
  <geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.7 0.7 0.7 1" mesh="left_wrist_yaw_link"/>
220
  <geom type="mesh" rgba="0.7 0.7 0.7 1" mesh="left_wrist_yaw_link"/>
221
  <geom pos="0.0414958 -3.8e-06 -5e-07" quat="0.499951 -0.500077 0.499953 0.500019" type="mesh" contype="0" conaffinity="0" group="1" density="0" mesh="left_tray_holder_link_node__mesh_"/>
222
- <geom pos="0.0414958 -3.8e-06 -5e-07" quat="0.499951 -0.500077 0.499953 0.500019" type="mesh" mesh="left_tray_holder_link_node__mesh_" margin="0.001"/>
 
 
 
 
223
  </body>
224
  </body>
225
  </body>
@@ -270,7 +288,11 @@
270
  <geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.7 0.7 0.7 1" mesh="right_wrist_yaw_link"/>
271
  <geom type="mesh" rgba="0.7 0.7 0.7 1" mesh="right_wrist_yaw_link"/>
272
  <geom pos="0.0414958 3.8e-06 -5e-07" quat="0.500077 -0.499951 0.500019 0.499953" type="mesh" contype="0" conaffinity="0" group="1" density="0" mesh="right_tray_holder_link_node__mesh_"/>
273
- <geom pos="0.0414958 3.8e-06 -5e-07" quat="0.500077 -0.499951 0.500019 0.499953" type="mesh" mesh="right_tray_holder_link_node__mesh_" margin="0.001"/>
 
 
 
 
274
  </body>
275
  </body>
276
  </body>
@@ -441,10 +463,30 @@
441
  </worldbody>
442
 
443
  <worldbody>
444
- <body name="box" pos="0.30225 0 0.934">
445
- <geom type="box" size="0.117 0.166 0.005" rgba="1 0 0 1" mass="0.1"
446
- margin="1e-9"/>
447
- <freejoint/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
448
  </body>
449
  </worldbody>
 
450
  </mujoco>
 
1
  <mujoco model="g1_tray_holder">
2
  <compiler angle="radian" meshdir="meshes/"/>
3
 
4
+ <option timestep="0.0005" iterations="100" integrator="RK4">
5
+ <flag warmstart="enable"/>
6
+ </option>
7
+
8
+
9
  <default>
10
+ <default class="contact">
11
+ <geom contype="1" conaffinity="1" condim="3"
12
+ solref="0.002 1" solimp="0.9 0.95 0.001"/>
13
+ </default>
14
+
15
  <default class="torso_motor">
16
  <joint damping="0.05" armature="0.01" frictionloss="0.2"/>
17
  </default>
 
177
  actuatorfrcrange="-50 50" class="torso_motor"/>
178
  <geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.7 0.7 0.7 1" mesh="waist_roll_link_rev_1_0"/>
179
  <body name="torso_link">
180
+ <site name="d435_camera_frame"
181
+ pos="0.0576235 0.01753 0.42987"
182
+ euler="0 0.8307767239493009 0"
183
+ size="0.01" rgba="1 0 0 0.5"/>
184
  <inertial pos="0.00203133 0.000339727 0.184597" quat="0.999802 -5.98967e-05 0.0198391 0.0013197" mass="7.817" diaginertia="0.121795 0.109773 0.0273733"/>
185
  <joint name="waist_pitch_joint" pos="0 0 0" axis="0 1 0" range="-0.52 0.52"
186
  actuatorfrcrange="-50 50" class="torso_motor"/>
 
233
  <geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.7 0.7 0.7 1" mesh="left_wrist_yaw_link"/>
234
  <geom type="mesh" rgba="0.7 0.7 0.7 1" mesh="left_wrist_yaw_link"/>
235
  <geom pos="0.0414958 -3.8e-06 -5e-07" quat="0.499951 -0.500077 0.499953 0.500019" type="mesh" contype="0" conaffinity="0" group="1" density="0" mesh="left_tray_holder_link_node__mesh_"/>
236
+ <!-- <geom pos="0.0414958 -3.8e-06 -5e-07" quat="0.499951 -0.500077 0.499953 0.500019" type="mesh" mesh="left_tray_holder_link_node__mesh_"/> -->
237
+ <geom type="box" pos="0.06 -3.8e-06 0.042" size="0.10 0.08 0.002" rgba="0 0 0 1" />
238
+ <geom type="box" pos="0.06 0.038 0.06" size="0.1 0.0025 0.016" rgba="0 0 0 1" />
239
+ <geom type="box" pos="0.06 0.02 0.068" size="0.1 0.02 0.0025" rgba="0 0 0 1" />
240
+ <geom type="box" pos="-0.037 0.015 0.06" size="0.0025 0.02 0.016" rgba="0 0 0 1"/>
241
  </body>
242
  </body>
243
  </body>
 
288
  <geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.7 0.7 0.7 1" mesh="right_wrist_yaw_link"/>
289
  <geom type="mesh" rgba="0.7 0.7 0.7 1" mesh="right_wrist_yaw_link"/>
290
  <geom pos="0.0414958 3.8e-06 -5e-07" quat="0.500077 -0.499951 0.500019 0.499953" type="mesh" contype="0" conaffinity="0" group="1" density="0" mesh="right_tray_holder_link_node__mesh_"/>
291
+ <!-- <geom pos="0.0414958 3.8e-06 -5e-07" quat="0.500077 -0.499951 0.500019 0.499953" type="mesh" mesh="right_tray_holder_link_node__mesh_"/> -->
292
+ <geom type="box" pos="0.06 -3.8e-06 0.042" size="0.10 0.08 0.002" rgba="0 0 0 1" />
293
+ <geom type="box" pos="0.06 -0.038 0.06" size="0.1 0.0025 0.016" rgba="0 0 0 1" />
294
+ <geom type="box" pos="0.06 -0.02 0.068" size="0.1 0.02 0.0025" rgba="0 0 0 1" />
295
+ <geom type="box" pos="-0.037 -0.015 0.06" size="0.0025 0.02 0.016" rgba="0 0 0 1" />
296
  </body>
297
  </body>
298
  </body>
 
463
  </worldbody>
464
 
465
  <worldbody>
466
+ <!-- Plate -->
467
+ <body name="plate" pos="0.30225 0.0 0.93400">
468
+ <geom name="plate_geom" type="box" size="0.12 0.17 0.009" rgba="1 0 0 1" mass="0.5" class="contact"/>
469
+ <freejoint/>
470
+ </body>
471
+
472
+ <!-- Object -->
473
+ <body name="object" pos="0.30225 0.0 0.993">
474
+ <geom name="cup_wall" type="cylinder" size="0.025 0.05"
475
+ rgba="0.8 0.8 0.8 1" mass="0.03"
476
+ friction="0.6 0.005 0.0001"/>
477
+
478
+ <geom name="cup_bottom" type="cylinder" size="0.025 0.005"
479
+ pos="0 0 -0.055" rgba="0.8 0.8 0.8 1" mass="0.015"/>
480
+
481
+ <geom name="liquid" type="cylinder" size="0.020 0.03"
482
+ pos="0 0 -0.02" rgba="0.3 0.5 1 0.6" mass="0.055"
483
+ contype="0" conaffinity="0"/>
484
+
485
+ <inertial pos="0 0 -0.015" mass="0.1"
486
+ diaginertia="0.0003 0.0003 0.00008"/>
487
+
488
+ <freejoint/>
489
  </body>
490
  </worldbody>
491
+
492
  </mujoco>