File: stacked_boxes.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 (108 lines) | stat: -rw-r--r-- 2,564 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<mujoco>
  <option gravity="-4 4 -10">
    <flag multiccd="enable"/>
  </option>

  <visual>
    <quality shadowsize="8192"/>
    <scale forcewidth="0.01" contactwidth="0.05" contactheight="0.05"/>
    <map force="0.1"/>
  </visual>

  <size njmax="3000" nconmax="1000"/>

  <asset>
    <mesh name="box" vertex="-1 -1 -1 1 -1 -1 1 1 -1 1 1 1 1 -1 1 -1 1 -1 -1 1 1 -1 -1 1"
          scale=".05 .05 .05"/>
  </asset>

  <default>
    <geom friction="0.4"/>
    <default class="mesh_box">
      <geom type="mesh" mesh="box"/>
    </default>
    <default class="primitive_box">
      <geom type="box" size=".05 .05 .05" friction=".1"/>
    </default>
  </default>

  <worldbody>
    <light pos="1 -1 1" dir="-1 1 -1"/>
    <geom type="box" size=".5 .5 .1" pos="-.4 .4 -.1" rgba=".5 .5 .8 1"/>
    <geom type="box" size=".5 .1 .5" pos="-.4 .8 .4" rgba=".5 .5 .8 1"/>
    <geom type="box" size=".1 .5 .5" pos="-.8 .4 .4" rgba=".5 .5 .8 1"/>
    <body pos="-.4 .4 .1">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.5 .4 .1">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.6 .4 .1">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.4 .5 .1">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.5 .5 .1">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.6 .5 .1">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.4 .6 .1">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.5 .6 .1">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.6 .6 .1">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>

    <body pos="-.4 .4 .2">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.5 .4 .2">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.6 .4 .2">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.4 .5 .2">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.5 .5 .2">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.6 .5 .2">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.4 .6 .2">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.5 .6 .2">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
    <body pos="-.6 .6 .2">
      <freejoint/>
      <geom class="mesh_box"/>
    </body>
  </worldbody>
</mujoco>