Add MuJoCo tutorial Colab using the native Python bindings.

PiperOrigin-RevId: 491424124
Change-Id: I5bdeb68fd1bd1b4bc92fb40e0b876d9dcfc568cb
This commit is contained in:
Kyle Bayes
2022-11-28 13:09:01 -08:00
committed by Copybara-Service
parent ecac5758e2
commit 5a8e861152
4 changed files with 2210 additions and 7 deletions
+10 -3
View File
@@ -19,8 +19,16 @@ previous versions, however code that depended directly on its low-level API may
For mujoco-py users, we include :ref:`notes <PyMjpy_migration>` below to aid migration.
Tutorial notebook
=================
A MuJoCo tutorial using the Python bindings is available here: |colab|
.. |colab| image:: https://colab.research.google.com/assets/colab-badge.svg
:target: https://colab.research.google.com/github/deepmind/mujoco/blob/main/python/tutorial.ipynb
Installation
------------
============
The package can be installed from `PyPI <https://pypi.org/project/mujoco/>`__ via
@@ -383,5 +391,4 @@ all inputs including ``time`` and ``qacc_warmstart`` are set to default values,
(``qfrc_applied``, ``xfrc_applied`` and ``mocap_{pos,quat}``). These can also be optionally set by the user.
Since the Global Interpreter Lock can be released, this function can be efficiently threaded using Python threads. See
the ``test_threading`` function in ``rollout_test.py`` for an example of threaded operation.
the ``test_threading`` function in ``rollout_test.py`` for an example of threaded operation.