tmacattank / TinyMPC

Model-predictive control for microcontrollers

Home Page:https://tinympc.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TinyMPC

Model-predictive control on resource-constrained microcontrollers

If you have any questions related to the solver, visit the GitHub Discussions page. This guarantees accessibility for everyone.

The documentation is available at tinympc.org

Building

  1. On terminal, clone this repo
git clone https://github.com/TinyMPC/TinyMPC.git
  1. Navigate to root directory and run
mkdir build && cd build
  1. Run CMake configure step
cmake ../
  1. Build TinyMPC
make 

Examples

  • Run the quadrotor_hovering example
./examples/quadrotor_hovering
  • Run the codegen_cartpole example then follow the same building steps inside that directory
./examples/codegen_cartpole

Citing TinyMPC

If you are using TinyMPC, we encourage you to

Excited to hear your TinyMPC success stories—share them with us!

Bug reports and support

Please report any issues via the Github issue tracker. All types of issues are welcome including bug reports, documentation typos, feature requests and so on.

Running on MCUs

Numerical benchmarks against other solvers on MCUs are available here.

Notes

About

Model-predictive control for microcontrollers

https://tinympc.org

License:MIT License


Languages

Language:C++ 98.8%Language:NASL 0.8%Language:C 0.4%Language:CMake 0.0%