planning_configuration.json 8.72 KB
Newer Older
1
{
2
  "header":{
3 4 5
    "message_ID": "b427003c-0000-11aa-a1eb-bvcdfghjgfdd",
    "timestamp": "2022-11-16T00:00:00Z",
    "version": 2,
6
    "source": "gui",
7 8
    "destination": "",
    "delivery_type": "broadcast",
9 10 11
    "encoded": false
  },
  "payload":{
Trishna Saeharaseelan's avatar
Trishna Saeharaseelan committed
12
    "message_type": "planning_configuration",
13
    "planning_config_ID": 1,
Dan Jones's avatar
Dan Jones committed
14
    "primitives": [
15
      {
Dan Jones's avatar
Dan Jones committed
16 17 18 19 20 21 22 23 24 25 26 27
        "instruction": "stay_outside",
        "feature": {
          "type": "Feature",
          "properties": {
            "name": "The Rock",
            "type": "exclusion_zone"
          },
          "geometry": {
            "type": "Polygon", 
            "coordinates": [
              [
                [
28 29
                  -4.181176,
                  50.334019
Dan Jones's avatar
Dan Jones committed
30 31
                ],
                [
32 33
                  -4.179017,
                  50.332863
Dan Jones's avatar
Dan Jones committed
34 35
                ],
                [
36 37
                  -4.179924,
                  50.332174
Dan Jones's avatar
Dan Jones committed
38 39
                ],
                [
40 41
                  -4.182082,
                  50.33333
Dan Jones's avatar
Dan Jones committed
42 43
                ],
                [
44 45
                  -4.181176,
                  50.334019
Dan Jones's avatar
Dan Jones committed
46 47
                ]
              ]
48
            ]
Dan Jones's avatar
Dan Jones committed
49 50 51
          }
        }
      },
52
      {
Dan Jones's avatar
Dan Jones committed
53 54 55 56 57 58 59 60 61 62 63 64
        "instruction": "stay_inside",
        "feature": {
          "type": "Feature",
          "properties": {
            "name": "Survey Zone Charlie",
            "type": "operating area"
          },
          "geometry": {
            "type": "Polygon", 
            "coordinates": [
              [
                [
65 66
                  -4.183265,
                  50.337335
Dan Jones's avatar
Dan Jones committed
67 68
                ],
                [
69 70
                  -4.178084,
                  50.33456
Dan Jones's avatar
Dan Jones committed
71 72
                ],
                [
73 74
                  -4.182432,
                  50.331253
Dan Jones's avatar
Dan Jones committed
75 76
                ],
                [
77 78
                  -4.187612,
                  50.334028
Dan Jones's avatar
Dan Jones committed
79 80
                ],
                [
81 82
                  -4.183265,
                  50.337335
Dan Jones's avatar
Dan Jones committed
83 84
                ]
              ]
85
            ]
Dan Jones's avatar
Dan Jones committed
86 87
          }
        }
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
      },
      {
        "instruction": "navigate_to",
        "feature": {
          "type": "Feature",
          "properties": {
            "name": "Target a",
            "type": "target"
          },
          "geometry": {
            "type": "Point", 
            "coordinates": [
              -4.183181,
              50.335942
            ]
          }
        }
105 106
      }
    ],   
107 108 109 110 111 112 113
    "squads": [
      {
        "squad_ID": 1,
        "no_of_platforms": 1,
        "squad_mission_type": "tracking",
        "platforms": [
          {
114
            "operator": "hydrosurv",
115 116
            "model": "reav60",
            "platform_ID": "usvdecibel",
117
            "active": true,
118
            "emergency": {
119 120
              "target_waypoint_latitude": 50.33611100020795,
              "target_waypoint_longitude": -4.189772466767039,
121
              "safe_command": "go_home",
122
              "target_depth": 10.0
123
            },
124
            "min_altitude": 0.0,
125
            "max_velocity": 0.9,
126 127
            "min_velocity": 0.1,
            "target_altitude": 0.0,
128 129 130 131 132
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
133
            "additional_data": {}
134
          }
135
        ]
136 137 138
      },
      {
        "squad_ID": 2,
139
        "no_of_platforms": 4,
140 141 142
        "squad_mission_type": "survey",
        "platforms": [
          {
143 144
            "operator": "planet-ocean",
            "platform_ID": "ecosub-1",
145
            "model": "ecosub",
146
            "active": true,
147
            "beacon_ID": 10021,
148
            "emergency": {
149 150
              "target_waypoint_latitude": 50.32933594228737,
              "target_waypoint_longitude": -4.192219151149999,
151 152 153
              "safe_command": "go_home",
              "target_depth": 10.0
            },
154 155 156 157 158
            "min_altitude": 5.0,
            "max_velocity": 0.9,
            "min_velocity": 0.1,
            "target_altitude": 15.0,
            "turning_radius": 1.5,
159 160 161 162 163
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
            "additional_data": {
                "new_sensor_a": "test_sensor",
                "range": 10.0
            }
          },
          {
            "operator": "planet-ocean",
            "platform_ID": "ecosub-2",
            "model": "ecosub",
179
            "active": true,
180
            "beacon_ID": 10021,
181
            "emergency": {
182 183
              "target_waypoint_latitude": 50.32775207068519,
              "target_waypoint_longitude": -4.192219151149999,
184 185 186 187 188 189 190 191
              "safe_command": "go_home",
              "target_depth": 0.0
            },
            "min_altitude": 5.0,
            "max_velocity": 0.9,
            "min_velocity": 0.1,
            "target_altitude": 15.0,
            "turning_radius": 1.5,
192 193 194 195 196
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
            "additional_data": {
              "new_sensor_a": "test_sensor",
              "range": 10.0
            }
          },
          {
            "operator": "planet-ocean",
            "platform_ID": "ecosub-3",
            "model": "ecosub",
212
            "active": true,
213
            "beacon_ID": 10021,
214
            "emergency": {
215 216
              "target_waypoint_latitude": 50.326744124905844,
              "target_waypoint_longitude": -4.184550412882118,
217 218 219 220
              "safe_command": "go_home",
              "target_depth": 0.0
            },
            "min_altitude": 5.0,
221 222
            "max_velocity": 0.9,
            "min_velocity": 0.1,
223 224
            "target_altitude": 15.0,
            "turning_radius": 1.5,
225 226 227 228 229
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
230 231 232 233 234 235
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
236
            "additional_data": {
237 238
              "new_sensor_a": "test_sensor",
              "range": 10.0
239 240 241
            }
          },
          {
242 243
            "operator": "planet-ocean",
            "platform_ID": "ecosub-4",
244
            "model": "ecosub",
245
            "active": true,
246
            "beacon_ID": 10021,
247
            "emergency": {
248 249
              "target_waypoint_latitude": 50.32616814629094,
              "target_waypoint_longitude": -4.188610333142037,
250 251 252
              "safe_command": "go_home",
              "target_depth": 0.0
            },
253
            "min_altitude": 5.0,
254 255
            "max_velocity": 0.9,
            "min_velocity": 0.1,
256 257 258 259 260 261 262 263
            "target_altitude": 15.0,
            "turning_radius": 1.5,
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
264
            "additional_data": {
265 266
              "new_sensor_a": "test_sensor",
              "range": 10.0
267 268
            }
          }
269
        ]
270 271 272 273 274 275 276
      },
      {
        "squad_ID": 3,
        "no_of_platforms": 1,
        "squad_mission_type": "inspection",
        "platforms": [
          {
277
            "operator": "noc",
278
            "platform_ID": "ah-1",
279
            "model": "autosub",
280
            "active": true,
281
            "beacon_ID": 2407,
282
            "emergency": {
283 284
              "target_waypoint_latitude": 50.3342284629413,
              "target_waypoint_longitude": -4.19759350502369,
285
              "safe_command": "abort_now",
286 287
              "target_depth": 0.0
            },
288
            "min_altitude": 5.0,
289 290
            "max_velocity": 0.9,
            "min_velocity": 0.1,
291 292
            "target_altitude": 15.0,
            "turning_radius": 1.5,
293 294 295 296 297
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
298 299 300 301 302 303
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
304
            "additional_data": {
305 306
              "new_sensor_a": "test_sensor",
              "range": 10.0
307 308
            }
          }
309
        ]
310 311
      }
    ]
312 313
  }
}