Benchmarking solvers on microcontrollers (MCU), within TinyMPC project
- Python >= 3.9
- OSQP v1 from source
- CVXPYGEN
- CVXGEN
- PlatformIO as VSCode extension
- Move to
qp_mpc_problem
dir - Config and run
gen_mpc_problem.py
- Config and run
move_to_mcu_dir.py
- Upload and run the program with your MCU via PlatformIO
- Problem
- Random QP-MPC with input constraints
- Safety filter
- Rocket landing
- Solver
- HPIPM (safety filter/random QP-MPC)
- OSQP (safety filter/random QP-MPC)
- ECOS (all problems)
- SCS (all problems)
- TinyMPC (all problems)
- MCU
- STM32 (Adafruit feather board)
- Teensy