mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-15 22:41:36 +08:00
- 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
21 lines
447 B
Bash
21 lines
447 B
Bash
#!/bin/sh
|
|
#
|
|
# mRo Control Zero specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
board_adc start
|
|
system_power start
|
|
|
|
# Internal ICM-20602
|
|
icm20602 -s -b 1 -R 8 start
|
|
|
|
# Internal SPI bus BMI088 accel & gyro
|
|
bmi088 -A -s -b 5 -R 8 start
|
|
bmi088 -G -s -b 5 -R 8 start
|
|
|
|
# Internal ICM-20948 (with magnetometer)
|
|
icm20948 -s -b 1 -R 8 -M start
|
|
|
|
# Interal DPS310 (barometer)
|
|
dps310 -s -b 2 start
|