I've used the example code from this repository. When I log the MPU6050.KalmanAngleX value and move the IMU quickly, it changes to nan(0x800000...) and does not recover afterwards. This only happens with KalmanAngleX, not KalmanAngleY. What part of the calculation could cause this?
I've used the example code from this repository. When I log the
MPU6050.KalmanAngleX
value and move the IMU quickly, it changes tonan(0x800000...)
and does not recover afterwards. This only happens withKalmanAngleX
, notKalmanAngleY
. What part of the calculation could cause this?