planning_configuration.json 8.11 KB
Newer Older
1
{
2
  "header":{
3
    "message_ID": "b427003c-0000-11aa-a1eb-b1cdf2342fdd",
4 5
    "timestamp": "2022-11-16T00:00:00Z",
    "version": 2,
6
    "source": "gui",
7
    "destination": "",
8
    "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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
        "instruction": "stay_outside",
        "feature": {
          "type": "Feature",
          "properties": {
            "name": "The Rock",
            "type": "exclusion_zone"
          },
          "geometry": {
            "type": "Polygon", 
            "coordinates": [
              [
                [
                  -4.1777839187560915,
                  50.34173405662855
                ],
                [
                  -4.1777839187560915,
                  50.33820949229701
                ],
                [
                  -4.143667777943875,
                  50.33820949229701
                ],
                [
                  -4.143667777943875,
                  50.34173405662855
                ],
                [
                  -4.1777839187560915,
                  50.34173405662855
                ]
              ]
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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
        "instruction": "stay_inside",
        "feature": {
          "type": "Feature",
          "properties": {
            "name": "Survey Zone Charlie",
            "type": "operating area"
          },
          "geometry": {
            "type": "Polygon", 
            "coordinates": [
              [
                [
                  -4.1777839187560915,
                  50.34173405662855
                ],
                [
                  -4.1777839187560915,
                  50.33820949229701
                ],
                [
                  -4.143667777943875,
                  50.33820949229701
                ],
                [
                  -4.143667777943875,
                  50.34173405662855
                ],
                [
                  -4.1777839187560915,
                  50.34173405662855
                ]
              ]
85
            ]
Dan Jones's avatar
Dan Jones committed
86 87
          }
        }
88 89
      }
    ],   
90 91 92 93 94 95 96
    "squads": [
      {
        "squad_ID": 1,
        "no_of_platforms": 1,
        "squad_mission_type": "tracking",
        "platforms": [
          {
97
            "operator": "hydrosurv",
98
            "model": "reav",
99
            "platform_ID": "usvdecibel",
Trishna Saeharaseelan's avatar
Trishna Saeharaseelan committed
100
            "active": true
101
          }
102
        ]
103 104 105
      },
      {
        "squad_ID": 2,
106
        "no_of_platforms": 4,
107 108 109
        "squad_mission_type": "survey",
        "platforms": [
          {
110
            "operator": "planet-ocean",
111
            "platform_ID": "ecosub-1",
112
            "model": "ecosub",
113
            "active": true,
114
            "beacon_ID": 10021,
115
            "emergency": {
116 117
              "target_waypoint_latitude": 50.32933594228737,
              "target_waypoint_longitude": -4.192219151149999,
118 119 120
              "safe_command": "go_home",
              "target_depth": 10.0
            },
121
            "min_altitude": 5.0,
122 123
            "max_velocity": 0.9,
            "min_velocity": 0.1,
124 125
            "target_altitude": 15.0,
            "turning_radius": 1.5,
126 127 128 129 130
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
131 132
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
133
              "warmup_time": 60.0,
134 135 136 137
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
138
            "additional_data": {
139 140
                "new_sensor_a": "test_sensor",
                "range": 10.0
141 142 143
            }
          },
          {
144
            "operator": "planet-ocean",
145
            "platform_ID": "ecosub-2",
146
            "model": "ecosub",
147
            "active": true,
148
            "beacon_ID": 10021,
149
            "emergency": {
150 151
              "target_waypoint_latitude": 50.32775207068519,
              "target_waypoint_longitude": -4.192219151149999,
152 153 154
              "safe_command": "go_home",
              "target_depth": 0.0
            },
155
            "min_altitude": 5.0,
156 157
            "max_velocity": 0.9,
            "min_velocity": 0.1,
158 159
            "target_altitude": 15.0,
            "turning_radius": 1.5,
160 161 162 163 164
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
165 166
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
167
              "warmup_time": 60.0,
168 169 170 171
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
172
            "additional_data": {
173 174 175 176 177 178 179 180
              "new_sensor_a": "test_sensor",
              "range": 10.0
            }
          },
          {
            "operator": "planet-ocean",
            "platform_ID": "ecosub-3",
            "model": "ecosub",
181
            "active": true,
182
            "beacon_ID": 10021,
183
            "emergency": {
184 185
              "target_waypoint_latitude": 50.326744124905844,
              "target_waypoint_longitude": -4.184550412882118,
186 187 188 189 190 191 192 193
              "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,
194 195 196 197 198
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
199 200
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
201
              "warmup_time": 60.0,
202 203 204 205 206 207 208 209 210 211 212 213 214
              "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-4",
            "model": "ecosub",
215
            "active": true,
216
            "beacon_ID": 10021,
217
            "emergency": {
218 219
              "target_waypoint_latitude": 50.32616814629094,
              "target_waypoint_longitude": -4.188610333142037,
220 221 222 223 224 225 226 227 228 229
              "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,
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
230
              "warmup_time": 60.0,
231 232 233 234 235 236 237
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
            "additional_data": {
              "new_sensor_a": "test_sensor",
              "range": 10.0
238 239
            }
          }
240
        ]
241 242 243 244 245 246 247
      },
      {
        "squad_ID": 3,
        "no_of_platforms": 1,
        "squad_mission_type": "inspection",
        "platforms": [
          {
248
            "operator": "noc",
249
            "platform_ID": "ah-1",
250
            "model": "autosub",
251
            "active": true,
252
            "beacon_ID": 2407,
253
            "emergency": {
254 255
              "target_waypoint_latitude": 50.3342284629413,
              "target_waypoint_longitude": -4.19759350502369,
256
              "safe_command": "abort_now",
257 258
              "target_depth": 0.0
            },
259
            "min_altitude": 5.0,
260 261
            "max_velocity": 0.9,
            "min_velocity": 0.1,
262 263
            "target_altitude": 15.0,
            "turning_radius": 1.5,
264 265 266 267 268
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
269 270
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
271
              "warmup_time": 60.0,
272 273 274 275
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
276
            "additional_data": {
277 278
              "new_sensor_a": "test_sensor",
              "range": 10.0
279 280
            }
          }
281
        ]
282 283
      }
    ]
284 285
  }
}