kriswiner/MPU6050

offset increasing

yousefkhaled1750 opened this issue · 3 comments

Hello mr kris,Thank you for your great effort and dedication. Your code has really helped me a lot.
I tested your code using MPU6050 sensor and an arduino uno board it works fine while i keep rotating the sensor but when I stop moving the sensor the values of yaw, pitch and roll angles increase by time. So the offset increases and affects the future outputs.
Please, do you have any idea what am i doing wrong?
Thanks in advance

But we can't use the magnetometer due to the frequent change in the magnetic field in the environment we will put the sensor in. Beside all we need is just yaw. So, do you have any suggestions about how we can solve this issue?