Files
RomanBapst be39480fb1 fix(tecs): remove the trim airspeed cap of the pitch's airspeed setpoint
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>
2026-11-25 13:01:27 +03:00
..
…
…
…
…
…
…
…
…