Add an introspect module for structs.

Also missing struct fields to the Python bindings that were discovered as a result of the new `introspect` metadata.

PiperOrigin-RevId: 523947396
Change-Id: I367fd2dc8d5fd7e5712a45b70a5c50da51d152e4
This commit is contained in:
Saran Tunyasuvunakool
2023-04-13 02:49:47 -07:00
committed by Copybara-Service
parent bcb19fd85c
commit 2e23594fe8
13 changed files with 6721 additions and 14 deletions
+2
View File
@@ -19,6 +19,7 @@ General
- Added :ref:`visual-global<visual-global>` flag :ref:`ellipsoidinertia<visual-global-ellipsoidinertia>` to visualize
equivalent body inertias with ellipsoids instead of the default boxes.
- Added documentation for :ref:`engine plugins<exPlugin>`.
- Added struct information to the ``introspect`` module.
Python bindings
^^^^^^^^^^^^^^^
@@ -31,6 +32,7 @@ Python bindings
state concurrently with the internal ``mj_forward``, resulting in e.g.
`MuJoCo stack overflow error<https://github.com/deepmind/mujoco/issues/783>`_
or `segmentation fault<https://github.com/deepmind/mujoco/issues/790>`_.
- Added a small number of missing struct fields discovered through the new ``introspect`` metadata.
Bug fixes
^^^^^^^^^