Files
PX4-Autopilot/boards/modalai/fc-v2/init/rc.board_sensors
T
Eric Katzfey c468266b27 boards: Update modalai fcv2 board support (#21653)
* Removed obsolete voxl2-io directory
* Updated support for ModalAI FC v2 board
* Added UAVCAN back in and removed local position estimator and attitude estimator Q that are no longer supported.
* Removed unneeded IMU drivers
2023-06-05 12:42:46 -04:00

28 lines
500 B
Bash

#!/bin/sh
#
# ModalAI FC-v2 specific board sensors init
#------------------------------------------------------------------------------
if param greater MODAL_IO_CONFIG 0
then
modal_io start
fi
board_adc start
# VOXL Power Module
voxlpm -X -b 3 -k -T VBATT start
voxlpm -X -b 3 -T P5VDC start
# Internal SPI1 ICM-42688
icm42688p -s -b 1 -R 12 start
# Internal SPI2 ICM-42688
icm42688p -s -b 2 -R 12 start
# Don't start Internal I2C mag
# bmm150 -I start
# Internal I2C baro
icp201xx -I start