mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Airspeed Selector: repurpose wind estimator into an airspeed (selection, validation) module.
This new airspeed module does: -runns an airspeed validator for every airspeed sensor present, which checks measurement validity and estimates an airspeed scale -selects another airspeed sensor if for the current one a failure is detected -estimates airspeed with groundspeed-windspeed if no valid airspeed sensor is present -outputs airspeed_validated topic Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
committed by
Roman Bapst
parent
970e362e9a
commit
cedf14e2ba
@@ -37,7 +37,6 @@ then
|
||||
|
||||
param set RWTO_TKOFF 1
|
||||
|
||||
param set WEST_EN 1
|
||||
fi
|
||||
|
||||
set MIXER_FILE etc/mixers-sitl/plane_sitl.main.mix
|
||||
|
||||
@@ -38,7 +38,6 @@ then
|
||||
param set VT_MOT_COUNT 4
|
||||
param set VT_TYPE 2
|
||||
|
||||
param set WEST_EN 1
|
||||
fi
|
||||
|
||||
set MAV_TYPE 22
|
||||
|
||||
@@ -38,7 +38,6 @@ then
|
||||
param set VT_MOT_COUNT 0
|
||||
param set VT_TYPE 0
|
||||
|
||||
param set WEST_EN 1
|
||||
fi
|
||||
|
||||
set MAV_TYPE 20
|
||||
|
||||
@@ -41,7 +41,6 @@ then
|
||||
param set VT_ELEV_MC_LOCK 0
|
||||
param set VT_TYPE 1
|
||||
|
||||
param set WEST_EN 1
|
||||
fi
|
||||
|
||||
set MAV_TYPE 21
|
||||
|
||||
@@ -164,7 +164,6 @@ then
|
||||
|
||||
param set TRIG_INTERFACE 3
|
||||
|
||||
param set WEST_EN 0
|
||||
fi
|
||||
|
||||
# Adapt timeout parameters if simulation runs faster or slower than realtime.
|
||||
@@ -213,10 +212,6 @@ sensors start
|
||||
commander start
|
||||
navigator start
|
||||
|
||||
if param compare WEST_EN 1
|
||||
then
|
||||
wind_estimator start
|
||||
fi
|
||||
|
||||
if ! param compare MNT_MODE_IN -1
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user