-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
IMU - Migrate to a better attitude calculation algorythm #30
Comments
current: with Madgwick AHRS Madgwick's AHRS took almost 4kb flash! I'll try see if it works better than complementary filter. |
Bench tests show that with Madgwick's AHRS heading is much more locked in (when using a compass). I've noticed that after a series of fast pitch-roll rotations complementary filter showed arbitrary heading and took half a second to correct using a compass. Using very same settings and same test Madgwicks AHRS was totally locked in. |
Just tried to fly it - much worse than plain old complementary filter. HORIZON mode is very slow to react, copter feels mushy. That's probably due to incorrect beta used. Postponing this for now. |
Have you tried slowing loop time? Probably it could help Il giorno 00:18 mar 04/ago/2015 Konstantin Sharlaimov <
|
I'm closing this as new NAV PID controllers seem to be doing their job pretty good with current IMU. Will re-open if still necessary. |
NAV code is now very sensitive to direction of gravity and magnetic field vector in aircraft frame - for controlling accelerations and heading. Estimating attitude as fast and precise as possible is a must. Current complementary filter is doing well, but there are better algorythms available, i.e. Robert Mayhony's DCM filter or Sebastian Madgwick's IMU fusion.
The text was updated successfully, but these errors were encountered: