ROMFS: Reset the estimator param to EKF2 if LPE fails to start

This commit is contained in:
Lorenz Meier
2017-06-04 12:43:28 +02:00
parent 69ba69f30c
commit c9a28fc0eb
3 changed files with 20 additions and 5 deletions
+9
View File
@@ -3,6 +3,15 @@
# Standard apps for fixed wing
#
# LPE
if param compare SYS_MC_EST_GROUP 1
then
echo "ERROR [init] Estimator LPE not supported on fixed wing. Using EKF2"
param set SYS_MC_EST_GROUP 2
param save
ekf2 start
fi
#
# Start the attitude and position estimator
#