I'm having a battle with my compasses. I use pixhawk clone and M8N GPS with compass.
I'm unable to find orientation setting, where I will not have EKF compass variance errors.
I think that this is not mag interference problem because this happens when disarmed.
I've disasembled external GPS/compass puck and there are following axis markings:
z axis O------->
| y axis
My APM configuration is in the attachments, and also example values when facing north.
Do I have faulty compass? or I've tried wrong Orientation settings?
I had a very similar problem with my M8N & Pixhawk
Here is what I noticed:
1. When indoors and you do not have a GPS FIX and you have the internal compass also enabled you get the compass variance message. Once you get the GPS fix the message goes away.
2. For al practical purposes I always disable the internal compass. I think the general consensus is that its useless. Once you disable it you should stop receiving the compass variance message even when you do not have a GPS fix.
Finally the weather and work allowed me to go out. Compass health is much better when GPS is Locked. So i assume this issue is fixed now.
Thank you for tip with disabling internal compass :)