2018-12-14 12:36:32 -05:00
#!/bin/sh
2018-11-30 13:46:41 -05:00
#
2018-12-14 12:36:32 -05:00
# PX4 FMUv5 specific board sensors init
2018-11-30 13:46:41 -05:00
#------------------------------------------------------------------------------
2019-11-11 15:35:59 -05:00
adc start
2018-11-30 13:46:41 -05:00
# Internal SPI bus ICM-20602
2020-08-26 08:46:35 +02:00
icm20602 -s -R 2 -q start
2018-11-30 13:46:41 -05:00
# Internal SPI bus ICM-20689
2020-03-25 01:07:33 -04:00
icm20689 -s -R 2 start
2018-11-30 13:46:41 -05:00
2020-06-08 10:28:38 -04:00
# Internal SPI bus BMI055 accel/gyro
2020-05-29 16:58:02 -04:00
bmi055 -A -R 2 -s start
bmi055 -G -R 2 -s start
2018-11-30 13:46:41 -05:00
2019-09-03 09:57:04 +02:00
# Baro on internal SPI
ms5611 -s start
2020-09-02 13:14:45 -04:00
# internal compass
ist8310 -I -R 10 start
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
2020-09-03 13:19:54 +02:00
ist8310 -X -b 1 -R 10 start