/ACADOSCpp

C++ wrapper to dynamically run C code generated by ACADOS

Primary LanguageC++

ACADOSCpp

C++ wrapper to dynamically run C code generated by ACADOS. Allows run-time linking against generated solvers.

Usage

See test cases for usage examples.

Why?

Building

Currently, the best way to use ACADOS' generated code within C++ projects is to create a custom build target, directly #include the generated headers, link/add source files, and use the code directly. This adds unnecessary complexity and makes it incredibly difficult to re-use the same code around different generated solvers without the use of macros and re-compilation.

Interface & Usability

Even if you are fine with having the code generator as a compile-time dependency, the interface is meant for C, not C++. I assume that, if you are reading this, you have used the C interface, and you know what I mean.