mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 06:50:36 +08:00
AlphaFilter add constructor that takes alpha and use in EKF
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user