mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
* fix(vtol_att_control): do not treat a commanded quad-chute as a fixed-wing failure An operator can command a quad-chute (MAV_CMD_DO_VTOL_TRANSITION with param2 = 1) when nothing has failed, e.g. to stop fixed-wing flight for detect and avoid. It set fixed_wing_system_failure like a detected failure, so COM_QC_ACT ran (Return by default) and arming was blocked until reboot. A commanded quad-chute now only forces the immediate switch to multicopter, through a one-shot latch. The multicopter transition command keeps the vehicle there until the next front transition. The destructor now also deletes the VTOL type, which leaked. Assisted-by: Claude:claude-opus-5-5 * refactor(vtol_att_control): track quad-chute by reason Only a detected quad-chute is published as fixed_wing_system_failure. * fix(vtol_att_control): no pusher assist after a commanded quad-chute A further quad-chute is ignored while one is active. * fix(vtol_att_control): reset commanded quadchute on disarm * feat(vtol_att_control): keep pusher assist after a commanded quadchute --------- Co-authored-by: Matthias Grob <maetugr@gmail.com>