A compact Constrained Model Predictive Control (MPC) library with Active Set based Quadratic Programming (QP) solver for Teensy4/Arduino system (or any real time embedded system in general)
Hi there, I am trying to utilize your code to control a wave energy converter using an STM32F4 feather! I have not been able to verify the code on my computer yet, and would appreciate help on debugging. I get an error of "'Serial' was not declared in this scope" referring to line 1310, "Serial.println("");" in the matrix code. At one point I was able to move past this issue (I don't recall how) and I got a different error pertaining to SP. Arduino IDE specifically took issue with this line: "Matrix SP((MPC_HP_LEN*SS_Z_LEN), 1);". Any help would be greatly appreciated! These errors were found when compiling the code on Arduino IDE.