mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-22 01:20:34 +08:00
ROMFS: Reset the estimator param to EKF2 if LPE fails to start
This commit is contained in:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user