From b1f912a3550b661bf32773bf67dee641b33ae008 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 15 Dec 2011 23:34:20 +1100 Subject: [PATCH] autotest: fixed working directory in sample scripts --- Tools/autotest/sim_arducopter.sh | 2 +- Tools/autotest/sim_arduplane.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/autotest/sim_arducopter.sh b/Tools/autotest/sim_arducopter.sh index c38c66f7ed..d39cad25e9 100755 --- a/Tools/autotest/sim_arducopter.sh +++ b/Tools/autotest/sim_arducopter.sh @@ -14,5 +14,5 @@ sleep 2 rm -f $tfile gnome-terminal -e '../Tools/autotest/pysim/sim_quad.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 --quadcopter - diff --git a/Tools/autotest/sim_arduplane.sh b/Tools/autotest/sim_arduplane.sh index 45b6ce0965..1494272b24 100755 --- a/Tools/autotest/sim_arduplane.sh +++ b/Tools/autotest/sim_arduplane.sh @@ -14,4 +14,5 @@ sleep 2 rm -f $tfile gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270 --wind=5,180,0.2' 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