Compass Calibration Issue for a Small 2.5 - inch FPV Drone with ArduPilot Firmware

This is a very small 2.5 - inch FPV drone I built using the ArduPilot firmware, and I mainly use it to verify some functions of ArduPilot.

Due to its small size, the GPS/compass of this FPV drone can only be placed next to the battery. However, when I was calibrating the compass, the compass calibration progress bar in MP kept repeating back and forth, and the calibration couldn’t be completed.

Now, I would like to ask, for such a small - sized FPV drone, and without wanting to raise the compass, how can I perform a relatively good compass calibration?

Get a basic calibration completed and then use Magfit. Is it a Li-ion battery!

I have changed the compass calibration to “relax”, but the basic compass calibration still fails.

What GPS module is it. It fails w/o the battery installed?

It is lipo battery。The gps is beitian 252Q

One of those $10 cheap modules.

Have you tried the calibration no battery and just plugged into the usb power?

1 Like

That’s what I was suggesting. All you need is any way to complete the calibration and get some offsets. Then you can fly it and use the standard Magfit routine.

1 Like

Have you checked that you have the correct compass orientation set?
Ardupilot should identify the correct orientation, but will struggle if the compass is inclined backwards (as is the case with all three of my quadcopters).

With my Walksnail WS M181 I use:

COMPASS_ORIENT,101
CUST_ROT_ENABLE,1
CUST_ROT1_YAW,-90

and CUST_ROT1_ROLL of 15 (LR Explorer) or 30 (Micro Alien).

With my TBS GPS unit I use

COMPASS_ORIENT,101
CUST_ROT_ENABLE,1
CUST_ROT1_PITCH,-20
CUST_ROT1_YAW,180

See this Andy Piper video for explanation: https://youtu.be/qI871SB1Ic0&t=115

1 Like

i changed the pos,its ok now