Skip to content
Fast and embedded solvers for nonlinear optimal control
C MATLAB C++ Python CMake Makefile Other
Branch: master
Clone or download
zanellia Merge pull request #500 from zanellia/quickfix_templates
Using parametric CasADi functions by default in templates
Latest commit 16b20b1 Oct 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
acados Merge pull request #500 from zanellia/quickfix_templates Oct 17, 2019
ci fix travis path Sep 19, 2019
cmake travis, cmake: remove CASADIPATH (was unused) remove SWIG_{MATLAB,PYT… Sep 10, 2019
docs rename folders examples/matlab_mex -> examples/acados_matlab_octave, … Sep 10, 2019
examples Merge pull request #500 from zanellia/quickfix_templates Oct 17, 2019
experimental move inja templates to experimental Oct 11, 2019
external update blasfeo Sep 3, 2019
interfaces Merge pull request #500 from zanellia/quickfix_templates Oct 17, 2019
test fix sim_test Oct 5, 2019
utils travis, cmake: remove CASADIPATH (was unused) remove SWIG_{MATLAB,PYT… Sep 10, 2019
.appveyor.yml testing appveyor output on failure Aug 16, 2019
.clang-format clang-format: allow multiple empty lines May 17, 2018
.codecov.yml try disabling codecov commit status Aug 21, 2018
.gitattributes Another small change to .gitattributes Jul 22, 2016
.gitignore makefile: Update defaults May 27, 2019
.gitmodules trying to fix Travis Aug 26, 2019
.travis.yml travis: fix octave tests Sep 13, 2019
CMakeLists.txt cmake: use spaces Oct 3, 2019
LICENSE format LICENSE Sep 27, 2019
Makefile removed acados_c/options_interface & small cleaning Aug 20, 2019
Makefile.osqp license: Add missing files and wrap lines Aug 16, 2019
Makefile.rule add eval_para_sens to matlab mex interface Aug 21, 2019
README.md Merge branch 'master' of github.com:acados/acados into testing_day Aug 15, 2019
ROADMAP.md Merge pull request #477 from zanellia/zanellia-interface_merge Oct 10, 2019

README.md

acados

Travis Status Appveyor status codecov

Fast and embedded solvers for nonlinear optimal control.

acados forum

If you have any acados-related question, feel free to post on our forum.

Installation

  1. Initialize all submodules

    git submodule update --recursive --init
    
  2. Download CasADi: To create external function for your problem, we suggest to use CasADi and use it from <acados_root_folder>/external. Depending on the environment you want to use to generate CasADi functions from, proceed with the corresponding paragraph (Python, MATLAB, Octave):

    Python

    cd external
    wget -q -nc --show-progress https://github.com/casadi/casadi/releases/download/3.4.0/casadi-linux-py35-v3.4.0-64bit.tar.gz
    mkdir -p casadi-py35-v3.4.0-64bit
    tar -xf casadi-linux-py35-v3.4.0-64bit.tar.gz -C casadi-py35-v3.4.0-64bit
    cd ..
    

    Matlab

    Put CasADi binaries into <acados_root_folder>/external/casadi-matlab :

    cd external
    wget -q -nc --show-progress https://github.com/casadi/casadi/releases/download/3.4.0/casadi-linux-matlabR2014b-v3.4.0.tar.gz
    mkdir -p casadi-matlab
    tar -xf casadi-linux-matlabR2014b-v3.4.0.tar.gz -C casadi-matlab
    cd ..
    

    Octave version 4.4 or later

    Put CasADi binaries into <acados_root_folder>/external/casadi-octave :

    cd external
    wget -q -nc --show-progress https://github.com/casadi/casadi/releases/download/3.4.5/casadi-linux-octave-4.4.1-v3.4.5.tar.gz
    mkdir -p casadi-octave
    tar -xf casadi-linux-octave-4.4.1-v3.4.5.tar.gz -C casadi-octave
    

    Octave version 4.2 or earlier

    Put CasADi binaries into <acados_root_folder>/external/casadi-octave :

    cd external
    wget -q -nc --show-progress https://github.com/casadi/casadi/releases/download/3.4.0/casadi-linux-octave-v3.4.0.tar.gz
    mkdir -p casadi-octave
    tar -xf casadi-linux-octave-v3.4.0.tar.gz -C casadi-octave
    cd ..
    
  3. Build and install acados. Both a CMake and a Makefile based build system is supported at the moment. Please choose one and proceed with the corresponding paragraph.

    CMake

    Set the BLASFEO_TARGET in <acados_root_folder>/CMakeLists.txt. For a list of supported targets, we refer to https://github.com/giaf/blasfeo/blob/master/README.md . Install acados as follows

    mkdir -p build
    cd build
    cmake .. (with optional arguments e.g. -DACADOS_WITH_OSQP=OFF/ON -DACADOS_INSTALL_DIR=<path_to_acados_installation_folder>)
    make install
    

    Make

    Set the BLASFEO_TARGET in <acados_root_folder>/Makefile.rule. For a list of supported targets, we refer to https://github.com/giaf/blasfeo/blob/master/README.md . Install acados as follows

    make shared_library
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<path_to_acados_folder>/lib
    make examples_c
    make run_examples_c
    
  • soon: binaries for all operating systems available for download (see Releases)
You can’t perform that action at this time.