From b3593ab10037a28d3f2bca57cae0ad38e84ebf69 Mon Sep 17 00:00:00 2001 From: mcarfagno Date: Tue, 7 Apr 2020 16:45:11 +0100 Subject: [PATCH] Updated LATEX equations in notebook --- .ipynb_checkpoints/README-checkpoint.md | 50 +++++ README.md | 2 +- .../.ipynb_checkpoints/main-checkpoint.py | 184 ++++++++++++++++++ .../MPC_cvxpy-checkpoint.ipynb | 42 ++-- notebook/MPC_cvxpy.ipynb | 42 ++-- notebook/MPC_scipy.ipynb | 4 +- 6 files changed, 291 insertions(+), 33 deletions(-) create mode 100644 .ipynb_checkpoints/README-checkpoint.md create mode 100755 mpc_demo/.ipynb_checkpoints/main-checkpoint.py diff --git a/.ipynb_checkpoints/README-checkpoint.md b/.ipynb_checkpoints/README-checkpoint.md new file mode 100644 index 0000000..0296083 --- /dev/null +++ b/.ipynb_checkpoints/README-checkpoint.md @@ -0,0 +1,50 @@ +# mpc_python + +Python implementation of mpc controller for path tracking. + +## About + +The MPC is a model predictive path following controller which does follow a predefined reference path Xref and Yref by solving an optimization problem. The resulting optimization problem is shown in the following equation: + +MIN $ J(x(t),U) = \sum^{t+T-1}_{j=t} (x_{j,ref} - x_{j})^T_{j}Q(x_{j,ref} - x_{j}) + u^T_{j}Ru_{j} $ + +s.t. + +$ x(0) = x0 $ + +$ x_{j+1} = Ax_{j}+Bu_{j})$ for $t< j