Skip to content
Snippets Groups Projects
Commit b0b2f714 authored by Thomas Gubler's avatar Thomas Gubler
Browse files

add options do disable or fake gps output in rcS

parent ab1939c6
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,8 @@ then
set EXIT_ON_END no
set MAV_TYPE none
set LOAD_DEFAULT_APPS yes
set GPS yes
set GPS_FAKE no
#
# Set DO_AUTOCONFIG flag to use it in AUTOSTART scripts
......@@ -437,9 +439,20 @@ then
echo "[init] Start logging"
sh /etc/init.d/rc.logging
fi
gps start
if [ $GPS == yes ]
then
echo "[init] Start GPS"
if [ $GPS_FAKE == yes ]
then
echo "[init] Faking GPS"
gps start -f
else
gps start
fi
fi
#
# Start up ARDrone Motor interface
#
......
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