boards rename auav_x21 -> mro_x21

This commit is contained in:
Daniel Agar
2020-01-22 14:58:57 -05:00
parent 3ed8e876b7
commit 036a45377d
20 changed files with 65 additions and 56 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
#
# mRo x21 specific board defaults
#------------------------------------------------------------------------------
if [ $AUTOCNF = yes ]
then
# to minimize cpu usage on older boards limit inner loop to 400 Hz
param set IMU_GYRO_RATEMAX 400
fi
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
#
# mRo x21 specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
+24
View File
@@ -0,0 +1,24 @@
#!/bin/sh
#
# mRo x21 specific board sensors init
#------------------------------------------------------------------------------
adc start
# External I2C bus
hmc5883 -C -T -X start
lis3mdl -X start
ist8310 -C start
qmc5883 -X start
# Internal SPI bus ICM-20608-G is rotated 90 deg yaw
mpu6000 -R 2 -T 20608 start
# Internal SPI bus ICM-20602-G is rotated 90 deg yaw
mpu6000 -R 2 -T 20602 start
# Internal SPI bus mpu9250 is rotated 90 deg yaw
mpu9250 -R 2 start
# Internal SPI
ms5611 -s start