mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
The battery current check was removed in #19570, as the total current cannot tell which multicopter motor failed. In fixed-wing flight the propulsion draws most of the current, so a battery current below COM_EF_CURR with the throttle above COM_EF_THROT shows a failed motor, ESC or propeller without ESC telemetry. The vehicle executes COM_ACT_FAIL_ACT, as for the ESC-based motor failure check, and a standard VTOL also triggers the pusher failure quad-chute once below VT_FW_QC_HMAX, which blocks front transitions. The check is disabled by default (COM_EF_CURR), needs a current measurement on every connected battery, and is only built for boards that fly fixed-wing. Assisted-by: Claude:claude-opus-5-5 Co-authored-by: Mathéo Taillandier <matheo.taillandier@gmail.com> Signed-off-by: jonas <jonspero@me.com>