mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-12 06:37:34 +08:00
airspeed_selector: new ASPD_SEL_EN to control enabling/disabling module
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
|
||||
/**
|
||||
* Airspeed validator/selector enable
|
||||
*
|
||||
* @boolean
|
||||
* @group Airspeed Validator
|
||||
*/
|
||||
PARAM_DEFINE_INT32(ASPD_SEL_EN, 1);
|
||||
|
||||
/**
|
||||
* Airspeed Selector: Wind estimator wind process noise noise spectral density
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user