mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 17:53:33 +08:00
20 lines
365 B
Bash
20 lines
365 B
Bash
#!/bin/sh
|
|
#
|
|
# Airmind Mindpx-v2 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
# External I2C bus
|
|
hmc5883 -C -T -X start
|
|
qmc5883 -X start
|
|
|
|
# Internal I2C bus
|
|
hmc5883 -C -T -I -R 12 start
|
|
|
|
mpu6000 -s -R 8 start
|
|
mpu9250 -s -R 8 start
|
|
lsm303d -R 10 start
|
|
l3gd20 -R 14 start
|
|
|
|
# Internal SPI
|
|
ms5611 -s start
|