Line 35 of your code sets a 400ms delay between readings of the MPU. That's forever compared to any motion that would be caused by the unbalanced prop om the motor.
Try two things:
Without changing anything else, remove the propellor and see it that makes any difference.
Change line 35 from 400 to 10 and see if the errors look different.
Try two things:
Without changing anything else, remove the propellor and see it that makes any difference.
Change line 35 from 400 to 10 and see if the errors look different.