# QGC Compass issues

**URL:** <https://discuss.bluerobotics.com/t/qgc-compass-issues/13231>\
**Category:** Blue Robotics Vehicles\
**Tags:** ardusub\
**Created:** [November 17, 2022, 3:15am UTC](https://discuss.bluerobotics.com/t/qgc-compass-issues/13231 "2022-11-17T03:15:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![suitangxiaoyi](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@suitangxiaoyi](https://discuss.bluerobotics.com/u/suitangxiaoyi)\
**Post date:** [November 17, 2022, 3:15am UTC](https://discuss.bluerobotics.com/t/qgc-compass-issues/13231/1 "2022-11-17T03:15:09Z")

</div>

Hi Guys  
The issue I have is calibrating the Compass, the result always is Calibration Failed. See the picture here:

 ![EKF3](https://us1.discourse-cdn.com/flex019/uploads/bluerobotics/original/2X/f/f0f660765c3a3dd2ce2937a7ff3699f6bf8ba6d7.jpeg)

---

<div class="post-metadata">

**Author:** ![VMartini](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/vmartini/32/4529_2.png) [@VMartini](https://discuss.bluerobotics.com/u/VMartini)\
**Post date:** [November 17, 2022, 6:15pm UTC](https://discuss.bluerobotics.com/t/qgc-compass-issues/13231/2 "2022-11-17T18:15:25Z")

</div>

Hi,

Is your Pixhawk correctly configured to Roll90 (or whatever the orientation)? It happened to me once when I forgot to set it up.

---

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [November 18, 2022, 9:03am UTC](https://discuss.bluerobotics.com/t/qgc-compass-issues/13231/3 "2022-11-18T09:03:36Z")

</div>

Hi @suitangxiaoyi,

As @VMartini mentioned, one of the things that can cause compass calibration to fail is to incorrectly specify the autopilot orientation for the calibration. Attempting to calibrate near a large magnetic object (e.g. on a metal table, near high voltage wiring, or in a steel building) can also cause calibration issues.

If that is not the cause then your compass may be faulty, in which case I would recommend contacting [support@bluerobotics.com](mailto:support@bluerobotics.com) to describe the problem, what you’ve tried, and your order number (/rough order date), after which the issue can be resolved as appropriate 🙂

---

<div class="post-metadata">

**Author:** ![suitangxiaoyi](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@suitangxiaoyi](https://discuss.bluerobotics.com/u/suitangxiaoyi)\
**Post date:** [November 18, 2022, 11:58am UTC](https://discuss.bluerobotics.com/t/qgc-compass-issues/13231/4 "2022-11-18T11:58:18Z")

</div>

Yes. But it still work bad

---

<div class="post-metadata">

**Author:** ![dtrail](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@dtrail](https://discuss.bluerobotics.com/u/dtrail)\
**Post date:** [January 5, 2023, 5:54pm UTC](https://discuss.bluerobotics.com/t/qgc-compass-issues/13231/5 "2023-01-05T17:54:30Z")

</div>

I have new BR2 w/ Navigator and Blue OS. I have just done initial sensor calibrations and the following shows best I can get. I did inside my building then outside with clear path to North and results are same for both compasses.

 ![KMXcf57U](https://us1.discourse-cdn.com/flex019/uploads/bluerobotics/original/2X/e/e5319a7ef752c4b2b157d3f72fb3b446b06a785e.jpeg)

Never get acceptable calibration on 2nd compass.

---

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [January 6, 2023, 12:01pm UTC](https://discuss.bluerobotics.com/t/qgc-compass-issues/13231/6 "2023-01-06T12:01:52Z")

</div>

Hi @dtrail,

I’m told this can happen if the calibration is done without very significant rotations. If you don’t think that’s likely it would be useful if you can provide

1. A dataflash (`.bin`) log (via the BlueOS Log Viewer), wherein you arm the vehicle, and rotate it around a bit about all three axes
2. Your (rough) location in the world

so we can check if the heading estimate is tracking well against the compass and gyroscope readings, and try to run an external calibration.
