Tools: update path for sub test missions files

This commit is contained in:
Pierre Kancir 2020-03-10 13:20:31 +01:00 committed by Peter Barker
parent 4eceef1cef
commit 81274018c3
4 changed files with 18 additions and 3 deletions

View File

@ -0,0 +1,7 @@
QGC WPL 110
0 0 0 16 0.000000 0.000000 0.000000 0.000000 -35.363262 149.165237 583.969971 1
1 0 3 16 0.000000 0.000000 0.000000 0.000000 33.809780 -118.393982 -50.000000 1
2 0 3 16 0.000000 0.000000 0.000000 0.000000 33.809780 -118.394432 -50.000000 1
3 0 3 16 0.000000 0.000000 0.000000 0.000000 33.810310 -118.394432 -50.000000 1
4 0 3 18 1.000000 0.000000 50.000000 1.000000 33.810310 -118.395020 -25.000000 1
5 0 3 21 25.000000 0.000000 0.000000 0.000000 33.811207 -118.393036 -25.000000 1

View File

@ -0,0 +1,8 @@
QGC WPL 110
0 0 0 16 0.000000 0.000000 0.000000 0.000000 33.810313 -118.393867 0 1
1 0 3 22 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -5.000000 1
2 0 3 16 0.000000 0.000000 0.000000 0.000000 33.810612 -118.393867 0.000000 1
3 0 0 211 0.000000 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1
4 0 3 16 0.000000 0.000000 0.000000 0.000000 33.810612 -118.393578 0.000000 1
5 0 0 211 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1
4 0 3 16 0.000000 0.000000 0.000000 0.000000 33.810612 -118.393588 0.000000 1

View File

@ -51,6 +51,9 @@ class AutoTestSub(AutoTest):
def test_filepath(self):
return os.path.realpath(__file__)
def set_current_test_name(self, name):
self.current_test_name_directory = "ArduSub_Tests/" + name + "/"
def default_mode(self):
return 'MANUAL'
@ -69,9 +72,6 @@ class AutoTestSub(AutoTest):
def is_sub(self):
return True
def arming_test_mission(self):
return os.path.join(testdir, "ArduSub-Missions", "test_arming.txt")
def watch_altitude_maintained(self, delta=0.5, timeout=5.0):
"""Watch and wait for the actual altitude to be maintained