From 4d66e94bbaad6136c1c50147ea2203431098a54f Mon Sep 17 00:00:00 2001
From: Trishna Saeharaseelan <trishna.saeharaseelan@noc.ac.uk>
Date: Thu, 12 Jan 2023 10:33:53 +0800
Subject: [PATCH] refactor(examples): remove generic examples

---
 examples/all/acknowledgement.json          |  12 ---
 examples/all/compiled_mission_plan.json    |   0
 examples/all/compiled_observation.json     |   0
 examples/all/compiled_platform_status.json |   0
 examples/all/emergency.json                |   0
 examples/all/mission_plan.json             |  24 -----
 examples/all/observation.json              |  18 ----
 examples/all/planning_configuration.json   | 103 ---------------------
 examples/all/platform_status.json          |  40 --------
 9 files changed, 197 deletions(-)
 delete mode 100644 examples/all/acknowledgement.json
 delete mode 100644 examples/all/compiled_mission_plan.json
 delete mode 100644 examples/all/compiled_observation.json
 delete mode 100644 examples/all/compiled_platform_status.json
 delete mode 100644 examples/all/emergency.json
 delete mode 100644 examples/all/mission_plan.json
 delete mode 100644 examples/all/observation.json
 delete mode 100644 examples/all/planning_configuration.json
 delete mode 100644 examples/all/platform_status.json

