Allow flex sleeping
PiperOrigin-RevId: 917817500 Change-Id: Ia3bd5e52e7c2eaa3f70c81352d82c130b1d357f6
This commit is contained in:
committed by
Copybara-Service
parent
ddc4c54d16
commit
f712eed4ce
+22
@@ -0,0 +1,22 @@
|
||||
<mujoco>
|
||||
<option integrator="implicitfast" viscosity="2" sleep_tolerance="0.1">
|
||||
<flag sleep="enable"/>
|
||||
</option>
|
||||
|
||||
<worldbody>
|
||||
<geom type="plane" size="5 5 .01"/>
|
||||
|
||||
<!-- static body (no joint) with a sphere touching the flex -->
|
||||
<body name="static_obstacle" pos="0 0 0.05">
|
||||
<geom type="sphere" size=".04"/>
|
||||
</body>
|
||||
|
||||
<!-- constrained flex on the floor, will go to sleep -->
|
||||
<body name="flex_body" pos="0 0 0.01">
|
||||
<flexcomp name="f1" type="grid" dim="1" count="3 1 1"
|
||||
spacing=".05 .05 .05" radius=".01" mass="1">
|
||||
<edge equality="true" solref="0.15 0.2"/>
|
||||
</flexcomp>
|
||||
</body>
|
||||
</worldbody>
|
||||
</mujoco>
|
||||
Reference in New Issue
Block a user