I'm having some strange problems with my hexacopter. The aircraft flies well in stabilise and alt hold but as soon as I switch to loiter or auto it flies off in a random direction whilst increasing pitch. It will eventually be almost vertical before I recover in stabilise mode.
Everything is well padded with foam and I have good GPS lock according to the logs. Does anyone have any ideas as to what could be happening here? Any help is much appreciated.
I've uploaded logs here
And a couple of videos here
I ran compassmot getting a value of 62% and tried the flight again. Still having issues. The APM seems to be ignoring the external magnetometer and is using it's own instead despite changing the setting in mission planner.