diff --git a/README.md b/README.md index 63bc8c9..0296083 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,50 @@ # mpc_python -Python implementation of mpc controller for path tracking + +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