forked from Archive/PX4-Autopilot
Startup scripts fixup, fixed unmatched dependencies
This commit is contained in:
parent
c5731bbc3f
commit
dfde02c825
|
@ -1,6 +1,6 @@
|
|||
#!nsh
|
||||
|
||||
cho "[init] 30_io_camflyer: PX4FMU+PX4IO on Camflyer"
|
||||
echo "[init] 30_io_camflyer: PX4FMU+PX4IO on Camflyer"
|
||||
|
||||
#
|
||||
# Load default params for this platform
|
||||
|
@ -49,6 +49,11 @@ px4io limit 100
|
|||
# Start the sensors (depends on orb, px4io)
|
||||
#
|
||||
sh /etc/init.d/rc.sensors
|
||||
|
||||
#
|
||||
# Start logging (depends on sensors)
|
||||
#
|
||||
sh /etc/init.d/rc.logging
|
||||
|
||||
#
|
||||
# Start GPS interface (depends on orb)
|
||||
|
@ -64,4 +69,4 @@ kalman_demo start
|
|||
# Load mixer and start controllers (depends on px4io)
|
||||
#
|
||||
mixer load /dev/pwm_output /etc/mixers/FMU_Q.mix
|
||||
control_demo start
|
||||
fw_att_control start
|
||||
|
|
|
@ -44,6 +44,11 @@ commander start
|
|||
# Start the sensors
|
||||
#
|
||||
sh /etc/init.d/rc.sensors
|
||||
|
||||
#
|
||||
# Start logging (depends on sensors)
|
||||
#
|
||||
sh /etc/init.d/rc.logging
|
||||
|
||||
#
|
||||
# Start GPS interface
|
||||
|
@ -59,4 +64,4 @@ kalman_demo start
|
|||
# Load mixer and start controllers (depends on px4io)
|
||||
#
|
||||
mixer load /dev/pwm_output /etc/mixers/FMU_Q.mix
|
||||
control_demo start
|
||||
fw_att_control start
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
#
|
||||
sh /etc/init.d/rc.sensors
|
||||
|
||||
#
|
||||
# Start logging (depends on sensors)
|
||||
#
|
||||
sh /etc/init.d/rc.logging
|
||||
|
||||
#
|
||||
# Start the commander.
|
||||
#
|
||||
|
|
|
@ -103,11 +103,9 @@ then
|
|||
blinkm systemstate
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# Start logging
|
||||
#
|
||||
sh /etc/init.d/rc.logging
|
||||
|
||||
# Try to get an USB console
|
||||
nshterm /dev/ttyACM0 &
|
||||
|
||||
#
|
||||
# Check if PX4IO Firmware should be upgraded (from Andrew Tridgell)
|
||||
|
@ -183,9 +181,6 @@ then
|
|||
set MODE custom
|
||||
fi
|
||||
|
||||
# Try to get an USB console
|
||||
nshterm /dev/ttyACM0 &
|
||||
|
||||
# Start any custom extensions that might be missing
|
||||
if [ -f /fs/microsd/etc/rc.local ]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue