In this homework we'll be delving into LQR and some QP-based MPC. Here's an overview of the problems.
- Stabilize the quadruped on one leg using LQR.
- Use TVLQR to stabilize a parallel parking maneuver
- Use LQR and QP-based MPC to land a rocket
The autograder setup has changed slightly for this assignment. We'll no longer use GitHub actions to run the autograder (since it didn't really work last time, maybe in future assignements...). You will run all your tests locally. To run the full test suite the same way we will when grading your submission follow these instructions:
- Open a terminal in the root directory of your repo
- Launch a Julia REPL
- Enter the package manager using
]
and enteractivate .
- Launch the testing suite using
test hw2
Each notebook now includes a run_tests()
function at the end, that will run the test suite in your notebook. You can call that test at any point. It will just run the q1.jl
,
q2.jl
or q3.jl
files in the test/
directory.
Make sure your repo lives under the Class Organization. This will be done automatically when you use the GitHub Classrooms link we send provide.
- Add your info to the
studentinfo
function in src/hw2.jl - Create a release. Follow these instructions for more info on creating the release.
We may release changes to the homework periodically if errors or bugs are found. Follow these instructions for linking your repo to the original template and pulling changes. It's always a good idea to branch your code before pulling from the upstream repo in case something goes wrong or the merge is particularly nasty. Do the right away after creating your repo.
git remote add upstream https://github.com/Optimal-Control-16-745/hw2
git pull upstream main --allow-unrelated-histories