mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
ROMFS: Update for preflight check in Commander
This commit is contained in:
committed by
Lorenz Meier
parent
4654d0f4fc
commit
3365e577e7
@@ -115,9 +115,7 @@ then
|
||||
fi
|
||||
|
||||
#
|
||||
# Start sensors -> preflight_check
|
||||
# Start sensors
|
||||
#
|
||||
if sensors start
|
||||
then
|
||||
preflight_check &
|
||||
fi
|
||||
sensors start
|
||||
|
||||
|
||||
@@ -301,6 +301,11 @@ then
|
||||
then
|
||||
fi
|
||||
|
||||
#
|
||||
# Sensors System (start before Commander so Preflight checks are properly run)
|
||||
#
|
||||
sh /etc/init.d/rc.sensors
|
||||
|
||||
# Needs to be this early for in-air-restarts
|
||||
commander start
|
||||
|
||||
@@ -467,9 +472,8 @@ then
|
||||
sh /etc/init.d/rc.uavcan
|
||||
|
||||
#
|
||||
# Sensors, Logging, GPS
|
||||
# Logging, GPS
|
||||
#
|
||||
sh /etc/init.d/rc.sensors
|
||||
sh /etc/init.d/rc.logging
|
||||
|
||||
if [ $GPS == yes ]
|
||||
|
||||
Reference in New Issue
Block a user