mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
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.
This commit is contained in:
committed by
Lorenz Meier
parent
bdb76d013e
commit
b0ee5256d5
@@ -19,8 +19,14 @@ fi
|
|||||||
# LPE
|
# LPE
|
||||||
if param compare SYS_MC_EST_GROUP 1
|
if param compare SYS_MC_EST_GROUP 1
|
||||||
then
|
then
|
||||||
attitude_estimator_q start
|
# Try to start LPE. If it fails, start EKF2 as a default
|
||||||
local_position_estimator start
|
# 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
|
fi
|
||||||
|
|
||||||
# EKF
|
# EKF
|
||||||
|
|||||||
@@ -20,8 +20,14 @@ fi
|
|||||||
# LPE
|
# LPE
|
||||||
if param compare SYS_MC_EST_GROUP 1
|
if param compare SYS_MC_EST_GROUP 1
|
||||||
then
|
then
|
||||||
attitude_estimator_q start
|
# Try to start LPE. If it fails, start EKF2 as a default
|
||||||
local_position_estimator start
|
# 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
|
fi
|
||||||
|
|
||||||
# EKF
|
# EKF
|
||||||
|
|||||||
@@ -96,9 +96,9 @@ set(config_module_list
|
|||||||
#
|
#
|
||||||
# Estimation modules
|
# Estimation modules
|
||||||
#
|
#
|
||||||
modules/attitude_estimator_q
|
#modules/attitude_estimator_q
|
||||||
#modules/position_estimator_inav
|
#modules/position_estimator_inav
|
||||||
modules/local_position_estimator
|
#modules/local_position_estimator
|
||||||
modules/ekf2
|
modules/ekf2
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user