Minor documentation improvements.
PiperOrigin-RevId: 652064694 Change-Id: I13009410fbd3ce5ac90788f61e32354474a8e19e
This commit is contained in:
committed by
Copybara-Service
parent
e13ddfa2ab
commit
22a10fd2ff
@@ -1081,7 +1081,7 @@ is initialized, others change at runtime.
|
||||
Model Editing
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
The strucs below are defined in
|
||||
The structs below are defined in
|
||||
`mjspec.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjspec.h>`__ and, with the exception of
|
||||
the top level :ref:`mjSpec` struct, begin with the ``mjs`` prefix. For more details, see the :doc:`Model Editing
|
||||
<../programming/modeledit>` chapter.
|
||||
@@ -1101,21 +1101,15 @@ Model specification.
|
||||
mjsElement
|
||||
~~~~~~~~~~
|
||||
|
||||
Special type corresponding to any element.
|
||||
Special type corresponding to any element. This struct is the first member of all other elements; in the low-level C++
|
||||
implementation, it is not included as a member but via class inheritance. Inclusion via inheritance allows the compiler
|
||||
to ``static_cast`` an ``mjsElement`` to the correct C++ object class. Unlike all other attributes of the structs below,
|
||||
which are user-settable by design, modifying the contents of an ``mjsElement`` is not allowed and leads to undefined
|
||||
behavior.
|
||||
|
||||
.. mujoco-include:: mjsElement
|
||||
|
||||
|
||||
.. _mjsOrientation:
|
||||
|
||||
mjsOrientation
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
Alternative orientation specifiers.
|
||||
|
||||
.. mujoco-include:: mjsOrientation
|
||||
|
||||
|
||||
.. _mjsBody:
|
||||
|
||||
mjsBody
|
||||
@@ -1376,6 +1370,16 @@ Plugin specification.
|
||||
.. mujoco-include:: mjsPlugin
|
||||
|
||||
|
||||
.. _mjsOrientation:
|
||||
|
||||
mjsOrientation
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
Alternative orientation specifiers.
|
||||
|
||||
.. mujoco-include:: mjsOrientation
|
||||
|
||||
|
||||
.. _ArrayHandles:
|
||||
|
||||
.. _mjString:
|
||||
|
||||
Reference in New Issue
Block a user