Make INAV configurable

This commit is contained in:
Lorenz Meier
2015-03-01 18:05:22 +01:00
parent 8831e258b3
commit f3b0b41a0d
2 changed files with 23 additions and 4 deletions

View File

@@ -4,10 +4,15 @@
# att & pos estimator, att & pos control.
#
# previously (2014) the system was relying on
#attitude_estimator_ekf start
#position_estimator_inav start
ekf_att_pos_estimator start
# previously (2014) the system was relying on
# INAV, which defaults to 0 now.
if param compare INAV_ENABLED 1
then
attitude_estimator_ekf start
position_estimator_inav start
else
ekf_att_pos_estimator start
fi
if mc_att_control start
then