High magnetic_field

There’s a lot of current related issues here. You may have to move some of the power wires away from the compass/GPS module and work on shielding. It’s common with the cube to suggest using the external compass over the internal, but the external on here looks like it’s getting much more interference.

You might consider running MagFit on this quad to improve the COMPASS_MOT values, but only after you’ve tried to fix some of the wiring issues.

Here’s a good post that might give you some clues: