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:
ChristophTobler
2017-05-15 07:42:51 +02:00
committed by Lorenz Meier
parent 9c31632e2b
commit 47973a4820
+3 -3
View File
@@ -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