2012-04-19 20:55:32 -03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
|
|
|
autotest=$(dirname $(readlink -e $0))
|
|
|
|
pushd $autotest/../../ArduPlane
|
|
|
|
make clean sitl-mavlink10
|
|
|
|
|
2012-06-27 18:28:00 -03:00
|
|
|
tfile=$(mktemp)
|
2012-04-19 20:55:32 -03:00
|
|
|
echo r > $tfile
|
|
|
|
#gnome-terminal -e "gdb -x $tfile --args /tmp/ArduPlane.build/ArduPlane.elf"
|
|
|
|
gnome-terminal -e /tmp/ArduPlane.build/ArduPlane.elf
|
|
|
|
#gnome-terminal -e "valgrind -q /tmp/ArduPlane.build/ArduPlane.elf"
|
|
|
|
sleep 2
|
|
|
|
rm -f $tfile
|
2012-08-27 03:27:29 -03:00
|
|
|
gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270'
|
2012-04-19 20:55:32 -03:00
|
|
|
sleep 2
|
|
|
|
popd
|
|
|
|
mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551 --mav10
|