diff --git a/examples/all/acknowledgement.json b/examples/all/acknowledgement.json
deleted file mode 100644
index e8ca460..0000000
--- a/examples/all/acknowledgement.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-    "message_ID": "b427003c-0000-11aa-a1eb-bvcdfghjgfdd",
-    "timestamp": "2022-11-16T00:00:00Z",
-    "version": 2,
-    "source": "autonomy_engine",
-    "destination": "ah1",
-    "delivery_type": "publish",
-    "encoded": false,
-    "message_type": "platform_status",
-    "acknowledged_message_ID": "02125022255-7bc8-11ed-a1eb-0242ac999999",
-    "status": "executed by platform"
-}
\ No newline at end of file
diff --git a/examples/all/compiled_mission_plan.json b/examples/all/compiled_mission_plan.json
deleted file mode 100644
index e69de29..0000000
diff --git a/examples/all/compiled_observation.json b/examples/all/compiled_observation.json
deleted file mode 100644
index e69de29..0000000
diff --git a/examples/all/compiled_platform_status.json b/examples/all/compiled_platform_status.json
deleted file mode 100644
index e69de29..0000000
diff --git a/examples/all/emergency.json b/examples/all/emergency.json
deleted file mode 100644
index e69de29..0000000
diff --git a/examples/all/mission_plan.json b/examples/all/mission_plan.json
deleted file mode 100644
index c99d52b..0000000
--- a/examples/all/mission_plan.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-    "message_ID": "b427003c-0000-11aa-a1eb-bvcdfghjgfdd",
-    "timestamp": "2022-11-16T00:00:00Z",
-    "version": 2,
-    "source": "autonomy_engine",
-    "destination": "hydrosurv_adapter",
-    "delivery_type": "publish",
-    "encoded": false,
-    "message_type": "mission_plan",
-    "plan_ID": 1,
-    "plan": [
-        {
-          "action": "move",
-          "flight_style": "orbit",
-          "activate_payload": true,
-          "altitude": 15,
-          "depth": 15,
-          "latitude_waypoint": -4.187143188645706,
-          "longitude_waypoint": 50.37072283932642,
-          "send_environmental_data": false
-        }
-      ],  
-    "platform_serial": "reav-60"
-}
diff --git a/examples/all/observation.json b/examples/all/observation.json
deleted file mode 100644
index 65049a9..0000000
--- a/examples/all/observation.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
-    "message_ID": "b427003c-7bc8-11ed-a1eb-0242ac120002",
-    "timestamp": "2022-11-16T00:00:00Z",
-    "version": 2,
-    "source": "ecosub_c2",
-    "destination": "autonomy_engine",
-    "encoded": false,
-    "type": "observation",
-    "payload": {
-        "platform_serial":"ecosub-3",
-        "points_of_interest": [],
-        "region_surveyed": [],
-        "quality_of_points": 0.98,
-        "additional_data": {
-            "sensor_x": false
-        }
-    }
-}
\ No newline at end of file
diff --git a/examples/all/planning_configuration.json b/examples/all/planning_configuration.json
deleted file mode 100644
index a6576ce..0000000
--- a/examples/all/planning_configuration.json
+++ /dev/null
@@ -1,103 +0,0 @@
-{
-    "message_ID": "b427003c-7bc8-11ed-a1eb-0242ac120002",
-    "timestamp": "2022-11-16T00:00:00Z",
-    "version": 2,
-    "source": "autonomy_engine",
-    "destination": "ah-1",
-    "encoded": false,
-    "type": "platform_status",
-    "payload": {
-        "ID": 3,
-        "squads": {
-            "squad_ID": 23,
-            "no_of_platforms": 3,
-            "platforms": [
-            {
-                "platform_ID": 1,
-                "serial": "ah-1",
-                "model": "ah-1",
-                "constraints": {
-                "min_altitude": 15.2,
-                "min_velocity": 0.1,
-                "max_velocity": 0.9
-                },
-                "active": true
-            }
-            ],
-            "squad_mission_type": "survey",
-            "squad_state": false,
-            "region_of_interest": [
-            {
-                "region": {
-                "type": "FeatureCollection",
-                "features": [
-                    {
-                    "type": "Feature",
-                    "properties": {},
-                    "geometry": {
-                        "coordinates": [
-                        [
-                            [
-                            -4.187143188645706,
-                            50.37072283932642
-                            ],
-                            [
-                            -4.202697005964865,
-                            50.368816892405874
-                            ],
-                            [
-                            -4.203156724702808,
-                            50.365640144076906
-                            ],
-                            [
-                            -4.19449868846155,
-                            50.362267670845654
-                            ]
-                        ]
-                        ],
-                        "type": "Polygon"
-                    }
-                    }
-                ]
-                }
-            }
-            ],
-            "exclusion_zones": [
-            {
-                "region": {
-                "type": "FeatureCollection",
-                "features": [
-                    {
-                    "type": "Feature",
-                    "properties": {},
-                    "geometry": {
-                        "coordinates": [
-                        [
-                            [
-                            -4.187143188645706,
-                            50.37072283932642
-                            ],
-                            [
-                            -4.202697005964865,
-                            50.368816892405874
-                            ],
-                            [
-                            -4.203156724702808,
-                            50.365640144076906
-                            ],
-                            [
-                            -4.19449868846155,
-                            50.362267670845654
-                            ]
-                        ]
-                        ],
-                        "type": "Polygon"
-                    }
-                    }
-                ]
-                }
-            }
-            ]
-        }
-    }
-}
\ No newline at end of file
diff --git a/examples/all/platform_status.json b/examples/all/platform_status.json
deleted file mode 100644
index d169523..0000000
--- a/examples/all/platform_status.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
-  "message_ID": "b427003c-0000-11aa-a1eb-bvcdfghjgfdd",
-  "timestamp": "2022-11-16T00:00:00Z",
-  "version": 2,
-  "source": "hydrosurv_adapter",
-  "destination": "autonomy_engine",
-  "delivery_type": "publish",
-  "encoded": false,
-  "message_type": "platform_status",
-  "autonomy_engine_mission_plan_ID": 1,
-  "active": true,
-  "status_source": "onboard_platform",
-  "altitude": 20,
-  "battery_remaining_capacity": 80.2,
-  "depth": 50,
-  "health_status": "Warning",
-  "latitude": 178.2,
-  "localisation_error": 0.000129,
-  "longitude": -10.122,
-  "mission_action_ID": 1,
-  "mission_track_ID": 4,
-  "platform_ID": 1,
-  "platform_state": "ABORT",
-  "platform_timestamp": "2022-12-21T00:00:00Z",
-  "range_to_go": 124.3,
-  "sensor_config": {
-    "additional_data": {
-      "payload": [
-        1.2,
-        434
-      ]
-    },
-    "sensor_serial": "mbes-002a",
-    "sensor_status": true
-  },
-  "speed_over_ground": 124.3,
-  "thrust_applied": 124.3,
-  "usbl_fix_seconds_ago": 10,
-  "water_current_velocity": 124.3
-}
\ No newline at end of file
-- 
GitLab