From 7947826a859e89bbd5cff5666386017798db1645 Mon Sep 17 00:00:00 2001 From: Andreas Viggen Date: Fri, 18 Oct 2024 15:25:08 +0200 Subject: [PATCH 1/2] Add new error flags for DVL and notifs --- protobuf_definitions/message_formats.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protobuf_definitions/message_formats.proto b/protobuf_definitions/message_formats.proto index 994d68d5..3ab12c1e 100644 --- a/protobuf_definitions/message_formats.proto +++ b/protobuf_definitions/message_formats.proto @@ -475,6 +475,8 @@ enum NotificationType { NOTIFICATION_TYPE_SET_TILT_MAIN_CAMERA = 28; // Set tilt for main camera NOTIFICATION_TYPE_SET_TILT_MULTIBEAM = 29; // Set tilt for multibeam NOTIFICATION_TYPE_INSTRUCTION_SKIPPED = 30; // When an instruction is not available in the ROV + NOTIFICATION_TYPE_DVL_HIGH_TEMPERATURE_DETECTED = 31; // DVL high temperature detected + NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED = 32; // DVL thermal protection mode detected } // List of available notification levels. @@ -657,6 +659,8 @@ message ErrorFlags { bool gp2_bat_current = 40; // Max battery current exceeded on GP2 bool gp3_bat_current = 41; // Max battery current exceeded on GP3 bool gp_20v_current = 42; // Max 20V current exceeded on GP + bool dvl_thermal_protection_mode = 43; // DVL is in thermal protection mode + bool dvl_no_power_since_boot = 44; // GP protection has been triggered at boot or faulty DVL } // Available camera resolutions. From b45723c59c515b9d14c894d3e7a67ab6cb0a489c Mon Sep 17 00:00:00 2001 From: Andreas Viggen Date: Wed, 23 Oct 2024 13:36:34 +0200 Subject: [PATCH 2/2] Rename error flag dvl_no_power --- protobuf_definitions/message_formats.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf_definitions/message_formats.proto b/protobuf_definitions/message_formats.proto index 3ab12c1e..208ff25e 100644 --- a/protobuf_definitions/message_formats.proto +++ b/protobuf_definitions/message_formats.proto @@ -660,7 +660,7 @@ message ErrorFlags { bool gp3_bat_current = 41; // Max battery current exceeded on GP3 bool gp_20v_current = 42; // Max 20V current exceeded on GP bool dvl_thermal_protection_mode = 43; // DVL is in thermal protection mode - bool dvl_no_power_since_boot = 44; // GP protection has been triggered at boot or faulty DVL + bool dvl_no_power = 44; // GP protection has been triggered at boot or faulty DVL } // Available camera resolutions.