File: skingroup.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 (44 lines) | stat: -rw-r--r-- 1,304 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<mujoco>
  <asset>
    <skin name="skin" rgba="1 0 1 1" inflate="0.01"
    vertex="
    -.5 -.5 -.5
     .5 -.5 -.5
    -.5  .5 -.5
     .5  .5 -.5
    -.5 -.5  .5
     .5 -.5  .5
    -.5  .5  .5
     .5  .5  .5"
    texcoord=".1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1"
    face="0 1 4 4 1 5 5 1 3 5 3 7 7 3 2 7 2 6 6 2 0 6 0 4 4 5 7 4 7 6">
      <bone body="box" bindpos="0 0 .5" bindquat="1 0 0 0" vertid="4 5 6 7" vertweight="1 1 1 1"/>
      <bone body="world" bindpos="0 0 -.5" bindquat="1 0 0 0" vertid="0 1 2 3" vertweight="1 1 1 1"/>
    </skin>
  </asset>


  <worldbody>
    <geom type="plane" size="2 2 .01"/>
    <light pos="0 1 3" dir="0 -1 -2"/>
    <light pos="0 -1 3" dir="0 1 -2"/>
    <body name="box" pos="0 0 .9">
      <joint limited="true" range="-45 45"/>
      <geom type="box" size=".5 .5 .1"/>
    </body>
    <body pos="1 -1 .6">
      <freejoint/>
      <composite prefix="B0" type="box" count="4 4 4" spacing=".2">
        <geom group="4" size=".1"/>
        <skin rgba="1 1 0 1" group="2"/>
      </composite>
    </body>
    <body pos="-1 1 .6">
      <freejoint/>
      <composite prefix="B1" type="box" count="4 4 4" spacing=".2">
        <geom group="2" size=".1"/>
        <skin rgba="0 1 1 1" group="4"/>
      </composite>
    </body>
  </worldbody>
</mujoco>