PX4: startup FMUv3 sensors if available

This commit is contained in:
Andrew Tridgell 2014-06-26 14:05:15 +10:00
parent e6d8e329d5
commit 166c1fd530

View File

@ -259,13 +259,29 @@ else
then then
echo "l3gd20 started OK" echo "l3gd20 started OK"
else else
sh /etc/init.d/rc.error if l3gd20 -X start
then
echo "l3gd20 external started OK"
else
sh /etc/init.d/rc.error
fi
fi fi
if lsm303d start if lsm303d start
then then
echo "lsm303d started OK" echo "lsm303d started OK"
else else
sh /etc/init.d/rc.error if lsm303d -X start
then
echo "lsm303d external started OK"
else
sh /etc/init.d/rc.error
fi
fi
if mpu6000 -X start
then
echo "Found MPU6000 external"
else
echo "No MPU6000 external"
fi fi
fi fi