mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 06:43:34 +08:00
18 lines
346 B
Bash
18 lines
346 B
Bash
#!/bin/sh
|
|
#
|
|
# Omnibus F4SD specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
if ! mpu6000 -R 12 -s start
|
|
then
|
|
# some boards such as the Hobbywing XRotor F4 G2 use the ICM-20602
|
|
mpu6000 -R 12 -T 20602 -s start
|
|
fi
|
|
|
|
# Possible external compasses
|
|
hmc5883 -X start
|
|
|
|
bmp280 start
|
|
|
|
adc start
|