Browse Source

ECL: Run TECS filter faster, adjust gains accordingly

sbg
Lorenz Meier 10 years ago
parent
commit
55ed9e9612
  1. 2
      src/lib/external_lgpl/tecs/tecs.cpp

2
src/lib/external_lgpl/tecs/tecs.cpp

@ -89,7 +89,7 @@ void TECS::update_50hz(float baro_altitude, float airspeed, const math::Matrix<3 @@ -89,7 +89,7 @@ void TECS::update_50hz(float baro_altitude, float airspeed, const math::Matrix<3
// take 5 point moving average
//_vel_dot = _vdot_filter.apply(temp);
// XXX resolve this properly
_vel_dot = 0.9f * _vel_dot + 0.1f * temp;
_vel_dot = 0.95f * _vel_dot + 0.05f * temp;
} else {
_vel_dot = 0.0f;

Loading…
Cancel
Save