mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-14 14:07:36 +08:00
Match variable initialization order difference with upstream.
This commit is contained in:
+1
-1
@@ -83,8 +83,8 @@ Ekf::Ekf():
|
||||
_mag_innov_var = {};
|
||||
_delta_angle_corr.setZero();
|
||||
_delta_vel_corr.setZero();
|
||||
_vel_corr.setZero();
|
||||
_last_known_posNE.setZero();
|
||||
_vel_corr.setZero();
|
||||
_imu_down_sampled = {};
|
||||
_q_down_sampled.setZero();
|
||||
_mag_sum = {};
|
||||
|
||||
@@ -155,7 +155,7 @@ private:
|
||||
uint64_t _last_gps_origin_time_us; // time the origin was last set (uSec)
|
||||
float _gps_alt_ref; // WGS-84 height (m)
|
||||
|
||||
// Variables used to initialize the filter states
|
||||
// Variables used to initialise the filter states
|
||||
uint8_t _baro_counter; // number of baro samples averaged
|
||||
float _baro_sum; // summed baro measurement
|
||||
uint8_t _mag_counter; // number of magnetometer samples averaged
|
||||
|
||||
Reference in New Issue
Block a user