2018-12-18 04:26:22 -04:00
|
|
|
#!/bin/sh
|
2014-01-10 08:18:34 -04:00
|
|
|
#
|
|
|
|
# Standard apps for fixed wing
|
|
|
|
#
|
2018-07-12 18:56:46 -03:00
|
|
|
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
|
|
|
#
|
2014-01-10 08:18:34 -04:00
|
|
|
|
|
|
|
#
|
2018-07-12 18:56:46 -03:00
|
|
|
# Start the attitude and position estimator.
|
2014-01-10 08:18:34 -04:00
|
|
|
#
|
2020-10-27 11:56:11 -03:00
|
|
|
ekf2 start &
|
2014-01-10 08:18:34 -04:00
|
|
|
|
2021-11-24 05:47:45 -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
|
|
|
#
|
2018-07-12 18:56:46 -03:00
|
|
|
# Start attitude controller.
|
2014-01-10 08:18:34 -04:00
|
|
|
#
|
|
|
|
fw_att_control start
|
|
|
|
fw_pos_control_l1 start
|
2019-08-07 08:06:00 -03:00
|
|
|
airspeed_selector start
|
2021-10-01 12:09:55 -03:00
|
|
|
|
|
|
|
#
|
|
|
|
# Start attitude control auto-tuner
|
|
|
|
#
|
|
|
|
fw_autotune_attitude_control start
|
|
|
|
|
2015-01-06 06:59:15 -04:00
|
|
|
#
|
2018-07-12 18:56:46 -03:00
|
|
|
# Start Land Detector.
|
2015-01-06 06:59:15 -04:00
|
|
|
#
|
2015-01-08 09:22:39 -04:00
|
|
|
land_detector start fixedwing
|