This repo contains some stuff I used to paly with while taking 6.4212 at MIT. The stuff also includes the final project in directory project
. Everythig here is based on the standard Ubuntu 22.04 .
Python3
withvenv
andpip
Jupyter Notebook
, nice instructions are hereDrake
, nice instructions are here- some extra packages:
mpld3
,pyvirtualdisplay
,Xvfb
.
git clone
itgit submodule update --init --recursive
to fetch submoludemanipulation
, i.e. the class repo (needed for examples and models).- If working in venv, activate them with
source env/bin/activate
or whenever the env is on your machine - For local runs, use
jupyter-notebook --no-browser --port=8080
- For remote runs, we need to forward some jupyter-notebook and Drake SSH ports, I have a script for this:
run_drake_ssh.sh
. Note that no -X11 required for this to work -- Jupyter works just fine from the local browser when the right ports are forwareded. You might want to changeiptables
sometimes to allow the ports.
To run the project, simply open the notebook, load the file project/Main.ipynb
and enjoy it! If any of the cells throw a package error, simply install the package in your python venv.
The README.md inside the project
folder contains more info and other things on the project itself.