Commit f76a9847 authored by izzat's avatar izzat
Browse files

Merge branch '37-update-config-to-plymouth-real-data' into 'dev'

add endurance rating, active status, warmup time

Closes #37

See merge request !24
parents c5b8f4bd aa13520e
Pipeline #132427 passed with stages
in 58 seconds
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"emergency": true, "emergency": true,
"plan": [ "plan": [
{ {
"action": "safety_abort", "action": "abort_now",
"target_waypoint_latitude": 52.37072283932642, "target_waypoint_latitude": 52.37072283932642,
"target_waypoint_longitude": -3.237143188645706 "target_waypoint_longitude": -3.237143188645706
} }
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"depth": 5.0 "depth": 5.0
}, },
{ {
"action": "safety_abort", "action": "abort_now",
"target_waypoint_latitude": 52.37072283932642, "target_waypoint_latitude": 52.37072283932642,
"target_waypoint_longitude": -3.237143188645706 "target_waypoint_longitude": -3.237143188645706
} }
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
"timeout": 200 "timeout": 200
}, },
{ {
"action": "climb", "action": "dive",
"start_point_latitude": 60.00000000000000, "start_point_latitude": 60.00000000000000,
"start_point_longitude": -0.237143188645706, "start_point_longitude": -0.237143188645706,
"target_waypoint_latitude": 52.37072283932642, "target_waypoint_latitude": 52.37072283932642,
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
"timeout": 300 "timeout": 300
}, },
{ {
"action": "climb", "action": "dive",
"start_point_latitude": 60.00000000000000, "start_point_latitude": 60.00000000000000,
"start_point_longitude": -0.237143188645706, "start_point_longitude": -0.237143188645706,
"target_waypoint_latitude": 52.37072283932642, "target_waypoint_latitude": 52.37072283932642,
......
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
"timestamp": "2022-11-16T00:00:00Z", "timestamp": "2022-11-16T00:00:00Z",
"version": 2, "version": 2,
"source": "autonomy_engine", "source": "autonomy_engine",
"destination": "soar.hydrosurv.reav-60.reav-60-1.to_platform.mission_plan", "destination": "soar.hydrosurv.reav60.usvdecibel.to_platform.mission_plan",
"delivery_type": "publish", "delivery_type": "publish",
"encoded": false "encoded": false
}, },
"payload":{ "payload":{
"message_type": "mission_plan", "message_type": "mission_plan",
"platform_ID": "reav-60-1", "platform_ID": "usvdecibel",
"autonomy_engine_plan_ID": 1, "autonomy_engine_plan_ID": 1,
"plan": [ "plan": [
{ {
......
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
"version": 2, "version": 2,
"source": "gui", "source": "gui",
"destination": "soar.all.all.all.from_platform.planning_configuration", "destination": "soar.all.all.all.from_platform.planning_configuration",
"delivery_type": "publish", "delivery_type": "broadcast",
"encoded": false "encoded": false
}, },
"payload":{ "payload":{
"message_type": "planning_configuration", "message_type": "planning_configuration",
"planning_config_ID": 3, "planning_config_ID": 1,
"exclusion_zones": [ "exclusion_zones": [
{ {
"geometry_coordinates": [ "geometry_coordinates": [
...@@ -76,18 +76,8 @@ ...@@ -76,18 +76,8 @@
{ {
"operator": "hydrosurv", "operator": "hydrosurv",
"model": "reav", "model": "reav",
"platform_ID": "reav-60-1", "platform_ID": "usvdecibel",
"emergency": { "active": true
"target_waypoint_latitude": 50.33611100020795,
"target_waypoint_longitude": -4.189772466767039,
"safe_command": "go_home",
"target_depth": 10.0
},
"min_altitude": 0.0,
"max_velocity": 0.9,
"min_velocity": 0.1,
"target_altitude": 0.0,
"additional_data": {}
} }
] ]
}, },
...@@ -100,6 +90,7 @@ ...@@ -100,6 +90,7 @@
"operator": "planet-ocean", "operator": "planet-ocean",
"platform_ID": "ecosub-1", "platform_ID": "ecosub-1",
"model": "ecosub", "model": "ecosub",
"active": true,
"beacon_ID": 10021, "beacon_ID": 10021,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.32933594228737, "target_waypoint_latitude": 50.32933594228737,
...@@ -112,8 +103,14 @@ ...@@ -112,8 +103,14 @@
"min_velocity": 0.1, "min_velocity": 0.1,
"target_altitude": 15.0, "target_altitude": 15.0,
"turning_radius": 1.5, "turning_radius": 1.5,
"endurance_relative_to_water_speed": {
"min_battery_rating": 2.25,
"max_battery_rating": 1.23,
"avg_battery_rating": 1.9
},
"scan_sensor": { "scan_sensor": {
"sensor_type": "SIDESCAN", "sensor_type": "SIDESCAN",
"warmup_time": 60.0,
"swath_width": 38.0, "swath_width": 38.0,
"frequency": 700.0, "frequency": 700.0,
"angle": 110.0 "angle": 110.0
...@@ -127,6 +124,7 @@ ...@@ -127,6 +124,7 @@
"operator": "planet-ocean", "operator": "planet-ocean",
"platform_ID": "ecosub-2", "platform_ID": "ecosub-2",
"model": "ecosub", "model": "ecosub",
"active": true,
"beacon_ID": 10021, "beacon_ID": 10021,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.32775207068519, "target_waypoint_latitude": 50.32775207068519,
...@@ -139,8 +137,14 @@ ...@@ -139,8 +137,14 @@
"min_velocity": 0.1, "min_velocity": 0.1,
"target_altitude": 15.0, "target_altitude": 15.0,
"turning_radius": 1.5, "turning_radius": 1.5,
"endurance_relative_to_water_speed": {
"min_battery_rating": 2.25,
"max_battery_rating": 1.23,
"avg_battery_rating": 1.9
},
"scan_sensor": { "scan_sensor": {
"sensor_type": "SIDESCAN", "sensor_type": "SIDESCAN",
"warmup_time": 60.0,
"swath_width": 38.0, "swath_width": 38.0,
"frequency": 700.0, "frequency": 700.0,
"angle": 110.0 "angle": 110.0
...@@ -154,6 +158,7 @@ ...@@ -154,6 +158,7 @@
"operator": "planet-ocean", "operator": "planet-ocean",
"platform_ID": "ecosub-3", "platform_ID": "ecosub-3",
"model": "ecosub", "model": "ecosub",
"active": true,
"beacon_ID": 10021, "beacon_ID": 10021,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.326744124905844, "target_waypoint_latitude": 50.326744124905844,
...@@ -166,8 +171,14 @@ ...@@ -166,8 +171,14 @@
"min_velocity": 0.1, "min_velocity": 0.1,
"target_altitude": 15.0, "target_altitude": 15.0,
"turning_radius": 1.5, "turning_radius": 1.5,
"endurance_relative_to_water_speed": {
"min_battery_rating": 2.25,
"max_battery_rating": 1.23,
"avg_battery_rating": 1.9
},
"scan_sensor": { "scan_sensor": {
"sensor_type": "SIDESCAN", "sensor_type": "SIDESCAN",
"warmup_time": 60.0,
"swath_width": 38.0, "swath_width": 38.0,
"frequency": 700.0, "frequency": 700.0,
"angle": 110.0 "angle": 110.0
...@@ -181,6 +192,7 @@ ...@@ -181,6 +192,7 @@
"operator": "planet-ocean", "operator": "planet-ocean",
"platform_ID": "ecosub-4", "platform_ID": "ecosub-4",
"model": "ecosub", "model": "ecosub",
"active": true,
"beacon_ID": 10021, "beacon_ID": 10021,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.32616814629094, "target_waypoint_latitude": 50.32616814629094,
...@@ -195,6 +207,7 @@ ...@@ -195,6 +207,7 @@
"turning_radius": 1.5, "turning_radius": 1.5,
"scan_sensor": { "scan_sensor": {
"sensor_type": "SIDESCAN", "sensor_type": "SIDESCAN",
"warmup_time": 60.0,
"swath_width": 38.0, "swath_width": 38.0,
"frequency": 700.0, "frequency": 700.0,
"angle": 110.0 "angle": 110.0
...@@ -215,7 +228,8 @@ ...@@ -215,7 +228,8 @@
"operator": "noc", "operator": "noc",
"platform_ID": "ah-1", "platform_ID": "ah-1",
"model": "autosub", "model": "autosub",
"beacon_ID":2407, "active": true,
"beacon_ID": 2407,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.3342284629413, "target_waypoint_latitude": 50.3342284629413,
"target_waypoint_longitude": -4.19759350502369, "target_waypoint_longitude": -4.19759350502369,
...@@ -227,8 +241,14 @@ ...@@ -227,8 +241,14 @@
"min_velocity": 0.1, "min_velocity": 0.1,
"target_altitude": 15.0, "target_altitude": 15.0,
"turning_radius": 1.5, "turning_radius": 1.5,
"endurance_relative_to_water_speed": {
"min_battery_rating": 2.25,
"max_battery_rating": 1.23,
"avg_battery_rating": 1.9
},
"scan_sensor": { "scan_sensor": {
"sensor_type": "SIDESCAN", "sensor_type": "SIDESCAN",
"warmup_time": 60.0,
"swath_width": 38.0, "swath_width": 38.0,
"frequency": 700.0, "frequency": 700.0,
"angle": 110.0 "angle": 110.0
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
"timeout": 300 "timeout": 300
}, },
{ {
"action": "climb", "action": "dive",
"start_point_latitude": 60.00000000000000, "start_point_latitude": 60.00000000000000,
"start_point_longitude": -0.237143188645706, "start_point_longitude": -0.237143188645706,
"target_waypoint_latitude": 52.37072283932642, "target_waypoint_latitude": 52.37072283932642,
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"emergency": true, "emergency": true,
"plan": [ "plan": [
{ {
"action": "safety_abort", "action": "abort_now",
"target_waypoint_latitude": 52.37072283932642, "target_waypoint_latitude": 52.37072283932642,
"target_waypoint_longitude": -3.237143188645706 "target_waypoint_longitude": -3.237143188645706
} }
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"depth": 5.0 "depth": 5.0
}, },
{ {
"action": "safety_abort", "action": "abort_now",
"target_waypoint_latitude": 52.37072283932642, "target_waypoint_latitude": 52.37072283932642,
"target_waypoint_longitude": -3.237143188645706 "target_waypoint_longitude": -3.237143188645706
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
}, },
"payload":{ "payload":{
"message_type": "planning_configuration", "message_type": "planning_configuration",
"planning_config_ID": 3, "planning_config_ID": 1,
"exclusion_zones": [ "exclusion_zones": [
{ {
"geometry_coordinates": [ "geometry_coordinates": [
...@@ -75,8 +75,9 @@ ...@@ -75,8 +75,9 @@
"platforms": [ "platforms": [
{ {
"operator": "hydrosurv", "operator": "hydrosurv",
"model": "reav", "model": "reav60",
"platform_ID": "reav-60-1", "platform_ID": "usvdecibel",
"active": true,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.33611100020795, "target_waypoint_latitude": 50.33611100020795,
"target_waypoint_longitude": -4.189772466767039, "target_waypoint_longitude": -4.189772466767039,
...@@ -87,6 +88,11 @@ ...@@ -87,6 +88,11 @@
"max_velocity": 0.9, "max_velocity": 0.9,
"min_velocity": 0.1, "min_velocity": 0.1,
"target_altitude": 0.0, "target_altitude": 0.0,
"endurance_relative_to_water_speed": {
"min_battery_rating": 2.25,
"max_battery_rating": 1.23,
"avg_battery_rating": 1.9
},
"additional_data": {} "additional_data": {}
} }
] ]
...@@ -100,6 +106,7 @@ ...@@ -100,6 +106,7 @@
"operator": "planet-ocean", "operator": "planet-ocean",
"platform_ID": "ecosub-1", "platform_ID": "ecosub-1",
"model": "ecosub", "model": "ecosub",
"active": true,
"beacon_ID": 10021, "beacon_ID": 10021,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.32933594228737, "target_waypoint_latitude": 50.32933594228737,
...@@ -112,6 +119,11 @@ ...@@ -112,6 +119,11 @@
"min_velocity": 0.1, "min_velocity": 0.1,
"target_altitude": 15.0, "target_altitude": 15.0,
"turning_radius": 1.5, "turning_radius": 1.5,
"endurance_relative_to_water_speed": {
"min_battery_rating": 2.25,
"max_battery_rating": 1.23,
"avg_battery_rating": 1.9
},
"scan_sensor": { "scan_sensor": {
"sensor_type": "SIDESCAN", "sensor_type": "SIDESCAN",
"swath_width": 38.0, "swath_width": 38.0,
...@@ -127,6 +139,7 @@ ...@@ -127,6 +139,7 @@
"operator": "planet-ocean", "operator": "planet-ocean",
"platform_ID": "ecosub-2", "platform_ID": "ecosub-2",
"model": "ecosub", "model": "ecosub",
"active": true,
"beacon_ID": 10021, "beacon_ID": 10021,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.32775207068519, "target_waypoint_latitude": 50.32775207068519,
...@@ -139,6 +152,11 @@ ...@@ -139,6 +152,11 @@
"min_velocity": 0.1, "min_velocity": 0.1,
"target_altitude": 15.0, "target_altitude": 15.0,
"turning_radius": 1.5, "turning_radius": 1.5,
"endurance_relative_to_water_speed": {
"min_battery_rating": 2.25,
"max_battery_rating": 1.23,
"avg_battery_rating": 1.9
},
"scan_sensor": { "scan_sensor": {
"sensor_type": "SIDESCAN", "sensor_type": "SIDESCAN",
"swath_width": 38.0, "swath_width": 38.0,
...@@ -154,6 +172,7 @@ ...@@ -154,6 +172,7 @@
"operator": "planet-ocean", "operator": "planet-ocean",
"platform_ID": "ecosub-3", "platform_ID": "ecosub-3",
"model": "ecosub", "model": "ecosub",
"active": true,
"beacon_ID": 10021, "beacon_ID": 10021,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.326744124905844, "target_waypoint_latitude": 50.326744124905844,
...@@ -166,6 +185,11 @@ ...@@ -166,6 +185,11 @@
"min_velocity": 0.1, "min_velocity": 0.1,
"target_altitude": 15.0, "target_altitude": 15.0,
"turning_radius": 1.5, "turning_radius": 1.5,
"endurance_relative_to_water_speed": {
"min_battery_rating": 2.25,
"max_battery_rating": 1.23,
"avg_battery_rating": 1.9
},
"scan_sensor": { "scan_sensor": {
"sensor_type": "SIDESCAN", "sensor_type": "SIDESCAN",
"swath_width": 38.0, "swath_width": 38.0,
...@@ -181,6 +205,7 @@ ...@@ -181,6 +205,7 @@
"operator": "planet-ocean", "operator": "planet-ocean",
"platform_ID": "ecosub-4", "platform_ID": "ecosub-4",
"model": "ecosub", "model": "ecosub",
"active": true,
"beacon_ID": 10021, "beacon_ID": 10021,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.32616814629094, "target_waypoint_latitude": 50.32616814629094,
...@@ -215,7 +240,8 @@ ...@@ -215,7 +240,8 @@
"operator": "noc", "operator": "noc",
"platform_ID": "ah-1", "platform_ID": "ah-1",
"model": "autosub", "model": "autosub",
"beacon_ID":2407, "active": true,
"beacon_ID": 2407,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.3342284629413, "target_waypoint_latitude": 50.3342284629413,
"target_waypoint_longitude": -4.19759350502369, "target_waypoint_longitude": -4.19759350502369,
...@@ -227,6 +253,11 @@ ...@@ -227,6 +253,11 @@
"min_velocity": 0.1, "min_velocity": 0.1,
"target_altitude": 15.0, "target_altitude": 15.0,
"turning_radius": 1.5, "turning_radius": 1.5,
"endurance_relative_to_water_speed": {
"min_battery_rating": 2.25,
"max_battery_rating": 1.23,
"avg_battery_rating": 1.9
},
"scan_sensor": { "scan_sensor": {
"sensor_type": "SIDESCAN", "sensor_type": "SIDESCAN",
"swath_width": 38.0, "swath_width": 38.0,
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
"timestamp": "2022-11-16T00:00:00Z", "timestamp": "2022-11-16T00:00:00Z",
"version": 1, "version": 1,
"source": "hydrosurv_adapter", "source": "hydrosurv_adapter",
"destination": "soar.hydrosurv.reav-60.reav-60-1.from_platform.acknowledgement", "destination": "soar.hydrosurv.reav60.usvdecibel.from_platform.acknowledgement",
"delivery_type": "publish", "delivery_type": "publish",
"encoded": false "encoded": false
}, },
"payload":{ "payload":{
"message_type": "acknowledgement", "message_type": "acknowledgement",
"autonomy_engine_plan_ID": 1, "autonomy_engine_plan_ID": 1,
"platform_ID": "reav-60-1", "platform_ID": "usvdecibel",
"approved": false "approved": false
} }
} }
\ No newline at end of file
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
"timestamp": "2022-11-16T00:00:00Z", "timestamp": "2022-11-16T00:00:00Z",
"version": 2, "version": 2,
"source": "autonomy_engine", "source": "autonomy_engine",
"destination": "soar.hydrosurv.reav-60.reav-60-1.to_platform.mission_plan", "destination": "soar.hydrosurv.reav60.usvdecibel.to_platform.mission_plan",
"delivery_type": "publish", "delivery_type": "publish",
"encoded": false "encoded": false
}, },
"payload":{ "payload":{
"message_type": "mission_plan", "message_type": "mission_plan",
"platform_ID": "reav-60-1", "platform_ID": "usvdecibel",
"autonomy_engine_plan_ID": 1, "autonomy_engine_plan_ID": 1,
"plan": [ "plan": [
{ {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"timestamp": "2022-11-16T00:00:00Z", "timestamp": "2022-11-16T00:00:00Z",
"version": 2, "version": 2,
"source": "hydrosurv_adapter", "source": "hydrosurv_adapter",
"destination": "soar.hydrosurv.reav-60.reav-60-1.from_platform.platform_status", "destination": "soar.hydrosurv.reav60.usvdecibel.from_platform.platform_status",
"delivery_type": "publish", "delivery_type": "publish",
"encoded": false "encoded": false
}, },
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"longitude": -10.122, "longitude": -10.122,
"mission_plan_ID": 1, "mission_plan_ID": 1,
"mission_track_ID": 4, "mission_track_ID": 4,
"platform_ID": "reav-60-1", "platform_ID": "usvdecibel",
"platform_state": "ABORT", "platform_state": "ABORT",
"platform_timestamp": "2022-12-21T00:00:00Z", "platform_timestamp": "2022-12-21T00:00:00Z",
"speed_over_ground": 4.5, "speed_over_ground": 4.5,
......
...@@ -11,6 +11,18 @@ action_schema = { ...@@ -11,6 +11,18 @@ action_schema = {
"type": "string", "type": "string",
"description": "Autonomy Engine's action from `move`, `payload`," "description": "Autonomy Engine's action from `move`, `payload`,"
+ " `dive`, `send_hits`, `scanline`, `scanpoint`.", + " `dive`, `send_hits`, `scanline`, `scanpoint`.",
"enum": [
"move",
"payload",
"dive",
"send_hits",
"scanline",
"scanpoint",
"go_home",
"surface_now",
"stop_mission",
"abort_now",
],
"example": "move", "example": "move",
}, },
"start_point_latitude": { "start_point_latitude": {
......
...@@ -8,7 +8,7 @@ emergency_schema = { ...@@ -8,7 +8,7 @@ emergency_schema = {
"properties": { "properties": {
"safe_command": { "safe_command": {
"type": "string", "type": "string",
"enum": ["go_home", "abort_now", "stop_mission"], "enum": ["go_home", "abort_now", "stop_now", "surface_now"],
"description": "Command/Action that is native to respective" "description": "Command/Action that is native to respective"
+ " partner's platform/C2", + " partner's platform/C2",
"example": "go_home", "example": "go_home",
...@@ -40,6 +40,33 @@ emergency_schema = { ...@@ -40,6 +40,33 @@ emergency_schema = {
], ],
} }
endurance_relative_water_speed_schema = {
"type": "object",
"properties": {
"min_battery_rating": {
"type": "number",
"format": "float",
"description": "Battery endurance rating during maximum speed usage (m/s)",
"example": 3.32,
},
"max_battery_rating": {
"type": "number",
"format": "float",
"description": "Battery endurance rating during maximum speed usage (m/s)",
"example": 1.23,
},
"avg_battery_rating": {
"type": "number",
"format": "float",
"description": (
"Battery endurance rating during standard operational"
+ " speed usage (m/s)"
),
"example": 1.9,
},
},
}
scan_sensor_schema = { scan_sensor_schema = {
"type": "object", "type": "object",
...@@ -50,6 +77,12 @@ scan_sensor_schema = { ...@@ -50,6 +77,12 @@ scan_sensor_schema = {
"example": "MBES", "example": "MBES",
"enum": ["SIDESCAN", "MBES"], "enum": ["SIDESCAN", "MBES"],
}, },
"warmup_time": {
"type": "number",
"format": "float",
"description": "Warmup time (seconds) for sensor to start up.",
"example": 180.0,
},
"swath_width": { "swath_width": {
"type": "number", "type": "number",
"format": "float", "format": "float",
...@@ -96,6 +129,11 @@ platform_schema = { ...@@ -96,6 +129,11 @@ platform_schema = {
+ "associated to this platform", + "associated to this platform",
"example": 2407, "example": 2407,
}, },
"active": {
"type": "boolean",
"description": "If platform is active = True, and inactive = False",
"example": True,
},
"emergency": emergency_schema, "emergency": emergency_schema,
"min_altitude": { "min_altitude": {
"type": "number", "type": "number",
...@@ -127,6 +165,7 @@ platform_schema = { ...@@ -127,6 +165,7 @@ platform_schema = {
"description": "Turning radius of platform (in metres)", "description": "Turning radius of platform (in metres)",
"example": 1.0, "example": 1.0,
}, },
"endurance_relative_to_water_speed": endurance_relative_water_speed_schema,
"scan_sensor": scan_sensor_schema, "scan_sensor": scan_sensor_schema,
"additional_data": { "additional_data": {
"description": "Any addition fields/data to be added here", "description": "Any addition fields/data to be added here",
...@@ -137,11 +176,8 @@ platform_schema = { ...@@ -137,11 +176,8 @@ platform_schema = {
"required": [ "required": [
"operator", "operator",
"platform_ID", "platform_ID",
"active",
"model", "model",
"emergency",
"min_altitude",
"min_velocity",
"max_velocity",
], ],
} }
......
...@@ -126,6 +126,18 @@ ...@@ -126,6 +126,18 @@
"properties":{ "properties":{
"action":{ "action":{
"description":"Autonomy Engine's action from `move`, `payload`, `dive`, `send_hits`, `scanline`, `scanpoint`.", "description":"Autonomy Engine's action from `move`, `payload`, `dive`, `send_hits`, `scanline`, `scanpoint`.",
"enum":[
"move",
"payload",
"dive",
"send_hits",
"scanline",
"scanpoint",
"go_home",
"surface_now",
"stop_mission",
"abort_now"
],
"example":"move", "example":"move",
"type":"string" "type":"string"
}, },
...@@ -487,6 +499,11 @@ ...@@ -487,6 +499,11 @@
"description":"Squad consists of these platforms", "description":"Squad consists of these platforms",
"items":{ "items":{
"properties":{ "properties":{
"active":{
"description":"If platform is active = True, and inactive = False",
"example":true,
"type":"boolean"
},
"additional_data":{ "additional_data":{
"description":"Any addition fields/data to be added here", "description":"Any addition fields/data to be added here",
"example":{ "example":{
...@@ -507,7 +524,8 @@ ...@@ -507,7 +524,8 @@
"enum":[ "enum":[
"go_home", "go_home",
"abort_now", "abort_now",
"stop_mission" "stop_now",
"surface_now"
], ],
"example":"go_home", "example":"go_home",
"type":"string" "type":"string"
...@@ -538,6 +556,29 @@ ...@@ -538,6 +556,29 @@
], ],
"type":"object" "type":"object"
}, },
"endurance_relative_to_water_speed":{
"properties":{
"avg_battery_rating":{
"description":"Battery endurance rating during standard operational speed usage (m/s)",
"example":1.9,
"format":"float",
"type":"number"
},
"max_battery_rating":{
"description":"Battery endurance rating during maximum speed usage (m/s)",
"example":1.23,
"format":"float",
"type":"number"
},
"min_battery_rating":{
"description":"Battery endurance rating during maximum speed usage (m/s)",
"example":3.32,
"format":"float",
"type":"number"
}
},
"type":"object"
},
"max_velocity":{ "max_velocity":{
"description":"Maximum velocity set for platform", "description":"Maximum velocity set for platform",
"example":0.9, "example":0.9,
...@@ -598,6 +639,12 @@ ...@@ -598,6 +639,12 @@
"example":38.0, "example":38.0,
"format":"float", "format":"float",
"type":"number" "type":"number"
},
"warmup_time":{
"description":"Warmup time (seconds) for sensor to start up.",
"example":180.0,
"format":"float",
"type":"number"
} }
}, },
"type":"object" "type":"object"
...@@ -618,11 +665,8 @@ ...@@ -618,11 +665,8 @@
"required":[ "required":[
"operator", "operator",
"platform_ID", "platform_ID",
"model", "active",
"emergency", "model"
"min_altitude",
"min_velocity",
"max_velocity"
], ],
"type":"object" "type":"object"
}, },
......
...@@ -250,7 +250,7 @@ emergency_schema = { ...@@ -250,7 +250,7 @@ emergency_schema = {
"properties": { "properties": {
"safe_command": { "safe_command": {
"type": "string", "type": "string",
"enum": ["go_home", "abort_now", "stop_mission"], "enum": ["go_home", "abort_now", "stop_now", "surface_now"],
"description": "Command/Action that is native to respective" "description": "Command/Action that is native to respective"
+ " partner's platform/C2", + " partner's platform/C2",
"example": "go_home", "example": "go_home",
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment