MuJoCo Warp documentation: Add nworld, nconmax, and njmax section and update introduction.
PiperOrigin-RevId: 824579564 Change-Id: I2f2b81d95e061168646fce12f7c6f7a1268385e9
This commit is contained in:
committed by
Copybara-Service
parent
dbaf35d42c
commit
3b11e31572
+17
-1
@@ -10,7 +10,7 @@ MuJoCo Warp (MJWarp)
|
||||
API <api.rst>
|
||||
|
||||
MuJoCo Warp (MJWarp) is an implementation of MuJoCo written in `Warp <https://nvidia.github.io/warp/>`__ and optimized
|
||||
for `Nvidia <https://nvidia.com>`__ GPUs. MJWarp lives in the
|
||||
for `Nvidia <https://nvidia.com>`__ hardware and parallel simulation. MJWarp lives in the
|
||||
`google-deepmind/mujoco_warp <https://github.com/google-deepmind/mujoco_warp>`__ GitHub repository and is currently in
|
||||
beta.
|
||||
|
||||
@@ -64,6 +64,22 @@ These MJWarp variants mirror their MuJoCo counterparts but have a few key differ
|
||||
#. ``mjw.Model`` and ``mjw.Data`` contain Warp arrays that are copied onto device.
|
||||
#. Some fields are missing from ``mjw.Model`` and ``mjw.Data`` for features that are unsupported.
|
||||
|
||||
``nworld``, ``nconmax``, and ``njmax``
|
||||
--------------------------------------
|
||||
MJWarp is optimized for parallel simulation. A batch of simulations can be specified with three parameters:
|
||||
|
||||
- ``nworld``: Number of worlds to simulate.
|
||||
- ``nconmax``: Expected number of contacts per world. The maximum number of contacts for all worlds is
|
||||
``nconmax * nworld``.
|
||||
- ``njmax``: Maximum number of constraints per world.
|
||||
|
||||
.. admonition:: Semantic difference for ``nconmax`` and ``njmax``.
|
||||
:class: note
|
||||
|
||||
It is possible for the number of contacts per world to exceed ``nconmax`` if the total number of contacts for all
|
||||
worlds does not exceed ``nworld x nconmax``. However, the number of constraints per world is strictly limited by
|
||||
``njmax``.
|
||||
|
||||
Functions
|
||||
_________
|
||||
|
||||
|
||||
Reference in New Issue
Block a user