mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 13:13:35 +08:00
Move variable initializations from header file to constructor to allow C99 compliance.
This commit is contained in:
@@ -57,6 +57,9 @@ EstimatorInterface::EstimatorInterface():
|
||||
_NED_origin_initialised(false),
|
||||
_gps_speed_valid(false),
|
||||
_gps_speed_accuracy(0.0f),
|
||||
_gps_hpos_accuracy(0.0f),
|
||||
_gps_origin_eph(0.0f),
|
||||
_gps_origin_epv(0.0f),
|
||||
_mag_healthy(false),
|
||||
_yaw_test_ratio(0.0f),
|
||||
_time_last_imu(0),
|
||||
|
||||
Reference in New Issue
Block a user