Fix gyro drift
eltonlaw opened this issue · comments
The gyro numbers are not perfectly 0, seeing the angle calculations slowly drift
Add stabilization by using accel readings + gyro readings to calculate angle: https://www.nxp.com/docs/en/application-note/AN3461.pdf