PX4: startup FMUv3 sensors if available
This commit is contained in:
parent
e6d8e329d5
commit
166c1fd530
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user