mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 16:53:34 +08:00
Removes the calibration on startup, as these values were overwritten by the system calibration values anyway. So the only difference is that if all calibration scales were equal to 1, the driver startup would have failed.
25 lines
503 B
Bash
25 lines
503 B
Bash
#!/bin/sh
|
|
#
|
|
# mRo x21 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
adc start
|
|
|
|
# External I2C bus
|
|
hmc5883 -T -X start
|
|
lis3mdl -X start
|
|
ist8310 -X start
|
|
qmc5883 -X start
|
|
|
|
# Internal SPI bus ICM-20608-G is rotated 90 deg yaw
|
|
mpu6000 -s -R 2 -T 20608 start
|
|
|
|
# Internal SPI bus ICM-20602-G is rotated 90 deg yaw
|
|
mpu6000 -s -R 2 -T 20602 start
|
|
|
|
# Internal SPI bus mpu9250 is rotated 90 deg yaw
|
|
mpu9250 -R 2 start
|
|
|
|
# Internal SPI
|
|
ms5611 -s start
|