forked from Archive/PX4-Autopilot
airspeed_selector: new ASPD_SEL_EN to control enabling/disabling module
This commit is contained in:
parent
c1cb48c2ea
commit
890ae36e78
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue