Commit 011b8b15 authored by Trishna Saeharaseelan's avatar Trishna Saeharaseelan
Browse files

refactor: update information for hydrosurv and examples

parent df7f866a
Pipeline #132420 failed with stages
in 51 seconds
...@@ -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,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"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":{
...@@ -76,24 +76,10 @@ ...@@ -76,24 +76,10 @@
{ {
"operator": "hydrosurv", "operator": "hydrosurv",
"model": "reav", "model": "reav",
"platform_ID": "reav-60-1", "platform_ID": "usvdecibel",
"active": true, "active": true,
"emergency": {
"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, "max_velocity": 0.9,
"min_velocity": 0.1, "min_velocity": 0.1,
"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": {}
} }
] ]
}, },
......
...@@ -75,8 +75,8 @@ ...@@ -75,8 +75,8 @@
"platforms": [ "platforms": [
{ {
"operator": "hydrosurv", "operator": "hydrosurv",
"model": "reav", "model": "reav60",
"platform_ID": "reav-60-1", "platform_ID": "usvdecibel",
"active": true, "active": true,
"emergency": { "emergency": {
"target_waypoint_latitude": 50.33611100020795, "target_waypoint_latitude": 50.33611100020795,
......
...@@ -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,
......
...@@ -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",
...@@ -178,7 +178,6 @@ platform_schema = { ...@@ -178,7 +178,6 @@ platform_schema = {
"platform_ID", "platform_ID",
"active", "active",
"model", "model",
"emergency",
"min_altitude", "min_altitude",
"min_velocity", "min_velocity",
"max_velocity", "max_velocity",
......
...@@ -524,7 +524,8 @@ ...@@ -524,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"
...@@ -666,7 +667,6 @@ ...@@ -666,7 +667,6 @@
"platform_ID", "platform_ID",
"active", "active",
"model", "model",
"emergency",
"min_altitude", "min_altitude",
"min_velocity", "min_velocity",
"max_velocity" "max_velocity"
......
...@@ -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