mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 11:03:33 +08:00
EKF: Add variables to monitor vertical position and height offset
This commit is contained in:
+5
-1
@@ -85,7 +85,11 @@ Ekf::Ekf():
|
||||
_baro_hgt_faulty(false),
|
||||
_gps_hgt_faulty(false),
|
||||
_rng_hgt_faulty(false),
|
||||
_baro_hgt_offset(0.0f)
|
||||
_baro_hgt_offset(0.0f),
|
||||
_vert_pos_reset_delta(0.0f),
|
||||
_time_vert_pos_reset(0),
|
||||
_vert_vel_reset_delta(0.0f),
|
||||
_time_vert_vel_reset(0)
|
||||
{
|
||||
_state = {};
|
||||
_last_known_posNE.setZero();
|
||||
|
||||
Reference in New Issue
Block a user