What about other details including battery charge state. Discharge state, remote controller position state, distance of RC from the drone and other states to understand what triggered such events. . Kindly try the same setup on Px4 v1.15.2 stable and Px4 v1.13.x stable and check if such ekf movements remain the same ! !
I don’t know why the estimator is wrong. It was hovering for almost a minute and then suddenly estimator detects high degree of roll/pitch and it throws altitude failure, and triggers flight termination.
I tried it with Px4 v1.15.2 and the result is same
After initial review of your log, it seems your CCW Motor # 3 has failed and therefore everything dropped from the sky…Need to inspect Motor # 3 …check for loose props…Good luck !
Yes, that happened because there was an erroneous roll/pitch estimation. To compensate for the perceived attitude error, the motors were driven at a high PWM. However, no actual roll or pitch was observed. This ultimately led to flight termination, as the Failure Detector (FD) detected a roll/pitch angle exceeding the configured threshold of 60°. After this, Ekf losses confidence on attitude estimator and triggers flight termination via FD.
I was not able to know why EKF estimates the high degree of roll/ pitch.
Propellers were tight while checking after the crash. Same has been happened multiple times with both PX4 v1.15.2 and 1.16.2.
I’m not sure. I calibrated all the sensors just before the flight. I believe that if we can figure out why it overestimates the roll and pitch, we can avoid the flight termination. This happens with different flight controllers of the same model as well as different models.
Well its good you can rule out sensor calibrations.
The estimated roll and pitch angles are different between the two flight reviews. However, there is high anglualr accelerations on both flight reviews. If there is too much distance between your Center of Mass and IMU, you could get higher than expected accelerations.
ArudPiolot documentaion about Center of Mass and IMU placement problems.“For example if the autopilot was placed on the nose of a vehicle and the vehicle suddenly leans back (i.e. rotates so that its nose points up) with no offset compensation the vehicle velocity estimate would momentarily show the vehicle is climbing when it’s not.” Sensor Position Offset Compensation — Plane documentation
Well its going to be a process of elimination, and there are people here that know more about PX4 autopilot than me.