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.


DIY Drones via Twitter
RT @Struktur3D: We have just posted on @DIYDrones for the first time in a long time. Continuing with our search for a #lasercutting service…
6 hours ago
DIY Robocars via Twitter
RT @chr1sa: The dev team is having fun with virtual @DIYRobocars track generation with Unity on the @donkey_car discord: https://t.co/l0Jd9…
DIY Drones via Twitter
Review of the new Nivida Jetson NX for robocars https://t.co/bWjd3sH2o4
DIY Robocars via Twitter
RT @chr1sa: My review of the new @NVIDIAEmbedded Jetson Xavier NX in robotics and @DIYRobocars applications https://t.co/O7TfJZhiF9 https:/…
DIY Drones via Twitter
RT @chr1sa: Somehow I missed this, but last week @Nvidia released a new version of its Isaac robot development framework. Lots of new Lidar…
DIY Robocars via Twitter
RT @Smartphone89: DonkeyCar Racing League Korea #donkeycar @diyrobocars https://t.co/mDlHDR1d98
May 29
Jørn Ramnæs liked VIDEO LINK's profile
May 28
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
May 28
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
May 28
DIY Robocars via Twitter
May 28
DIY Drones via Twitter
Welcome to the new DIY Drones design!. You may have noticed that DIY Drones looks a little different today. That's… https://t.co/cg2EmeDGMQ
May 27
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://t.co/brqRuujjY2
May 26
DIY Robocars via Twitter
May 25
DIY Robocars via Twitter
RT @OttawaAVGroup: We are going to try something new this week. We will be having a drop-in style meeting Wednesday @ 7-9pm EST. Pop in and…
May 25
DIY Robocars via Twitter
RT @tawnkramer: Thanks Everyone for another fun virtual race! Amazing Ai racers competing head-to-head, Virtual Makers Fair event. Catch us…
May 23
DIY Robocars via Twitter
RT @make: Find out the latest from @diyrobocars at 10am PT from @chr1sa of @3DRobotics on Virtually Make Faire! #makerfaire #maketogether #…
May 23