mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
21 lines
401 B
Bash
21 lines
401 B
Bash
#!/bin/sh
|
|
#
|
|
# KakuteF7 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
adc start
|
|
|
|
# The default IMU is an ICM20689, but there might also be an MPU6000
|
|
if ! mpu6000 -R 12 -s start
|
|
then
|
|
mpu6000 -R 12 -s -T 20689 start
|
|
fi
|
|
|
|
# Onboard Baro
|
|
bmp280 -X start
|
|
|
|
# Possible external compasses
|
|
ist8310 -X start
|
|
hmc5883 -C -T -X start
|
|
qmc5883 -X start
|