Hello, while performing compass calibration my mag 1 is successful and mag 2 never gets successful. I have moved my drone around on every axis for a good 10 minutes and mag 2 is not working. I have updated/flashed the most recent firmware from here Updating Here 2 Firmware | CubePilot.
I am using Pixhawk 2.1 Orange Cube (4.03 official version) with Herelink as my remote system which has the latest update.
Ardupilot will automatically select external compass as primary compass. Did you modify the compass#1 checkbox?
Or you may simply reset all params to default and calibrate again
You may need to recalibrate the whole thing after resetting the params.
You may also try to recalibrate after it is heated up to its target temperature.
Shifting between cool and heated sensors can be large.
GPS Track doesn’t matter as long as you have your ekf heading correct.
If you are using orange cube, there is no mag3 (1 on orange and 1 on GPS).
You may have a disarm log and see if the magnetic field measurements are consistent on mags.