| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
|
|
| <mujoco model="Trilinear">
|
| <include file="scene.xml"/>
|
|
|
| <option solver="CG" tolerance="1e-6" timestep=".001" integrator="implicitfast"/>
|
|
|
| <size memory="100M"/>
|
|
|
| <visual>
|
| <map stiffness="100"/>
|
| </visual>
|
|
|
|
|
| <asset>
|
| <texture name="texsponge" type="2d" file="sponge.png"/>
|
| <material name="matsponge" texture="texsponge" specular="0.3"/>
|
| </asset>
|
|
|
| <worldbody>
|
| <body>
|
| <joint name="press" type="slide" axis="0 0 1" damping="500"/>
|
| <geom type="box" size=".02 .2 .2" pos="0 0 .5"/>
|
| </body>
|
| <flexcomp type="mesh" file="bunny_with_uv.obj" pos="0 0 .1" dim="2" euler="90 0 0"
|
| radius=".001" material="matsponge" mass=".05" name="softbody" dof="trilinear">
|
| <elasticity young="1e3" poisson="0.1" damping="0.001" elastic2d="stretch"/>
|
| <contact selfcollide="none" internal="false"/>
|
| </flexcomp>
|
| </worldbody>
|
|
|
| <actuator>
|
| <position name="press" joint="press" gear="-1 0 0 0 0 0" ctrlrange="-1 1" kp="1000"/>
|
| </actuator>
|
| </mujoco>
|
|
|