I´m using a CUAV V5+ along with a Neo V2 GNSS running Arduplane 4.0.4 in a big VTOL testbed-prototype.
The hardware came out of a previous first prototype where it worked perfectly. I´ve restinstalled this new hardware into the new prototype and left the firmware/parameters untouched exept adjustung servo limits and went to my flying field.
I noticed that my heading was wrong and offset but the curious thing was that I could turn the plane for example clockwise by 90 degrees and would see the red plane icon in mission planner spin in the same direction and amount, albeit with the offset. After a second or two though, the icon instantly snapped back the 90 degrees that it just smoothly turned.
I tried calibrating the compass on the field but it always failed. (green bar up to 100%, then resetting to 0%)
Back home it dawned on me that I had big speaker fairly closely placed to the Compass and that it could influence it, so I removed it. Still not able to finish calibration. Iv´e altered the placement of the compass as far away from any ESC, cables or metal in general but still can´t get the calibration to finish. I´ve also removed the batteries and tried calibration via USB to eliminate any potential electric fields due to currents but still no success.
At this point I´m out of ideas what else to try.
Do you have any suggestions?