Implement sleeping in engine
PiperOrigin-RevId: 829361787 Change-Id: I6f64d8e25c4248cf32c18cd94d37ff5def78946e
This commit is contained in:
committed by
Copybara-Service
parent
1e0226d360
commit
769f37b653
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
<mujoco>
|
||||
<custom>
|
||||
<numeric name="duration" data="2.0"/>
|
||||
</custom>
|
||||
|
||||
<option>
|
||||
<flag sleep="enable"/>
|
||||
</option>
|
||||
|
||||
<worldbody>
|
||||
<light pos="0 -1 3"/>
|
||||
<geom type="plane" size="1 1 .01"/>
|
||||
|
||||
<replicate count="3" offset="0 0 .3">
|
||||
<body pos="0 0 .15" sleep="init">
|
||||
<freejoint/>
|
||||
<geom type="box" size=".1 .1 .1"/>
|
||||
</body>
|
||||
</replicate>
|
||||
|
||||
<body pos="0 0 1.2" euler="10 20 30">
|
||||
<freejoint/>
|
||||
<geom type="box" size=".1 .1 .1"/>
|
||||
</body>
|
||||
</worldbody>
|
||||
</mujoco>
|
||||
Reference in New Issue
Block a user