2018-12-14 12:36:32 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
#
|
2020-01-22 14:58:57 -05:00
|
|
|
# mRo x21 specific board sensors init
|
2018-12-14 12:36:32 -05:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
2019-11-11 15:35:59 -05:00
|
|
|
adc start
|
2018-12-14 12:36:32 -05:00
|
|
|
|
|
|
|
|
# External I2C bus
|
|
|
|
|
hmc5883 -C -T -X start
|
|
|
|
|
lis3mdl -X start
|
2020-02-06 17:06:08 +01:00
|
|
|
ist8310 start
|
2019-04-04 10:12:48 +02:00
|
|
|
qmc5883 -X start
|
2018-12-14 12:36:32 -05:00
|
|
|
|
|
|
|
|
# Internal SPI bus ICM-20608-G is rotated 90 deg yaw
|
|
|
|
|
mpu6000 -R 2 -T 20608 start
|
|
|
|
|
|
|
|
|
|
# Internal SPI bus ICM-20602-G is rotated 90 deg yaw
|
|
|
|
|
mpu6000 -R 2 -T 20602 start
|
|
|
|
|
|
|
|
|
|
# Internal SPI bus mpu9250 is rotated 90 deg yaw
|
|
|
|
|
mpu9250 -R 2 start
|
2019-09-01 19:55:50 +03:00
|
|
|
|
|
|
|
|
# Internal SPI
|
|
|
|
|
ms5611 -s start
|