Guide to gyro and accelerometer with Arduino including Kalman filtering

Are u using the same IMU as me or a different one?
If not, try to change the value of R_angleX and R_angleY and see if it helps.

  • Lauszus