Skip to content

Commit 0a18cda

Browse files
authored
Merge pull request #162 from BluEye-Robotics/jp-pino/timing
Add frame generation timestamp and multibeam index caching message
2 parents 7d6a630 + 020e8e8 commit 0a18cda

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
@@ -5,6 +5,7 @@ syntax = "proto3";
55

66
package blueye.protocol;
77
import "google/protobuf/any.proto";
8+
import "google/protobuf/duration.proto";
89
import "google/protobuf/timestamp.proto";
910
option csharp_namespace = "Blueye.Protocol.Protobuf";
1011

@@ -972,6 +973,7 @@ message MultibeamPing {
972973

973974
bytes ping_data = 10; // Ping data (row major, 2D, grayscale image)
974975
GuestPortDeviceID device_id = 11; // Device ID of the sonar
976+
optional google.protobuf.Timestamp frame_generation_timestamp = 12; // Timestamp when the frame was generated
975977
}
976978

977979

@@ -1020,6 +1022,17 @@ message MultibeamDiscovery {
10201022
GuestPortDeviceID device_id = 7; // Device ID of the sonar
10211023
}
10221024

1025+
// Frame offset for multibeam recordings index cache
1026+
message MultibeamFrameOffset {
1027+
google.protobuf.Duration duration = 1; // Duration from the start of the recording
1028+
int64 offset = 2; // Offset in bytes from the start of the file
1029+
}
1030+
1031+
// Multibeam recording index cache
1032+
message MutltibeamRecordingIndex {
1033+
repeated MultibeamFrameOffset frame_offsets = 1; // List of frame offsets
1034+
}
1035+
10231036
// PersistentStorageSettings defines settings for writing various types of data in the persistent storage on the drone
10241037
//
10251038
// Some of the data is written during factory calibration (acc calibration), while other data is written during user

0 commit comments

Comments
 (0)