Files
RomanBapst e8f1f5097d fix(fw_lateral_longitudinal_control): double the TECS pitch damping and integrator gains
The pitch loop now converts its balance rate error to a climb angle with
1 / (2 g V) instead of 1 / (g V) (see "fix(tecs): correct SEB rate ->
pitch conversion"), so FW_T_PTCH_DAMP and FW_T_I_GAIN_PIT act at half
their previous strength. Double their defaults (0.1 -> 0.2) and the
values of the X-Plane airframes that set them, so the effective pitch
loop gains stay as tuned.

Custom values of FW_T_PTCH_DAMP and FW_T_I_GAIN_PIT need doubling too.
They are not translated on import: a saved parameter file does not say
which firmware wrote it, so scaling on import would compound on every
boot.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2026-11-23 13:31:31 +03:00
..