-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fusion Rate #420
Comments
The Madgwick filter is iterative, so generally 10 - 20 iterations pre new
data set is enough to get good stable yaw estimation. So the rate will
depend on how fast your MCu is. It is not something you can adjust except
by changing your processor.
See this example:
https://github.com/kriswiner/MPU9250/tree/master/AK8963_as_slave
…On Wed, Jun 10, 2020 at 2:58 PM luizamanfrini ***@***.***> wrote:
Hi Kris! I am new to Madgwick and I am a bit confused with que fusion
rate. How can I define it and change it?
Thank you for your attention. Your code is great!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#420>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTDLKQBTIPKKSQNEXU67NLRV76XHANCNFSM4N2ZZGQA>
.
|
Hi Kris, I'm getting ~6170 Hz fusion rate on the Dragonfly, is that even real? Seems unbelievably high! BTW, I had to make the same change to the |
Yes, this is correct. The L4 is a Cortex M4F, meaning it has a FPU. You
really only need to iterate 10 or 20 times for best results with the
Madgwick or Mahoney filters, so if you are at 6 kHz fusion rate you could
enforce the iteration rate to 10 or 20 times or increase the data sample
rate to 500 or 1000 Hz.
…On Thu, Jun 18, 2020 at 11:30 AM Basil ***@***.***> wrote:
Hi Kris,
I'm getting ~6170 Hz fusion rate on the Dragonfly, is that even real?
Seems unbelievably high!
BTW, I had to make the same change to the Wire.begin() call in
MPU9250BasicAHRS_Dragonfly as discussed in #421
<#421>. Can I submit that as a
PR?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#420 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTDLKWWFSTG6JMEFNQKZ4TRXJMLHANCNFSM4N2ZZGQA>
.
|
Awesome. I can do that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Kris! I am new to Madgwick and I am a bit confused with que fusion rate. How can I define it and change it?
Thank you for your attention. Your code is great!
The text was updated successfully, but these errors were encountered: