differentiable_nmpc
An efficient implementation of differentiable NMPC based on acados. Code to reproduce the results in our paper.
File Explorer
Download Latest Version (.zip)- diff_acados.py
- linear_mpc.py
- problems.py
- test_linear_mpc.py
- export_chain_mass_model.py
- plot_utils.py
- solution_sensitivity_example.py
- utils.py
- smoothed_solution_sensitivities_horizontal.png
- sensitivity_utils.py
- smooth_policy_gradients.py
- jump_nlp.py
- tutorial_example.py
- .gitignore
- README.md
- requirements.txt
# Installation Guide
1. Get the code
git clone https://github.com/FreyJo/differentiable_nmpc
Downloads the entire project code from GitHub to your computer.
cd differentiable_nmpc
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
