AP_TECS: Correct an error in the SEBdot FF term.

This commit is contained in:
Samuel Tabor 2018-10-18 14:53:37 +01:00 committed by Andrew Tridgell
parent 247738518e
commit dc8c062fbe
1 changed files with 1 additions and 1 deletions

View File

@ -861,7 +861,7 @@ void AP_TECS::_update_pitch(void)
// integrator has to catch up before the nose can be raised to reduce speed during climbout.
// During flare a different damping gain is used
float gainInv = (_TAS_state * timeConstant() * GRAVITY_MSS);
float temp = SEB_error + SEBdot_dem * timeConstant();
float temp = SEB_error + 0.5*SEBdot_dem * timeConstant();
float pitch_damp = _ptchDamp;
if (_landing.is_flaring()) {