Enthernet Code
DIIDevHeads IoT Integration Server
•Created by wafa_ath on 9/27/2024 in #firmware-and-baremetal
Improving Stability of Pitch and Roll Measurements in MPU6050 Flight Controller
@wafa_ath It seems like your issue could be caused by the complementary filter not handling fast movements or sensor noise well. Before switching to a more complex Kalman filter, you might want to try adjusting the filter weights to better balance the gyroscope and accelerometer data. This could help smooth out the fluctuations.
However, if tuning doesn't solve the problem, a Kalman filter may offer better results, as it handles rapid and complex movements more effectively. You can start by tweaking the complementary filter and then decide if switching to Kalman is necessary. Let me know how it works out!
4 replies