px4-firmware/boards/px4/fmu-v5x/init/rc.board_sensors

37 lines
685 B
Plaintext
Raw Normal View History

2019-05-28 19:18:38 -03:00
#!/bin/sh
#
# PX4 FMUv5X specific board sensors init
#------------------------------------------------------------------------------
# Start Digital power monitors
ina226 -b 1 start
ina226 -b 2 start
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
bmi088 -A -R 10 start
# Internal SPI bus BMI088 gyro
bmi088 -G -R 10 start
# Possible external compasses
ist8310 -C -b 1 start
ist8310 -C -b 2 start
hmc5883 -C -T -X start
qmc5883 -X start
# Possible internal compass
bmm150 start
2019-05-28 19:18:38 -03:00
# Possible internal Barro
bmp388 -I start
#bmp388 -J start fixme
2019-10-31 07:07:07 -03:00
# External RM3100 (I2C or SPI)
rm3100 start