Fixed startup behavior for PX4 autostart

This commit is contained in:
Lorenz Meier
2013-08-11 16:54:00 +02:00
parent 79acbfb615
commit cbb5ce8f59
5 changed files with 20 additions and 11 deletions
+14
View File
@@ -16,12 +16,26 @@ fi
sleep 2
mavlink start -b 230400 -d /dev/ttyACM0
# Stop commander
if commander stop
then
echo "Commander stopped"
fi
sleep 1
# Start the commander
if commander start
then
echo "Commander started"
fi
# Stop px4io
if px4io stop
then
echo "PX4IO stopped"
fi
sleep 1
# Start px4io if present
if px4io start
then