Updated and added full stops to comments and did some comment/whitespace formatting in the startup scripts.

This commit is contained in:
mcsauder
2018-07-31 09:06:03 +02:00
committed by Beat Küng
parent 13f2315314
commit 1fe526b8eb
10 changed files with 90 additions and 46 deletions
+10 -1
View File
@@ -8,7 +8,10 @@
###############################################################################
# Begin Estimator Group Selection #
###############################################################################
#
# INAV (deprecated).
#
if param compare SYS_MC_EST_GROUP 0
then
echo "ERROR [init] Estimator INAV deprecated. Using EKF2"
@@ -16,11 +19,15 @@ then
param save
fi
#
# LPE
#
if param compare SYS_MC_EST_GROUP 1
then
# Try to start LPE. If it fails, start EKF2 as a default
#
# Try to start LPE. If it fails, start EKF2 as a default.
# Unfortunately we do not build it on px4fmu-v2 due to a limited flash.
#
if attitude_estimator_q start
then
local_position_estimator start
@@ -31,7 +38,9 @@ then
fi
fi
#
# EKF2
#
if param compare SYS_MC_EST_GROUP 2
then
ekf2 start