eltonlaw / quadcopter

STM32 flight computer for autonomous quadcopter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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