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