File: inertia_concave.xml

package info (click to toggle)
mujoco 2.2.2-3.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,796 kB
  • sloc: ansic: 28,947; cpp: 28,897; cs: 14,241; python: 10,465; xml: 5,104; sh: 93; makefile: 34
file content (27 lines) | stat: -rw-r--r-- 1,032 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<mujoco>
  <compiler exactmeshinertia="true"/>
  <asset>
    <mesh file="cube_cup.obj" scale="10 10 10"/>
    <mesh file="cube_cup_quad.obj" scale="10 10 10"/>
    <mesh file="cube_cup_hi.obj" scale="10 10 10"/>
  </asset>
  <worldbody>
    <light directional="true" diffuse=".6 .6 .6" specular="0.2 0.2 0.2" pos="0 0 4" dir="0 0 -1"/>
    <body pos="-1.5 0 1">
      <geom type="mesh" mesh="cube_cup" density="1"/>
    </body>
    <body pos="0 0 1">
      <geom type="mesh" mesh="cube_cup_quad" density="1"/>
    </body>
    <body pos="1.5 0 1">
      <geom type="mesh" mesh="cube_cup_hi" density="1"/>
    </body>
    <body pos="3 0 1">
      <geom type="box" pos="0 0 0.05" size=".5 .5 .05" density="1"/>
      <geom type="box" pos="-.45 0 .55" size=".05 .5 .45" density="1"/>
      <geom type="box" pos=" .45 0 .55" size=".05 .5 .45" density="1"/>
      <geom type="box" pos="0 -.45 .55" size=".4 .05 .45" density="1"/>
      <geom type="box" pos="0 .45 .55" size=".4 .05 .45" density="1"/>
    </body>
  </worldbody>
</mujoco>