Files
PX4-Autopilot/boards/cubepilot/cubeorange/init/rc.board_sensors
T
Daniel Agar 91ad8473ab boards: cubepilot/cubeorange small fixes and improvements
- defconfig UART sync with cube yellow (and other boards)
 - manually start ak09916 (Here2) on I2C2 with proper rotation
2020-08-16 17:45:47 -04:00

18 lines
396 B
Bash

#!/bin/sh
#
# Board specific sensors init
#------------------------------------------------------------------------------
adc start
# SPI1
ms5611 -s -b 1 start
icm20649 -s -b 1 start
# SPI4
ms5611 -s -b 4 start
icm20602 -s -b 4 -R 12 start
icm20948 -s -b 4 -R 10 -M start
# standard Here/Here2 connected to GPS1
ak09916 -X -b 2 -R 6 start # external AK09916 (Here2) is rotated 270 degrees yaw