mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 09:43:57 -04:00
VRBRAIN: Removed the stop in case of error on startup of magnetometer.
Thus should enable to fly without a magnetometer.
This commit is contained in:
parent
8f3a4bc88b
commit
33537b26ce
@ -85,7 +85,7 @@ then
|
||||
# fi
|
||||
else
|
||||
echo "[APM] HMC5883 external start failed"
|
||||
sh /etc/init.d/rc.error
|
||||
# sh /etc/init.d/rc.error
|
||||
fi
|
||||
|
||||
if mpu6000_onboard start
|
||||
|
@ -47,18 +47,18 @@ else
|
||||
sh /etc/init.d/rc.error
|
||||
fi
|
||||
|
||||
if hmc5883_onboard start
|
||||
if hmc5883_external start
|
||||
then
|
||||
echo "[APMNS] HMC5883 onboard started OK"
|
||||
echo "[APMNS] HMC5883 external started OK"
|
||||
# if hmc5883 calibrate
|
||||
# then
|
||||
# echo "[APMNS] HMC5883 onboard calibrate OK"
|
||||
# echo "[APMNS] HMC5883 external calibrate OK"
|
||||
# else
|
||||
# echo "[APMNS] HMC5883 onboard calibrate failed"
|
||||
# echo "[APMNS] HMC5883 external calibrate failed"
|
||||
# fi
|
||||
else
|
||||
echo "[APMNS] HMC5883 onboard start failed"
|
||||
sh /etc/init.d/rc.error
|
||||
echo "[APMNS] HMC5883 external start failed"
|
||||
# sh /etc/init.d/rc.error
|
||||
fi
|
||||
|
||||
if mpu6000_onboard start
|
||||
|
Loading…
Reference in New Issue
Block a user