From 361abd7f044f5cd1e34e402ba0b97e62a8ea26b8 Mon Sep 17 00:00:00 2001
From: Andreas Antener <antener_a@gmx.ch>
Date: Tue, 10 May 2016 00:28:18 +0200
Subject: [PATCH] added VTOL test missions

---
 integrationtests/python_src/px4_it/mavros/vtol_mis_1.txt | 9 ---------
 integrationtests/python_src/px4_it/mavros/vtol_new_1.txt | 4 ++++
 integrationtests/python_src/px4_it/mavros/vtol_new_2.txt | 5 +++++
 integrationtests/python_src/px4_it/mavros/vtol_old_1.txt | 8 ++++++++
 integrationtests/python_src/px4_it/mavros/vtol_old_2.txt | 8 ++++++++
 integrationtests/python_src/px4_it/mavros/vtol_old_3.txt | 5 +++++
 6 files changed, 30 insertions(+), 9 deletions(-)
 delete mode 100644 integrationtests/python_src/px4_it/mavros/vtol_mis_1.txt
 create mode 100644 integrationtests/python_src/px4_it/mavros/vtol_new_1.txt
 create mode 100644 integrationtests/python_src/px4_it/mavros/vtol_new_2.txt
 create mode 100644 integrationtests/python_src/px4_it/mavros/vtol_old_1.txt
 create mode 100644 integrationtests/python_src/px4_it/mavros/vtol_old_2.txt
 create mode 100644 integrationtests/python_src/px4_it/mavros/vtol_old_3.txt

diff --git a/integrationtests/python_src/px4_it/mavros/vtol_mis_1.txt b/integrationtests/python_src/px4_it/mavros/vtol_mis_1.txt
deleted file mode 100644
index 6d61dbfc96..0000000000
--- a/integrationtests/python_src/px4_it/mavros/vtol_mis_1.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-QGC WPL 110
-0	1	0	16	0	0	0	0	47.3979949951	8.54559612274	12.0	1
-1	0	2	3000	4.0	0.0	0.0	0.0	47.3980331421	8.54578971863	12.0	1
-2	0	3	16	0.0	0.0	-0.0	0.0	47.399269104	8.54557228088	12.0	1
-3	0	3	16	0.0	0.0	-0.0	0.0	47.3992652893	8.54230213165	12.0	1
-4	0	3	16	0.0	0.0	-0.0	0.0	47.3974761963	8.54239082336	12.0	1
-5	0	3	16	0.0	0.0	-0.0	0.0	47.3976669312	8.54509449005	12.0	1
-6	0	2	3000	3.0	0.0	0.0	0.0	47.3977851868	8.54526233673	12.0	1
-7	0	3	21	25.0	0.0	-0.0	0.0	47.3979797363	8.54460906982	12.0	1
diff --git a/integrationtests/python_src/px4_it/mavros/vtol_new_1.txt b/integrationtests/python_src/px4_it/mavros/vtol_new_1.txt
new file mode 100644
index 0000000000..527bd5f5ad
--- /dev/null
+++ b/integrationtests/python_src/px4_it/mavros/vtol_new_1.txt
@@ -0,0 +1,4 @@
+# New style transitions, takeoff not at home
+QGC WPL 110
+0	1	3	84	15.0	0	0	0	47.397731862593744	8.543269295853861	12.0	1
+1	0	3	85	0.0	0.0	-0.0	0.0	47.3990753922183	8.5432371088360526	0.0	1
diff --git a/integrationtests/python_src/px4_it/mavros/vtol_new_2.txt b/integrationtests/python_src/px4_it/mavros/vtol_new_2.txt
new file mode 100644
index 0000000000..7d6908a986
--- /dev/null
+++ b/integrationtests/python_src/px4_it/mavros/vtol_new_2.txt
@@ -0,0 +1,5 @@
+# New style transitions, takeoff at home
+QGC WPL 110
+0	1	3	84	15.0	0	0	0	47.397746387399621	8.5455920888607579	12.0	1
+1	0	3	16	0.0	0.0	0.0	0.0	47.399093548895856	8.5455438069836305	12.0	1
+2	0	3	85	0.0	0.0	-0.0	0.0	47.39903545	8.5432263800000001	0.0	1
diff --git a/integrationtests/python_src/px4_it/mavros/vtol_old_1.txt b/integrationtests/python_src/px4_it/mavros/vtol_old_1.txt
new file mode 100644
index 0000000000..123423751d
--- /dev/null
+++ b/integrationtests/python_src/px4_it/mavros/vtol_old_1.txt
@@ -0,0 +1,8 @@
+# Old style transitions, takeoff and landing WPs away from home and last WP
+QGC WPL 110
+0	1	3	22	15.0	0	0	0	47.398046406687619	8.5458366721115908	12.0	1
+1	0	2	3000	4	0.0	0.0	0.0	47.398033142089844	8.5457897186279297	12.0	1
+2	0	3	16	0	0.0	0.0	0.0	47.399269104003906	8.5455722808837891	12.0	1
+3	0	3	16	0	0.0	0.0	0.0	47.399281145681528	8.547910568913295	12.0	1
+4	0	2	3000	3	0.0	0.0	0.0	47.397785186767578	8.545262336730957	12.0	1
+5	0	3	21	25.0	0.0	0.0	0.0	47.398884865088675	8.547918116539563	12.0	1
diff --git a/integrationtests/python_src/px4_it/mavros/vtol_old_2.txt b/integrationtests/python_src/px4_it/mavros/vtol_old_2.txt
new file mode 100644
index 0000000000..d021eb9ddd
--- /dev/null
+++ b/integrationtests/python_src/px4_it/mavros/vtol_old_2.txt
@@ -0,0 +1,8 @@
+# Old style transitions, takeoff WP at home location, landing WP at last WP location
+QGC WPL 110
+0	1	3	22	15.0	0	0	0	47.397740722711738	8.5455944102696719	12.0	1
+1	0	2	3000	4	0.0	0.0	0.0	47.397732380000001	8.5458224099999995	12.0	1
+2	0	3	16	0	0.0	0.0	0.0	47.397749067235559	8.5429755110031351	12.0	1
+3	0	3	16	0	0.0	0.0	0.0	47.399213119631852	8.5430124879018479	12.0	1
+4	0	2	3000	3	0.0	0.0	0.0	47.399158900000003	8.5429077299999996	12.0	1
+5	0	3	21	25.0	0.0	0.0	0.0	47.399211883544922	8.5430123448444419	12.0	1
diff --git a/integrationtests/python_src/px4_it/mavros/vtol_old_3.txt b/integrationtests/python_src/px4_it/mavros/vtol_old_3.txt
new file mode 100644
index 0000000000..ab7814c9c9
--- /dev/null
+++ b/integrationtests/python_src/px4_it/mavros/vtol_old_3.txt
@@ -0,0 +1,5 @@
+# Old style transitions, takeoff with normal WP
+QGC WPL 110
+0	1	3	16	15.0	0	0	0	47.398157669127094	8.5460336317115377	12.0	1
+1	0	2	3000	4	0.0	0.0	0.0	47.398033142089844	8.5457897186279297	12.0	1
+2	0	3	16	0	0.0	0.0	0.0	47.399269104003906	8.5455722808837891	12.0	1
-- 
GitLab