# Unstable flight using GPS (crashed, need help with log analyzing)

**URL:** <https://discuss.px4.io/t/unstable-flight-using-gps-crashed-need-help-with-log-analyzing/4924>\
**Category:** Flight Testing & Log Analysis\
**Created:** [November 20, 2017, 1:31pm UTC](https://discuss.px4.io/t/unstable-flight-using-gps-crashed-need-help-with-log-analyzing/4924 "2017-11-20T13:31:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Breaknus](https://discuss.px4.io/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@Breaknus](https://discuss.px4.io/u/Breaknus)\
**Post date:** [November 20, 2017, 1:31pm UTC](https://discuss.px4.io/t/unstable-flight-using-gps-crashed-need-help-with-log-analyzing/4924/1 "2017-11-20T13:31:16Z")

</div>

Hello, community!

Recently I have build test 4rotor with this configuration:

DJ F450 frame (with DJI ESC, props and motors)  
Pixhawk 3 PRO kit (ublox m8n GPS) stable branch  
px4flow  
Lidar-lite v3

I have successful tested indoor position mode (with LPE and px4flow fusion), copter has perfect stability without any drift.

But outdoor flight resulted in crash (I have LPE with only GPS fusion): after short period of time (position mode) copter starts to drift rapidly until crash.

Log: [https://logs.px4.io/plot\_app?log=608bce0e-663c-4a06-acea-52ba830795b6](https://logs.px4.io/plot_app?log=608bce0e-663c-4a06-acea-52ba830795b6)

Sorry, if it is some stupid misconfiguration, but for now I have no ideas what cased the crash. I only see that GPS estimated position is not correct, and Pitch angle is opposite to RC control (I tried to stabilize copter before kill switch was engaged).

---

<div class="post-metadata">

**Author:** ![dagar](https://discuss.px4.io/user_avatar/discuss.px4.io/dagar/32/22_2.png) [@dagar](https://discuss.px4.io/u/dagar)\
**Post date:** [December 2, 2017, 6:35pm UTC](https://discuss.px4.io/t/unstable-flight-using-gps-crashed-need-help-with-log-analyzing/4924/2 "2017-12-02T18:35:10Z")

</div>

This might not be a great answer, but did you consider trying EKF2 (the default estimator)? It has much better diagnostics available if something goes wrong.
