GPS Compass glitch EKF Lane Switch fly away help

I have a hexacopter with a holybro 6C, T-motor MN5008 antigravity motors, Hobbywing Rotorx pro 40A ESCs, Holybro F9P RTK GPS with a tarot frame. The issue is that when we increase the altitude, first an gps/compass glitch comes , EKF lane switch happens and vibration compensation also turns on making drone fly away while gaining sudden altitude jumps.

The issue is that this only happens in hill areas with medium winds and we tried to diagnose through log analysis, changing GPS hardware, adding EMF shielding but with no success. I have attached the logfile below and if anyone can shed a light on how to solve this, I would be much grateful.

https://drive.google.com/file/d/1Qu9yvI3Y-VQZ-CNslhcinI3iFwW5IVou/view?usp=sharing

The copter is suffering from a lot(!) of vibration. This you will need to fix first before you can expect the copter to fly properly.

In the image below you can see peaks of about 130 for IMU[0] and IMU[1]…they should at the very least be less than 30…

If you fix the vibration problems you will probably find the rest of the problems will disappear.

2 Likes

I agree, the vibrations need to be fixed. But there’s also a major twist in the airframe. The CW motors, 1,3,6 are working significantly harder than the CCW motors. Make sure all the motors are level and parallel.

Then you can:

  • Set the notch filter.
  • Perform autotune.
2 Likes

Your Hexacopter “The Clipper” is going for the record. Almost 10,000 accelerometer clipping events on IMU1 which it switched to because IMU0 was so high.

The internal vibration isolation on the IMU is totally inadequate for the conditions present on that craft.

2 Likes

LOL…I noticed that too… :slight_smile:

Was the 3rd IMU disabled for a reason or does this AP only have 2? :thinking:

1 Like

That’s a good question, I noticed that too. INS_ENABLE_MASK is set to All but only 2 have ID’s. Seems like I saw some posting abut that with these 6’s on the forum here awhile back.

2 IMU’s in the Hwdef:
imu

It’s the 6X that has 3.