Browse Source

AP_TECS: Correct an error in the SEBdot FF term.

c415-sdk
Samuel Tabor 6 years ago committed by Andrew Tridgell
parent
commit
dc8c062fbe
  1. 2
      libraries/AP_TECS/AP_TECS.cpp

2
libraries/AP_TECS/AP_TECS.cpp

@ -861,7 +861,7 @@ void AP_TECS::_update_pitch(void) @@ -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()) {

Loading…
Cancel
Save