Hi everyone,
I experienced a crash during an autonomous takeoff attempt with my fixed-wing UAV. I suspect a logic or configuration error regarding the takeoff sequence, specifically involving the switch to LOITER mode at a critical moment.
Hardware & Setup:
-
FC: Pixhawk 2.4.8
-
Firmware: PX4 [v1.17.0 (alpha)]
-
Airframe: Fixed Wing with Landing Gear (Wheels)
-
Configuration: Setup for Runway Takeoff
The Scenario:
-
I armed the plane on the ground.
-
Instead of using the “Takeoff” slider, I switched directly to Mission Mode via RC, expecting the aircraft to execute the planned Runway Takeoff sequence automatically.
-
The aircraft attempted to take off but failed to gain sufficient altitude.
-
It banked aggressively to the right and crashed.
The Core Issue (Log Analysis): Reviewing the logs, I noticed that the flight mode switched to LOITER right before/during the crash sequence. The aircraft seems to have tried to hold position (loiter) while having low airspeed and altitude, leading to a stall.
My Questions:
-
Why did it switch to Loiter? Is this a typical Failsafe behavior (e.g., Compass/Mag interference at high throttle) or did the Mission Logic think the takeoff waypoint was “completed” or “skipped”?
-
Procedure Verification: Is it wrong to switch to Mission Mode directly from the ground for a Runway Takeoff? Should I be using the specific “Takeoff Flight Mode” instead?
-
Config Check: Since the plane has wheels and is capable of self-takeoff, are there specific
RWTO_orFW_LAUN_parameters I might have missed that caused this abort-to-loiter behavior?
Data:
Flight Log:
https://review.px4.io/plot_app?log=68dac8cb-192f-4655-b2e7-efd32b4c3ef9
-
Plane Crash Video:
Any help analyzing the Log to pinpoint the cause of the Mode Switch would be appreciated.
Thanks!