mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
EKF: Initialize all local structs and variables
This commit is contained in:
parent
7537c966f9
commit
52cb9d02c7
@ -286,7 +286,7 @@ public:
|
||||
*time_us = _imu_time_last;
|
||||
}
|
||||
|
||||
uint64_t _last_gps_origin_time_us;
|
||||
struct map_projection_reference_s _posRef;
|
||||
float _gps_alt_ref;
|
||||
uint64_t _last_gps_origin_time_us = 0;
|
||||
struct map_projection_reference_s _posRef = {};
|
||||
float _gps_alt_ref = 0.0f;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user