kriswiner / MPU9250

Arduino sketches for MPU9250 9DoF with AHRS sensor fusion
1.03k stars 472 forks source link

Delay issue related to quaternion #432

Open yyui0430 opened 4 years ago

yyui0430 commented 4 years ago

Good day Sir. First of all, I would like to thank you for your amazing work on this libraries, it works perfectly fine on my real-time 3D tracking project. However, huge fluctuation on quaternion happens when I added delay function and/or when data transmission is performed between the transceiver module. I have studied your quaternionFilters.cpp and MPU9250.cpp, I noticed that the delta t parameter might be the reason of causing the quaternion data to fluctuate. Is there any way or solution to solve this issue? I am new to Arduino and MPU9250 sensor. Thank you.

kriswiner commented 4 years ago

Not sure what your issue is exactly, but the delta_t is simply the time interval between iterations of the Madgwick or Mahony filters. Typically 10

On Wed, Sep 30, 2020 at 8:40 AM yyui0430 notifications@github.com wrote:

Good day Sir. First of all, I would like to thank you for your amazing work on this libraries, it works perfectly fine on my real-time 3D tracking project. However, huge fluctuation on quaternion happens when I added delay function and/or when data transmission is performed between the transceiver module. I have studied your quaternionFilters.cpp and MPU9250.cpp, I noticed that the delta t parameter might be the reason of causing the quaternion data to fluctuate. Is there any way or solution to solve this issue? I am new to Arduino and MPU9250 sensor. Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/432, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKREA2UXXTPSHWX75G3SINGQLANCNFSM4R7IFMYA .