Start digital airspeed sensors as default

This commit is contained in:
Lorenz Meier 2013-09-29 14:07:01 +02:00
parent 858e6debaf
commit 252fc30ca7
1 changed files with 16 additions and 0 deletions

View File

@ -27,6 +27,22 @@ else
set BOARD fmuv2
fi
# Start airspeed sensors
if meas_airspeed start
then
echo "using MEAS airspeed sensor"
else
if ets_airspeed start
then
echo "using ETS airspeed sensor (bus 3)"
else
if ets_airspeed start -b 1
then
echo "Using ETS airspeed sensor (bus 1)"
fi
fi
fi
#
# Start the sensor collection task.
# IMPORTANT: this also loads param offsets