airspeed_selector: new ASPD_SEL_EN to control enabling/disabling module

This commit is contained in:
Daniel Agar
2023-07-06 11:46:44 -04:00
parent c1cb48c2ea
commit 890ae36e78
3 changed files with 17 additions and 2 deletions
+5 -1
View File
@@ -21,7 +21,11 @@ control_allocator start
fw_rate_control start
fw_att_control start
fw_pos_control start
airspeed_selector start
if param greater -s ASPD_SEL_EN 0
then
airspeed_selector start
fi
#
# Start attitude control auto-tuner
+4 -1
View File
@@ -20,7 +20,10 @@ ekf2 start &
#
control_allocator start
airspeed_selector start
if param greater -s ASPD_SEL_EN 0
then
airspeed_selector start
fi
vtol_att_control start