OK, I will start with a question, I am currently programming an Arduino, and I am looking for a good PID loop algorithm. Does anybody have a C++ PID function/code, since I want to add it as a separate object/library?
This one looks to be a quick and accurate one: https://www.arduino.cc/reference/en/libraries/fastpid/
That FastPID one looks to be optimized for higher performance on the AVR (8 bit) chips as well. I'd probably give that one a shot.
There are also 2 others in the existing Arduino library: