mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 06:23:33 +08:00
EKF: improve detection of bad vert accel data
Improve ability to detect if bad vertical accel data has caused loss of height accuracy by using historical data.
This commit is contained in:
+2
-1
@@ -89,7 +89,8 @@ Ekf::Ekf():
|
||||
_vert_pos_reset_delta(0.0f),
|
||||
_time_vert_pos_reset(0),
|
||||
_vert_vel_reset_delta(0.0f),
|
||||
_time_vert_vel_reset(0)
|
||||
_time_vert_vel_reset(0),
|
||||
_time_bad_vert_accel(0)
|
||||
{
|
||||
_state = {};
|
||||
_last_known_posNE.setZero();
|
||||
|
||||
Reference in New Issue
Block a user