From deb825b57583a4dd0fb8452ad0afdad07ab34c5b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 6 Feb 2013 17:00:03 +1100 Subject: [PATCH] autotest: added some hints to sim_arduplane.sh --- Tools/autotest/sim_arduplane.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Tools/autotest/sim_arduplane.sh b/Tools/autotest/sim_arduplane.sh index eaf182dd7f..626fa7ba55 100755 --- a/Tools/autotest/sim_arduplane.sh +++ b/Tools/autotest/sim_arduplane.sh @@ -1,5 +1,9 @@ #!/bin/bash +killall -q JSBSim +killall -q ArduPlane.elf +pkill -f runsim.py + set -e set -x @@ -17,4 +21,10 @@ rm -f $tfile gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270' 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 + +# if you wanted to forward packets out a serial link for testing andropilot, then +# add --out /dev/serial/by-id/usb-FTDI* to your command line. You might also like to +# add --map and --console + +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 $* +