You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
552 B
30 lines
552 B
#!/bin/sh |
|
# |
|
# ModalAI FC-v1 specific board sensors init |
|
#------------------------------------------------------------------------------ |
|
|
|
adc start |
|
|
|
# Start Digital power monitors |
|
voxlpm -R start |
|
|
|
# Internal SPI bus ICM-20602 |
|
mpu6000 -R 6 -s -T 20602 start |
|
|
|
# Internal SPI bus ICM-42688 |
|
# TODO |
|
|
|
# Internal SPI bus BMI088 accel |
|
bmi088 -A -R 4 start |
|
|
|
# Internal SPI bus BMI088 gyro |
|
bmi088 -G -R 4 start |
|
|
|
# Possible external compasses |
|
ist8310 -C -b 1 start |
|
ist8310 -C -b 2 start |
|
hmc5883 -C -T -X start |
|
qmc5883 -X start |
|
|
|
# Internal I2C Baro |
|
bmp388 -I start
|
|
|