|
1 | 1 | <mujoco> |
| 2 | + <!-- custom tcp offset --> |
| 3 | + <custom> |
| 4 | + <numeric name="tcp_offset_translation" data="0.0 0.0 0.1034"/> |
| 5 | + <!-- rotation matrix is row major --> |
| 6 | + <numeric name="tcp_offset_rotation_matrix" data="0.707 0.707 0 -0.707 0.707 0 0 0 1"/> |
| 7 | + </custom> |
| 8 | + <default> |
| 9 | + <default class="fr3"> |
| 10 | + <joint armature="0.1" damping="1"/> |
| 11 | + <position inheritrange="1"/> |
| 12 | + <default class="finger"> |
| 13 | + <joint axis="0 1 0" type="slide" range="0 0.04"/> |
| 14 | + </default> |
| 15 | + <default class="visual"> |
| 16 | + <geom type="mesh" group="2" contype="0" conaffinity="0"/> |
| 17 | + </default> |
| 18 | + <default class="collision"> |
| 19 | + <geom type="mesh" group="3" mass="0" density="0"/> |
| 20 | + <default class="fingertip_pad_collision_1"> |
| 21 | + <geom type="box" size="0.0085 0.004 0.0085" pos="0 0.0055 0.0445"/> |
| 22 | + </default> |
| 23 | + <default class="fingertip_pad_collision_2"> |
| 24 | + <geom type="box" size="0.003 0.002 0.003" pos="0.0055 0.002 0.05"/> |
| 25 | + </default> |
| 26 | + <default class="fingertip_pad_collision_3"> |
| 27 | + <geom type="box" size="0.003 0.002 0.003" pos="-0.0055 0.002 0.05"/> |
| 28 | + </default> |
| 29 | + <default class="fingertip_pad_collision_4"> |
| 30 | + <geom type="box" size="0.003 0.002 0.0035" pos="0.0055 0.002 0.0395"/> |
| 31 | + </default> |
| 32 | + <default class="fingertip_pad_collision_5"> |
| 33 | + <geom type="box" size="0.003 0.002 0.0035" pos="-0.0055 0.002 0.0395"/> |
| 34 | + </default> |
| 35 | + </default> |
| 36 | + <site size="0.001" rgba="0.5 0.5 0.5 0.3" group="4"/> |
| 37 | + </default> |
| 38 | + <default class="d435i"> |
| 39 | + <material specular="0" shininess="0.25"/> |
| 40 | + <default class="visual_d435i"> |
| 41 | + <geom group="2" type="mesh" contype="0" conaffinity="0" mass="0"/> |
| 42 | + </default> |
| 43 | + <default class="collision_d435i"> |
| 44 | + <geom group="3" type="mesh" mass="0"/> |
| 45 | + </default> |
| 46 | + </default> |
| 47 | + </default> |
2 | 48 | <worldbody> |
3 | 49 | <body name="base" childclass="fr3" gravcomp="1"> |
4 | 50 | <body name="fr3_link0" gravcomp="1"> |
|
13 | 59 | <body name="fr3_link1" pos="0 0 0.333" gravcomp="1"> |
14 | 60 | <inertial pos="4.128e-07 -0.0181251 -0.0386036" quat="0.999901 0.0021545 0.00429041 0.0132325" mass="2.92747" |
15 | 61 | diaginertia="0.0186043 0.0181194 0.00538716"/> |
16 | | - <joint name="fr3_joint1" axis="0 0 1" range="-2.7437 2.7437" actuatorfrcrange="-87 87"/> |
| 62 | + <joint name="fr3_joint1" axis="0 0 1" range="-2.7437 2.7437" actuatorfrcrange="-87 87" actuatorgravcomp="true"/> |
17 | 63 | <geom name="fr3_link1_collision" class="collision" mesh="fr3_link1_coll"/> |
18 | 64 | <geom material="white" mesh="fr3_link1" class="visual"/> |
19 | 65 | <body name="fr3_link2" quat="1 -1 0 0" gravcomp="1"> |
20 | 66 | <inertial pos="0.00318289 -0.0743222 0.00881461" quat="0.356855 0.680818 -0.434812 0.469126" mass="2.93554" |
21 | 67 | diaginertia="0.0299291 0.0299291 0.0299291"/> |
22 | | - <joint name="fr3_joint2" axis="0 0 1" range="-1.7837 1.7837" actuatorfrcrange="-87 87"/> |
| 68 | + <joint name="fr3_joint2" axis="0 0 1" range="-1.7837 1.7837" actuatorfrcrange="-87 87" actuatorgravcomp="true"/> |
23 | 69 | <geom material="white" mesh="fr3_link2" class="visual"/> |
24 | 70 | <geom name="fr3_link2_collision" class="collision" mesh="fr3_link2_coll"/> |
25 | 71 | <body name="fr3_link3" pos="0 -0.316 0" quat="1 1 0 0" gravcomp="1"> |
26 | 72 | <inertial pos="0.0407016 -0.00482006 -0.0289731" quat="0.950032 -0.148357 0.229935 0.150201" mass="2.2449" |
27 | 73 | diaginertia="0.0140109 0.0140109 0.0140109"/> |
28 | | - <joint name="fr3_joint3" axis="0 0 1" range="-2.9007 2.9007" actuatorfrcrange="-87 87"/> |
| 74 | + <joint name="fr3_joint3" axis="0 0 1" range="-2.9007 2.9007" actuatorfrcrange="-87 87" actuatorgravcomp="true"/> |
29 | 75 | <geom mesh="fr3_link3_0" material="white" class="visual"/> |
30 | 76 | <geom mesh="fr3_link3_1" material="black" class="visual"/> |
31 | 77 | <geom name="fr3_link3_collision" class="collision" mesh="fr3_link3_coll"/> |
32 | 78 | <body name="fr3_link4" pos="0.0825 0 0" quat="1 1 0 0" gravcomp="1"> |
33 | 79 | <inertial pos="-0.0459101 0.0630493 -0.00851879" quat="0.23761 0.892458 -0.00078702 0.383484" |
34 | 80 | mass="2.6156" diaginertia="0.0206104 0.0206104 0.0206104"/> |
35 | | - <joint name="fr3_joint4" axis="0 0 1" range="-3.0421 -0.1518" actuatorfrcrange="-87 87"/> |
| 81 | + <joint name="fr3_joint4" axis="0 0 1" range="-3.0421 -0.1518" actuatorfrcrange="-87 87" actuatorgravcomp="true"/> |
36 | 82 | <geom mesh="fr3_link4_0" material="white" class="visual"/> |
37 | 83 | <geom mesh="fr3_link4_1" material="black" class="visual"/> |
38 | 84 | <geom name="fr3_link4_collision" class="collision" mesh="fr3_link4_coll"/> |
39 | 85 | <body name="fr3_link5" pos="-0.0825 0.384 0" quat="1 -1 0 0" gravcomp="1"> |
40 | 86 | <inertial pos="-0.00160396 0.0292536 -0.0972966" quat="0.922285 0.098826 0.0982562 -0.360514" |
41 | 87 | mass="2.32712" diaginertia="0.0182879 0.0182879 0.0182879"/> |
42 | | - <joint name="fr3_joint5" axis="0 0 1" range="-2.8065 2.8065" actuatorfrcrange="-12 12"/> |
| 88 | + <joint name="fr3_joint5" axis="0 0 1" range="-2.8065 2.8065" actuatorfrcrange="-12 12" actuatorgravcomp="true"/> |
43 | 89 | <geom mesh="fr3_link5_0" material="white" class="visual"/> |
44 | 90 | <geom mesh="fr3_link5_1" material="white" class="visual"/> |
45 | 91 | <geom mesh="fr3_link5_2" material="black" class="visual"/> |
46 | 92 | <geom name="fr3_link5_collision" class="collision" mesh="fr3_link5_coll"/> |
47 | 93 | <body name="fr3_link6" quat="1 1 0 0" gravcomp="1"> |
48 | 94 | <inertial pos="0.0597131 -0.0410295 -0.0101693" quat="0.593933 0.525442 0.520644 0.316361" |
49 | 95 | mass="1.81704" diaginertia="0.00483538 0.00483538 0.00483538"/> |
50 | | - <joint name="fr3_joint6" axis="0 0 1" range="0.5445 4.5169" actuatorfrcrange="-12 12"/> |
| 96 | + <joint name="fr3_joint6" axis="0 0 1" range="0.5445 4.5169" actuatorfrcrange="-12 12" actuatorgravcomp="true"/> |
51 | 97 | <geom mesh="fr3_link6_0" material="button_green" class="visual"/> |
52 | 98 | <geom mesh="fr3_link6_1" material="white" class="visual"/> |
53 | 99 | <geom mesh="fr3_link6_2" material="white" class="visual"/> |
|
60 | 106 | <body name="fr3_link7" pos="0.088 0 0" quat="1 1 0 0" gravcomp="1"> |
61 | 107 | <inertial pos="0.00452258 0.00862619 -0.0161633" quat="0.120255 0.394761 -0.799132 0.437139" |
62 | 108 | mass="0.627143" diaginertia="3.076e-07 3.076e-07 3.076e-07"/> |
63 | | - <joint name="fr3_joint7" axis="0 0 1" range="-3.0159 3.0159" actuatorfrcrange="-12 12"/> |
| 109 | + <joint name="fr3_joint7" axis="0 0 1" range="-3.0159 3.0159" actuatorfrcrange="-12 12" actuatorgravcomp="true"/> |
64 | 110 | <geom mesh="fr3_link7_0" material="black" class="visual"/> |
65 | 111 | <geom mesh="fr3_link7_1" material="white" class="visual"/> |
66 | 112 | <geom mesh="fr3_link7_2" material="white" class="visual"/> |
|
0 commit comments