Update MJX viewer to use mjx.get_data_into and fix bad function parameters.

PiperOrigin-RevId: 605461208
Change-Id: I7a4f6a1ed92382e522d50224e7b5cd73d8842750
This commit is contained in:
Erik Frey
2024-02-08 16:31:26 -08:00
committed by Copybara-Service
parent 4933a2c7b6
commit e77c3cb258
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -14,6 +14,8 @@ MJX
- Avoid reallocating host ``mjData`` arrays when array shapes are unchanged.
- Speed up calculation of ``mjx.ncon`` for models with many geoms.
- Avoid calling ``mjx.ncon`` in ``mjx.get_data_into`` when ``nc`` can be derived from ``mjx.Data``.
2. Fixed a bug in ``mjx-viewer`` that prevented it from running. Updated ``mjx-viewer`` to use newer
``mjx.get_data_into`` function call.
Version 3.1.2 (February 05, 2024)
-----------------------------------