Drake offers Python-based tutorials using Jupyter notebooks.
The tutorials can be run online without any local installation, or are also
available via pip
for running locally.
To host the tutorials online, we use Deepnote. You may view a tutorial without creating an account:
To run a tutorial interactively or to experiment with editing the code, click the "Duplicate" button in the upper right while viewing. You'll be prompted to create an account using Google, GitHub, or SSO. The button will duplicate the entire suite of tutorials into your own personal Deepnote project.
To run the tutorials locally, install Drake via one of the installation
methods (e.g., pip install
drake), be sure your PYTHONPATH
has been set
per the installation instructions, and then run python3 -m pydrake.tutorials
to launch a Jupyter browser.
For instructions related to improving the tutorials or adding new ones, refer to _developers.md.