Files
bizhang_-obav/boards/px4/fmu-v5/init/rc.board_sensors

37 lines
925 B
Plaintext

###
# @Author: your name
# @Date: 2021-10-19 10:12:48
# @LastEditTime: 2021-11-01 16:30:18
# @LastEditors: Please set LastEditors
# @Description: In User Settings Edit
# @FilePath: /PX4-Autopilot/boards/px4/fmu-v5/init/rc.board_sensors
###
#!/bin/sh
#
# PX4 FMUv5 specific board sensors init
#------------------------------------------------------------------------------
board_adc start
# Internal SPI bus ICM-20602
icm20602 -s -R 2 -q 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
# Baro on internal SPI
ms5611 -s start
# internal compass
ist8310 -I -R 10 start
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
ist8310 -X -b 1 -R 10 start
# upatch_radar start -d /dev/ttyS2
nanoradar_mr72 start -d /dev/ttyS2