Due Wednesday 4/19 11:59 PM Eastern.
In this homework you will work through the following two problems:
- Iterative Learning Control (ILC) for a car as it avoids an obstacle.
- Making a robot walk with hybrid trajectory optimization with a pre-determined contact sequence.
Use any method you like to export your jupyter notebook as a PDF (with all the cell outputs shown), and submit on gradescope. Here are some methods for creating this PDF: https://mljar.com/blog/jupyter-notebook-pdf/.
-
These questions will have long outputs for each cell, remember you can use
cell -> all output -> toggle scrolling
to better see all of the output without having to scroll. -
IPOPT can take a long time for certain problems. In Jupyter Notebooks, IPOPT will not output anything until IPOPT is finished. If you find that IPOPT is hanging for a long time, it may be that IPOPT is running and taking a very long time (which likely means something else is wrong). To see the output of IPOPT in real time, you have to call the script from the Julia REPL. To do this, you can run the following in the REPL:
using NBInclude
@nbinclude("Q1.ipynb")
As bugs show up, they will be addressed on both Piazza as well as this readme.