2019-05-28 19:18:38 -03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# PX4 FMUv5X specific board sensors init
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
2019-11-11 16:35:59 -04:00
|
|
|
adc start
|
|
|
|
|
2019-07-27 14:38:09 -03:00
|
|
|
# Start Digital power monitors
|
2020-03-06 05:54:21 -04:00
|
|
|
ina226 -X -b 1 -t 1 -k start
|
|
|
|
ina226 -X -b 2 -t 2 -k start
|
2019-07-27 14:38:09 -03:00
|
|
|
|
2019-05-28 19:18:38 -03:00
|
|
|
# Internal SPI bus ICM-20602
|
|
|
|
mpu6000 -R 8 -s -T 20602 start
|
|
|
|
|
|
|
|
# Internal SPI bus ISM300DLC
|
|
|
|
ism330dlc start
|
|
|
|
|
|
|
|
# Internal SPI bus BMI088 accel
|
2020-03-17 14:06:56 -03:00
|
|
|
bmi088 -A -R 12 -s start
|
2019-05-28 19:18:38 -03:00
|
|
|
|
|
|
|
# Internal SPI bus BMI088 gyro
|
2020-03-17 14:06:56 -03:00
|
|
|
bmi088 -G -R 12 -s start
|
2019-05-28 19:18:38 -03:00
|
|
|
|
|
|
|
# Possible external compasses
|
2020-02-26 09:36:14 -04:00
|
|
|
ist8310 -X start
|
2020-03-13 05:05:36 -03:00
|
|
|
hmc5883 -T -X start
|
2019-05-28 19:18:38 -03:00
|
|
|
qmc5883 -X start
|
|
|
|
|
|
|
|
# Possible internal compass
|
2020-03-11 14:56:46 -03:00
|
|
|
bmm150 -I start
|
2019-05-28 19:18:38 -03:00
|
|
|
|
2020-02-18 12:14:10 -04:00
|
|
|
# Possible internal Baro
|
2019-07-27 14:38:09 -03:00
|
|
|
bmp388 -I start
|
2020-02-26 11:51:35 -04:00
|
|
|
bmp388 -I -a 0x77 start
|
2019-10-31 07:07:07 -03:00
|
|
|
|
2019-11-20 15:28:33 -04:00
|
|
|
# Baro on I2C3
|
|
|
|
ms5611 -X start
|
|
|
|
|
2020-03-17 14:06:56 -03:00
|
|
|
# External RM3100
|
|
|
|
rm3100 -X start
|