mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
- accel & gyro FIFOs enabled - FIFO watermark on data ready interrupt - sensor side filtering completely disabled - gyro now respects `IMU_GYRO_RATEMAX` (up to 2 kHz) - saves a few % cpu (at default rate)
23 lines
412 B
Bash
23 lines
412 B
Bash
#!/bin/sh
|
|
#
|
|
# PX4 FMUv5 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
adc start
|
|
|
|
# Internal SPI bus ICM-20602
|
|
icm20602 -s -R 2 start
|
|
|
|
# Internal SPI bus ICM-20689
|
|
icm20689 -s -R 2 start
|
|
|
|
# Internal SPI bus BMI055 accel/gyro
|
|
bmi055 -A -R 2 -s start
|
|
bmi055 -G -R 2 -s start
|
|
|
|
# internal compass
|
|
ist8310 -I start
|
|
|
|
# Baro on internal SPI
|
|
ms5611 -s start
|