I have a small plane that does run matek h743 with 2 IMU and just compass, have no GNSS receiver installed.
I’m getting the “PreArm: AHRS: EKF3 Yaw inconsistent XX deg. Wait or reboot” error if on startup the nose does not points strictly north.
This error does not appear on copter because it have DCM disabled but on plane DCM still works as fallback and looks like it do not account compass data on startup. I found some explanations from @rmackay9 and understood that 2 EKF lines should be compared if possible, but here it want to compare with DCM.
Is that a bug? What is workaround except disabling this prearm check?
Txs for the report. Could you provide an onboard log?
I’m not the plane expert but I guess it’s clear that either two EKF cores disagree on yaw or that EKF disagrees with DCM. I’m pretty in normal cases DCM initialises its yaw using the compass so I don’t think that should be the issue.
Yes, sure. no_gps_yaw_inconsistent.bin (864 KB)
I was not able to reproduce it in SITL with SIM_OPOS_HDG parameter, but in hardware I had only CAN compass connected and
I can setup EKF origin / set home point via GCS or AHRS_ORIGIN_x, also can install airspeed sensor, but that does not help.
So you say plane without GPS that flying manual is not possible?
No way to use EKF, only DCM?
Is correct way in this setup not to use EKF and just AHRS_EKF_TYPE, 0
Why it works on copter but not on plane?
There is no way to safely use plane without a position source of some kind.
Copter has some extra handling for it which we don’t have in plane. I hope that it will be one of the capabilities that we will add for the 4.8 release.