Skip to content

Commit

Permalink
Update documentation for URDF parsing, noting different default value…
Browse files Browse the repository at this point in the history
…s for compiler attributes.

PiperOrigin-RevId: 633556582
Change-Id: Ibf99b034706afc14f54bfc34e082465d025719d2
  • Loading branch information
yuvaltassa authored and Copybara-Service committed May 14, 2024
1 parent c6e88d3 commit b8a8d81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/modeling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,9 @@ sub-elements :ref:`compiler <compiler>`, :ref:`option <option>`,
are modified so as to accomodate the URDF modeling convention. The :ref:`compiler <compiler>` extension
in particular has proven very useful, and indeed several of its attributes were introduced because a number of
existing URDF models have non-physical dynamics parameters which MuJoCo's built-in compiler will reject if left
unmodified. This extension is also needed to specify mesh directories.
unmodified. This extension is also needed to specify mesh directories. Also note that the compiler attributes
:ref:`strippath<compiler-strippath>`, :ref:`angle<compiler-angle>`, :ref:`fusestatic<compiler-fusestatic>` and
:ref:`discardvisual<compiler-discardvisual>` have different default values for URDF and MJCF.

Note that the while MJCF models are checked against a custom XML schema by the parser, URDF models are not. Even the
MuJoCo-specific elements embedded in the URDF file are not checked. As a result, mis-typed attribute names are
Expand Down

0 comments on commit b8a8d81

Please sign in to comment.