Commit 866527c1 authored by Trishna Saeharaseelan's avatar Trishna Saeharaseelan
Browse files

refactor(mission plan): remove flight style

parent 1980868f
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
"plan": [ "plan": [
{ {
"action": "move", "action": "move",
"flight_style": "go to waypoint",
"start_point_latitude": -3.007143188645706, "start_point_latitude": -3.007143188645706,
"start_point_longitude": 50.37072283932642, "start_point_longitude": 50.37072283932642,
"target_waypoint_latitude": -3.237143188645706, "target_waypoint_latitude": -3.237143188645706,
...@@ -26,7 +25,6 @@ ...@@ -26,7 +25,6 @@
}, },
{ {
"action": "dive", "action": "dive",
"flight_style": "dive to depth",
"start_point_latitude": -3.237143188645706, "start_point_latitude": -3.237143188645706,
"start_point_longitude": 52.37072283932642, "start_point_longitude": 52.37072283932642,
"target_waypoint_latitude": -3.337143188645706, "target_waypoint_latitude": -3.337143188645706,
...@@ -37,7 +35,6 @@ ...@@ -37,7 +35,6 @@
}, },
{ {
"action": "scanline", "action": "scanline",
"flight_style": "go to waypoint",
"start_point_latitude": -3.337143188645706, "start_point_latitude": -3.337143188645706,
"start_point_longitude": 56.37072283932642, "start_point_longitude": 56.37072283932642,
"target_waypoint_latitude": -0.237143188645706, "target_waypoint_latitude": -0.237143188645706,
...@@ -48,7 +45,6 @@ ...@@ -48,7 +45,6 @@
}, },
{ {
"action": "climb", "action": "climb",
"flight_style": "go to surface",
"start_point_latitude": -0.237143188645706, "start_point_latitude": -0.237143188645706,
"start_point_longitude": 60.00000000000000, "start_point_longitude": 60.00000000000000,
"target_waypoint_latitude": -0.237143188645706, "target_waypoint_latitude": -0.237143188645706,
......
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
{ {
"model": "reav", "model": "reav",
"platform_ID": "reav-60-1", "platform_ID": "reav-60-1",
"serial": "reav-60",
"emergency": { "emergency": {
"target_waypoint_latitude": -7.432, "target_waypoint_latitude": -7.432,
"target_waypoint_longitude": 50.365, "target_waypoint_longitude": 50.365,
...@@ -88,7 +87,6 @@ ...@@ -88,7 +87,6 @@
"platforms": [ "platforms": [
{ {
"platform_ID": "ecosub-2", "platform_ID": "ecosub-2",
"serial": "ecosub-2",
"model": "ecosub", "model": "ecosub",
"emergency": { "emergency": {
"target_waypoint_latitude": -7.432, "target_waypoint_latitude": -7.432,
...@@ -106,7 +104,6 @@ ...@@ -106,7 +104,6 @@
}, },
{ {
"platform_ID": "ecosub-5", "platform_ID": "ecosub-5",
"serial": "ecosub-5",
"model": "ecosub", "model": "ecosub",
"emergency": { "emergency": {
"additional_data": {}, "additional_data": {},
...@@ -133,7 +130,6 @@ ...@@ -133,7 +130,6 @@
"platforms": [ "platforms": [
{ {
"platform_ID": "139-ah-1", "platform_ID": "139-ah-1",
"serial": "ah-1",
"model": "autosub", "model": "autosub",
"emergency": { "emergency": {
"additional_data": {}, "additional_data": {},
......
...@@ -13,12 +13,6 @@ action_schema = { ...@@ -13,12 +13,6 @@ action_schema = {
+ " `dive`, `send_hits`, `scanline`, `scanpoint`.", + " `dive`, `send_hits`, `scanline`, `scanpoint`.",
"example": "move", "example": "move",
}, },
"flight_style": {
"type": "string",
"description": "Platform-specific modes/flight styles to perform"
+ " next action",
"example": "orbit",
},
"start_point_latitude": { "start_point_latitude": {
"type": "number", "type": "number",
"format": "float", "format": "float",
......
...@@ -53,11 +53,6 @@ platform_schema = { ...@@ -53,11 +53,6 @@ platform_schema = {
"description": "Unique identifier for this platform", "description": "Unique identifier for this platform",
"example": "reav-x-1", "example": "reav-x-1",
}, },
"serial": {
"type": "string",
"description": "platform serial number",
"example": "reav-60",
},
"model": { "model": {
"type": "string", "type": "string",
"example": "reav", "example": "reav",
...@@ -89,7 +84,6 @@ platform_schema = { ...@@ -89,7 +84,6 @@ platform_schema = {
}, },
"required": [ "required": [
"platform_ID", "platform_ID",
"serial",
"model", "model",
"emergency", "emergency",
"min_altitude", "min_altitude",
......
...@@ -136,11 +136,6 @@ ...@@ -136,11 +136,6 @@
"format":"float", "format":"float",
"type":"number" "type":"number"
}, },
"flight_style":{
"description":"Platform-specific modes/flight styles to perform next action",
"example":"orbit",
"type":"string"
},
"send_environmental_data":{ "send_environmental_data":{
"description":"To trigger the platform to send list of observations if any found", "description":"To trigger the platform to send list of observations if any found",
"example":false, "example":false,
...@@ -420,16 +415,10 @@ ...@@ -420,16 +415,10 @@
"description":"Unique identifier for this platform", "description":"Unique identifier for this platform",
"example":"reav-x-1", "example":"reav-x-1",
"type":"string" "type":"string"
},
"serial":{
"description":"platform serial number",
"example":"reav-60",
"type":"string"
} }
}, },
"required":[ "required":[
"platform_ID", "platform_ID",
"serial",
"model", "model",
"emergency", "emergency",
"min_altitude", "min_altitude",
......
...@@ -91,12 +91,6 @@ action_schema = { ...@@ -91,12 +91,6 @@ action_schema = {
+ " `dive`, `send_hits`, `scanline`, `scanpoint`.", + " `dive`, `send_hits`, `scanline`, `scanpoint`.",
"example": "move", "example": "move",
}, },
"flight_style": {
"type": "string",
"description": "Platform-specific modes/flight styles to perform"
+ " next action",
"example": "orbit",
},
"start_point_latitude": { "start_point_latitude": {
"type": "number", "type": "number",
"format": "float", "format": "float",
...@@ -294,11 +288,6 @@ platform_schema = { ...@@ -294,11 +288,6 @@ platform_schema = {
"description": "Unique identifier for this platform", "description": "Unique identifier for this platform",
"example": "reav-x-1", "example": "reav-x-1",
}, },
"serial": {
"type": "string",
"description": "platform serial number",
"example": "reav-60",
},
"model": { "model": {
"type": "string", "type": "string",
"example": "reav", "example": "reav",
...@@ -329,7 +318,6 @@ platform_schema = { ...@@ -329,7 +318,6 @@ platform_schema = {
}, },
"required": [ "required": [
"platform_ID", "platform_ID",
"serial",
"model", "model",
"emergency", "emergency",
"min_altitude", "min_altitude",
......
...@@ -135,11 +135,6 @@ ...@@ -135,11 +135,6 @@
"format": "float", "format": "float",
"type": "number" "type": "number"
}, },
"flight_style": {
"description": "Platform-specific modes/flight styles to perform next action",
"example": "orbit",
"type": "string"
},
"target_waypoint_latitude": { "target_waypoint_latitude": {
"description": "Next waypoint, x-coordinate", "description": "Next waypoint, x-coordinate",
"example": -4.187143188645706, "example": -4.187143188645706,
...@@ -401,16 +396,10 @@ ...@@ -401,16 +396,10 @@
"description": "Unique identifier for this platform", "description": "Unique identifier for this platform",
"example": "reav-x-1", "example": "reav-x-1",
"type": "string" "type": "string"
},
"serial": {
"description": "platform serial number",
"example": "reav-60",
"type": "string"
} }
}, },
"required": [ "required": [
"platform_ID", "platform_ID",
"serial",
"model", "model",
"emergency", "emergency",
"min_altitude", "min_altitude",
......
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