autotest: fixed working directory in sample scripts

This commit is contained in:
Andrew Tridgell 2011-12-15 23:34:20 +11:00
parent 960d6ee38a
commit b1f912a355
2 changed files with 2 additions and 1 deletions

View File

@ -14,5 +14,5 @@ sleep 2
rm -f $tfile rm -f $tfile
gnome-terminal -e '../Tools/autotest/pysim/sim_quad.py --home=-35.362938,149.165085,584,270' gnome-terminal -e '../Tools/autotest/pysim/sim_quad.py --home=-35.362938,149.165085,584,270'
sleep 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 --quadcopter 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

View File

@ -14,4 +14,5 @@ sleep 2
rm -f $tfile rm -f $tfile
gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270 --wind=5,180,0.2' gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270 --wind=5,180,0.2'
sleep 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 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