That is the craziest looking map I have ever seen
You can see the GPS path (blue) is where you expect it to be, and the IMU-calculated path is branching off all over the place
For the vibration levels, I believe anything over about 15 should be investigated or at least watched in case it changes over time and becomes a serious issue.
Anything over 20 is going bad and can sometimes even have serious effects even at that level - especially on Z axis.
30 is a no-go zone, you are already having issues.
Some IMUs handle those vibration levels better than others, so with your copter there is no clipping, but the position is clearly affected.
GPS Glitches happen when IMU-calculated path or direction deviates from the GPS path, so this doesnt automatically mean the GPS is wrong, but the flight controller could not tell which was correct.
I believe you should try to do all you can to minimise vibrations. If you have a lot of harmonics you might need a stiffer frame.
Unrelated to vibrations, but maybe check all connectors just to be sure, but I couldnt see where any signals or voltages disappeared.
The copter definitely seems underpowered - do you have a payload onboard? Anything you can do to reduce weight would be helpful.
As Dave suggests, update to latest stable firmware - there are some very important fixes.
If you get the repairs done and this is going to be flyable again, I would probably consider resetting to defaults, and start over with all calibrations and run through these things in the section below.
Definitely do this whole section even if you dont reset to defaults and recalibrate.
Battery monitor calibrated and at least reading an accurate voltage
- Reconnect to MissionPlanner / Setup / Mandatory / Initial Parameters
- Put in your prop size, battery cell count and select chemistry type
- Select “Suggested” settings and “T-Motor Flame” settings
- and do Calculate.
- Now accept all that it offers
Also check and set
INS_ACCEL_FILTER,10
INS_LOG_BAT_MASK,1
INS_LOG_BAT_OPT,4
If you do reset to defaults and start over, do not be tempted to just put back every setting you had before - only change what is required for tuning and safety using the above process and the standard tuning guides.
Once tuning is done and flight is good, then start to customise more settings to suit your flights.
There’s probably a few other things I saw in parameters that I would do differently, so from here on is not an exhaustive list but just some of what I noted
I see you’ve changed the EKF failsafe threshold and action, so that’s a sure sign there are ongoing issues
ANGLE_MAX,1500
You pitch and roll is already exceeding this just trying to fly.
I believe this is not enough to correct for disturbances such as wind, and you will probably need something more for ordinary attitude control too. I would use 3000.
I can understand LOIT_ANG_MAX being 15 , but be aware you may have to quickly change to AltHold or Stabilise if disturbances can not be handled during a flight.
INS_HNTCH_HMNCS,11 is probably a bad sign - trying to filter so many harmonics.
Once repairs are done just do a short test flight in AltHold with some pitch and roll.
Let’s see that log.
EDIT
Just wanted to add that I was mostly trying to address your vibration queries - as Allister pointed out it looks like something was coming loose and causing more vibrations that normal, along with the thrust loss message and Motor2 was being commanded to maximum.