mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 06:13:33 +08:00
run terrain estimator after control fusion modes. Otherwise _range_data_ready will never be true and fuseHagl() will never run
This commit is contained in:
committed by
Lorenz Meier
parent
9c31632e2b
commit
47973a4820
+3
-3
@@ -127,12 +127,12 @@ bool Ekf::update()
|
||||
predictState();
|
||||
predictCovariance();
|
||||
|
||||
// run a separate filter for terrain estimation
|
||||
runTerrainEstimator();
|
||||
|
||||
// control fusion of observation data
|
||||
controlFusionModes();
|
||||
|
||||
// run a separate filter for terrain estimation
|
||||
runTerrainEstimator();
|
||||
|
||||
}
|
||||
|
||||
// the output observer always runs
|
||||
|
||||
Reference in New Issue
Block a user