Copter Crashed During takeoff

After did some changes inside my drone, i went for the test flight and during flight my drone was crashed(fliped same time during takeoff). when checked the log file found compass error. Please check the log file and photo of auto analysis and confirm the reason of crash. Surprisingly after fliping the drone not disarmed until i removed the power plug

Bin file -

https://1drv.ms/u/c/63dd1084eaa45982/EX67_IE6-ABDjU-porchmwIBG_SBUZV9i6FQwUcrTlFBfw

I know this is compass error. But need to confirm why the herelink not warned me about the compass health

Auto Analysis is of no value it’s so far out of date. The “GPS glitch or compass error” came after, and a likely result of, the craft rolling around on take-off. Sure you got the motor order and direction right after making the changes you mentioned?

nothing changed except some Electronics and connector change. After did the changes i didn’t callibrate the drone.

Not much to see in this log but I don’t think it had anything to do with the compass.

Then what’s the reason of sadden fliping?
Pics of the copter before flying

It’s not clear from the log. On throttle up some motor outputs go to max and it starts rolling. That’s what can happen if the motor order or direction is wrong, or maybe a prop breaks but you would presumably see that.

Note where the error message is relative to when shit hit the fan.

Yes, soon after i put the throttle up it was flipped like wrong propeller direction. But the props are placed correct and the main thing is that if any thing was wrong the message should came in herelink. After the carsh the props are broken and it was not disarmed till i removed the power plug

Before the crash copter was excellent. My changes are before crash;-

  1. the power connector from XT90 to XT60,
  2. installed neopixel LED and connected to Aux port 1 and to power the neopixel i connected a 5v BEC to auxport2 and changed the configuration of servo 9 funtion to neopixel and NTF_LED types

Nothing to do with the crash but after fixing it properly configure the notch filter. It’s doing nothing now. Got a log of a previous flight that went well?

https://1drv.ms/u/c/63dd1084eaa45982/EX7zRxvPkGdJj2HrppBFbJUB_9S-VmQBkkV-zH9SzAvOzg

4 days before i flied to check the proximity sensors behavior

Nothing remarkable. I would suggest setting the PSC_ACCZ_P/I parameters appropriate for the hover thrust value, configure the notch filter (needs a reference) and re-run Auto Tune but none of that would cause the event you witnessed on take-off.

The copter was well tuned with Tmotor NS1654 props. But after the configuration i went to fly with the folding props 1555. I think it should not make any difference.

The Psc_accz-p/I values

Are at default.

Yes, with the default values the copter fly very well. So i didn’t think to change the values.

There is noise in the rate controller. But, suit yourself.
These paramters are covered here:
Initial Tuning
These should be set too:
Motor Ranges

Intial tuning was done by me and the motor spin setting also… thanks for all these.now i will fly it again after doing all the callibration. thanks

So was this the first flight with new propellers?

No no, i flied the drone 50-60 times and, i generally used Tmotor NS1654 props, but for checks after any changes i flied with tarot 1555 folding props and these are cheap price, so if any crash will happen the loss will minimal.

Are you sure you mounted the propellers correctly before this flight? The log and crash/flip on takeoff is often a symptom of having a wrong prop on one or more of the motors.

I can’t think of any other common reason why an aircraft that has flown multiple times before would do that (unless the landing gear got snagged on takeoff).

200% sure that props are mounted in correct way. Because if you see the pics the black motor mounts are CCW and goldens are CW.