Updates for MuJoCo Warp documentation.

PiperOrigin-RevId: 825489001
Change-Id: I6ec4a0433f96da05befeb2b76793763e50a893d8
This commit is contained in:
Taylor Howell
2025-10-29 04:41:45 -07:00
committed by Copybara-Service
parent d769440924
commit 3df784fc84
+2 -2
View File
@@ -115,7 +115,7 @@ Minimal example
d = mjw.make_data(mjm, nworld=100)
# initialize velocities
wp.copy(d.qvel, wp.array([[float(i) / 100, 0.0, 0.0, 0.0, 0.0, 0.0] for i in range(100)], dtype=float))
wp.copy(d.qvel, wp.array([[float(i) / 100, 0, 0, 0, 0, 0] for i in range(100)], dtype=float))
# simulate physics
mjw.step(m, d)
@@ -243,5 +243,5 @@ To enable this routine set ``Model.opt.ls_parallel=True`` or add a custom numeri
.. code-block:: xml
<custom>
<name="ls_parallel" numeric data="1"/>
<numeric name="ls_parallel" data="1"/>
</custom>