humanoid100.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <!-- Copyright 2021 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="Humanoid and 100 objects">
  13. <!-- Degree of Freedom: 627
  14. Actuators: 21
  15. Humanoid and 100 free primitive objects.
  16. -->
  17. <option timestep="0.005"/>
  18. <size memory="100M"/>
  19. <default>
  20. <geom solimp=".9 .9 .01"/>
  21. <default class="capsule">
  22. <geom type="capsule" material="capsule" size="0.1 0.05"/>
  23. </default>
  24. <default class="ellipsoid">
  25. <geom type="ellipsoid" material="ellipsoid" size="0.15 0.1 0.07"/>
  26. </default>
  27. <default class="box">
  28. <geom type="box" material="box" size="0.15 0.1 0.05"/>
  29. </default>
  30. <default class="cylinder">
  31. <geom type="cylinder" material="cylinder" size="0.1 0.05" condim="4" friction="1 .01 .01"/>
  32. </default>
  33. <default class="sphere">
  34. <geom type="sphere" material="sphere" size="0.1"/>
  35. </default>
  36. <default class="border">
  37. <geom type="capsule" size="0.4" rgba=".4 .4 .4 1"/>
  38. </default>
  39. <default class="borderpost">
  40. <geom type="box" size="0.41 0.41 0.41" rgba=".55 .55 .55 1"/>
  41. </default>
  42. </default>
  43. <asset>
  44. <model file="humanoid.xml"/>
  45. <texture type="skybox" builtin="gradient" width="512" height="512" rgb1=".4 .6 .8" rgb2="0 0 0"/>
  46. <texture name="texgeom" type="cube" builtin="flat" mark="cross" width="128" height="128" rgb1="0.6 0.6 0.6" rgb2="0.6 0.6 0.6" markrgb="1 1 1"/>
  47. <texture name="texplane" type="2d" builtin="checker" rgb1=".4 .4 .4" rgb2=".6 .6 .6" width="512" height="512"/>
  48. <material name="MatPlane" reflectance="0.3" texture="texplane" texrepeat="1 1" texuniform="true" rgba=".7 .7 .7 1"/>
  49. <material name="capsule" texture="texgeom" texuniform="true" rgba=".4 .9 .6 1"/>
  50. <material name="ellipsoid" texture="texgeom" texuniform="true" rgba=".4 .6 .9 1"/>
  51. <material name="box" texture="texgeom" texuniform="true" rgba=".4 .9 .9 1"/>
  52. <material name="cylinder" texture="texgeom" texuniform="true" rgba=".8 .6 .8 1"/>
  53. <material name="sphere" texture="texgeom" texuniform="true" rgba=".9 .1 .1 1"/>
  54. </asset>
  55. <visual>
  56. <quality shadowsize="4096" offsamples="8"/>
  57. <map znear="0.1" force="0.05"/>
  58. </visual>
  59. <statistic extent="4"/>
  60. <worldbody>
  61. <attach model="Humanoid" body="torso" prefix="humanoid_"/>
  62. <light directional="true" diffuse=".8 .8 .8" pos="0 0 10" dir="0 0 -10"/>
  63. <geom name="floor" type="plane" size="3 3 .5" material="MatPlane"/>
  64. <geom class="border" fromto="-3 3 0 3 3 0"/>
  65. <geom class="border" fromto="-3 -3 0 3 -3 0"/>
  66. <geom class="border" fromto="3 3 0 3 -3 0"/>
  67. <geom class="border" fromto="-3 3 0 -3 -3 0"/>
  68. <geom class="borderpost" pos="3 3 0"/>
  69. <geom class="borderpost" pos="-3 3 0"/>
  70. <geom class="borderpost" pos="3 -3 0"/>
  71. <geom class="borderpost" pos="-3 -3 0"/>
  72. <frame pos="-2 -2 2.5">
  73. <replicate count="5" offset="0 1 0" euler="0 180 0">
  74. <frame pos="0 0 -1.5">
  75. <replicate count="4" offset="0 0 1" euler="0 0 60">
  76. <body euler="30 40 0">
  77. <freejoint/>
  78. <geom class="capsule"/>
  79. </body>
  80. </replicate>
  81. </frame>
  82. </replicate>
  83. </frame>
  84. <frame pos="-1 -2 2.5">
  85. <replicate count="5" offset="0 1 0" euler="0 180 0">
  86. <frame pos="0 0 -1.5">
  87. <replicate count="4" offset="0 0 1" euler="0 0 60">
  88. <body euler="20 40 60">
  89. <freejoint/>
  90. <geom class="ellipsoid"/>
  91. </body>
  92. </replicate>
  93. </frame>
  94. </replicate>
  95. </frame>
  96. <frame pos="0 -2 3.5">
  97. <replicate count="5" offset="0 1 0" euler="0 180 0">
  98. <frame pos="0 0 -1.5">
  99. <replicate count="4" offset="0 0 1" euler="0 0 60">
  100. <body euler="30 70 110">
  101. <freejoint/>
  102. <geom class="box"/>
  103. </body>
  104. </replicate>
  105. </frame>
  106. </replicate>
  107. </frame>
  108. <frame pos="1 -2 2.5">
  109. <replicate count="5" offset="0 1 0" euler="0 180 0">
  110. <frame pos="0 0 -1.5">
  111. <replicate count="4" offset="0 0 1" euler="0 0 60">
  112. <body euler="60 30 0">
  113. <freejoint/>
  114. <geom class="cylinder"/>
  115. </body>
  116. </replicate>
  117. </frame>
  118. </replicate>
  119. </frame>
  120. <frame pos="2 -2 2.5">
  121. <replicate count="5" offset="0 1 0">
  122. <frame pos="0 0 -1.5">
  123. <replicate count="4" offset="0 0 1">
  124. <body>
  125. <freejoint/>
  126. <geom class="sphere"/>
  127. </body>
  128. </replicate>
  129. </frame>
  130. </replicate>
  131. </frame>
  132. </worldbody>
  133. </mujoco>