|
| 1 | +<mujoco model="panda scene"> |
| 2 | + <compiler angle="radian" autolimits="true"/> |
| 3 | + |
| 4 | + <default> |
| 5 | + <default class="panda"> |
| 6 | + <material specular="0.5" shininess="0.25"/> |
| 7 | + <joint armature="0.1" damping="1" axis="0 0 1" range="-2.8973 2.8973"/> |
| 8 | + <general dyntype="none" biastype="affine" ctrlrange="-2.8973 2.8973" forcerange="-87 87"/> |
| 9 | + <position forcerange="-100 100"/> |
| 10 | + <default class="finger"> |
| 11 | + <joint axis="0 1 0" type="slide" range="0 0.04"/> |
| 12 | + </default> |
| 13 | + |
| 14 | + <default class="visual"> |
| 15 | + <geom type="mesh" contype="0" conaffinity="0" group="2"/> |
| 16 | + </default> |
| 17 | + <default class="collision"> |
| 18 | + <geom group="3" type="mesh" contype="0" conaffinity="0"/> |
| 19 | + <default class="primitive_collision"> |
| 20 | + <geom group="3" type="box" contype="0" conaffinity="0" |
| 21 | + condim="3" solimp="0.99 0.995 0.01" solref="0.01 1" friction="1 0.005 0.0001"/> |
| 22 | + <default class="fingertip_pad_collision_1"> |
| 23 | + <geom type="box" size="0.011 0.0075 0.01" pos="0 0.0185 0.011"/> |
| 24 | + </default> |
| 25 | + <default class="fingertip_pad_collision_2"> |
| 26 | + <geom type="box" size="0.011 0.0044 0.0019" pos="0 0.0068 0.0022"/> |
| 27 | + </default> |
| 28 | + <default class="fingertip_pad_collision_3"> |
| 29 | + <geom type="box" size="0.00875 0.0035 0.01175" pos="0 0.0159 0.02835" quat="1 0.25 0 0"/> |
| 30 | + </default> |
| 31 | + <default class="fingertip_pad_collision_4"> |
| 32 | + <geom type="box" size="0.00875 0.0076 0.00825" pos="0 0.00758 0.04525" conaffinity="3"/> |
| 33 | + </default> |
| 34 | + </default> |
| 35 | + </default> |
| 36 | + </default> |
| 37 | + </default> |
| 38 | + |
| 39 | + <worldbody> |
| 40 | + <light name="top" pos="0 0 2" mode="trackcom"/> |
| 41 | + <body name="link0" childclass="panda"> |
| 42 | + <inertial mass="0.629769" pos="-0.041018 -0.00014 0.049974" |
| 43 | + fullinertia="0.00315 0.00388 0.004285 8.2904e-7 0.00015 8.2299e-6"/> |
| 44 | + <body name="link1" pos="0 0 0.333"> |
| 45 | + <inertial mass="4.970684" pos="0.003875 0.002081 -0.04762" |
| 46 | + fullinertia="0.70337 0.70661 0.0091170 -0.00013900 0.0067720 0.019169"/> |
| 47 | + <joint name="joint1" damping="40"/> |
| 48 | + <body name="link2" quat="1 -1 0 0"> |
| 49 | + <inertial mass="0.646926" pos="-0.003141 -0.02872 0.003495" |
| 50 | + fullinertia="0.0079620 2.8110e-2 2.5995e-2 -3.925e-3 1.0254e-2 7.04e-4"/> |
| 51 | + <joint name="joint2" range="-1.7628 1.7628" damping="40"/> |
| 52 | + <body name="link3" pos="0 -0.316 0" quat="1 1 0 0"> |
| 53 | + <joint name="joint3" damping="40"/> |
| 54 | + <inertial mass="3.228604" pos="2.7518e-2 3.9252e-2 -6.6502e-2" |
| 55 | + fullinertia="3.7242e-2 3.6155e-2 1.083e-2 -4.761e-3 -1.1396e-2 -1.2805e-2"/> |
| 56 | + <body name="link4" pos="0.0825 0 0" quat="1 1 0 0"> |
| 57 | + <inertial mass="3.587895" pos="-5.317e-2 1.04419e-1 2.7454e-2" |
| 58 | + fullinertia="2.5853e-2 1.9552e-2 2.8323e-2 7.796e-3 -1.332e-3 8.641e-3"/> |
| 59 | + <joint name="joint4" range="-3.0718 -0.0698" damping="40"/> |
| 60 | + <body name="link5" pos="-0.0825 0.384 0" quat="1 -1 0 0"> |
| 61 | + <inertial mass="1.225946" pos="-1.1953e-2 4.1065e-2 -3.8437e-2" |
| 62 | + fullinertia="3.5549e-2 2.9474e-2 8.627e-3 -2.117e-3 -4.037e-3 2.29e-4"/> |
| 63 | + <joint name="joint5" damping="2"/> |
| 64 | + <body name="link6" quat="1 1 0 0"> |
| 65 | + <inertial mass="1.666555" pos="6.0149e-2 -1.4117e-2 -1.0517e-2" |
| 66 | + fullinertia="1.964e-3 4.354e-3 5.433e-3 1.09e-4 -1.158e-3 3.41e-4"/> |
| 67 | + <joint name="joint6" range="-0.0175 3.7525" damping="2"/> |
| 68 | + <body name="link7" pos="0.088 0 0" quat="1 1 0 0"> |
| 69 | + <inertial mass="7.35522e-01" pos="1.0517e-2 -4.252e-3 6.1597e-2" |
| 70 | + fullinertia="1.2516e-2 1.0027e-2 4.815e-3 -4.28e-4 -1.196e-3 -7.41e-4"/> |
| 71 | + <joint name="joint7" damping="2"/> |
| 72 | + <body name="hand" pos="0 0 0.107" quat="0.9238795 0 0 -0.3826834"> |
| 73 | + <inertial mass="0.73" pos="-0.01 0 0.03" diaginertia="0.001 0.0025 0.0017"/> |
| 74 | + <site name="gripper" pos="0 0 0.1"/> |
| 75 | + <body name="left_finger" pos="0 0 0.0584"> |
| 76 | + <inertial mass="0.015" pos="0 0 0" |
| 77 | + diaginertia="2.375e-6 2.375e-6 7.5e-7"/> |
| 78 | + <joint name="finger_joint1" class="finger" damping="10"/> |
| 79 | + </body> |
| 80 | + <body name="right_finger" pos="0 0 0.0584" quat="0 0 0 1"> |
| 81 | + <inertial mass="0.015" pos="0 0 0" |
| 82 | + diaginertia="2.375e-6 2.375e-6 7.5e-7"/> |
| 83 | + <joint name="finger_joint2" class="finger" damping="10"/> |
| 84 | + </body> |
| 85 | + </body> |
| 86 | + </body> |
| 87 | + </body> |
| 88 | + </body> |
| 89 | + </body> |
| 90 | + </body> |
| 91 | + </body> |
| 92 | + </body> |
| 93 | + </body> |
| 94 | + </worldbody> |
| 95 | + |
| 96 | + <equality> |
| 97 | + <joint joint1="finger_joint1" joint2="finger_joint2" solimp="0.95 0.99 0.001" solref="0.005 1"/> |
| 98 | + </equality> |
| 99 | + |
| 100 | + <actuator> |
| 101 | + <position class="panda" name="actuator1" joint="joint1" kp="1000" kv="20" |
| 102 | + ctrlrange="-2.8973 2.8973"/> |
| 103 | + <position class="panda" name="actuator2" joint="joint2" kp="1000" kv="20" |
| 104 | + ctrlrange="-1.7628 1.7628"/> |
| 105 | + <position class="panda" name="actuator3" joint="joint3" kp="750" kv="4" |
| 106 | + ctrlrange="-2.8973 2.8973"/> |
| 107 | + <position class="panda" name="actuator4" joint="joint4" kp="750" kv="4" |
| 108 | + ctrlrange="-3.0718 -0.0698"/> |
| 109 | + <position class="panda" name="actuator5" joint="joint5" kp="300" kv="2" |
| 110 | + forcerange="-12 12" ctrlrange="-2.8973 2.8973"/> |
| 111 | + <position class="panda" name="actuator6" joint="joint6" kp="300" kv="2" forcerange="-12 12" |
| 112 | + ctrlrange="-0.0175 3.7525"/> |
| 113 | + <position class="panda" name="actuator7" joint="joint7" kp="300" kv="2" forcerange="-12 12"/> |
| 114 | + <general class="panda" name="actuator8" joint="finger_joint1" |
| 115 | + ctrlrange="0 0.04" gainprm="350 0 0" biasprm="0 -350 -10" forcerange="-200 200"/> |
| 116 | + </actuator> |
| 117 | + |
| 118 | + <option timestep="0.005" iterations="5" ls_iterations="8" integrator="implicitfast"> |
| 119 | + <flag eulerdamp="disable"/> |
| 120 | + </option> |
| 121 | + |
| 122 | + <custom> |
| 123 | + <numeric data="12" name="max_contact_points"/> |
| 124 | + </custom> |
| 125 | + |
| 126 | + <visual> |
| 127 | + <headlight diffuse="0.6 0.6 0.6" ambient="0.3 0.3 0.3" specular="0 0 0"/> |
| 128 | + <rgba haze="0.15 0.25 0.35 1"/> |
| 129 | + <global azimuth="120" elevation="-20"/> |
| 130 | + <scale contactwidth="0.075" contactheight="0.025" forcewidth="0.05" com="0.05" framewidth="0.01" |
| 131 | + framelength="0.2"/> |
| 132 | + </visual> |
| 133 | + |
| 134 | + <asset> |
| 135 | + <texture type="skybox" builtin="gradient" rgb1="0.3 0.5 0.7" rgb2="0 0 0" width="512" height="3072"/> |
| 136 | + <texture type="2d" name="groundplane" builtin="checker" mark="edge" rgb1="0.2 0.3 0.4" rgb2="0.1 0.2 0.3" |
| 137 | + markrgb="0.8 0.8 0.8" width="300" height="300"/> |
| 138 | + <material name="groundplane" texture="groundplane" texuniform="true" texrepeat="5 5" reflectance="0.2"/> |
| 139 | + </asset> |
| 140 | + |
| 141 | + <worldbody> |
| 142 | + <light pos="0 0 1.5" dir="0 0 -1" directional="true"/> |
| 143 | + <geom name="floor" size="0 0 0.05" type="plane" material="groundplane" contype="1"/> |
| 144 | + </worldbody> |
| 145 | + |
| 146 | + <worldbody> |
| 147 | + <body name="box" pos="0.5 0 0.03"> |
| 148 | + <freejoint/> |
| 149 | + <geom type="box" name="box" size="0.02 0.02 0.03" condim="3" |
| 150 | + friction="1 .03 .003" rgba="0 1 0 1" contype="2" conaffinity="1" solref="0.01 1"/> |
| 151 | + </body> |
| 152 | + </worldbody> |
| 153 | + |
| 154 | + <keyframe> |
| 155 | + <key name="home" |
| 156 | + qpos="0 0.3 0 -1.57079 0 2.0 -0.7853 0.04 0.04 0.7 0 0.03 1 0 0 0" |
| 157 | + ctrl="0 0.3 0 -1.57079 0 2.0 -0.7853 0.04"/> |
| 158 | + <key name="pickup" |
| 159 | + qpos="0.2897 0.50732 -0.140016 -2.176 -0.0310497 2.51592 -0.49251 0.04 0.0399982 0.511684 0.0645413 0.0298665 0.665781 2.76848e-17 -2.27527e-17 -0.746147" |
| 160 | + ctrl="0.2897 0.423 -0.144392 -2.13105 -0.0291743 2.52586 -0.492492 0.04"/> |
| 161 | + <key name="pickup1" |
| 162 | + qpos='0.2897 0.496673 -0.142836 -2.14746 -0.0295746 2.52378 -0.492496 0.04 0.0399988 0.529553 0.0731702 0.0299388 0.94209 8.84613e-06 -4.97524e-06 -0.335361' |
| 163 | + ctrl="0.2897 0.458 -0.144392 -2.13105 -0.0291743 2.52586 -0.492492 0.04"/> |
| 164 | + </keyframe> |
| 165 | +</mujoco> |
0 commit comments