Files
PX4-Autopilot/boards/mro/x21/init/rc.board_sensors
Daniel Agar 3fff512ec0 new standalone drivers/system_power (split out of adc)
- system_power portion of drivers/adc split into a new standalone module (drivers/system_power)
 - additional availability flags added to system_power.msg so we know what boards even support (previously certain flags were faked if not available)
 - drivers/system_power scheduled at minimum rate by default, but now also scheduled immediately on any relevant GPIO events
 - now instead of running at 100 Hz with heavily reduced logging we can run at a minimal rate, log at full rate, and catch relevant changes immediately
2021-01-16 14:20:54 -05:00

20 lines
357 B
Bash

#!/bin/sh
#
# mRo x21 specific board sensors init
#------------------------------------------------------------------------------
board_adc start
system_power start
# Internal SPI bus ICM-20608-G
icm20608g -s -R 8 start
# Internal SPI bus ICM-20602
icm20602 -s -R 8 start
# Internal SPI bus mpu9250
mpu9250 -s -R 8 start
# Internal SPI
ms5611 -s start