ECL: Run TECS filter faster, adjust gains accordingly

This commit is contained in:
Lorenz Meier
2015-06-12 16:10:20 +02:00
parent 8838b18da7
commit 55ed9e9612
+1 -1
View File
@@ -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;