# EFK filtering system issue on the new image

**URL:** <https://community.emlid.com/t/efk-filtering-system-issue-on-the-new-image/22003>\
**Category:** Flight stack\
**Created:** [October 10, 2020, 8:37am UTC](https://community.emlid.com/t/efk-filtering-system-issue-on-the-new-image/22003 "2020-10-10T08:37:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgonline](https://community.emlid.com/user_avatar/community.emlid.com/mgonline/32/22289_2.png) [@mgonline](https://community.emlid.com/u/mgonline)\
**Post date:** [October 10, 2020, 8:37am UTC](https://community.emlid.com/t/efk-filtering-system-issue-on-the-new-image/22003/1 "2020-10-10T08:37:47Z")

</div>

@alexey.bulatov I did the update but there are some problem with the EFK filtering system.

In Mission planner there are many error lke this:

- AHRS not healthy (if i disable the EF\_enable option this error disappear but is not a good solution)
- EF core is missed

These errors are in the preARM control conditions so now it is no longer possible to fly the drone.

---

<div class="post-metadata">

**Author:** ![artem.fomenko](https://community.emlid.com/user_avatar/community.emlid.com/artem.fomenko/32/20021_2.png) [@artem.fomenko](https://community.emlid.com/u/artem.fomenko)\
**Post date:** [October 12, 2020, 3:21pm UTC](https://community.emlid.com/t/efk-filtering-system-issue-on-the-new-image/22003/3 "2020-10-12T15:21:11Z")

</div>

Hi Marco,

Could you please run the [AHRS example](https://docs.emlid.com/navio2/common/dev/ahrs/) from our docs and share the screenshot with the result? Also, hardware setup photos might help us to eliminate the hardware-related issues.

---

<div class="post-metadata">

**Author:** ![mgonline](https://community.emlid.com/user_avatar/community.emlid.com/mgonline/32/22289_2.png) [@mgonline](https://community.emlid.com/u/mgonline)\
**Post date:** [October 14, 2020, 4:01pm UTC](https://community.emlid.com/t/efk-filtering-system-issue-on-the-new-image/22003/4 "2020-10-14T16:01:26Z")

</div>

@artem.fomenko Thanks for your reply.

AHRS Script work well like with mpu sensor or lsm sensor

 ![Cattura1](https://community.emlid.com/uploads/default/original/3X/1/3/13ef7e95bbef8dfde43c08a94427a90c62a3ece4.jpeg)

 ![Cattura2](https://community.emlid.com/uploads/default/original/3X/a/8/a869319e9c746abdb433990eaf494be7f8343901.jpeg)

But this is the result through Mission Planner

 ![Cattura](https://community.emlid.com/uploads/default/original/3X/e/3/e3a91efabcd1917be393f4da939ca50021b18874.jpeg)

This is my actually HD configuration

 ![IMG20201014180244](https://community.emlid.com/uploads/default/original/3X/9/d/9d5c215ccb3d3f169587d67a01e7131c2c40434c.jpeg)

---

<div class="post-metadata">

**Author:** ![artem.fomenko](https://community.emlid.com/user_avatar/community.emlid.com/artem.fomenko/32/20021_2.png) [@artem.fomenko](https://community.emlid.com/u/artem.fomenko)\
**Post date:** [October 20, 2020, 9:18am UTC](https://community.emlid.com/t/efk-filtering-system-issue-on-the-new-image/22003/5 "2020-10-20T09:18:29Z")

</div>

Hi Marco,

Thank you for the photos.

I’ve noticed that the barometer is not covered with foam. I recommend doing it as advised in [this guide](https://docs.emlid.com/navio2/ardupilot/hardware-setup/#barometer-uv-protection).

Also, could you elaborate on the conditions where you perform your calibration? With that, we can understand what might be the reason for the errors you have.

---

<div class="post-metadata">

**Author:** ![mgonline](https://community.emlid.com/user_avatar/community.emlid.com/mgonline/32/22289_2.png) [@mgonline](https://community.emlid.com/u/mgonline)\
**Post date:** [October 25, 2020, 8:25pm UTC](https://community.emlid.com/t/efk-filtering-system-issue-on-the-new-image/22003/6 "2020-10-25T20:25:32Z")

</div>

I’m here again after doing a new fly test.

I hadn’t covered the barometer with foam because I thought that having a cover that closes the flight control board compartment the coverage was not necessary. In anycase today i’ve covered the barometer with foam.

For my test today i start in stabilized mode, take off withose problem up to an altitude of 5 meters. In hovering I only noticed a slight heel to the right. I then changed the flight mode to ALT HOLD. The response from the drone was good. It kept his height without too much effort.

In auto mode the drone flew well and return to home withose problem.

Finished the flight i downloaded the data log and the only errors I encountered was in compass offset and mag field.

Test: Autotune = UNKNOWN - No ATUN log data  
Test: Brownout = GOOD -  
Test: Compass = FAIL - WARN: Large compass offset params (X:61.52, Y:305.17, Z:-70.96)  
WARN: Large compass offset in MAG data (X:61.00, Y:305.00, Z:-70.00)  
Large change in mag\_field (164.59%)

Test: Dupe Log Data = GOOD -  
Test: Empty = GOOD -  
Test: Event/Failsafe = FAIL - ERR found: CRASH  
Test: GPS = GOOD -  
Test: IMU Mismatch = NA -  
Test: Motor Balance = GOOD - Motor channel averages = [1260, 1266, 1298, 1304]  
Average motor output = 1282  
Difference between min and max motor averages = 44  
Test: NaNs = FAIL - Found NaN in CTUN.TAlt  
Found NaN in CTUN.DSAlt

Test: OpticalFlow = FAIL - FAIL: no optical flow data

Test: Parameters = FAIL - ‘MAG\_ENABLE’ not found  
Test: PM = GOOD -  
Test: Pitch/Roll = UNKNOWN - ‘BarAlt’  
Test: Thrust = GOOD -  
Test: VCC = UNKNOWN - No CURR log data

Here the link of the bin file

[https://we.tl/t-z4tjEUwlL4](https://we.tl/t-z4tjEUwlL4)

---

<div class="post-metadata">

**Author:** ![artem.fomenko](https://community.emlid.com/user_avatar/community.emlid.com/artem.fomenko/32/20021_2.png) [@artem.fomenko](https://community.emlid.com/u/artem.fomenko)\
**Post date:** [October 26, 2020, 12:42pm UTC](https://community.emlid.com/t/efk-filtering-system-issue-on-the-new-image/22003/7 "2020-10-26T12:42:57Z")

</div>

Hi Marco,

Thank you for the logs.

The compass offset error might be caused by the surroundings where the sensor was calibrated. It is important to do it in the open area without large metal objects around. [This guide](https://ardupilot.org/copter/docs/common-compass-calibration-in-mission-planner.html) has some valuable tips on this workflow. Please, check it out and try recalibrating the compass again.

Another reason for such behavior might be that the Navio2’s compass placement. Onboard electronics of the particular drone might affect the Navio2’s onboard compass performance. That varies from one hardware setup to another. In some cases, it is worth checking out the possibility of using the external compass.

---

<div class="post-metadata">

**Author:** ![system](https://community.emlid.com/uploads/default/original/3X/2/5/25f564df001cb95eb37427c1122602ea2170ba5c.png) [@system](https://community.emlid.com/u/system)\
**Post date:** [February 11, 2021, 7:22am UTC](https://community.emlid.com/t/efk-filtering-system-issue-on-the-new-image/22003/9 "2021-02-11T07:22:58Z")

</div>

Closed on February 11, 2021, 7:22am UTC

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.
