mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 13:43:35 +08:00
- need to make some flash space for fmuv2 to avoid user confusion about why it wind estimator only runs on some platforms Signed-off-by: Roman <bapstroman@gmail.com>
34 lines
473 B
Plaintext
34 lines
473 B
Plaintext
#!nsh
|
|
#
|
|
# 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
|
|
fi
|
|
|
|
#
|
|
# Start the attitude and position estimator
|
|
#
|
|
ekf2 start
|
|
|
|
#
|
|
# Start attitude controller
|
|
#
|
|
fw_att_control start
|
|
fw_pos_control_l1 start
|
|
|
|
#
|
|
# Start Land Detector
|
|
#
|
|
land_detector start fixedwing
|
|
|
|
#
|
|
# Start Wind and Airspeed Scale Estimator
|
|
#
|
|
#wind_estimator start
|