mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 03:53:35 +08:00
Correct C style array initialization.
This commit is contained in:
+4
-4
@@ -77,10 +77,10 @@ Ekf::Ekf():
|
||||
_last_known_posNE.setZero();
|
||||
_earth_rate_NED.setZero();
|
||||
_R_prev = matrix::Dcm<float>();
|
||||
_vel_pos_innov = {};
|
||||
_mag_innov = {};
|
||||
_vel_pos_innov_var = {};
|
||||
_mag_innov_var = {};
|
||||
_vel_pos_innov = {0};
|
||||
_mag_innov = {0};
|
||||
_vel_pos_innov_var = {0};
|
||||
_mag_innov_var = {0};
|
||||
_delta_angle_corr.setZero();
|
||||
_delta_vel_corr.setZero();
|
||||
_vel_corr.setZero();
|
||||
|
||||
@@ -69,8 +69,8 @@ EstimatorInterface::EstimatorInterface():
|
||||
_mag_declination_to_save_deg(0.0f)
|
||||
{
|
||||
_pos_ref = {};
|
||||
_mag_test_ratio = {};
|
||||
_vel_pos_test_ratio = {};
|
||||
_mag_test_ratio = {0};
|
||||
_vel_pos_test_ratio = {0};
|
||||
}
|
||||
|
||||
EstimatorInterface::~EstimatorInterface()
|
||||
|
||||
Reference in New Issue
Block a user