Add mjv_copyData

PiperOrigin-RevId: 760642972
Change-Id: I16227fd91bf42618fda684b15b3650758ae29b13
This commit is contained in:
Yuval Tassa
2025-05-19 08:58:45 -07:00
committed by Copybara-Service
parent 670c97c4f7
commit 8268c6d1ff
9 changed files with 236 additions and 113 deletions
+9
View File
@@ -1364,6 +1364,15 @@ If the model buffer is unallocated the initial configuration will not be set.
Copy mjData.
m is only required to contain the size fields from MJMODEL_INTS.
.. _mjv_copyData:
`mjv_copyData <#mjv_copyData>`__
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. mujoco-include:: mjv_copyData
Copy mjData, skip large arrays not required for visualization.
.. _mj_resetData:
`mj_resetData <#mj_resetData>`__