Skip to content
Snippets Groups Projects
Commit 0e118eb3 authored by Emile Castelnuovo's avatar Emile Castelnuovo Committed by Randy Mackay
Browse files

Build: VRBRAIN corrected order of MAG startup

parent 25d2ec1d
No related branches found
No related tags found
No related merge requests found
......@@ -94,33 +94,33 @@ else
# sh /etc/init.d/rc.error
fi
echo "[APM] Starting HMC5883 Internal"
if hmc5883 -I start
echo "[APM] Starting HMC5883 External GPS"
if hmc5883 -X start
then
echo "[APM] HMC5883 Internal started OK"
if hmc5883 -I calibrate
echo "[APM] HMC5883 External GPS started OK"
if hmc5883 -X calibrate
then
echo "[APM] HMC5883 Internal calibrate OK"
echo "[APM] HMC5883 External GPS calibrate OK"
else
echo "[APM] HMC5883 Internal calibrate failed"
echo "[APM] HMC5883 External GPS calibrate failed"
fi
else
echo "[APM] HMC5883 Internal start failed"
echo "[APM] HMC5883 External GPS start failed"
# sh /etc/init.d/rc.error
fi
echo "[APM] Starting HMC5883 External GPS"
if hmc5883 -X start
echo "[APM] Starting HMC5883 Internal"
if hmc5883 -I start
then
echo "[APM] HMC5883 External GPS started OK"
if hmc5883 -X calibrate
echo "[APM] HMC5883 Internal started OK"
if hmc5883 -I calibrate
then
echo "[APM] HMC5883 External GPS calibrate OK"
echo "[APM] HMC5883 Internal calibrate OK"
else
echo "[APM] HMC5883 External GPS calibrate failed"
echo "[APM] HMC5883 Internal calibrate failed"
fi
else
echo "[APM] HMC5883 External GPS start failed"
echo "[APM] HMC5883 Internal start failed"
# sh /etc/init.d/rc.error
fi
......
......@@ -67,33 +67,33 @@ else
# sh /etc/init.d/rc.error
fi
echo "[APMNS] Starting HMC5883 Internal"
if hmc5883 -I start
echo "[APMNS] Starting HMC5883 External GPS"
if hmc5883 -X start
then
echo "[APMNS] HMC5883 Internal started OK"
if hmc5883 -I calibrate
echo "[APMNS] HMC5883 External GPS started OK"
if hmc5883 -X calibrate
then
echo "[APMNS] HMC5883 Internal calibrate OK"
echo "[APMNS] HMC5883 External GPS calibrate OK"
else
echo "[APMNS] HMC5883 Internal calibrate failed"
echo "[APMNS] HMC5883 External GPS calibrate failed"
fi
else
echo "[APMNS] HMC5883 Internal start failed"
echo "[APMNS] HMC5883 External GPS start failed"
# sh /etc/init.d/rc.error
fi
echo "[APMNS] Starting HMC5883 External GPS"
if hmc5883 -X start
echo "[APMNS] Starting HMC5883 Internal"
if hmc5883 -I start
then
echo "[APMNS] HMC5883 External GPS started OK"
if hmc5883 -X calibrate
echo "[APMNS] HMC5883 Internal started OK"
if hmc5883 -I calibrate
then
echo "[APMNS] HMC5883 External GPS calibrate OK"
echo "[APMNS] HMC5883 Internal calibrate OK"
else
echo "[APMNS] HMC5883 External GPS calibrate failed"
echo "[APMNS] HMC5883 Internal calibrate failed"
fi
else
echo "[APMNS] HMC5883 External GPS start failed"
echo "[APMNS] HMC5883 Internal start failed"
# sh /etc/init.d/rc.error
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment