Added AUAV X2.1 sensor startup script

This commit is contained in:
David Sidrane
2016-11-23 15:20:23 -10:00
committed by Lorenz Meier
parent fb3e2665f3
commit 5b5076ae01
+23
View File
@@ -47,6 +47,29 @@ if adc start
then
fi
if ver hwcmp AUAV_X21
then
# I2C bus
if hmc5883 -C -T start
then
fi
# I2C bus
if lis3mdl start
then
fi
# Internal SPI bus ICM-20608-G is rotated 90 deg yaw
if mpu6000 -R 2 -T 20608 start
then
fi
# Internal SPI bus mpu9250 is rotated 90 deg yaw
if mpu9250 -R 2 start
then
fi
fi
if ver hwcmp PX4FMU_V2
then
# External I2C bus