Files
Mujoco_WASM/test/engine/testdata/collision_convex/stacked_boxes.xml
T
Yuval Tassa 5004a4c8c5 Better memory setting and reporting, updated example models.
- Memory heuristic rounds up to the nearest MB.
- `simulate` reports total memory currently allocated in the info box.
- All example models use `<size memory/>` rather than legacy attributes.
- Regenerated `example_saved.xml` and reformatted original model in [overview chapter](https://mujoco.readthedocs.io/en/latest/overview.html?#examples).
- `<size>` top-level section does not get written if empty.

PiperOrigin-RevId: 486702670
Change-Id: I0306e335f32344c59562ba606664ec9d2101f8a8
2022-11-07 10:36:37 -08:00

109 lines
2.5 KiB
XML

<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 memory="100M"/>
<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>