mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
VRBRAIN: added startup of internal mag's driver for VR Brain Standard 5
This commit is contained in:
parent
781f15ba59
commit
f6fada2d49
@ -94,6 +94,21 @@ else
|
||||
# sh /etc/init.d/rc.error
|
||||
fi
|
||||
|
||||
echo "[APM] Starting HMC5883 Internal"
|
||||
if hmc5883 -I start
|
||||
then
|
||||
echo "[APM] HMC5883 Internal started OK"
|
||||
if hmc5883 -I calibrate
|
||||
then
|
||||
echo "[APM] HMC5883 Internal calibrate OK"
|
||||
else
|
||||
echo "[APM] HMC5883 Internal calibrate failed"
|
||||
fi
|
||||
else
|
||||
echo "[APM] HMC5883 Internal start failed"
|
||||
# sh /etc/init.d/rc.error
|
||||
fi
|
||||
|
||||
echo "[APM] Starting HMC5883 External GPS"
|
||||
if hmc5883 -X start
|
||||
then
|
||||
|
@ -67,6 +67,21 @@ else
|
||||
# sh /etc/init.d/rc.error
|
||||
fi
|
||||
|
||||
echo "[APMNS] Starting HMC5883 Internal"
|
||||
if hmc5883 -I start
|
||||
then
|
||||
echo "[APMNS] HMC5883 Internal started OK"
|
||||
if hmc5883 -I calibrate
|
||||
then
|
||||
echo "[APMNS] HMC5883 Internal calibrate OK"
|
||||
else
|
||||
echo "[APMNS] HMC5883 Internal calibrate failed"
|
||||
fi
|
||||
else
|
||||
echo "[APMNS] HMC5883 Internal start failed"
|
||||
# sh /etc/init.d/rc.error
|
||||
fi
|
||||
|
||||
echo "[APMNS] Starting HMC5883 External GPS"
|
||||
if hmc5883 -X start
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user