mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 07:28:54 +08:00
18 lines
354 B
Bash
18 lines
354 B
Bash
#!/bin/sh
|
|
#
|
|
# Holybro KakuteH7v1 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
board_adc start
|
|
|
|
# The KakuteH7 v1 comes by default with an ICM20689,
|
|
# but there might also be an MPU6000
|
|
if ! mpu6000 -R 6 -s start
|
|
then
|
|
icm42688p -R 6 -s start
|
|
fi
|
|
|
|
if ! bmp280 -X start
|
|
then
|
|
spa06 -X start
|
|
fi
|