Skip to content
Snippets Groups Projects
Commit a9ee2ae2 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

PX4: change IMU order so vib isolated IMUs are 1 and 2

also try to start external ms5611
parent d57c99f1
No related branches found
No related tags found
No related merge requests found
...@@ -261,15 +261,6 @@ else ...@@ -261,15 +261,6 @@ else
fi fi
if [ $HAVE_FMUV3 == true ] if [ $HAVE_FMUV3 == true ]
then then
# internal MPU6000 is rotated ROLL_180_YAW_270 from standard
if mpu6000 -R 14 start
then
echo "Found MPU6000 internal"
else
echo "No MPU6000"
echo "No MPU6000" >> $logfile
sh /etc/init.d/rc.error
fi
# external L3GD20 is rotated YAW_180 from standard # external L3GD20 is rotated YAW_180 from standard
if l3gd20 -X -R 4 start if l3gd20 -X -R 4 start
then then
...@@ -286,6 +277,19 @@ else ...@@ -286,6 +277,19 @@ else
echo "No lsm303d" echo "No lsm303d"
sh /etc/init.d/rc.error sh /etc/init.d/rc.error
fi fi
# internal MPU6000 is rotated ROLL_180_YAW_270 from standard
if mpu6000 -R 14 start
then
echo "Found MPU6000 internal"
else
echo "No MPU6000"
echo "No MPU6000" >> $logfile
sh /etc/init.d/rc.error
fi
if ms5611 -X start
then
echo "ms5611 external started OK"
fi
else else
if mpu6000 start if mpu6000 start
then then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment