EKF: Initialize all local structs and variables

This commit is contained in:
Lorenz Meier
2016-01-01 12:31:36 +01:00
parent 7537c966f9
commit 52cb9d02c7
+3 -3
View File
@@ -286,7 +286,7 @@ public:
*time_us = _imu_time_last; *time_us = _imu_time_last;
} }
uint64_t _last_gps_origin_time_us; uint64_t _last_gps_origin_time_us = 0;
struct map_projection_reference_s _posRef; struct map_projection_reference_s _posRef = {};
float _gps_alt_ref; float _gps_alt_ref = 0.0f;
}; };