Fix typos and minor corrections in MuJoCo documentation and comments.

PiperOrigin-RevId: 875163889
Change-Id: Ic604d6235bf9cb999058f191e3ee41e47ec1a567
This commit is contained in:
Yuval Tassa
2026-02-25 07:56:01 -08:00
committed by Copybara-Service
parent 940cab2508
commit 0c66585e39
14 changed files with 43 additions and 43 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ MuJoCo defines a large number of types:
Note that the API does not use these enum types directly. Instead it uses ints, and the documentation/comments state
that certain ints correspond to certain enum types. This is because we want the API to be compiler-independent, and
the C standard does not dictate how many bytes must be used to represent an enum type. Nevertheless, for improved
readiblity, we recommend using these types when calling API functions which take them as arguments.
readability, we recommend using these types when calling API functions which take them as arguments.
- :ref:`C struct types<tyStructure>`. These can be classified as:
@@ -806,7 +806,7 @@ Struct types
------------
The three central struct types for physics simulation are :ref:`mjModel`, :ref:`mjOption` (embedded in :ref:`mjModel`)
and :ref:`mjData`. An introductory discussion of these strucures can be found in the :ref:`Overview<ModelAndData>`.
and :ref:`mjData`. An introductory discussion of these structures can be found in the :ref:`Overview<ModelAndData>`.
.. _mjModel:
@@ -1708,7 +1708,7 @@ mjfOpenResource
typedef int (*mjfOpenResource)(mjResource* resource);
This callback is for opeing a resource; returns zero on failure.
This callback is for opening a resource; returns zero on failure.
.. _mjfReadResource: