Commit b4cce42a authored by Trishna Saeharaseelan's avatar Trishna Saeharaseelan
Browse files

fix: lint

...@@ -37,7 +37,11 @@ emergency_schema = { ...@@ -37,7 +37,11 @@ emergency_schema = {
"example": {}, "example": {},
}, },
}, },
"required": ["target_waypoint_latitude", "target_waypoint_longitude", "target_depth"], "required": [
"target_waypoint_latitude",
"target_waypoint_longitude",
"target_depth",
],
} }
......
...@@ -103,7 +103,7 @@ platform_status_schema = { ...@@ -103,7 +103,7 @@ platform_status_schema = {
}, },
"mission_plan_ID": { "mission_plan_ID": {
"type": "integer", "type": "integer",
"description": "Mission plan ID according to local platform-C2 system", "description": "Mission plan ID according to platform-C2 system",
"example": 1, "example": 1,
}, },
"range_to_go": { "range_to_go": {
...@@ -138,19 +138,22 @@ platform_status_schema = { ...@@ -138,19 +138,22 @@ platform_status_schema = {
}, },
"health_status": { "health_status": {
"type": "boolean", "type": "boolean",
"description": "Health status where 0 is OK, 1 is platform has an ERROR", "description": "Health status where 0 is OK, 1 is platform has"
+ " an ERROR",
"example": False, "example": False,
}, },
"localisation_north_error": { "localisation_north_error": {
"type": "number", "type": "number",
"format": "float", "format": "float",
"description": "Difference in NORTH between deadreckoning and USBL update.", "description": "Difference in NORTH between deadreckoning"
+ " and USBL update.",
"example": 0.000129, "example": 0.000129,
}, },
"localisation_east_error": { "localisation_east_error": {
"type": "number", "type": "number",
"format": "float", "format": "float",
"description": "Difference in EAST between deadreckoning and USBL update.", "description": "Difference in EAST between deadreckoning"
+ "and USBL update.",
"example": 0.000129, "example": 0.000129,
}, },
"usbl_fix_seconds_ago": { "usbl_fix_seconds_ago": {
......
...@@ -570,7 +570,7 @@ ...@@ -570,7 +570,7 @@
"type": "string" "type": "string"
}, },
"mission_plan_ID": { "mission_plan_ID": {
"description": "Mission plan ID according to local platform-C2 system", "description": "Mission plan ID according to platform-C2 system",
"example": 1, "example": 1,
"type": "integer" "type": "integer"
}, },
......
...@@ -272,7 +272,11 @@ emergency_schema = { ...@@ -272,7 +272,11 @@ emergency_schema = {
"example": {}, "example": {},
}, },
}, },
"required": ["target_waypoint_latitude", "target_waypoint_longitude", "target_depth"], "required": [
"target_waypoint_latitude",
"target_waypoint_longitude",
"target_depth",
],
} }
...@@ -521,7 +525,7 @@ platform_status_schema = { ...@@ -521,7 +525,7 @@ platform_status_schema = {
}, },
"mission_plan_ID": { "mission_plan_ID": {
"type": "integer", "type": "integer",
"description": "Mission plan ID according to local platform-C2 system", "description": "Mission plan ID according to platform-C2 system",
"example": 1, "example": 1,
}, },
"range_to_go": { "range_to_go": {
...@@ -557,19 +561,22 @@ platform_status_schema = { ...@@ -557,19 +561,22 @@ platform_status_schema = {
}, },
"health_status": { "health_status": {
"type": "boolean", "type": "boolean",
"description": "Health status where 0 is OK, 1 is platform has an ERROR", "description": "Health status where 0 is OK, 1 is platform"
+ " has an ERROR",
"example": False, "example": False,
}, },
"localisation_north_error": { "localisation_north_error": {
"type": "number", "type": "number",
"format": "float", "format": "float",
"description": "Difference in NORTH between deadreckoning and USBL update.", "description": "Difference in NORTH between deadreckoning"
+ " and USBL update.",
"example": 0.000129, "example": 0.000129,
}, },
"localisation_east_error": { "localisation_east_error": {
"type": "number", "type": "number",
"format": "float", "format": "float",
"description": "Difference in EAST between deadreckoning and USBL update.", "description": "Difference in EAST between deadreckoning"
+ " and USBL update.",
"example": 0.000129, "example": 0.000129,
}, },
"usbl_fix_seconds_ago": { "usbl_fix_seconds_ago": {
......
...@@ -551,7 +551,7 @@ ...@@ -551,7 +551,7 @@
"type": "string" "type": "string"
}, },
"mission_plan_ID": { "mission_plan_ID": {
"description": "Mission plan ID according to local platform-C2 system", "description": "Mission plan ID according to platform-C2 system",
"example": 1, "example": 1,
"type": "integer" "type": "integer"
}, },
......
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