I have combined a program that reads my imu sensors ( sparkfun 5dof ). with a self balancing robot code by kerry wong. I am aquiring the data and i think im getting good numbers for mixing the gyro and accelerometer but my previous error and current error in the pid calculations are the same number.
I would actually go as far as saying all the PID data looks incorrect, but on the right track…
i attached my .ino file.
Thanks for looking!
aramgp.ino (10.4 KB)