mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 06:03:34 +08:00
landing_target_estimator: initialize all fields
- fixes Coverity CID 253911
This commit is contained in:
@@ -143,8 +143,8 @@ private:
|
||||
|
||||
matrix::Matrix<float, 2, 2> _covariance; // state covariance
|
||||
|
||||
float _residual; // residual of last measurement update
|
||||
float _residual{0.0f}; // residual of last measurement update
|
||||
|
||||
float _innovCov; // innovation covariance of last measurement update
|
||||
float _innovCov{0.0f}; // innovation covariance of last measurement update
|
||||
};
|
||||
} // namespace landing_target_estimator
|
||||
|
||||
Reference in New Issue
Block a user