Merge pull request #3006 from thowell:mujoco_warp_docs_modifying_fields
PiperOrigin-RevId: 853619026 Change-Id: I5a5348e1cdbee22e40b516cf8ed649645f54bf6f
This commit is contained in:
@@ -365,7 +365,8 @@ Modifying fields
|
||||
----------------
|
||||
|
||||
The recommended workflow for modifying an :ref:`mjModel` field is to first modify the corresponding :ref:`mjSpec` and
|
||||
then compile to create a new :ref:`mjModel` with the updated field. However, compilation currently requires a host call.
|
||||
then compile to create a new :ref:`mjModel` with the updated field. However, compilation currently requires a host call:
|
||||
1 call per new field instance, i.e., ``nworld`` host calls for ``nworld`` instances.
|
||||
|
||||
Certain fields are safe to modify directly without compilation, enabling on-device updates. Please see
|
||||
:ref:`mjModel changes<sichange>` for details about specific fields. Additionally,
|
||||
|
||||
Reference in New Issue
Block a user