EKF variance stops the compass

1,063 views
Skip to first unread message

Alejandro Hernández

unread,
Apr 14, 2015, 12:36:22 PM4/14/15
to drones-...@googlegroups.com, Víctor Mayoral Vilches, Iñigo Muguruza
Hello,

I'm testing the ArduCopter master branch of diydrones/ardupilot. I have several problems with EKF. Sometimes appears the failsafe "EKF variance", but the drone is on the floor without moving. I have read this documentation[1] but I think is outdated, because now EKF is force in ArduCopter and the parameter AHRS_EKF_USE is deprecated. I have change the parameter EKF_CHECK_THRESH to 0, 1 or 0,8 but I always have the same result. I can't use the GPS modes like GUIDED or AUTO.

I'm using HMC5843 compass, When I used this compass with the DCM all works fine, but now when the failsafe EKF variance appears the compass stop working (at least in APM Planner) because I can calibrate the compass and I have debugged the code and the values are received.

Anyone can explain how EKF is working or how I can configure my drone to use GPS mode?

Thanks in advance.

Víctor MV

unread,
Apr 15, 2015, 3:40:09 AM4/15/15
to drones-...@googlegroups.com, vic...@erlerobot.com, in...@erlerobot.com, Randy Mackay
This is related to #2026 and #1989 and produced (that's what we have concluded so far) by a miss-configured set of parameters for EKF (this started happening after the changes in master to adopt EKF by default in copter).

We are using these parameters. Any chance we can get some help fine tune them?



Víctor MV

unread,
Apr 15, 2015, 3:43:31 AM4/15/15
to drones-...@googlegroups.com, vic...@erlerobot.com, in...@erlerobot.com, rmac...@yahoo.com
For completion, falling back to DCM (forcing it in the code) fixes this sudden changes.

iiapoxii

unread,
Dec 18, 2016, 9:45:19 PM12/18/16
to drones-discuss, vic...@erlerobot.com, in...@erlerobot.com, rmac...@yahoo.com
How can I use this? I am having  this problem with a Pixhawk and 3DR GPS/Compass combo and cant figure out why its not working. I would like to use your parameters if you think it will fix it!!!
Reply all
Reply to author
Forward
0 new messages