px4-firmware/ROMFS/px4fmu_common/init.d/rc.fw_apps

37 lines
523 B
Plaintext
Raw Normal View History

#!/bin/sh
2014-01-10 08:18:34 -04:00
#
# Standard apps for fixed wing
#
# NOTE: Script variables are declared/initialized/unset in the rcS script.
#
2014-01-10 08:18:34 -04:00
#
# Start the attitude and position estimator.
2014-01-10 08:18:34 -04:00
#
ekf2 start &
2014-01-10 08:18:34 -04:00
if param compare SYS_CTRL_ALLOC 1
then
#
# Start Control Allocator
#
control_allocator start
fi
2014-01-10 08:18:34 -04:00
#
# Start attitude controller.
2014-01-10 08:18:34 -04:00
#
fw_att_control start
fw_pos_control_l1 start
airspeed_selector start
#
# Start attitude control auto-tuner
#
fw_autotune_attitude_control start
#
# Start Land Detector.
#
land_detector start fixedwing