I had a flight using S500 and PixHawk PX4 v1.82 connected to RC and to TX1 module via UART, using mavros on the TX1 transmitting the telemetries to QGroundcontrol on remote PC(over wifi).
During the flight I’ve toggled the states on RC between mission and stabilized, at some point, after 83 seconds i had a sudden disarm in the air and the drone crashed.
At the flight logs attached below, for some reason a disarm command was triggered(blue color) during the flight and the nav_state changed to RTL.
Safety parameters at the PX4 are configured to RTL on RC lost / datalink lost, I guess it’s not what occurred here as the motors got disarm command before RTL.
What other reason can cause the manual_control_setpoint/arm_switch command?