EKF: update vertical position and velocity reset capture

Use reset event struct members instead of separate variables
This commit is contained in:
Paul Riseborough
2016-06-01 17:13:00 +10:00
parent 0605c88ecc
commit aca0336392
3 changed files with 9 additions and 17 deletions
-4
View File
@@ -107,10 +107,6 @@ Ekf::Ekf():
_gps_hgt_faulty(false),
_rng_hgt_faulty(false),
_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),
_time_bad_vert_accel(0)
{
_state = {};