AlphaFilter add constructor that takes alpha and use in EKF

This commit is contained in:
Daniel Agar
2020-12-16 13:55:59 -05:00
committed by GitHub
parent 37e84b763a
commit 1237087d70
3 changed files with 14 additions and 9 deletions
-3
View File
@@ -48,9 +48,6 @@ bool Ekf::init(uint64_t timestamp)
{
bool ret = initialise_interface(timestamp);
reset();
_accel_lpf.setAlpha(.1f);
_gyro_lpf.setAlpha(.1f);
_mag_lpf.setAlpha(.1f);
return ret;
}