planning_configuration.json 7.63 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
    "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,
14 15
    "exclusion_zones": [
      {
16 17 18
        "geometry": {
          "type": "Polygon", 
          "coordinates": [
19
            [
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
              [
                -4.1777839187560915,
                50.34173405662855
              ],
              [
                -4.1777839187560915,
                50.33820949229701
              ],
              [
                -4.143667777943875,
                50.33820949229701
              ],
              [
                -4.143667777943875,
                50.34173405662855
              ],
              [
                -4.1777839187560915,
                50.34173405662855
              ]
40 41
            ]
          ]
42
        }
43 44
      }
    ],
45 46
    "region_of_interest": [
      {
47 48 49
        "geometry": {
          "type": "Polygon", 
          "coordinates": [
50
            [
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
              [
                -4.1777839187560915,
                50.34173405662855
              ],
              [
                -4.1777839187560915,
                50.33820949229701
              ],
              [
                -4.143667777943875,
                50.33820949229701
              ],
              [
                -4.143667777943875,
                50.34173405662855
              ],
              [
                -4.1777839187560915,
                50.34173405662855
              ]
71 72
            ]
          ]
73
        }
74 75
      }
    ],   
76 77 78 79 80 81 82
    "squads": [
      {
        "squad_ID": 1,
        "no_of_platforms": 1,
        "squad_mission_type": "tracking",
        "platforms": [
          {
83
            "operator": "hydrosurv",
84
            "model": "reav",
85
            "platform_ID": "usvdecibel",
Trishna Saeharaseelan's avatar
Trishna Saeharaseelan committed
86
            "active": true
87
          }
88
        ]
89 90 91
      },
      {
        "squad_ID": 2,
92
        "no_of_platforms": 4,
93 94 95
        "squad_mission_type": "survey",
        "platforms": [
          {
96
            "operator": "planet-ocean",
97
            "platform_ID": "ecosub-1",
98
            "model": "ecosub",
99
            "active": true,
100
            "beacon_ID": 10021,
101
            "emergency": {
102 103
              "target_waypoint_latitude": 50.32933594228737,
              "target_waypoint_longitude": -4.192219151149999,
104 105 106
              "safe_command": "go_home",
              "target_depth": 10.0
            },
107
            "min_altitude": 5.0,
108 109
            "max_velocity": 0.9,
            "min_velocity": 0.1,
110 111
            "target_altitude": 15.0,
            "turning_radius": 1.5,
112 113 114 115 116
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
117 118
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
119
              "warmup_time": 60.0,
120 121 122 123
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
124
            "additional_data": {
125 126
                "new_sensor_a": "test_sensor",
                "range": 10.0
127 128 129
            }
          },
          {
130
            "operator": "planet-ocean",
131
            "platform_ID": "ecosub-2",
132
            "model": "ecosub",
133
            "active": true,
134
            "beacon_ID": 10021,
135
            "emergency": {
136 137
              "target_waypoint_latitude": 50.32775207068519,
              "target_waypoint_longitude": -4.192219151149999,
138 139 140
              "safe_command": "go_home",
              "target_depth": 0.0
            },
141
            "min_altitude": 5.0,
142 143
            "max_velocity": 0.9,
            "min_velocity": 0.1,
144 145
            "target_altitude": 15.0,
            "turning_radius": 1.5,
146 147 148 149 150
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
151 152
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
153
              "warmup_time": 60.0,
154 155 156 157
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
158
            "additional_data": {
159 160 161 162 163 164 165 166
              "new_sensor_a": "test_sensor",
              "range": 10.0
            }
          },
          {
            "operator": "planet-ocean",
            "platform_ID": "ecosub-3",
            "model": "ecosub",
167
            "active": true,
168
            "beacon_ID": 10021,
169
            "emergency": {
170 171
              "target_waypoint_latitude": 50.326744124905844,
              "target_waypoint_longitude": -4.184550412882118,
172 173 174 175 176 177 178 179
              "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,
180 181 182 183 184
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
185 186
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
187
              "warmup_time": 60.0,
188 189 190 191 192 193 194 195 196 197 198 199 200
              "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",
201
            "active": true,
202
            "beacon_ID": 10021,
203
            "emergency": {
204 205
              "target_waypoint_latitude": 50.32616814629094,
              "target_waypoint_longitude": -4.188610333142037,
206 207 208 209 210 211 212 213 214 215
              "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",
216
              "warmup_time": 60.0,
217 218 219 220 221 222 223
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
            "additional_data": {
              "new_sensor_a": "test_sensor",
              "range": 10.0
224 225
            }
          }
226
        ]
227 228 229 230 231 232 233
      },
      {
        "squad_ID": 3,
        "no_of_platforms": 1,
        "squad_mission_type": "inspection",
        "platforms": [
          {
234
            "operator": "noc",
235
            "platform_ID": "ah-1",
236
            "model": "autosub",
237
            "active": true,
238
            "beacon_ID": 2407,
239
            "emergency": {
240 241
              "target_waypoint_latitude": 50.3342284629413,
              "target_waypoint_longitude": -4.19759350502369,
242
              "safe_command": "abort_now",
243 244
              "target_depth": 0.0
            },
245
            "min_altitude": 5.0,
246 247
            "max_velocity": 0.9,
            "min_velocity": 0.1,
248 249
            "target_altitude": 15.0,
            "turning_radius": 1.5,
250 251 252 253 254
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
255 256
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
257
              "warmup_time": 60.0,
258 259 260 261
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
262
            "additional_data": {
263 264
              "new_sensor_a": "test_sensor",
              "range": 10.0
265 266
            }
          }
267
        ]
268 269
      }
    ]
270 271
  }
}