preview_controller is a library implementing a model preview controller. It uses QP softwares to solve its problem. A python binding is available.
To compile you need the following tools:
- Git
- CMake >= 2.8
- pkg-config
- doxygen
- c++ compiler Version to compile C++14 (g++ => 5.0, clang++ >= 3.4)
- gfortran
- gcc
- Boost >= 1.58 (>= 1.49 may work)
- Eigen >= 3.2
git clone --recursive https://github.com/vsamy/preview_controller
cd preview_controller
./build_and_install
gedit build_and_install_config
./build_and_install
Please defines in build_and_install_config where to install the library, the build type, the number of core, etc... Note that you leave the BOOST_ROOT empty if boost has been installed by default.
Where the main options are:
You can test the C++ and python version. Those are still basic tests and need to be completed
For c++
cd _build/tests
./TestSolvers
./TestPreviewControl --log_level=all
For python
cd _build/binding/python/tests
python TestPreviewControl.py
There is not basic examples yet. Please see test files for an overview. Please see the doxygen files for the documentation.