mirror of https://github.com/ArduPilot/ardupilot
Frame_params: added more Disco info
This commit is contained in:
parent
94460949e1
commit
dd3d5152f6
|
@ -0,0 +1,2 @@
|
|||
Please see http://ardupilot.org/plane/docs/airframe-disco.html for
|
||||
more information on setting up a Parrot Disco
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
# default rcS running mode script
|
||||
|
||||
echo $((1024*1024)) > /proc/sys/net/core/wmem_max # inscrease the max socket size
|
||||
if test -x /data/ftp/internal_000/APM/start_ardupilot.sh; then
|
||||
ulogger -t "rcS_mode_default" -p I "Launching ArduPilot"
|
||||
/data/ftp/internal_000/APM/start_ardupilot.sh
|
||||
else
|
||||
ulogger -t "rcS_mode_default" -p I "Launching Dragon"
|
||||
DragonStarter.sh -out2null &
|
||||
fi
|
||||
sleep 1
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /data/ftp/internal_000/APM
|
||||
(
|
||||
date
|
||||
|
||||
# startup fan
|
||||
echo 1 > /sys/devices/platform/user_gpio/FAN/value
|
||||
|
||||
while :; do
|
||||
echo "$(date) Starting arduplane"
|
||||
./arduplane -A udp:192.168.42.255:14550:bcast -B /dev/ttyPA1 -C udp:192.168.43.255:14550:bcast --module-directory modules
|
||||
done
|
||||
) >> start_ardupilot.log 2>&1 &
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue