mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
- 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
31 lines
546 B
Bash
31 lines
546 B
Bash
#!/bin/sh
|
|
#
|
|
# ModalAI FC-v1 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
adc start
|
|
|
|
# Start Digital power monitors
|
|
voxlpm -R start
|
|
|
|
# Internal SPI bus ICM-20602
|
|
mpu6000 -R 6 -s -T 20602 start
|
|
|
|
# Internal SPI bus ICM-42688
|
|
# TODO
|
|
|
|
# Internal SPI bus BMI088 accel
|
|
bmi088 -A -R 4 start
|
|
|
|
# Internal SPI bus BMI088 gyro
|
|
bmi088 -G -R 4 start
|
|
|
|
# Possible external compasses
|
|
ist8310 -b 1 start
|
|
ist8310 -b 2 start
|
|
hmc5883 -C -T -X start
|
|
qmc5883 -X start
|
|
|
|
# Internal I2C Baro
|
|
bmp388 -I start
|