mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-12 20:20:35 +08:00
ekf2: make mag control responsible for WMM
- this further untangles mag control (which requires the WMM) from GPS
This commit is contained in:
committed by
Mathieu Bresciani
parent
be4d0d351c
commit
bbcf741e9e
@@ -108,7 +108,6 @@ TEST_F(EkfBasicsTest, initialControlMode)
|
||||
EXPECT_EQ(1, (int) _ekf->control_status_flags().mag_hdg);
|
||||
EXPECT_EQ(0, (int) _ekf->control_status_flags().mag_3D);
|
||||
EXPECT_EQ(1, (int) _ekf->control_status_flags().mag);
|
||||
EXPECT_EQ(1, (int) _ekf->control_status_flags().mag_dec);
|
||||
EXPECT_EQ(0, (int) _ekf->control_status_flags().in_air);
|
||||
EXPECT_EQ(0, (int) _ekf->control_status_flags().wind);
|
||||
EXPECT_EQ(1, (int) _ekf->control_status_flags().baro_hgt);
|
||||
|
||||
Reference in New Issue
Block a user