Browse Source

Merge remote-tracking branch 'upstream/rcvariables' into ros

sbg
Thomas Gubler 10 years ago
parent
commit
12ae4fe869
  1. 1
      ROMFS/px4fmu_common/init.d/rc.interface
  2. 10
      ROMFS/px4fmu_common/init.d/rcS

1
ROMFS/px4fmu_common/init.d/rc.interface

@ -125,3 +125,4 @@ then @@ -125,3 +125,4 @@ then
fi
fi
fi
unset OUTPUT_DEV

10
ROMFS/px4fmu_common/init.d/rcS

@ -12,7 +12,6 @@ set MODE autostart @@ -12,7 +12,6 @@ set MODE autostart
set FRC /fs/microsd/etc/rc.txt
set FCONFIG /fs/microsd/etc/config.txt
set FEXTRAS /fs/microsd/etc/extras.txt
set TUNE_ERR ML<<CP4CP4CP4CP4CP4
@ -42,6 +41,7 @@ then @@ -42,6 +41,7 @@ then
else
echo "[i] Init script not found: $FRC"
fi
unset FRC
# if this is an APM build then there will be a rc.APM script
# from an EXTERNAL_SCRIPTS build option
@ -275,6 +275,7 @@ then @@ -275,6 +275,7 @@ then
set FMU_MODE serial
fi
fi
unset HIL
# waypoint storage
if dataman start
@ -355,8 +356,9 @@ then @@ -355,8 +356,9 @@ then
echo "[i] ERROR: MK start failed"
tone_alarm $TUNE_ERR
fi
unset MKBLCTRL_ARG
fi
unset MK_MODE
if [ $OUTPUT_MODE == hil ]
then
@ -604,6 +606,9 @@ then @@ -604,6 +606,9 @@ then
sh /etc/init.d/rc.vtol_apps
fi
fi
unset MIXER
unset MAV_TYPE
unset OUTPUT_MODE
#
# Start the navigator
@ -620,6 +625,7 @@ then @@ -620,6 +625,7 @@ then
fi
# Start any custom addons
set FEXTRAS /fs/microsd/etc/extras.txt
if [ -f $FEXTRAS ]
then
echo "[i] Addons script: $FEXTRAS"

Loading…
Cancel
Save