pancake_flex.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!-- Copyright 2024 DeepMind Technologies Limited
  2. Licensed under the Apache License, Version 2.0 (the "License");
  3. you may not use this file except in compliance with the License.
  4. You may obtain a copy of the License at
  5. http://www.apache.org/licenses/LICENSE-2.0
  6. Unless required by applicable law or agreed to in writing, software
  7. distributed under the License is distributed on an "AS IS" BASIS,
  8. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. See the License for the specific language governing permissions and
  10. limitations under the License.
  11. -->
  12. <mujoco model="Pancake">
  13. <include file="scene.xml"/>
  14. <extension>
  15. <plugin plugin="mujoco.elasticity.shell"/>
  16. </extension>
  17. <option timestep="0.001" solver="CG" tolerance="1e-6" integrator="implicitfast"/>
  18. <size memory="10M"/>
  19. <visual>
  20. <map stiffness="100"/>
  21. </visual>
  22. <default>
  23. <default class="wall">
  24. <geom type="plane" size=".5 .5 .05"/>
  25. </default>
  26. </default>
  27. <worldbody>
  28. <flexcomp type="disc" count="9 9 1" spacing=".1 .1 .1" pos="0 0 .5"
  29. radius=".01" mass=".5" name="plate" dim="2">
  30. <contact condim="3" solref="0.01 1" solimp=".95 .99 .0001"/>
  31. <edge equality="true" damping="10"/>
  32. <plugin plugin="mujoco.elasticity.shell">
  33. <config key="poisson" value="0"/>
  34. <config key="thickness" value="8e-3"/>
  35. <!--Units are in Pa (SI)-->
  36. <config key="young" value="3e5"/>
  37. </plugin>
  38. </flexcomp>
  39. </worldbody>
  40. </mujoco>