EKF on ArduCopter 3.2 - Any news?

In the last 2 days I started some test on the EKF.

In my opinion It looks very interesting =)

I have some question:

1) I found very little web pages or forum discussions that talk about EKF. I have read all the copter wiki about EKF, but I wonder: there are some other relevant information sources?

2) Actually, after some tuning, it seems that my copter is more stable with legacy algorithm. With EKF the altitude is a little "twitchy" (is this the correct word? Sorry for my bad English =P).

3)My main issue In the EKF mode is the altitude. Can anyone help me with some suggestion?

4)Does anyone fly usually with EKF on? If yes, how is your copter?

Thanks everyone,

Andrea from Italy

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • Can/Should we do the autotuning when the EKF is on?

  • It acted twitchy only after takeoff in guided mode?

    If yes then I and 3 other users have detected a problem in EKF that regard only the first 10-20 second after take off.

    Have you open any issues on GitHub?

    • I had twitching last weekend. Taking off in stab it was fine, then switched to poshold and had fairly severe twitching, then drifted for a few seconds before landing.

      A time before that it yawed quickly about 30-45 degrees just before landing.

      EKF enabled

      Logging set for 'All plus disarm' (forget the exact term.

      The cause is not known at this time, but only appears to occur in GPS flight modes. Have any of you used Auto Analysis since running on AC3.2? I'm getting speed errors (looping) in every log. Randy seems to think it's a red herring, but I'm interested if others are seeing these errors.  

  • I have been flying with EKF on for many months. However a couple weeks ago with 3.2.1 I noticed in guided mode it acted 'twitchy'. Just for the heck of it I used ch 7 to turn it on and off and sure enough the twitchy went way when I turned EKF off. I haven't turned it back on since. There's no doubt at that moment EKF wasn't as stable feeling. 

  • What is EKF?

  • I use EKF exclusively on all my copters. Even, or I should say, especially on the big expensive ones. Simply put, it is more reliable and accurate than DCM.  There's not a lot to know about it.  I just enable it, and that's it, I've never touched any settings.

    • Thank you very much for your reply (=

      Another question: Do you have any video about one of yours copter in Loiter mode with EKF engaged?

  • I did a lot of testing of EKF, but got stock with this issue: feel free to reproduce and see if you get the same results.

    ; https://github.com/diydrones/ardupilot/issues/1713

    Other than that, it flies fine.  I did not do any side-by-side comparsion between EKF enabled and disabled.

    • Thank you very much for your reply (=

      If I can I try to do the test to reproduce the issues. And if I notice something I write about it ;)

      Everything depends If I can finish to setup my EKF succesfully: actually I do not have a stable altitude in EKF, so before doing auto I need to fix this.

      Another question: Do you have any video of your copter in Loiter mode with EKF actived?

This reply was deleted.