Files
PX4-Autopilot/boards/omnibus/f4sd/init/rc.board_sensors
T

18 lines
346 B
Bash

#!/bin/sh
#
# Omnibus F4SD specific board sensors init
#------------------------------------------------------------------------------
if ! mpu6000 -R 12 -s start
then
# some boards such as the Hobbywing XRotor F4 G2 use the ICM-20602
mpu6000 -R 12 -T 20602 -s start
fi
# Possible external compasses
hmc5883 -X start
bmp280 start
adc start