mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-26 01:00:36 +08:00
The cap (#29009) kept the pitch from diving to accelerate above trim airspeed when the throttle could not deliver. With the pitch conversion fixed, pitch and throttle are consistent: an airspeed step decays with FW_T_TAS_TC and the altitude holds whenever the throttle delivers, above trim as well, so the cap only matters once the throttle saturates. It then overrides the speed weight, which is the parameter meant to split such a shortfall between height and airspeed. The cap also made the pitch see a different kinetic setpoint than the throttle, switching with the sign of the airspeed error when cruising above trim. That asymmetry needed its own fix for the kinetic estimate and leaks airspeed noise into the loops once the throttle no longer provides all of an airspeed correction. Remove the cap, the kinetic estimate removal between trim and the setpoint, the tas_trim parameter and their tests and docs. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: RomanBapst <bapstroman@gmail.com>