-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmissions.json
98 lines (96 loc) · 2.84 KB
/
missions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"px4":{
"Mission": {
"name": "fly_to_points",
"param": [8,[[0, 0, 0], [0, 5, -5],[5, 5, -5],[5, 0, -5],[0, 0, -5] ]]
}
},
"drone_response":{
"states": [
{
"name": "Takeoff",
"args": {
"altitude": 20,
"speed": 1.5,
"altitude_threshold": 1.0
},
"transitions": [
{
"target": "BriarWaypoint",
"condition": "succeeded_takeoff"
},
{
"target": "Land",
"condition": "failed_takeoff"
}
]
},
{
"name": "BriarWaypoint",
"class": "BriarWaypoint",
"args": {
"waypoint": {
"latitude": 41.60642710451832,
"longitude": -86.35599354346824,
"altitude": 245.0
},
"speed": 3.5
},
"transitions": [
{
"target": "BriarHover",
"condition": "succeeded_waypoints"
}
]
},
{
"name": "BriarHover",
"args": {
"hover_time": 90
},
"transitions": [
{
"target": "LandLocation",
"condition": "succeeded_hover"
}
]
},
{
"name": "LandLocation",
"class": "BriarWaypoint",
"args": {
"waypoint": {
"latitude": 41.60661172734727,
"longitude": -86.35612230724895,
"altitude": 245.0
},
"speed": 3.5
},
"transitions": [
{
"target": "Land",
"condition": "succeeded_waypoints"
}
]
},
{
"name": "Land",
"transitions": [
{
"target": "Disarm",
"condition": "succeeded_land"
}
]
},
{
"name": "Disarm",
"transitions": [
{
"target": "mission_completed",
"condition": "succeeded_disarm"
}
]
}
]
}
}