PreArm issue "EKF attitude is bad"

Hi Folks,

I calibrated my Quad copter using QGroundControl. My flight controller is OBAL.

IMU = MPU9250
GPS and Compass = HGLRC M100-5883

I sometimes receive this issue:

[12:21:03.468] Info: ArduCopter V4.6.0-dev (f486eb81)
[12:21:03.468] Info: 3f98949c395c4ba8933fb6459f2ec997
[12:21:03.468] Info: Frame: QUAD/X
[12:21:04.270] Info: Barometer 1 calibration complete
[12:21:04.930] Info: ArduPilot Ready
[12:21:04.930] Info: AHRS: DCM active
[12:21:06.929] Info: EKF3 IMU0 initialised
[12:21:06.936] Info: AHRS: EKF3 active
[12:21:08.319] Info: EKF3 IMU0 tilt alignment complete
[12:21:08.445] Info: EKF3 IMU0 MAG0 initial yaw alignment complete
[12:21:08.476] Info: ArduCopter V4.6.0-dev (f486eb81)
[12:21:08.476] Info: 3f98949c395c4ba8933fb6459f2ec997
[12:21:08.476] Info: Frame: QUAD/X
[12:21:44.504] Critical: PreArm: EKF attitude is bad
[12:21:44.527] Critical: PreArm: AHRS: DCM Roll/Pitch inconsistent 22 deg. Wait or reboot
[12:21:48.356] Warning: EKF3 IMU0 forced reset
[12:21:48.356] Info: EKF3 IMU0 initialised
[12:21:49.679] Info: EKF3 IMU0 tilt alignment complete
[12:21:49.756] Info: EKF3 IMU0 MAG0 initial yaw alignment complete
[12:22:43.931] Critical: PreArm: EKF attitude is bad
[12:22:43.934] Critical: PreArm: AHRS: EKF3 still initialising
[12:22:47.149] Warning: EKF3 IMU0 forced reset
[12:22:47.149] Info: EKF3 IMU0 initialised
[12:22:48.581] Info: EKF3 IMU0 tilt alignment complete
[12:22:48.680] Info: EKF3 IMU0 MAG0 initial yaw alignment complete
[12:24:21.072] Critical: Arm: Throttle too high
[12:24:35.541] EMERGENCY: Crash: Disarming: AngErr=35>30, Accel=0.3<3.0
...
[12:26:30.701] Info: EKF3 IMU0 MAG0 in-flight yaw alignment complete

is this a problem in calibration?

There is not enough information to be sure.

But yes, probably not fully configured/calibrated. Did you follow a checklist procedure?

1 Like

what extra information is required?

I calibrated the system ( accelerometer and compass ) and I made sure they are part of the green quality zone.