mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 20:23:35 +08:00
17 lines
280 B
Bash
17 lines
280 B
Bash
#!/bin/sh
|
|
#
|
|
# board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
param set-default IMU_GYRO_RATEMAX 1000
|
|
param set-default SENS_IMU_CLPNOTI 0
|
|
|
|
# SPI 1
|
|
icm42688p -R 0 -s start
|
|
|
|
# SPI 2
|
|
paa3905 -s start -Y 180
|
|
|
|
# SPI 3
|
|
afbrs50 start
|