Update docs to correctly reference mjtype.h
PiperOrigin-RevId: 919071817 Change-Id: I829de7a22a49e6df604b0acf601a13f67ef5fbab
This commit is contained in:
committed by
Copybara-Service
parent
2810edd27a
commit
88a293b5e4
@@ -115,7 +115,7 @@ All enum types use the ``mjt`` prefix.
|
|||||||
Model
|
Model
|
||||||
^^^^^
|
^^^^^
|
||||||
|
|
||||||
The enums below are defined in `mjmodel.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjmodel.h>`__.
|
The enums below are defined in `mjtype.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjtype.h>`__.
|
||||||
|
|
||||||
|
|
||||||
.. _mjtDisableBit:
|
.. _mjtDisableBit:
|
||||||
@@ -456,7 +456,7 @@ Formulas used to combine SDFs when calling mjc_distance and mjc_gradient.
|
|||||||
Data
|
Data
|
||||||
^^^^
|
^^^^
|
||||||
|
|
||||||
The enums below are defined in `mjdata.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjdata.h>`__.
|
The enums below are defined in `mjtype.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjtype.h>`__.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -875,8 +875,8 @@ The size of each array (``njnt`` in this case) is also given in ``mjModel``. The
|
|||||||
first, followed by the limits of the second joint etc. This ordering reflects the fact that all matrices in MuJoCo have
|
first, followed by the limits of the second joint etc. This ordering reflects the fact that all matrices in MuJoCo have
|
||||||
row-major format.
|
row-major format.
|
||||||
|
|
||||||
The available element types are defined in `mjmodel.h
|
The available element types are defined in `mjtype.h
|
||||||
<https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjmodel.h#L237>`_, in the enum type :ref:`mjtObj`.
|
<https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjtype.h>`__, in the enum type :ref:`mjtObj`.
|
||||||
These enums are mostly used internally. One exception are the functions :ref:`mj_name2id` and :ref:`mj_id2name` in the
|
These enums are mostly used internally. One exception are the functions :ref:`mj_name2id` and :ref:`mj_id2name` in the
|
||||||
MuJoCo API, which map element names to integer ids and vice versa. These functions take an element type as input.
|
MuJoCo API, which map element names to integer ids and vice versa. These functions take an element type as input.
|
||||||
|
|
||||||
|
|||||||
@@ -154,11 +154,10 @@ links below, to make this documentation self-contained.
|
|||||||
global variables, and includes all other header files except mjxmacro.h.
|
global variables, and includes all other header files except mjxmacro.h.
|
||||||
`mjmodel.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjmodel.h>`__
|
`mjmodel.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjmodel.h>`__
|
||||||
Defines the C structure :ref:`mjModel` which is the runtime representation of the
|
Defines the C structure :ref:`mjModel` which is the runtime representation of the
|
||||||
model being simulated. It also defines a number of primitive types and other structures needed to define mjModel.
|
model being simulated.
|
||||||
`mjdata.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjdata.h>`__
|
`mjdata.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjdata.h>`__
|
||||||
Defines the C structure :ref:`mjData` which is the workspace where all computations
|
Defines the C structure :ref:`mjData` which is the workspace where all computations
|
||||||
read their inputs and write their outputs. It also defines primitive types and other structures needed to define
|
read their inputs and write their outputs.
|
||||||
mjData.
|
|
||||||
`mjvisualize.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjvisualize.h>`__
|
`mjvisualize.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjvisualize.h>`__
|
||||||
Defines the primitive types and structures needed by the abstract visualizer.
|
Defines the primitive types and structures needed by the abstract visualizer.
|
||||||
`mjrender.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjrender.h>`__
|
`mjrender.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjrender.h>`__
|
||||||
|
|||||||
Reference in New Issue
Block a user