Skip to content

Commit 2f52bec

Browse files
follesoejp-pino
andcommitted
Adds error flags to MultibeamDiscovery
Co-Authored-By: Juan Pablo Pino Bravo <[email protected]>
1 parent 94c02c1 commit 2f52bec

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

protobuf_definitions/message_formats.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,7 @@ message MedusaSpectrometerData {
996996
uint32 cosmics = 5; // Detected counts above the last channel
997997
}
998998

999+
// The frequency mode to use for multibeam devices with dual frequency.
9991000
enum MultibeamFrequencyMode {
10001001
MULTIBEAM_FREQUENCY_MODE_UNSPECIFIED = 0;
10011002
MULTIBEAM_FREQUENCY_MODE_AUTO = 1; // Auto switching mode (if available)
@@ -1071,6 +1072,18 @@ message MultibeamDiscovery {
10711072
string fw_version = 5; // Firmware version of the sonar
10721073
string connected_ip = 6; // IP address of the connected device
10731074
GuestPortDeviceID device_id = 7; // Device ID of the sonar
1075+
MultibeamErrorFlags error_flags = 8; // Error flags specific for the connceted multibeam device.
1076+
}
1077+
1078+
// Error flags for multibeam sonar devices.
1079+
message MultibeamErrorFlags {
1080+
/*
1081+
If the sonar is captured by another client than the drone.
1082+
The connected client IP is reported in connected_ip property.
1083+
*/
1084+
bool connected_to_another_client = 1;
1085+
bool device_overheating = 2; // If the multibeam is reporting to overheat.
1086+
bool out_of_water = 3; // If a TriTech multibeam is reporting to be out of water.
10741087
}
10751088

10761089
// Frame offset for multibeam recordings index cache

0 commit comments

Comments
 (0)