Browse Source

Tools: update path for sub test missions files

zr-v5.1
Pierre Kancir 5 years ago committed by Peter Barker
parent
commit
81274018c3
  1. 0
      Tools/autotest/ArduSub_Tests/ArmFeatures/test_arming.txt
  2. 7
      Tools/autotest/ArduSub_Tests/DiveMission/sub_mission.txt
  3. 8
      Tools/autotest/ArduSub_Tests/GripperMission/sub-gripper-mission.txt
  4. 6
      Tools/autotest/ardusub.py

0
Tools/autotest/ArduSub-Missions/test_arming.txt → Tools/autotest/ArduSub_Tests/ArmFeatures/test_arming.txt

7
Tools/autotest/ArduSub_Tests/DiveMission/sub_mission.txt

@ -0,0 +1,7 @@ @@ -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

8
Tools/autotest/ArduSub_Tests/GripperMission/sub-gripper-mission.txt

@ -0,0 +1,8 @@ @@ -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

6
Tools/autotest/ardusub.py

@ -51,6 +51,9 @@ class AutoTestSub(AutoTest): @@ -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): @@ -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

Loading…
Cancel
Save