From f0862210c761a3c44cf8d3e5f58331fc73d54bfa Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Tue, 2 Jan 2018 22:04:20 -0500 Subject: [PATCH] EKF initialize _hvelInnovGate - fixes CID 139550 --- EKF/ekf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EKF/ekf.h b/EKF/ekf.h index f5304deba6..b3856546de 100644 --- a/EKF/ekf.h +++ b/EKF/ekf.h @@ -269,7 +269,7 @@ private: float _posInnovGateNE{0.0f}; ///< Number of standard deviations used for the NE position fusion innovation consistency check Vector2f _velObsVarNE; ///< 1-STD observation noise variance used for the fusion of NE velocity data (m/sec)**2 - float _hvelInnovGate; ///< Number of standard deviations used for the horizontal velocity fusion innovation consistency check + float _hvelInnovGate{0.0f}; ///< Number of standard deviations used for the horizontal velocity fusion innovation consistency check // variables used when position data is being fused using a relative position odometry model bool _fuse_hpos_as_odom{false}; ///< true when the NE position data is being fused using an odometry assumption