mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 06:03:33 +08:00
ekf2_terr: refactor terrain estimator - flow aiding
This commit is contained in:
@@ -680,8 +680,6 @@ private:
|
||||
// initialise the terrain vertical position estimator
|
||||
void initHagl();
|
||||
|
||||
bool shouldUseOpticalFlowForHagl() const { return (_params.terrain_fusion_mode & TerrainFusionMask::TerrainFuseOpticalFlow); }
|
||||
|
||||
void runTerrainEstimator();
|
||||
void predictHagl();
|
||||
|
||||
@@ -695,8 +693,11 @@ private:
|
||||
float getRngVar();
|
||||
|
||||
// update the terrain vertical position estimate using an optical flow measurement
|
||||
void fuseFlowForTerrain();
|
||||
void controlHaglFlowFusion();
|
||||
void startHaglFlowFusion();
|
||||
void resetHaglFlow();
|
||||
void stopHaglFlowFusion();
|
||||
void fuseFlowForTerrain();
|
||||
|
||||
void controlHaglFakeFusion();
|
||||
void resetHaglFake();
|
||||
|
||||
Reference in New Issue
Block a user