My compass has just started to spin in Mission Planner, and provide erratic readings, however if I go into CLI and run the compass test, it says that its holding its heading perfectly. I can't fly with the compass doing this, as it messes with the yaw and makes it yaw all over the place as it tries to correct its heading to the match the compass which is going all over the place. Sometimes it will work ok for a few minutes before the compass issue begins, and other times it will happen straight away.
I running MP 1.1.93 mav 1.0 and have an APM1 2560 with 2.6 epsilon. This is also occurring with 2.6 final. I am running 2.6 episolon since it seems there was a change between that and final which stopped the yaw from working correctly for me (on a tricopter). I have also tried going back to 2.5.4 and the compass still doesn't work properly. I do a CLI erase before changing any firmware, and even straight after a fresh firmware load, the compass won't track properly in MP. To begin with it will stay still, and as soon as I move the copter (by hand) the compass will move and then start to spin.
I've tried re-soldering the compass pins to make sure they weren't an issue, but if there was a connection problem, I am pretty sure that my CLI compass test wouldn't work.
Help! I am getting pretty desperate here.
Could be a faulty z gyro causing it.
Check all your gyros in the raw sensor view.
I've just a few rounds of pulling the oilpan off and reflowing the pin connections, and it looks like when the compass isn't working, the yaw will work fine, but when the compass works, it makes the yaw play up... some more detail here: http://diydrones.com/forum/topics/broken-telemetry-port
Edit: I take that back. now both my mag and yaw are misbehaving. Fuck it!
I can't tell you how many problems I have had with magnometer mountings.
I now only mount them remotely not on the pins on the oilpan.
Don't try and unsolder them however I have destroyed a few that way as well.
Yep it looks like my mag is now also dead as a result of removing and resoldering it... lame.