mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
CI: add missions in plan file format
This commit is contained in:
parent
ea3586cfd9
commit
e9c7023083
125
integrationtests/python_src/px4_it/mavros/multirotor_box.plan
Normal file
125
integrationtests/python_src/px4_it/mavros/multirotor_box.plan
Normal file
@ -0,0 +1,125 @@
|
||||
{
|
||||
"fileType": "Plan",
|
||||
"geoFence": {
|
||||
"polygon": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"groundStation": "QGroundControl",
|
||||
"mission": {
|
||||
"cruiseSpeed": 15,
|
||||
"firmwareType": 12,
|
||||
"hoverSpeed": 5,
|
||||
"items": [
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 22,
|
||||
"doJumpId": 1,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
15.0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.397739410400391,
|
||||
8.5455904006958008,
|
||||
5.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 2,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.397872924804688,
|
||||
8.54559326171875,
|
||||
5.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 3,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.397872924804688,
|
||||
8.5453414916992188,
|
||||
5.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 4,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.397739410400391,
|
||||
8.5453367233276367,
|
||||
5.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 5,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.397739410400391,
|
||||
8.5455904006958008,
|
||||
5.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 21,
|
||||
"doJumpId": 6,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.397739410400391,
|
||||
8.5455913543701172,
|
||||
5.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
}
|
||||
],
|
||||
"plannedHomePosition": [
|
||||
47.397742,
|
||||
8.545594,
|
||||
12.0
|
||||
],
|
||||
"vehicleType": 2,
|
||||
"version": 2
|
||||
},
|
||||
"rallyPoints": {
|
||||
"points": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
61
integrationtests/python_src/px4_it/mavros/vtol_new_1.plan
Normal file
61
integrationtests/python_src/px4_it/mavros/vtol_new_1.plan
Normal file
@ -0,0 +1,61 @@
|
||||
{
|
||||
"fileType": "Plan",
|
||||
"geoFence": {
|
||||
"polygon": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"groundStation": "QGroundControl",
|
||||
"mission": {
|
||||
"cruiseSpeed": 15,
|
||||
"firmwareType": 12,
|
||||
"hoverSpeed": 5,
|
||||
"items": [
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 84,
|
||||
"doJumpId": 1,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
15.0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.397731862593744,
|
||||
8.543269295853861,
|
||||
15.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 85,
|
||||
"doJumpId": 2,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.39651890962795,
|
||||
8.5433217125134888,
|
||||
0.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
}
|
||||
],
|
||||
"plannedHomePosition": [
|
||||
47.397742,
|
||||
8.545594,
|
||||
12.0
|
||||
],
|
||||
"vehicleType": 19,
|
||||
"version": 2
|
||||
},
|
||||
"rallyPoints": {
|
||||
"points": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
77
integrationtests/python_src/px4_it/mavros/vtol_new_2.plan
Normal file
77
integrationtests/python_src/px4_it/mavros/vtol_new_2.plan
Normal file
@ -0,0 +1,77 @@
|
||||
{
|
||||
"fileType": "Plan",
|
||||
"geoFence": {
|
||||
"polygon": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"groundStation": "QGroundControl",
|
||||
"mission": {
|
||||
"cruiseSpeed": 15,
|
||||
"firmwareType": 12,
|
||||
"hoverSpeed": 5,
|
||||
"items": [
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 84,
|
||||
"doJumpId": 1,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
15.0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.397746387399621,
|
||||
8.5455920888607579,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 2,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.399093548895856,
|
||||
8.5455438069836305,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 85,
|
||||
"doJumpId": 3,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.39903545,
|
||||
8.5432263800000001,
|
||||
0.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
}
|
||||
],
|
||||
"plannedHomePosition": [
|
||||
47.397742,
|
||||
8.545594,
|
||||
12.0
|
||||
],
|
||||
"vehicleType": 19,
|
||||
"version": 2
|
||||
},
|
||||
"rallyPoints": {
|
||||
"points": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
125
integrationtests/python_src/px4_it/mavros/vtol_old_1.plan
Normal file
125
integrationtests/python_src/px4_it/mavros/vtol_old_1.plan
Normal file
@ -0,0 +1,125 @@
|
||||
{
|
||||
"fileType": "Plan",
|
||||
"geoFence": {
|
||||
"polygon": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"groundStation": "QGroundControl",
|
||||
"mission": {
|
||||
"cruiseSpeed": 15,
|
||||
"firmwareType": 12,
|
||||
"hoverSpeed": 5,
|
||||
"items": [
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 22,
|
||||
"doJumpId": 1,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
15.0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.398046406687619,
|
||||
8.5458366721115908,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 3000,
|
||||
"doJumpId": 2,
|
||||
"frame": 2,
|
||||
"params": [
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
47.398033142089844,
|
||||
8.5457897186279297,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 3,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.399269104003906,
|
||||
8.5455722808837891,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 4,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.399281145681528,
|
||||
8.547910568913295,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 3000,
|
||||
"doJumpId": 5,
|
||||
"frame": 2,
|
||||
"params": [
|
||||
3,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
47.397785186767578,
|
||||
8.545262336730957,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 21,
|
||||
"doJumpId": 6,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
25.0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.398884865088675,
|
||||
8.547918116539563,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
}
|
||||
],
|
||||
"plannedHomePosition": [
|
||||
47.397742,
|
||||
8.545594,
|
||||
12.0
|
||||
],
|
||||
"vehicleType": 19,
|
||||
"version": 2
|
||||
},
|
||||
"rallyPoints": {
|
||||
"points": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
125
integrationtests/python_src/px4_it/mavros/vtol_old_2.plan
Normal file
125
integrationtests/python_src/px4_it/mavros/vtol_old_2.plan
Normal file
@ -0,0 +1,125 @@
|
||||
{
|
||||
"fileType": "Plan",
|
||||
"geoFence": {
|
||||
"polygon": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"groundStation": "QGroundControl",
|
||||
"mission": {
|
||||
"cruiseSpeed": 15,
|
||||
"firmwareType": 12,
|
||||
"hoverSpeed": 5,
|
||||
"items": [
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 22,
|
||||
"doJumpId": 1,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
15.0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.397740722711738,
|
||||
8.5455944102696719,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 3000,
|
||||
"doJumpId": 2,
|
||||
"frame": 2,
|
||||
"params": [
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
47.397732380000001,
|
||||
8.5458224099999995,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 3,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
47.397749067235559,
|
||||
8.5429755110031351,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 4,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.399213119631852,
|
||||
8.5430124879018479,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 3000,
|
||||
"doJumpId": 5,
|
||||
"frame": 2,
|
||||
"params": [
|
||||
3,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
47.399158900000003,
|
||||
8.5429077299999996,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 21,
|
||||
"doJumpId": 6,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
25.0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.399211883544922,
|
||||
8.5430123448444419,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
}
|
||||
],
|
||||
"plannedHomePosition": [
|
||||
47.397742,
|
||||
8.545594,
|
||||
12.0
|
||||
],
|
||||
"vehicleType": 19,
|
||||
"version": 2
|
||||
},
|
||||
"rallyPoints": {
|
||||
"points": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
77
integrationtests/python_src/px4_it/mavros/vtol_old_3.plan
Normal file
77
integrationtests/python_src/px4_it/mavros/vtol_old_3.plan
Normal file
@ -0,0 +1,77 @@
|
||||
{
|
||||
"fileType": "Plan",
|
||||
"geoFence": {
|
||||
"polygon": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"groundStation": "QGroundControl",
|
||||
"mission": {
|
||||
"cruiseSpeed": 15,
|
||||
"firmwareType": 12,
|
||||
"hoverSpeed": 5,
|
||||
"items": [
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 1,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
15.0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.398157669127094,
|
||||
8.5460336317115377,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 3000,
|
||||
"doJumpId": 2,
|
||||
"frame": 2,
|
||||
"params": [
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
47.398033142089844,
|
||||
8.5457897186279297,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
},
|
||||
{
|
||||
"autoContinue": true,
|
||||
"command": 16,
|
||||
"doJumpId": 3,
|
||||
"frame": 3,
|
||||
"params": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
47.399269104003906,
|
||||
8.5455722808837891,
|
||||
12.0
|
||||
],
|
||||
"type": "SimpleItem"
|
||||
}
|
||||
],
|
||||
"plannedHomePosition": [
|
||||
47.397742,
|
||||
8.545594,
|
||||
12.0
|
||||
],
|
||||
"vehicleType": 19,
|
||||
"version": 2
|
||||
},
|
||||
"rallyPoints": {
|
||||
"points": [
|
||||
],
|
||||
"version": 1
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user