diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-03 17:47:58 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-03 17:54:49 +0100 |
commit | 7d712a4cd1823fed21d6cdf39b60341382fd121c (patch) | |
tree | 14b44776128198c4a139238dbc7e4ba405d35407 /ROMFS/px4fmu_test | |
parent | f99c29c50cbf4ed73b8fb05624726598b8ffec5b (diff) | |
download | px4-firmware-7d712a4cd1823fed21d6cdf39b60341382fd121c.tar.gz px4-firmware-7d712a4cd1823fed21d6cdf39b60341382fd121c.tar.bz2 px4-firmware-7d712a4cd1823fed21d6cdf39b60341382fd121c.zip |
Test image ROMFS: Start all sensors
Diffstat (limited to 'ROMFS/px4fmu_test')
-rw-r--r-- | ROMFS/px4fmu_test/init.d/rcS | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_test/init.d/rcS b/ROMFS/px4fmu_test/init.d/rcS index ef032de5c..40b3500e0 100644 --- a/ROMFS/px4fmu_test/init.d/rcS +++ b/ROMFS/px4fmu_test/init.d/rcS @@ -97,6 +97,26 @@ else set unit_test_failure_list "${unit_test_failure_list} commander_tests" fi +if hmc5883 -I start +then + # This is an FMUv3 + echo "FMUv3" + ms5611 start + mpu6000 -X start + mpu6000 start + lsm303d -X start + l3gd20 -X start + echo "EVALUATION ONLY SENSORS (not used in production)" + ms5611 -X start +else + # This is an FMUv1 or FMUv2 + echo "FMUv2 (or FMUv3 where 'hmc5883 -I start' failed)" + ms5611 start + mpu6000 start + lsm303d start + l3gd20 start +fi + if [ $unit_test_failure == 0 ] then echo |