Repository files navigation Model Predictive Control with Casadi
$$J = \phi(X_{N}) + \sum_{k=0}^{N-1}(X_{k}-X_{k, ref})^{T}Q(X_{k}-X_{k, ref})+(U_{k}-U_{k, ref})^{T}R(U_{k}-U_{k, ref})$$
Git clone the CasAdi repository from https://github.com/casadi/casadi
Go inside the directory and mkdir -p build && cd build
Make sure that you have CMAKE on your system
Run command cmake .. -DWITH_IPOPT=TRUE and make -j4 && make install
Git clone the Eigen3 repository from https://gitlab.com/libeigen/eigen.git
Go inside the directory and mkdir -p build && cd build
Run command cmake .. and make && make install
Go to directory either MECANUM or OMNI
Go inside the directory and mkdir -p build && cd build
Run command cmake .. and make
Go to build direction and run ./mpc_mencaum or ./mpc_omni.
About
This repository is created for sharing idea on MPC with nlp problem.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.