Make LandingTargetEstimator a lib and run on work_queue

Currently only precision landing is using the
LandingTargetEstimator and it is a waste to have it
running in the background all the time. With this change
the estimator is only started once the precision landing
flight task is activated, and stopped when the flight
task is deactivated.
This commit is contained in:
Alessandro Simovic
2022-04-19 12:52:38 +02:00
parent a0d8c481d9
commit ad4d48454a
9 changed files with 107 additions and 179 deletions
-1
View File
@@ -22,7 +22,6 @@ CONFIG_MODULES_FW_POS_CONTROL_L1=y
CONFIG_MODULES_GYRO_CALIBRATION=y
CONFIG_MODULES_GYRO_FFT=y
CONFIG_MODULES_LAND_DETECTOR=y
CONFIG_MODULES_LANDING_TARGET_ESTIMATOR=y
CONFIG_MODULES_LOAD_MON=y
CONFIG_MODULES_LOCAL_POSITION_ESTIMATOR=y
CONFIG_MODULES_LOGGER=y