diff --git a/examples/autonomy_engine_adapter/mission_plan_AH1.json b/examples/autonomy_engine_adapter/mission_plan_AH1.json index 57666f68a614d9d19b028224151ced215a0c7a23..99d42e1be88ec3992cf8c05f626bd43a6b7096ad 100644 --- a/examples/autonomy_engine_adapter/mission_plan_AH1.json +++ b/examples/autonomy_engine_adapter/mission_plan_AH1.json @@ -53,7 +53,7 @@ "start_point_longitude": 60.00000000000000, "target_waypoint_latitude": -0.237143188645706, "target_waypoint_longitude": 52.37072283932642, - "depth": 0, + "depth": 0.0, "activate_payload": false, "send_environmental_data": true } diff --git a/examples/autonomy_engine_adapter/mission_plan_ECOSUB.json b/examples/autonomy_engine_adapter/mission_plan_ECOSUB.json index 47becbc5400bde98c288378cbdfef3219ba0c939..3ba5aacbc7195524749c9fa05f4cd5d181b9acf9 100644 --- a/examples/autonomy_engine_adapter/mission_plan_ECOSUB.json +++ b/examples/autonomy_engine_adapter/mission_plan_ECOSUB.json @@ -53,7 +53,7 @@ "start_point_longitude": 60.00000000000000, "target_waypoint_latitude": -0.237143188645706, "target_waypoint_longitude": 52.37072283932642, - "depth": 0, + "depth": 0.0, "activate_payload": false, "send_environmental_data": true } diff --git a/examples/autonomy_engine_adapter/planning_configuration.json b/examples/autonomy_engine_adapter/planning_configuration.json index e3f18a3668497e9bf2ff64ffa6b5ef8543410915..1c76fcdd53e1c4f0d1a273ec1f6387440c87ca11 100644 --- a/examples/autonomy_engine_adapter/planning_configuration.json +++ b/examples/autonomy_engine_adapter/planning_configuration.json @@ -51,7 +51,7 @@ "target_waypoint_latitude": -7.432, "target_waypoint_longitude": 50.365, "safe_command": "go_home", - "target_depth": 10 + "target_depth": 10.0 }, "max_velocity": 0.9, "min_altitude": 15.2, diff --git a/examples/autonomy_engine_adapter/platform_status-from_usbl_example.json b/examples/autonomy_engine_adapter/platform_status-from_usbl_example.json index 6721a35ffe5177d21fa0594dbf5c9d90bf6043bf..6a506d973a4a838ca670220198d7e958485d71a4 100644 --- a/examples/autonomy_engine_adapter/platform_status-from_usbl_example.json +++ b/examples/autonomy_engine_adapter/platform_status-from_usbl_example.json @@ -15,7 +15,7 @@ "status_source": "usbl", "latitude": 178.2, "longitude": -10.122, - "depth": 50, - "altitude": 20 + "depth": 50.0, + "altitude": 20.0 } } diff --git a/examples/autonomy_engine_adapter/platform_status.json b/examples/autonomy_engine_adapter/platform_status.json index 26cd4fa54f47df5066d01b7fe874590e1d9e4895..6fb29e0b882a0cef6981e438225da2ee9353f38a 100644 --- a/examples/autonomy_engine_adapter/platform_status.json +++ b/examples/autonomy_engine_adapter/platform_status.json @@ -21,11 +21,12 @@ "mission_track_ID": 4, "latitude": 178.2, "longitude": -10.122, - "depth": 50, + "depth": 50.0, "altitude": 20, "heading": 90.0, - "health_status": "Warning", - "localisation_error": 0, + "health_status": false, + "localisation_north_error": 0, + "localisation_east_error": 0, "usbl_fix_seconds_ago": 0, "range_to_go": 124.3, "sensor_config": { @@ -36,7 +37,6 @@ "whiskers_on": true } }, - "current_pitch": -4, "speed_over_ground": 4.3, "thrust_applied": 124.3, "water_current_velocity": 124.3 diff --git a/examples/ecosub_adapter/mission_plan.json b/examples/ecosub_adapter/mission_plan.json index 47becbc5400bde98c288378cbdfef3219ba0c939..3ba5aacbc7195524749c9fa05f4cd5d181b9acf9 100644 --- a/examples/ecosub_adapter/mission_plan.json +++ b/examples/ecosub_adapter/mission_plan.json @@ -53,7 +53,7 @@ "start_point_longitude": 60.00000000000000, "target_waypoint_latitude": -0.237143188645706, "target_waypoint_longitude": 52.37072283932642, - "depth": 0, + "depth": 0.0, "activate_payload": false, "send_environmental_data": true } diff --git a/examples/ecosub_adapter/platform_status-from_usbl_example.json b/examples/ecosub_adapter/platform_status-from_usbl_example.json index 6721a35ffe5177d21fa0594dbf5c9d90bf6043bf..6a506d973a4a838ca670220198d7e958485d71a4 100644 --- a/examples/ecosub_adapter/platform_status-from_usbl_example.json +++ b/examples/ecosub_adapter/platform_status-from_usbl_example.json @@ -15,7 +15,7 @@ "status_source": "usbl", "latitude": 178.2, "longitude": -10.122, - "depth": 50, - "altitude": 20 + "depth": 50.0, + "altitude": 20.0 } } diff --git a/examples/ecosub_adapter/platform_status.json b/examples/ecosub_adapter/platform_status.json index b82beba2ed793f2c39fee7dd789ed142e6ce5b57..6fb29e0b882a0cef6981e438225da2ee9353f38a 100644 --- a/examples/ecosub_adapter/platform_status.json +++ b/examples/ecosub_adapter/platform_status.json @@ -17,15 +17,16 @@ "battery_remaining_capacity": 80.2, "active": true, "platform_state": "ABORT", - "mission_action_ID": 1, + "mission_plan_ID": 1, "mission_track_ID": 4, "latitude": 178.2, "longitude": -10.122, - "depth": 50, + "depth": 50.0, "altitude": 20, "heading": 90.0, - "health_status": "Warning", - "localisation_error": 0, + "health_status": false, + "localisation_north_error": 0, + "localisation_east_error": 0, "usbl_fix_seconds_ago": 0, "range_to_go": 124.3, "sensor_config": { @@ -36,7 +37,6 @@ "whiskers_on": true } }, - "current_pitch": -4, "speed_over_ground": 4.3, "thrust_applied": 124.3, "water_current_velocity": 124.3 diff --git a/examples/gui_adapter/planning_configuration.json b/examples/gui_adapter/planning_configuration.json index f1d83ea4cf5fb310ab615ad62b8289858074833e..106bac90c64cbf065605acb4dbd2d168b18c7406 100644 --- a/examples/gui_adapter/planning_configuration.json +++ b/examples/gui_adapter/planning_configuration.json @@ -51,7 +51,7 @@ "target_waypoint_latitude": -7.432, "target_waypoint_longitude": 50.365, "safe_command": "go_home", - "target_depth": 10 + "target_depth": 10.0 }, "max_velocity": 0.9, "min_altitude": 15.2, diff --git a/examples/hydrosurv_adapter/platform_status.json b/examples/hydrosurv_adapter/platform_status.json index 43bac1f1630354a39abc2d5b1adc764d09ca8a5a..48731995f0eed6b97db78827e38d82808365ea11 100644 --- a/examples/hydrosurv_adapter/platform_status.json +++ b/examples/hydrosurv_adapter/platform_status.json @@ -15,10 +15,10 @@ "status_source": "onboard_platform", "battery_remaining_capacity": 80.2, "heading": 310.0, - "health_status": "Lost Connection", + "health_status": false, "latitude": 178.2, "longitude": -10.122, - "mission_action_ID": 1, + "mission_plan_ID": 1, "mission_track_ID": 4, "platform_ID": "reav-60-1", "platform_state": "ABORT", diff --git a/formats/planning_configuration.py b/formats/planning_configuration.py index e7ed4e9de21da36b52ba01121ca4469de35f9f0f..8682d804bc4b19032b49ea11049a9924a1b57a27 100644 --- a/formats/planning_configuration.py +++ b/formats/planning_configuration.py @@ -30,7 +30,7 @@ emergency_schema = { "format": "float", "description": "Z-coordinate safe place for respective platform" + " . If platform to NOT stay at depth, key in `0.0`", - "example": 10, + "example": 10.0, }, "additional_data": { "description": "Any addition fields/data to be added here", diff --git a/formats/platform_status.py b/formats/platform_status.py index 2ef5560ceb8763e5fcd0638d2a7a545a7b3778ad..b9a6ccf85feb23adff6bcecf4b9ac30b7baca34e 100644 --- a/formats/platform_status.py +++ b/formats/platform_status.py @@ -86,14 +86,14 @@ platform_status_schema = { "type": "number", "format": "float", "description": "Target depth in metres", - "example": 50, - "default": 0, + "example": 50.0, + "default": 0.0, }, "altitude": { "type": "number", "format": "float", "description": "Target altitude in metres", - "example": 20, + "example": 20.0, }, "mission_track_ID": { "type": "integer", @@ -101,9 +101,9 @@ platform_status_schema = { + "4 --> Waypoint 3 to Waypoint 4)", "example": 4, }, - "mission_action_ID": { + "mission_plan_ID": { "type": "integer", - "description": "", # TODO: Add description + "description": "Mission plan ID according to local platform-C2 system", "example": 1, }, "range_to_go": { @@ -115,19 +115,18 @@ platform_status_schema = { "speed_over_ground": { "type": "number", "format": "float", - "description": "", # TODO: Add description + "description": "Speed over ground", "example": 124.3, }, "water_current_velocity": { - "type": "number", - "format": "float", - "description": "", # TODO: Add description - "example": 124.3, + "type": "string", + "description": "Water current magnitude and direction", + "example": "124.3NE", }, "thrust_applied": { "type": "number", "format": "float", - "description": "", # TODO: Add description + "description": "Thrust applied", "example": 124.3, }, "heading": { @@ -138,15 +137,20 @@ platform_status_schema = { "example": 124.3, }, "health_status": { - "type": "string", - "description": "Health status extracted by respective platform " - + "if any diagnosis is available to check sensors", - "example": "Warning", + "type": "boolean", + "description": "Health status where 0 is OK, 1 is platform has an ERROR", + "example": False, }, - "localisation_error": { + "localisation_north_error": { "type": "number", "format": "float", - "description": "Localisation error at last USBL update.", + "description": "Difference in NORTH between deadreckoning and USBL update.", + "example": 0.000129, + }, + "localisation_east_error": { + "type": "number", + "format": "float", + "description": "Difference in EAST between deadreckoning and USBL update.", "example": 0.000129, }, "usbl_fix_seconds_ago": { @@ -161,12 +165,6 @@ platform_status_schema = { "description": "Battery remaining % provided by respective C2", "example": 80.2, }, - "current_pitch": { - "type": "number", - "format": "float", - "description": "Current pitch of platform", - "example": -4.0, - }, "sensor_config": sensor_schema, }, "required": [ diff --git a/project/soar/swagger.json b/project/soar/swagger.json index b4093695be1762ca6f9b586534e5f2ec3a5fd99f..c805daf5d4e3cbe9256ce0f118e82694e25cff19 100644 --- a/project/soar/swagger.json +++ b/project/soar/swagger.json @@ -375,7 +375,7 @@ }, "target_depth": { "description": "Z-coordinate safe place for respective platform . If platform to NOT stay at depth, key in `0.0`", - "example": 10, + "example": 10.0, "format": "float", "type": "number" } @@ -522,12 +522,6 @@ "format": "float", "type": "number" }, - "current_pitch": { - "description": "Current pitch of platform", - "example": -4.0, - "format": "float", - "type": "number" - }, "depth": { "default": 0, "description": "Target depth in metres", @@ -542,9 +536,9 @@ "type": "number" }, "health_status": { - "description": "Health status extracted by respective platform if any diagnosis is available to check sensors", - "example": "Warning", - "type": "string" + "description": "Health status where 0 is OK, 1 is platform has an ERROR", + "example": false, + "type": "boolean" }, "latitude": { "description": "Latitude in decimal degrees.", @@ -552,12 +546,18 @@ "format": "float", "type": "number" }, - "localisation_error": { + "localisation_north_error": { "description": "Localisation error at last USBL update.", "example": 0.000129, "format": "float", "type": "number" }, + "localisation_east_error": { + "type": "number", + "format": "float", + "description": "Difference in EAST between deadreckoning and USBL update.", + "example": 0.000129 + }, "longitude": { "description": "Longitude in decimal degrees.", "example": -10.122, @@ -569,8 +569,8 @@ "example": "platform_status", "type": "string" }, - "mission_action_ID": { - "description": "", + "mission_plan_ID": { + "description": "Mission plan ID according to local platform-C2 system", "example": 1, "type": "integer" }, @@ -627,7 +627,7 @@ "type": "object" }, "speed_over_ground": { - "description": "", + "description": "Speed over ground", "example": 124.3, "format": "float", "type": "number" @@ -642,7 +642,7 @@ "type": "string" }, "thrust_applied": { - "description": "", + "description": "Thrust applied", "example": 124.3, "format": "float", "type": "number" @@ -665,7 +665,7 @@ "type": "number" }, "water_current_velocity": { - "description": "", + "description": "Water current magnitude and direction", "example": 124.3, "format": "float", "type": "number" diff --git a/tests/fixtures/schemas.py b/tests/fixtures/schemas.py index 33a1320c0751b253d0aff698b7c64ebc0e89aafc..60bba4ab8159e7cac81a55a36c8134c6b555e1eb 100644 --- a/tests/fixtures/schemas.py +++ b/tests/fixtures/schemas.py @@ -265,7 +265,7 @@ emergency_schema = { "format": "float", "description": "Z-coordinate safe place for respective platform" + " . If platform to NOT stay at depth, key in `0.0`", - "example": 10, + "example": 10.0, }, "additional_data": { "description": "Any addition fields/data to be added here", @@ -504,7 +504,7 @@ platform_status_schema = { "type": "number", "format": "float", "description": "Target depth in metres", - "example": 50, + "example": 50.0, "default": 0, }, "altitude": { @@ -519,9 +519,9 @@ platform_status_schema = { + "4 --> Waypoint 3 to Waypoint 4)", "example": 4, }, - "mission_action_ID": { + "mission_plan_ID": { "type": "integer", - "description": "", # TODO: Add description + "description": "Mission plan ID according to local platform-C2 system", "example": 1, }, "range_to_go": { @@ -533,19 +533,19 @@ platform_status_schema = { "speed_over_ground": { "type": "number", "format": "float", - "description": "", # TODO: Add description + "description": "Speed over ground", "example": 124.3, }, "water_current_velocity": { "type": "number", "format": "float", - "description": "", # TODO: Add description + "description": "Water current magnitude and direction", "example": 124.3, }, "thrust_applied": { "type": "number", "format": "float", - "description": "", # TODO: Add description + "description": "Thrust applied", "example": 124.3, }, "heading": { @@ -556,15 +556,20 @@ platform_status_schema = { "example": 124.3, }, "health_status": { - "type": "string", - "description": "Health status extracted by respective platform " - + "if any diagnosis is available to check sensors", - "example": "Warning", + "type": "boolean", + "description": "Health status where 0 is OK, 1 is platform has an ERROR", + "example": False, }, - "localisation_error": { + "localisation_north_error": { "type": "number", "format": "float", - "description": "Localisation error at last USBL update.", + "description": "Difference in NORTH between deadreckoning and USBL update.", + "example": 0.000129, + }, + "localisation_east_error": { + "type": "number", + "format": "float", + "description": "Difference in EAST between deadreckoning and USBL update.", "example": 0.000129, }, "usbl_fix_seconds_ago": { @@ -579,12 +584,6 @@ platform_status_schema = { "description": "Battery remaining % provided by respective C2", "example": 80.2, }, - "current_pitch": { - "type": "number", - "format": "float", - "description": "Current pitch of platform", - "example": -4.0, - }, "sensor_config": sensor_schema, }, "required": [ diff --git a/tests/fixtures/swagger.json b/tests/fixtures/swagger.json index 4d5bf1d33389a13011011a3d333bbdceae4d15a9..88e5f71a512621b726debc0eeb5bf508e4842331 100644 --- a/tests/fixtures/swagger.json +++ b/tests/fixtures/swagger.json @@ -362,7 +362,7 @@ }, "target_depth": { "description": "Z-coordinate safe place for respective platform . If platform to NOT stay at depth, key in `0.0`", - "example": 10, + "example": 10.0, "format": "float", "type": "number" } @@ -509,16 +509,10 @@ "format": "float", "type": "number" }, - "current_pitch": { - "description": "Current pitch of platform", - "example": -4.0, - "format": "float", - "type": "number" - }, "depth": { - "default": 0, + "default": 0.0, "description": "Target depth in metres", - "example": 50, + "example": 50.0, "format": "float", "type": "number" }, @@ -529,9 +523,9 @@ "type": "number" }, "health_status": { - "description": "Health status extracted by respective platform if any diagnosis is available to check sensors", - "example": "Warning", - "type": "string" + "description": "Health status where 0 is OK, 1 is platform has an ERROR", + "example": false, + "type": "boolean" }, "latitude": { "description": "Latitude in decimal degrees.", @@ -540,7 +534,7 @@ "type": "number" }, "localisation_error": { - "description": "Localisation error at last USBL update.", + "description": "Difference in NORTH between deadreckoning and USBL update.", "example": 0.000129, "format": "float", "type": "number" @@ -556,8 +550,8 @@ "example": "platform_status", "type": "string" }, - "mission_action_ID": { - "description": "", + "mission_plan_ID": { + "description": "Mission plan ID according to local platform-C2 system", "example": 1, "type": "integer" }, @@ -614,7 +608,7 @@ "type": "object" }, "speed_over_ground": { - "description": "", + "description": "Speed over ground", "example": 124.3, "format": "float", "type": "number" @@ -629,7 +623,7 @@ "type": "string" }, "thrust_applied": { - "description": "", + "description": "Thrust applied", "example": 124.3, "format": "float", "type": "number" @@ -652,7 +646,7 @@ "type": "number" }, "water_current_velocity": { - "description": "", + "description": "Water current magnitude and direction", "example": 124.3, "format": "float", "type": "number" diff --git a/tests/mock_data/autonomy_engine_adapter/mission_plan_AH1.json b/tests/mock_data/autonomy_engine_adapter/mission_plan_AH1.json index 57666f68a614d9d19b028224151ced215a0c7a23..99d42e1be88ec3992cf8c05f626bd43a6b7096ad 100644 --- a/tests/mock_data/autonomy_engine_adapter/mission_plan_AH1.json +++ b/tests/mock_data/autonomy_engine_adapter/mission_plan_AH1.json @@ -53,7 +53,7 @@ "start_point_longitude": 60.00000000000000, "target_waypoint_latitude": -0.237143188645706, "target_waypoint_longitude": 52.37072283932642, - "depth": 0, + "depth": 0.0, "activate_payload": false, "send_environmental_data": true } diff --git a/tests/mock_data/autonomy_engine_adapter/mission_plan_ECOSUB.json b/tests/mock_data/autonomy_engine_adapter/mission_plan_ECOSUB.json index fb2a83de12cc43923448725bf78f8882746e86a9..2cfdaad4a7efae767216adda063b4ed55fbc9124 100644 --- a/tests/mock_data/autonomy_engine_adapter/mission_plan_ECOSUB.json +++ b/tests/mock_data/autonomy_engine_adapter/mission_plan_ECOSUB.json @@ -53,7 +53,7 @@ "start_point_longitude": 60.00000000000000, "target_waypoint_latitude": -0.237143188645706, "target_waypoint_longitude": 52.37072283932642, - "depth": 0, + "depth": 0.0, "activate_payload": false, "send_environmental_data": true } diff --git a/tests/mock_data/autonomy_engine_adapter/planning_configuration.json b/tests/mock_data/autonomy_engine_adapter/planning_configuration.json index e3f18a3668497e9bf2ff64ffa6b5ef8543410915..1c76fcdd53e1c4f0d1a273ec1f6387440c87ca11 100644 --- a/tests/mock_data/autonomy_engine_adapter/planning_configuration.json +++ b/tests/mock_data/autonomy_engine_adapter/planning_configuration.json @@ -51,7 +51,7 @@ "target_waypoint_latitude": -7.432, "target_waypoint_longitude": 50.365, "safe_command": "go_home", - "target_depth": 10 + "target_depth": 10.0 }, "max_velocity": 0.9, "min_altitude": 15.2, diff --git a/tests/mock_data/autonomy_engine_adapter/platform_status-from_usbl_example.json b/tests/mock_data/autonomy_engine_adapter/platform_status-from_usbl_example.json index 6721a35ffe5177d21fa0594dbf5c9d90bf6043bf..6a506d973a4a838ca670220198d7e958485d71a4 100644 --- a/tests/mock_data/autonomy_engine_adapter/platform_status-from_usbl_example.json +++ b/tests/mock_data/autonomy_engine_adapter/platform_status-from_usbl_example.json @@ -15,7 +15,7 @@ "status_source": "usbl", "latitude": 178.2, "longitude": -10.122, - "depth": 50, - "altitude": 20 + "depth": 50.0, + "altitude": 20.0 } } diff --git a/tests/mock_data/autonomy_engine_adapter/platform_status.json b/tests/mock_data/autonomy_engine_adapter/platform_status.json index b82beba2ed793f2c39fee7dd789ed142e6ce5b57..306c0ed85dfaa1e1a73f2c8787a521b82e38b599 100644 --- a/tests/mock_data/autonomy_engine_adapter/platform_status.json +++ b/tests/mock_data/autonomy_engine_adapter/platform_status.json @@ -17,15 +17,16 @@ "battery_remaining_capacity": 80.2, "active": true, "platform_state": "ABORT", - "mission_action_ID": 1, + "mission_plan_ID": 1, "mission_track_ID": 4, "latitude": 178.2, "longitude": -10.122, - "depth": 50, - "altitude": 20, + "depth": 50.0, + "altitude": 20.0, "heading": 90.0, - "health_status": "Warning", - "localisation_error": 0, + "health_status": false, + "localisation_north_error": 0, + "localisation_east_error": 0, "usbl_fix_seconds_ago": 0, "range_to_go": 124.3, "sensor_config": { @@ -36,7 +37,6 @@ "whiskers_on": true } }, - "current_pitch": -4, "speed_over_ground": 4.3, "thrust_applied": 124.3, "water_current_velocity": 124.3 diff --git a/tests/mock_data/ecosub_adapter/mission_plan.json b/tests/mock_data/ecosub_adapter/mission_plan.json index 47becbc5400bde98c288378cbdfef3219ba0c939..3ba5aacbc7195524749c9fa05f4cd5d181b9acf9 100644 --- a/tests/mock_data/ecosub_adapter/mission_plan.json +++ b/tests/mock_data/ecosub_adapter/mission_plan.json @@ -53,7 +53,7 @@ "start_point_longitude": 60.00000000000000, "target_waypoint_latitude": -0.237143188645706, "target_waypoint_longitude": 52.37072283932642, - "depth": 0, + "depth": 0.0, "activate_payload": false, "send_environmental_data": true } diff --git a/tests/mock_data/ecosub_adapter/platform_status-from_usbl_example.json b/tests/mock_data/ecosub_adapter/platform_status-from_usbl_example.json index 6721a35ffe5177d21fa0594dbf5c9d90bf6043bf..4b3000971434fcecd4d952fc10309ec75b0685ee 100644 --- a/tests/mock_data/ecosub_adapter/platform_status-from_usbl_example.json +++ b/tests/mock_data/ecosub_adapter/platform_status-from_usbl_example.json @@ -15,7 +15,7 @@ "status_source": "usbl", "latitude": 178.2, "longitude": -10.122, - "depth": 50, + "depth": 50.0, "altitude": 20 } } diff --git a/tests/mock_data/ecosub_adapter/platform_status.json b/tests/mock_data/ecosub_adapter/platform_status.json index b82beba2ed793f2c39fee7dd789ed142e6ce5b57..6fb29e0b882a0cef6981e438225da2ee9353f38a 100644 --- a/tests/mock_data/ecosub_adapter/platform_status.json +++ b/tests/mock_data/ecosub_adapter/platform_status.json @@ -17,15 +17,16 @@ "battery_remaining_capacity": 80.2, "active": true, "platform_state": "ABORT", - "mission_action_ID": 1, + "mission_plan_ID": 1, "mission_track_ID": 4, "latitude": 178.2, "longitude": -10.122, - "depth": 50, + "depth": 50.0, "altitude": 20, "heading": 90.0, - "health_status": "Warning", - "localisation_error": 0, + "health_status": false, + "localisation_north_error": 0, + "localisation_east_error": 0, "usbl_fix_seconds_ago": 0, "range_to_go": 124.3, "sensor_config": { @@ -36,7 +37,6 @@ "whiskers_on": true } }, - "current_pitch": -4, "speed_over_ground": 4.3, "thrust_applied": 124.3, "water_current_velocity": 124.3 diff --git a/tests/mock_data/gui_adapter/planning_configuration.json b/tests/mock_data/gui_adapter/planning_configuration.json index a04cded9678143c35660b6596dd7a47e8927c155..40d1e86ad25a58460ab9bdafbbe3d1265556220b 100644 --- a/tests/mock_data/gui_adapter/planning_configuration.json +++ b/tests/mock_data/gui_adapter/planning_configuration.json @@ -51,7 +51,7 @@ "target_waypoint_latitude": -7.432, "target_waypoint_longitude": 50.365, "safe_command": "go_home", - "target_depth": 10 + "target_depth": 10.0 }, "max_velocity": 0.9, "min_altitude": 15.2, diff --git a/tests/mock_data/hydrosurv_adapter/platform_status.json b/tests/mock_data/hydrosurv_adapter/platform_status.json index 43bac1f1630354a39abc2d5b1adc764d09ca8a5a..48731995f0eed6b97db78827e38d82808365ea11 100644 --- a/tests/mock_data/hydrosurv_adapter/platform_status.json +++ b/tests/mock_data/hydrosurv_adapter/platform_status.json @@ -15,10 +15,10 @@ "status_source": "onboard_platform", "battery_remaining_capacity": 80.2, "heading": 310.0, - "health_status": "Lost Connection", + "health_status": false, "latitude": 178.2, "longitude": -10.122, - "mission_action_ID": 1, + "mission_plan_ID": 1, "mission_track_ID": 4, "platform_ID": "reav-60-1", "platform_state": "ABORT",