Skip to content
Snippets Groups Projects
Commit b0ee5256 authored by Michael Schaeuble's avatar Michael Schaeuble Committed by Lorenz Meier
Browse files

Disable LPE in px4fmu-v2_default

With GCC 4.9 the binary is to large for the flash memory.
This is why we disabled LPE on that platform.
parent bdb76d01
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,14 @@ fi
# LPE
if param compare SYS_MC_EST_GROUP 1
then
attitude_estimator_q start
local_position_estimator start
# Try to start LPE. If it fails, start EKF2 as a default
# Unfortunately we do not build it on px4fmu-v2 duo to a limited flash.
if attitude_estimator_q start
then
local_position_estimator start
else
ekf2 start
fi
fi
# EKF
......
......@@ -20,8 +20,14 @@ fi
# LPE
if param compare SYS_MC_EST_GROUP 1
then
attitude_estimator_q start
local_position_estimator start
# Try to start LPE. If it fails, start EKF2 as a default
# Unfortunately we do not build it on px4fmu-v2 duo to a limited flash.
if attitude_estimator_q start
then
local_position_estimator start
else
ekf2 start
fi
fi
# EKF
......
......@@ -96,9 +96,9 @@ set(config_module_list
#
# Estimation modules
#
modules/attitude_estimator_q
#modules/attitude_estimator_q
#modules/position_estimator_inav
modules/local_position_estimator
#modules/local_position_estimator
modules/ekf2
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment