.. include:: includes/macros.rst .. include:: includes/roles.rst ======== Modeling ======== Introduction ------------ MuJoCo can load XML model files in its native **MJCF** format, as well as in the popular but more limited **URDF** format. This chapter is the MJCF modeling guide. The reference manual is available in the :doc:`XMLreference` chapter. The URDF documentation can be found elsewhere; here we only describe MuJoCo-specific :ref:`URDF extensions `. MJCF models can represent complex dynamical systems with a wide range of features and model elements. Accessing all these features requires a rich modeling format, which can become cumbersome if it is not designed with usability in mind. Therefore we have made an effort to design MJCF as a scalable format, allowing users to start small and build more detailed models later. Particularly helpful in this regard is the extensive :ref:`default setting ` mechanism inspired by the idea of Cascading Style Sheets (CSS) in HTML. It enables users to rapidly create new models and experiment with them. Experimentation is further aided by numerous :ref:`options