mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 08:40:35 +08:00
Update c style array initialization to attempt to pass Travic CI build tests.
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 = {0};
|
||||
_mag_innov = {0};
|
||||
_vel_pos_innov_var = {0};
|
||||
_mag_innov_var = {0};
|
||||
memset(_vel_pos_innov, 0, sizeof(_vel_pos_innov));
|
||||
memset(_mag_innov, 0, sizeof(_mag_innov));
|
||||
memset(_vel_pos_innov_var, 0, sizeof(_vel_pos_innov_var));
|
||||
memset(_mag_innov_var, 0, sizeof(_mag_innov_var));
|
||||
_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 = {0};
|
||||
_vel_pos_test_ratio = {0};
|
||||
memset(_mag_test_ratio, 0, sizeof(_mag_test_ratio));
|
||||
memset(_vel_pos_test_ratio, 0, sizeof(_vel_pos_test_ratio));
|
||||
}
|
||||
|
||||
EstimatorInterface::~EstimatorInterface()
|
||||
|
||||
Reference in New Issue
Block a user