Files
bizhang_-obav/boards/px4/fmu-v5x/init/rc.board_sensors
Beat Küng b399698306 ist8310: remove calibration code
- it does nothing useful
- increases boot time by 2 seconds on pixhawk 4 due to a poll timeout:
IST8310 on I2C bus 3 at 0x0e (bus: 100 KHz, max: 400 KHz)
WARN  [ist8310] ERROR: TIMEOUT 2
2020-02-06 12:39:39 -05:00

42 lines
731 B
Bash

#!/bin/sh
#
# PX4 FMUv5X specific board sensors init
#------------------------------------------------------------------------------
adc start
# Start Digital power monitors
ina226 -b 0 -t 1 -f start
ina226 -b 1 -t 2 -f start
# Internal SPI bus ICM-20602
mpu6000 -R 8 -s -T 20602 start
# Internal SPI bus ISM300DLC
ism330dlc start
# Internal SPI bus BMI088 accel
bmi088 -A -R 12 start
# Internal SPI bus BMI088 gyro
bmi088 -G -R 12 start
# Possible external compasses
ist8310 -b 1 start
ist8310 -b 2 start
hmc5883 -C -T -X start
qmc5883 -X start
# Possible internal compass
bmm150 start
# Possible internal Barro
bmp388 -I start
bmp388 -J start
# Baro on I2C3
ms5611 -X start
# External RM3100 (I2C or SPI)
rm3100 start