Add table of contents to API Functions documentation page.
PiperOrigin-RevId: 516191825 Change-Id: I792aa72e748443a3f422d0b6cf65a2803f3ec012
This commit is contained in:
committed by
Copybara-Service
parent
ae2c530d8b
commit
b4d29abfc1
@@ -4,11 +4,37 @@
|
|||||||
Functions
|
Functions
|
||||||
=========
|
=========
|
||||||
|
|
||||||
The main header `mujoco.h <https://github.com/deepmind/mujoco/blob/main/include/mujoco/mujoco.h>`_ exposes a very large
|
The main header `mujoco.h <https://github.com/deepmind/mujoco/blob/main/include/mujoco/mujoco.h>`_ exposes a large
|
||||||
number of functions. However the functions that most users are likely to need are a small fraction. For example,
|
number of functions. However the functions that most users are likely to need are a small fraction.
|
||||||
:ref:`simulate.cc <saSimulate>` which is as elaborate as a MuJoCo application is likely to get, calls around 40 of these
|
|
||||||
functions, while ``basic.cc`` calls around 20. The rest are explosed just in case someone has a use for them. This
|
API function can be classified as:
|
||||||
includes us as users of MuJoCo -- we do our own work with the public library instead of relying on internal builds.
|
|
||||||
|
- :ref:`Virtual file system<Virtualfilesystem>`, used to load assets from memory.
|
||||||
|
- :ref:`Parse and compile<Parseandcompile>` an :ref:`mjModel` from XML files and assets.
|
||||||
|
- :ref:`Main simulation<Mainsimulation>` entry points, including :ref:`mj_step`.
|
||||||
|
- :ref:`Initialization<Initialization>` of data structures.
|
||||||
|
- :ref:`Printing<Printing>` of various quantities.
|
||||||
|
- :ref:`Components<Components>` of the simulation pipeline, called from :ref:`mj_step`, :ref:`mj_forward` and :ref:`mj_inverse`.
|
||||||
|
- :ref:`Sub components<Subcomponents>` of the simulation pipeline.
|
||||||
|
- :ref:`Support<Support>` functions requiring :ref:`mjModel` and :ref:`mjData`.
|
||||||
|
- :ref:`Ray casting<Raycollisions>`.
|
||||||
|
- :ref:`Abstract interaction<Interaction>`: mouse control of cameras and perturbations.
|
||||||
|
- :ref:`Abstract Visualization<Visualization-api>`.
|
||||||
|
- :ref:`OpenGL rendering<OpenGLrendering>`.
|
||||||
|
- :ref:`UI framework<UIframework>`.
|
||||||
|
- :ref:`Error and memory<Errorandmemory>`.
|
||||||
|
- Deprecated :ref:`activation<Activation>` mechanism.
|
||||||
|
- :ref:`Aliases for C standard math<Standardmath>` functions.
|
||||||
|
- :ref:`Vector math<Vectormath>`.
|
||||||
|
- :ref:`Quaternions<Quaternions>`.
|
||||||
|
- :ref:`Poses transformations<Poses>`.
|
||||||
|
- :ref:`Matrix decompositions and solvers<Decompositions>`.
|
||||||
|
- :ref:`Miscellaneous<Miscellaneous>` functions.
|
||||||
|
- :ref:`Dynamics derivatives<Derivatives-api>`.
|
||||||
|
- :ref:`Plugin<Plugins-api>` related functions.
|
||||||
|
- :ref:`Macros<Macros>`.
|
||||||
|
|
||||||
|
.. TODO(b/273075045): Better category-label namespacing.
|
||||||
|
|
||||||
.. include:: functions.rst
|
.. include:: functions.rst
|
||||||
|
|
||||||
|
|||||||
@@ -4,11 +4,11 @@
|
|||||||
API Reference
|
API Reference
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This chapter is the reference manual for MuJoCo. It is generated from the header files included with MuJoCo, but also
|
This chapter is the reference manual for the MuJoCo API. It is automatically kept in sync with MuJoCo's header files,
|
||||||
contains additional text not available in the headers.
|
but also contains additional information not available in the headers. The API is composed of 3 categories:
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 1
|
||||||
|
|
||||||
APItypes
|
APItypes
|
||||||
APIglobals
|
APIglobals
|
||||||
|
|||||||
Reference in New Issue
Block a user