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
25 lines
497 B
Bash
25 lines
497 B
Bash
#!/bin/sh
|
|
#
|
|
# mRo x21 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
adc start
|
|
|
|
# External I2C bus
|
|
hmc5883 -C -T -X start
|
|
lis3mdl -X start
|
|
ist8310 start
|
|
qmc5883 -X start
|
|
|
|
# Internal SPI bus ICM-20608-G is rotated 90 deg yaw
|
|
mpu6000 -R 2 -T 20608 start
|
|
|
|
# Internal SPI bus ICM-20602-G is rotated 90 deg yaw
|
|
mpu6000 -R 2 -T 20602 start
|
|
|
|
# Internal SPI bus mpu9250 is rotated 90 deg yaw
|
|
mpu9250 -R 2 start
|
|
|
|
# Internal SPI
|
|
ms5611 -s start
|