# Disarm and crash in offboard mode

**URL:** <https://discuss.px4.io/t/disarm-and-crash-in-offboard-mode/15547>\
**Category:** PX4 Autopilot\
**Created:** [March 4, 2020, 2:48pm UTC](https://discuss.px4.io/t/disarm-and-crash-in-offboard-mode/15547 "2020-03-04T14:48:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrProton](https://discuss.px4.io/user_avatar/discuss.px4.io/drproton/32/5344_2.png) [@DrProton](https://discuss.px4.io/u/DrProton)\
**Post date:** [March 4, 2020, 2:48pm UTC](https://discuss.px4.io/t/disarm-and-crash-in-offboard-mode/15547/1 "2020-03-04T14:48:55Z")

</div>

After several days of successful flights we had an incident on our px4 based system. We switched into offboard mode and let our onboard controller take over, everything started out fine (as it had been for many flight hours prior) then about 20 seconds later px4 disarmed and the system fell flat to the ground. Flight log is here:

[https://review.px4.io/plot\_app?log=e8782a60-87f5-42d1-895d-fa4560a8befc](https://review.px4.io/plot_app?log=e8782a60-87f5-42d1-895d-fa4560a8befc)

Some important points to make:

This was NOT a power failure. The system was still powered up at the crash site. We had telemetry all the way to the ground. Our radios have about a 30 seconds reboot time and so even a quick interruption of power would have meant lost telemetry. All onboard logging was correctly terminated upon disarm.

The log does not show the system falling, logging was shut down before this happened.

The telemetry log from qGroundcontrol confirms the system disarmed while in the air, and shows clean data all the way until impact.

The vehicle\_command file shows some expected commands from our controller (comp 172) but no disarm command from our controller or qGroundControl. This is confirmed by the telemetry log.

Shortly prior to this incident there was a slight loss of GPS quality and the “velocity check bit” was set briefly.

Everything we have checked seems to indicate the px4 unilaterally decided to disarm while still flying. Why might this have happened?

---

<div class="post-metadata">

**Author:** ![Anthony\_Verloop](https://discuss.px4.io/user_avatar/discuss.px4.io/anthony_verloop/32/3852_2.png) [@Anthony\_Verloop](https://discuss.px4.io/u/Anthony_Verloop)\
**Post date:** [March 5, 2020, 12:25am UTC](https://discuss.px4.io/t/disarm-and-crash-in-offboard-mode/15547/2 "2020-03-05T00:25:06Z")

</div>

We had exactly the same, but with ardupilot, not PX4. The reason for that was an I2C “runaway”, caused by a bug in the software. This caused the flight controller to disarm during flight. It has been fixed since. Maybe the PX4 flight stack have something similar?

You can see details here:

> **[Help needed, Cube disarmed during flight](https://discuss.ardupilot.org/t/help-needed-cube-disarmed-during-flight/47335?u=verloop)**
>
> Can somebody please help analyse these logfiles? I’m totally lost. At the end of the flight, suddenly all kind of messages show up, the Cube disarms and we crash.

---

<div class="post-metadata">

**Author:** ![tomcattigerkkk](https://discuss.px4.io/user_avatar/discuss.px4.io/tomcattigerkkk/32/5068_2.png) [@tomcattigerkkk](https://discuss.px4.io/u/tomcattigerkkk)\
**Post date:** [August 16, 2021, 10:16pm UTC](https://discuss.px4.io/t/disarm-and-crash-in-offboard-mode/15547/3 "2021-08-16T22:16:29Z")

</div>

have you ever updated the system time of your onboard computer? Which kind of command you have sent?
