Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
11 changes: 11 additions & 0 deletions MissionPlannerScripts/Test Endpoint.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
meta {
name: Test Endpoint
type: http
seq: 1
}

get {
url: {{ base_url }}/
body: none
auth: none
}
11 changes: 11 additions & 0 deletions MissionPlannerScripts/aeac/New Request.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
meta {
name: New Request
type: http
seq: 6
}

get {
url:
body: none
auth: none
}
18 changes: 18 additions & 0 deletions MissionPlannerScripts/aeac/aeac_deliver.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
meta {
name: aeac_deliver
type: http
seq: 4
}

post {
url: {{base_url}}/aeac_deliver
body: json
auth: none
}

body:json {
{
"deliver_alt": 1,
"deliver_duration_secs": 20
}
}
20 changes: 20 additions & 0 deletions MissionPlannerScripts/aeac/aeac_payload_OFF.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
meta {
name: aeac_payload_OFF
type: http
seq: 5
}

post {
url: {{base_url}}/aeac_payload
body: json
auth: none
}

body:json {
{
"valve_one_open": false,
"valve_two_open": false,
"pump_on": false,
"reset": false
}
}
21 changes: 21 additions & 0 deletions MissionPlannerScripts/aeac/aeac_scan.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
meta {
name: aeac_scan
type: http
seq: 3
}

post {
url: {{base_url}}/aeac_scan
body: json
auth: none
}

body:json {
{
"center_lat": 0,
"center_lon": 0,
"altitude": 50,
"target_area_radius": 110,
"enable_camera": false
}
}
7 changes: 7 additions & 0 deletions MissionPlannerScripts/aeac/folder.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
meta {
name: aeac
}

auth {
mode: none
}
19 changes: 19 additions & 0 deletions MissionPlannerScripts/aeac/start_cam.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
meta {
name: start_cam
type: http
seq: 1
}

post {
url: {{base_url}}/activate_camera
body: json
auth: none
}

body:json {
{
"cam_id": 0,
"time_between_pics_secs": 0.5,
"num_of_pics": 0
}
}
17 changes: 17 additions & 0 deletions MissionPlannerScripts/aeac/stop_cam.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
meta {
name: stop_cam
type: http
seq: 2
}

post {
url: {{base_url}}/deactivate_camera
body: json
auth: none
}

body:json {
{
"cam_id": 0
}
}
9 changes: 9 additions & 0 deletions MissionPlannerScripts/bruno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"version": "1",
"name": "MissionPlannerScripts",
"type": "collection",
"ignore": [
"node_modules",
".git"
]
}
7 changes: 7 additions & 0 deletions MissionPlannerScripts/collection.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
meta {
name: MissionPlannerScripts
}

auth {
mode: none
}
3 changes: 3 additions & 0 deletions MissionPlannerScripts/environments/main.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vars {
base_url: http://localhost:9000
}
11 changes: 11 additions & 0 deletions MissionPlannerScripts/landing/folder.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
meta {
name: landing
}

auth {
mode: none
}

docs {
Access to landing, RTL, and home waypoint.
}
29 changes: 29 additions & 0 deletions MissionPlannerScripts/landing/home.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
meta {
name: home
type: http
seq: 5
}

post {
url: {{ base_url }}/home
body: json
auth: none
}

headers {
Content-Type: application/json
}

body:json {
{
"id": 0,
"name": "Alpha",
"latitude": -35.3627798,
"longitude": 149.1651830,
"altitude": 583
}
}

docs {
Set the home waypoint of the drone.
}
15 changes: 15 additions & 0 deletions MissionPlannerScripts/landing/land.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
meta {
name: land
type: http
seq: 3
}

get {
url: {{ base_url }}/land
body: none
auth: none
}

docs {
Immediately descend and land.
}
25 changes: 25 additions & 0 deletions MissionPlannerScripts/landing/land_1.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
meta {
name: land_1
type: http
seq: 4
}

post {
url: {{ base_url }}/land
body: json
auth: none
}

body:json {
{
"id": 0,
"name": "string",
"latitude": 38.3171058,
"longitude": -76.5517151,
"altitude": 100
}
}

docs {
Land at designated location.
}
15 changes: 15 additions & 0 deletions MissionPlannerScripts/landing/rtl.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
meta {
name: rtl
type: http
seq: 1
}

get {
url: {{ base_url }}/rtl
body: none
auth: none
}

docs {
Return to launch.
}
21 changes: 21 additions & 0 deletions MissionPlannerScripts/landing/rtl_1.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
meta {
name: rtl_1
type: http
seq: 2
}

post {
url: {{ base_url }}/rtl
body: json
auth: none
}

body:json {
{
"altitude": 0
}
}

docs {
Return to launch at specified altitude.
}
15 changes: 15 additions & 0 deletions MissionPlannerScripts/options/altstandard.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
meta {
name: altstandard
type: http
seq: 2
}

put {
url: {{ base_url }}/altstandard
body: none
auth: none
}

docs {
UNIMPLEMENTED
}
21 changes: 21 additions & 0 deletions MissionPlannerScripts/options/flightmode.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
meta {
name: flightmode
type: http
seq: 1
}

put {
url: {{ base_url }}/flightmode
body: json
auth: none
}

body:json {
{
"mode": "loiter"
}
}

docs {
Change flight mode ofm the aircraft to Loiter, Stabilize, Auto or Guided.
}
11 changes: 11 additions & 0 deletions MissionPlannerScripts/options/folder.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
meta {
name: options
}

auth {
mode: none
}

docs {
Access to flight options.
}
19 changes: 19 additions & 0 deletions MissionPlannerScripts/queue/clear.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
meta {
name: clear
type: http
seq: 4
}

get {
url: {{ base_url }}/clear
body: json
auth: none
}

headers {
Content-Type: application/json
}

docs {
Clear the waypoint queue.
}
36 changes: 36 additions & 0 deletions MissionPlannerScripts/queue/diversion.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
meta {
name: diversion
type: http
seq: 5
}

post {
url: {{ base_url }}/diversion
body: json
auth: none
}

body:json {
{
"exclude": [
{
"id": 0,
"name": "string",
"longitude": 0,
"latitude": 0,
"altitude": 0
}
],
"rejoin_at": {
"id": 0,
"name": "string",
"longitude": 0,
"latitude": 0,
"altitude": 0
}
}
}

docs {
Divert the aircraft around an exclusion zone.
}
11 changes: 11 additions & 0 deletions MissionPlannerScripts/queue/folder.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
meta {
name: queue
}

auth {
mode: none
}

docs {
Access to aircraft waypoint queue
}
Loading