mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 08:23:34 +08:00
18 lines
402 B
Bash
18 lines
402 B
Bash
#!/bin/sh
|
|
#
|
|
# Board specific sensors init
|
|
#------------------------------------------------------------------------------
|
|
board_adc start
|
|
|
|
# SPI1
|
|
ms5611 -s -b 1 start
|
|
icm20649 -s -b 1 start
|
|
|
|
# SPI4
|
|
ms5611 -s -b 4 start
|
|
icm20602 -s -b 4 -R 12 start
|
|
icm20948 -s -b 4 -R 10 -M start
|
|
|
|
# standard Here/Here2 connected to GPS1
|
|
ak09916 -X -b 1 -R 6 start # external AK09916 (Here2) is rotated 270 degrees yaw
|