Example stand-alone project using the Automatic Control and Dynamic Optimization (ACADO) Toolkit.
- Visit the official ACADO website to learn about it
- Install dependencies with
sudo apt-get install gcc g++ cmake git doxygen gnuplot graphviz
- Navigate to the directory where you like to keep third-party source repositories
- Get the ACADO source code with
git clone https://github.com/acado/acado.git -b stable ACADOtoolkit
- Prepare a build directory for ACADO with
cd ACADOtoolkit && mkdir build && cd build
- Build the ACADO source code with
cmake .. && make -j
- Run a test with
../examples/getting_started/simple_ocp
(should result in a nice plot) - If the test was successful, install the ACADO build globally with
sudo make install && sudo ldconfig
- Navigate back to the
acado_demo
root directory - Examine the source files to understand the ACADO interface
- Examine the build script to understand minimally compiling with ACADO
- Run
./build.sh -r