Browse Source

Start digital airspeed sensors as default

sbg
Lorenz Meier 12 years ago
parent
commit
252fc30ca7
  1. 16
      ROMFS/px4fmu_common/init.d/rc.sensors

16
ROMFS/px4fmu_common/init.d/rc.sensors

@ -27,6 +27,22 @@ else @@ -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

Loading…
Cancel
Save