mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 09:10:36 +08:00
AlphaFilter: merge with PX4 implementation
I made a separate implementation of the same filter for PX4. Now that I know it's duplicate I merge the two into one and reuse it.
This commit is contained in:
committed by
Mathieu Bresciani
parent
1e033c4719
commit
65a4ca9d65
+3
-1
@@ -48,7 +48,9 @@ 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