Hunt0r,
You’re helping a lot!
It appears likely that the compass errors are erroneously created by the internal flight controller position jumping to an incorrect value. And your charts clearly show that isn’t justified by the GPS values at that time.
Since we are thinking that the compass isn’t the cause of the incorrect POS, and
the GPS isn’t cause of the incorrect POS, it must be something else (or my Pixhawk has an internal hardware problem). Do you know what else goes into changing the POS? Accelerometers, speeds, ???