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:
Silvan Fuhrer
2019-08-07 13:06:00 +02:00
committed by Roman Bapst
parent 970e362e9a
commit cedf14e2ba
65 changed files with 767 additions and 461 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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