mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
Simplified USB startup script
This commit is contained in:
@@ -15,6 +15,9 @@ then
|
|||||||
fi
|
fi
|
||||||
mavlink start -b 230400 -d /dev/ttyACM0
|
mavlink start -b 230400 -d /dev/ttyACM0
|
||||||
|
|
||||||
|
if [ $MODE == autostart ]
|
||||||
|
then
|
||||||
|
|
||||||
# Start the commander
|
# Start the commander
|
||||||
commander start
|
commander start
|
||||||
|
|
||||||
@@ -39,6 +42,7 @@ if gps start
|
|||||||
then
|
then
|
||||||
echo "GPS started"
|
echo "GPS started"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
echo "MAVLink started, exiting shell.."
|
echo "MAVLink started, exiting shell.."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user