Skip to content

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

Notifications You must be signed in to change notification settings

adrian-kriegel/ACADOSCpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
Nov 9, 2024
Feb 9, 2025
Feb 9, 2025
Sep 28, 2024
Feb 9, 2025
Nov 9, 2024
May 9, 2024
Nov 9, 2024
Feb 9, 2025
Feb 9, 2025
Feb 9, 2025

Repository files navigation

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.