@blueyerobotics/protocol-definitions 3.2.0-9a7703f5 → 3.2.0-9cd842f0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -136,6 +136,8 @@ export declare enum NotificationType {
136
136
  NOTIFICATION_TYPE_DVL_HIGH_TEMPERATURE_DETECTED = 31,
137
137
  /** NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED - DVL thermal protection mode detected. */
138
138
  NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED = 32,
139
+ /** NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED - Video partition not mounted. */
140
+ NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED = 33,
139
141
  UNRECOGNIZED = -1
140
142
  }
141
143
  export declare function notificationTypeFromJSON(object: any): NotificationType;
@@ -154,6 +156,22 @@ export declare enum NotificationLevel {
154
156
  }
155
157
  export declare function notificationLevelFromJSON(object: any): NotificationLevel;
156
158
  export declare function notificationLevelToJSON(object: NotificationLevel): string;
159
+ /**
160
+ * Storage location.
161
+ *
162
+ * Used to specify which storage location to use for recording photos and videos.
163
+ */
164
+ export declare enum StorageLocation {
165
+ /** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
166
+ STORAGE_LOCATION_UNSPECIFIED = 0,
167
+ /** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
168
+ STORAGE_LOCATION_INTERNAL = 1,
169
+ /** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
170
+ STORAGE_LOCATION_REMOVABLE = 2,
171
+ UNRECOGNIZED = -1
172
+ }
173
+ export declare function storageLocationFromJSON(object: any): StorageLocation;
174
+ export declare function storageLocationToJSON(object: StorageLocation): string;
157
175
  /** Drone models produced by Blueye. */
158
176
  export declare enum Model {
159
177
  /** MODEL_UNSPECIFIED - ModelName not specified. */
@@ -168,6 +186,8 @@ export declare enum Model {
168
186
  MODEL_X3 = 3,
169
187
  /** MODEL_X3_ULTRA - Blueye X3 Ultra. */
170
188
  MODEL_X3_ULTRA = 6,
189
+ /** MODEL_X7 - Blueye X7. */
190
+ MODEL_X7 = 7,
171
191
  /** MODEL_NEXT - Blueye ? */
172
192
  MODEL_NEXT = 5,
173
193
  UNRECOGNIZED = -1
@@ -190,28 +210,57 @@ export declare enum PressureSensorType {
190
210
  }
191
211
  export declare function pressureSensorTypeFromJSON(object: any): PressureSensorType;
192
212
  export declare function pressureSensorTypeToJSON(object: PressureSensorType): string;
213
+ /**
214
+ * How the drone is powered.
215
+ *
216
+ * Lets clients determine the power configuration (e.g. parallel batteries on the
217
+ * X7) directly from DroneInfo, without waiting for telemetry. May be extended in
218
+ * the future, e.g. with topside power.
219
+ */
220
+ export declare enum PowerSource {
221
+ /** POWER_SOURCE_UNSPECIFIED - Power source unknown / not determined. */
222
+ POWER_SOURCE_UNSPECIFIED = 0,
223
+ /** POWER_SOURCE_SINGLE_BATTERY - A single battery. */
224
+ POWER_SOURCE_SINGLE_BATTERY = 1,
225
+ /** POWER_SOURCE_PARALLEL_BATTERIES - Two batteries running in parallel (e.g. X7). */
226
+ POWER_SOURCE_PARALLEL_BATTERIES = 2,
227
+ UNRECOGNIZED = -1
228
+ }
229
+ export declare function powerSourceFromJSON(object: any): PowerSource;
230
+ export declare function powerSourceToJSON(object: PowerSource): string;
193
231
  /** Available camera resolutions. */
194
232
  export declare enum Resolution {
195
233
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
196
234
  RESOLUTION_UNSPECIFIED = 0,
197
- /** RESOLUTION_FULLHD_1080P - 1080p Full HD resolution. */
198
- RESOLUTION_FULLHD_1080P = 1,
199
- /** RESOLUTION_HD_720P - 720p HD resolution. */
235
+ /** RESOLUTION_VGA_480P - VGA (640x480). */
236
+ RESOLUTION_VGA_480P = 4,
237
+ /** RESOLUTION_HD_720P - 720p HD (1280x720). */
200
238
  RESOLUTION_HD_720P = 2,
201
- /** RESOLUTION_UHD_4K - 4K Ultra HD resolution. */
239
+ /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
240
+ RESOLUTION_FULLHD_1080P = 1,
241
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
202
242
  RESOLUTION_UHD_4K = 3,
243
+ /** RESOLUTION_QHD_2K - 2K QHD (2560x1440, Only supported on X3 Ultra). */
244
+ RESOLUTION_QHD_2K = 5,
203
245
  UNRECOGNIZED = -1
204
246
  }
205
247
  export declare function resolutionFromJSON(object: any): Resolution;
206
248
  export declare function resolutionToJSON(object: Resolution): string;
207
- /** Available camera frame rates. */
249
+ /**
250
+ * Available camera frame rates.
251
+ *
252
+ * If the requested frame rate is higher than what is supported at the current resolution,
253
+ * the frame rate will be reduced while the resolution is respected.
254
+ */
208
255
  export declare enum Framerate {
209
256
  /** FRAMERATE_UNSPECIFIED - Framerate not specified. */
210
257
  FRAMERATE_UNSPECIFIED = 0,
211
258
  /** FRAMERATE_FPS_30 - 30 frames per second. */
212
259
  FRAMERATE_FPS_30 = 1,
213
- /** FRAMERATE_FPS_25 - 25 frames per second. */
260
+ /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
214
261
  FRAMERATE_FPS_25 = 2,
262
+ /** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
263
+ FRAMERATE_FPS_60 = 3,
215
264
  UNRECOGNIZED = -1
216
265
  }
217
266
  export declare function framerateFromJSON(object: any): Framerate;
@@ -228,6 +277,29 @@ export declare enum Camera {
228
277
  }
229
278
  export declare function cameraFromJSON(object: any): Camera;
230
279
  export declare function cameraToJSON(object: Camera): string;
280
+ export declare enum StreamingProtocol {
281
+ /** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
282
+ STREAMING_PROTOCOL_UNSPECIFIED = 0,
283
+ /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
284
+ STREAMING_PROTOCOL_RTSP_H264 = 1,
285
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
286
+ STREAMING_PROTOCOL_RTSP_MJPEG = 2,
287
+ UNRECOGNIZED = -1
288
+ }
289
+ export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
290
+ export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
291
+ /** Recording video codec. */
292
+ export declare enum RecordingCodec {
293
+ /** RECORDING_CODEC_UNSPECIFIED - Use platform default (H.264). */
294
+ RECORDING_CODEC_UNSPECIFIED = 0,
295
+ /** RECORDING_CODEC_H264 - H.264/AVC codec. Wider compatibility with players/editors. */
296
+ RECORDING_CODEC_H264 = 1,
297
+ /** RECORDING_CODEC_H265 - H.265/HEVC codec. Better compression, limited compatibility. Ultra only. */
298
+ RECORDING_CODEC_H265 = 2,
299
+ UNRECOGNIZED = -1
300
+ }
301
+ export declare function recordingCodecFromJSON(object: any): RecordingCodec;
302
+ export declare function recordingCodecToJSON(object: RecordingCodec): string;
231
303
  /** Available temperature units. */
232
304
  export declare enum TemperatureUnit {
233
305
  /** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
@@ -294,6 +366,8 @@ export declare enum FontSize {
294
366
  FONT_SIZE_PX35 = 5,
295
367
  /** FONT_SIZE_PX40 - 40 px. */
296
368
  FONT_SIZE_PX40 = 6,
369
+ /** FONT_SIZE_PX50 - 50 px. */
370
+ FONT_SIZE_PX50 = 7,
297
371
  UNRECOGNIZED = -1
298
372
  }
299
373
  export declare function fontSizeFromJSON(object: any): FontSize;
@@ -390,6 +464,14 @@ export declare enum GuestPortDeviceID {
390
464
  GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
391
465
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
392
466
  GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
467
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
468
+ GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
469
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
470
+ GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 = 46,
471
+ /** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
472
+ GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT = 47,
473
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER - Blueye Scaling Laser. */
474
+ GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER = 48,
393
475
  UNRECOGNIZED = -1
394
476
  }
395
477
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -404,6 +486,12 @@ export declare enum GuestPortNumber {
404
486
  GUEST_PORT_NUMBER_PORT_2 = 2,
405
487
  /** GUEST_PORT_NUMBER_PORT_3 - Guest port 3. */
406
488
  GUEST_PORT_NUMBER_PORT_3 = 3,
489
+ /** GUEST_PORT_NUMBER_PORT_4 - Guest port 4. */
490
+ GUEST_PORT_NUMBER_PORT_4 = 4,
491
+ /** GUEST_PORT_NUMBER_PORT_5 - Guest port 5. */
492
+ GUEST_PORT_NUMBER_PORT_5 = 5,
493
+ /** GUEST_PORT_NUMBER_PORT_6 - Guest port 6. */
494
+ GUEST_PORT_NUMBER_PORT_6 = 6,
407
495
  UNRECOGNIZED = -1
408
496
  }
409
497
  export declare function guestPortNumberFromJSON(object: any): GuestPortNumber;
@@ -475,6 +563,48 @@ export declare enum MultibeamFrequencyMode {
475
563
  }
476
564
  export declare function multibeamFrequencyModeFromJSON(object: any): MultibeamFrequencyMode;
477
565
  export declare function multibeamFrequencyModeToJSON(object: MultibeamFrequencyMode): string;
566
+ /** Thermal zone identifiers. */
567
+ export declare enum ThermalZoneId {
568
+ /** THERMAL_ZONE_ID_UNSPECIFIED - Unspecified thermal zone. */
569
+ THERMAL_ZONE_ID_UNSPECIFIED = 0,
570
+ /** THERMAL_ZONE_ID_TJ - Junction temperature (Tj). */
571
+ THERMAL_ZONE_ID_TJ = 1,
572
+ /** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
573
+ THERMAL_ZONE_ID_CANISTER = 2,
574
+ /** THERMAL_ZONE_ID_CPU - CPU thermal zone. */
575
+ THERMAL_ZONE_ID_CPU = 3,
576
+ /** THERMAL_ZONE_ID_GPU - GPU thermal zone. */
577
+ THERMAL_ZONE_ID_GPU = 4,
578
+ /** THERMAL_ZONE_ID_CV0 - Vision accelerator 0 thermal zone. */
579
+ THERMAL_ZONE_ID_CV0 = 5,
580
+ /** THERMAL_ZONE_ID_CV1 - Vision accelerator 1 thermal zone. */
581
+ THERMAL_ZONE_ID_CV1 = 6,
582
+ /** THERMAL_ZONE_ID_CV2 - Vision accelerator 2 thermal zone. */
583
+ THERMAL_ZONE_ID_CV2 = 7,
584
+ /** THERMAL_ZONE_ID_SOC0 - SoC 0 thermal zone. */
585
+ THERMAL_ZONE_ID_SOC0 = 8,
586
+ /** THERMAL_ZONE_ID_SOC1 - SoC 1 thermal zone. */
587
+ THERMAL_ZONE_ID_SOC1 = 9,
588
+ /** THERMAL_ZONE_ID_SOC2 - SoC 2 thermal zone. */
589
+ THERMAL_ZONE_ID_SOC2 = 10,
590
+ UNRECOGNIZED = -1
591
+ }
592
+ export declare function thermalZoneIdFromJSON(object: any): ThermalZoneId;
593
+ export declare function thermalZoneIdToJSON(object: ThermalZoneId): string;
594
+ /** Origin of an annotation. Mirrors the AnnotationSource enum in Blueye Cloud. */
595
+ export declare enum AnnotationSource {
596
+ /** ANNOTATION_SOURCE_UNSPECIFIED - Origin not specified. */
597
+ ANNOTATION_SOURCE_UNSPECIFIED = 0,
598
+ /** ANNOTATION_SOURCE_CLOUD - Created in Blueye Cloud after the dive. */
599
+ ANNOTATION_SOURCE_CLOUD = 1,
600
+ /** ANNOTATION_SOURCE_APP - Created in the app during the dive. */
601
+ ANNOTATION_SOURCE_APP = 2,
602
+ /** ANNOTATION_SOURCE_DRONE - Emitted by the drone itself. */
603
+ ANNOTATION_SOURCE_DRONE = 3,
604
+ UNRECOGNIZED = -1
605
+ }
606
+ export declare function annotationSourceFromJSON(object: any): AnnotationSource;
607
+ export declare function annotationSourceToJSON(object: AnnotationSource): string;
478
608
  /**
479
609
  * Wrapper message for each entry in the drone telemetry logfile.
480
610
  *
@@ -491,6 +621,89 @@ export interface BinlogRecord {
491
621
  /** Posix CLOCK_MONOTONIC timestamp. */
492
622
  clockMonotonic: Date | undefined;
493
623
  }
624
+ /**
625
+ * Log entry
626
+ *
627
+ * Used to store ROS log entries in the bez file
628
+ */
629
+ export interface LogEntry {
630
+ /** Timestamp of the log entry. */
631
+ timestamp: Date | undefined;
632
+ /** Name of the process that generated the log entry. */
633
+ processName: string;
634
+ /** Process ID of the log entry. */
635
+ processId: number;
636
+ /** Thread ID of the log entry. */
637
+ threadId: number;
638
+ /** Source of the log entry (specific class or named logger). */
639
+ source: string;
640
+ /** Log level, info, warning, error, etc. */
641
+ level: LogEntry_LogLevel;
642
+ /** Log message. */
643
+ message: string;
644
+ }
645
+ export declare enum LogEntry_LogLevel {
646
+ /** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
647
+ LOG_LEVEL_UNSPECIFIED = 0,
648
+ /** LOG_LEVEL_TRACE - Trace log level. */
649
+ LOG_LEVEL_TRACE = 1,
650
+ /** LOG_LEVEL_DEBUG - Debug log level. */
651
+ LOG_LEVEL_DEBUG = 2,
652
+ /** LOG_LEVEL_INFO - Info log level. */
653
+ LOG_LEVEL_INFO = 3,
654
+ /** LOG_LEVEL_WARNING - Warning log level. */
655
+ LOG_LEVEL_WARNING = 4,
656
+ /** LOG_LEVEL_ERROR - Error log level. */
657
+ LOG_LEVEL_ERROR = 5,
658
+ /** LOG_LEVEL_CRITICAL - Critical log level. */
659
+ LOG_LEVEL_CRITICAL = 6,
660
+ UNRECOGNIZED = -1
661
+ }
662
+ export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
663
+ export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
664
+ export interface KernelLogEntry {
665
+ /** Log level, info, warning, error, etc. */
666
+ level: KernelLogEntry_KernelLogLevel;
667
+ /** Sequence number of the log entry. */
668
+ seqnum: number;
669
+ /** Timestamp of the log entry. */
670
+ timestamp: Date | undefined;
671
+ /** Log messages. */
672
+ messages: string[];
673
+ /** List of key-value pairs. */
674
+ fields: KernelLogEntry_KeyValuePair[];
675
+ }
676
+ /** Kernel log level. */
677
+ export declare enum KernelLogEntry_KernelLogLevel {
678
+ /** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
679
+ KERNEL_LOG_LEVEL_UNSPECIFIED = 0,
680
+ /** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
681
+ KERNEL_LOG_LEVEL_EMERG = 1,
682
+ /** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
683
+ KERNEL_LOG_LEVEL_ALERT = 2,
684
+ /** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
685
+ KERNEL_LOG_LEVEL_CRIT = 3,
686
+ /** KERNEL_LOG_LEVEL_ERR - Error log level. */
687
+ KERNEL_LOG_LEVEL_ERR = 4,
688
+ /** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
689
+ KERNEL_LOG_LEVEL_WARNING = 5,
690
+ /** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
691
+ KERNEL_LOG_LEVEL_NOTICE = 6,
692
+ /** KERNEL_LOG_LEVEL_INFO - Informational log level. */
693
+ KERNEL_LOG_LEVEL_INFO = 7,
694
+ /** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
695
+ KERNEL_LOG_LEVEL_DEBUG = 8,
696
+ UNRECOGNIZED = -1
697
+ }
698
+ export declare function kernelLogEntry_KernelLogLevelFromJSON(object: any): KernelLogEntry_KernelLogLevel;
699
+ export declare function kernelLogEntry_KernelLogLevelToJSON(object: KernelLogEntry_KernelLogLevel): string;
700
+ /** Key-value pair used for structured logging. */
701
+ export interface KernelLogEntry_KeyValuePair {
702
+ /** Key of the key-value pair. */
703
+ key: string;
704
+ /** Value of the key-value pair. */
705
+ value: string;
706
+ }
494
707
  /** If you use both values at the same time they cancel each other out. */
495
708
  export interface MotionInput {
496
709
  /** Forward (positive) and backwards (negative) movement. (-1..1). */
@@ -525,6 +738,46 @@ export interface Lights {
525
738
  export interface Laser {
526
739
  /** Laser intensity, any value above 0 turns the laser on (0..1). */
527
740
  value: number;
741
+ /** Modulate the laser at 5Hz for tracking. Only available on Ultra. */
742
+ modulated: boolean;
743
+ }
744
+ /** Point in 2D space. */
745
+ export interface Point2D {
746
+ /** X coordinate of the point (px). */
747
+ x: number;
748
+ /** Y coordinate of the point (px). */
749
+ y: number;
750
+ }
751
+ /**
752
+ * Message representing the detection of scaling lasers in the main camera.
753
+ *
754
+ * The message contains the centroids of the detected dots, the distance between them in pixels,
755
+ * and the confidence of the detection. The dots are detected through temporal DFT analysis of
756
+ * 5 Hz laser modulation, isolating flickering pixels from the static scene background.
757
+ *
758
+ * Only available on Ultra.
759
+ */
760
+ export interface LaserDetection {
761
+ /** True if the laser is detected by the drone. */
762
+ detected: boolean;
763
+ /** First dot centroid (leftmost). */
764
+ dot1: Point2D | undefined;
765
+ /** Second dot centroid (rightmost). */
766
+ dot2: Point2D | undefined;
767
+ /** Distance between dots in pixels. */
768
+ pixelDistance: number;
769
+ /** Confidence of the detection (0..1). */
770
+ confidence: number;
771
+ /** Source frame width. */
772
+ imageWidth: number;
773
+ /** Source frame height. */
774
+ imageHeight: number;
775
+ /** Real world distance between the two laser dots (m). */
776
+ laserWidth: number;
777
+ /** Distance after lens undistortion (px). */
778
+ correctedPixelDistance: number;
779
+ /** Estimated subject distance (m). */
780
+ estimatedDistance: number;
528
781
  }
529
782
  /** Latitude and longitude position in WGS 84 decimal degrees format. */
530
783
  export interface LatLongPosition {
@@ -660,6 +913,12 @@ export interface RecordState {
660
913
  multibeamSeconds: number;
661
914
  /** Multibeam record fps. */
662
915
  multibeamFps: number;
916
+ /** Storage location used for main camera recording. */
917
+ mainStorageLocation: StorageLocation;
918
+ /** Storage location used for guestport camera recording. */
919
+ guestportStorageLocation: StorageLocation;
920
+ /** Storage location used for multibeam recording. */
921
+ multibeamStorageLocation: StorageLocation;
663
922
  }
664
923
  /** Time-lapse state published if time-lapse mission is running. */
665
924
  export interface TimeLapseState {
@@ -705,7 +964,7 @@ export interface WaterTemperature {
705
964
  /** Water temperature (°C). */
706
965
  value: number;
707
966
  }
708
- /** CPU temperature. */
967
+ /** CPU temperature (deprecated, use SystemPerformanceInfo.thermal_zones instead). */
709
968
  export interface CPUTemperature {
710
969
  /** CPU temperature (°C). */
711
970
  value: number;
@@ -1127,7 +1386,7 @@ export interface DiveTime {
1127
1386
  /** Number of seconds the drone has been submerged. */
1128
1387
  value: number;
1129
1388
  }
1130
- /** Which cameras are supposed to be recording. */
1389
+ /** Which cameras or multibeam are supposed to be recording. */
1131
1390
  export interface RecordOn {
1132
1391
  /** Record the main camera. */
1133
1392
  main: boolean;
@@ -1143,6 +1402,65 @@ export interface StorageSpace {
1143
1402
  /** Available bytes of storage space (B). */
1144
1403
  freeSpace: number;
1145
1404
  }
1405
+ /** Storage partition. */
1406
+ export interface StoragePartition {
1407
+ /** The amount of storage space on the device. */
1408
+ storageSpace: StorageSpace | undefined;
1409
+ /** File system type of the removable storage device. */
1410
+ fileSystemType: string;
1411
+ /** Partition device path */
1412
+ devicePath: string;
1413
+ /** Mount path of the partition. */
1414
+ mountPath: string;
1415
+ /** Label of the partition. */
1416
+ label: string;
1417
+ }
1418
+ /** Removable storage device. */
1419
+ export interface RemovableStorageDevice {
1420
+ /** USB vendor name. */
1421
+ vendorName: string;
1422
+ /** Model name of the USB storage device. */
1423
+ modelName: string;
1424
+ /** Mount path of the storage device. */
1425
+ devicePath: string;
1426
+ /** Status of the storage device. */
1427
+ status: RemovableStorageDevice_Status;
1428
+ /** Any active error flags for the storage device. */
1429
+ errorFlags: RemovableStorageErrorFlags | undefined;
1430
+ /** List of partitions on the storage device. */
1431
+ partitions: StoragePartition[];
1432
+ }
1433
+ /** Overall status of the storage device. */
1434
+ export declare enum RemovableStorageDevice_Status {
1435
+ /** STATUS_UNSPECIFIED - Unspecified. */
1436
+ STATUS_UNSPECIFIED = 0,
1437
+ /** STATUS_READY - The storage device is valid and ready for use. */
1438
+ STATUS_READY = 1,
1439
+ /** STATUS_FORMATTING - The storage device is being formatted. */
1440
+ STATUS_FORMATTING = 2,
1441
+ /** STATUS_ERROR - The storage device is in an error state. */
1442
+ STATUS_ERROR = 3,
1443
+ /** STATUS_UNPLUGGED - The storage device is not present. */
1444
+ STATUS_UNPLUGGED = 4,
1445
+ UNRECOGNIZED = -1
1446
+ }
1447
+ export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
1448
+ export declare function removableStorageDevice_StatusToJSON(object: RemovableStorageDevice_Status): string;
1449
+ /** Error flags related to a removable storage device. */
1450
+ export interface RemovableStorageErrorFlags {
1451
+ /** Optional error message to give additional information from the drone to a client about active error flags. */
1452
+ errorMessage: string;
1453
+ /** Device is attached but no partitions are found. */
1454
+ noPartitionsFound: boolean;
1455
+ /** Multiple partitions are found. */
1456
+ multiplePartitionsFound: boolean;
1457
+ /** The wrong file system is found. */
1458
+ wrongFileSystemFound: boolean;
1459
+ /** The device is in read-only mode. */
1460
+ deviceIsReadOnly: boolean;
1461
+ /** Formatting of the device failed. */
1462
+ formattingFailed: boolean;
1463
+ }
1146
1464
  /** Compass calibration state. */
1147
1465
  export interface CalibrationState {
1148
1466
  /** Current calibration status. */
@@ -1165,7 +1483,7 @@ export interface CalibrationState {
1165
1483
  /**
1166
1484
  * Status of the compass calibration procedure.
1167
1485
  *
1168
- * When calibration is started, the status will indicate the active (upfacing) axis.
1486
+ * When calibration is started, the status will indicate the active (up facing) axis.
1169
1487
  */
1170
1488
  export declare enum CalibrationState_Status {
1171
1489
  /** STATUS_UNSPECIFIED - Unspecified status. */
@@ -1186,7 +1504,7 @@ export declare enum CalibrationState_Status {
1186
1504
  STATUS_CALIBRATING_Z_POSITIVE = 7,
1187
1505
  /** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
1188
1506
  STATUS_CALIBRATING_Z_NEGATIVE = 8,
1189
- /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interferance. */
1507
+ /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
1190
1508
  STATUS_CALIBRATING_THRUSTER = 9,
1191
1509
  UNRECOGNIZED = -1
1192
1510
  }
@@ -1219,6 +1537,31 @@ export interface TiltVelocity {
1219
1537
  /**
1220
1538
  * Information about the drone.
1221
1539
  *
1540
+ * Information about a loaded computer vision model.
1541
+ */
1542
+ export interface CvModelInfo {
1543
+ /** Human-readable model name (from model_meta.json). */
1544
+ name: string;
1545
+ /** Type of CV model. */
1546
+ type: CvModelInfo_ModelType;
1547
+ /** Whether the model is currently running. */
1548
+ running: boolean;
1549
+ /** Execution provider (e.g. "cuda", "tensorrt"). */
1550
+ device: string;
1551
+ /** Package directory name (e.g. "tinyyolov2_package"). Stable identifier. */
1552
+ packageId: string;
1553
+ /** Class names the model can detect (indexed by class_id). */
1554
+ labels: string[];
1555
+ }
1556
+ export declare enum CvModelInfo_ModelType {
1557
+ MODEL_TYPE_UNSPECIFIED = 0,
1558
+ MODEL_TYPE_DETECTION = 1,
1559
+ MODEL_TYPE_SOT = 2,
1560
+ UNRECOGNIZED = -1
1561
+ }
1562
+ export declare function cvModelInfo_ModelTypeFromJSON(object: any): CvModelInfo_ModelType;
1563
+ export declare function cvModelInfo_ModelTypeToJSON(object: CvModelInfo_ModelType): string;
1564
+ /**
1222
1565
  * This message contains serial numbers and version information for
1223
1566
  * internal components in the drone. Primarily used for diagnostics, or to
1224
1567
  * determine the origin of a logfile.
@@ -1246,6 +1589,10 @@ export interface DroneInfo {
1246
1589
  gp: GuestPortInfo | undefined;
1247
1590
  /** Type of depth sensor that is connected to the drone. */
1248
1591
  depthSensor: PressureSensorType;
1592
+ /** List of loaded computer vision models. */
1593
+ cvModels: CvModelInfo[];
1594
+ /** How the drone is powered. */
1595
+ powerSource: PowerSource;
1249
1596
  }
1250
1597
  /** Known error states for the drone. */
1251
1598
  export interface ErrorFlags {
@@ -1271,30 +1618,60 @@ export interface ErrorFlags {
1271
1618
  gp2Read: boolean;
1272
1619
  /** Guest port 3 read error. */
1273
1620
  gp3Read: boolean;
1621
+ /** Guest port 4 read error. */
1622
+ gp4Read: boolean;
1623
+ /** Guest port 5 read error. */
1624
+ gp5Read: boolean;
1625
+ /** Guest port 6 read error. */
1626
+ gp6Read: boolean;
1274
1627
  /** Guest port 1 not flashed. */
1275
1628
  gp1NotFlashed: boolean;
1276
1629
  /** Guest port 2 not flashed. */
1277
1630
  gp2NotFlashed: boolean;
1278
1631
  /** Guest port 3 not flashed. */
1279
1632
  gp3NotFlashed: boolean;
1633
+ /** Guest port 4 not flashed. */
1634
+ gp4NotFlashed: boolean;
1635
+ /** Guest port 5 not flashed. */
1636
+ gp5NotFlashed: boolean;
1637
+ /** Guest port 6 not flashed. */
1638
+ gp6NotFlashed: boolean;
1280
1639
  /** Unknown device on guest port 1. */
1281
1640
  gp1UnknownDevice: boolean;
1282
1641
  /** Unknown device on guest port 2. */
1283
1642
  gp2UnknownDevice: boolean;
1284
1643
  /** Unknown device on guest port 3. */
1285
1644
  gp3UnknownDevice: boolean;
1645
+ /** Unknown device on guest port 4. */
1646
+ gp4UnknownDevice: boolean;
1647
+ /** Unknown device on guest port 5. */
1648
+ gp5UnknownDevice: boolean;
1649
+ /** Unknown device on guest port 6. */
1650
+ gp6UnknownDevice: boolean;
1286
1651
  /** Guest port 1 connection error. */
1287
1652
  gp1DeviceConnection: boolean;
1288
1653
  /** Guest port 2 connection error. */
1289
1654
  gp2DeviceConnection: boolean;
1290
1655
  /** Guest port 3 connection error. */
1291
1656
  gp3DeviceConnection: boolean;
1657
+ /** Guest port 4 connection error. */
1658
+ gp4DeviceConnection: boolean;
1659
+ /** Guest port 5 connection error. */
1660
+ gp5DeviceConnection: boolean;
1661
+ /** Guest port 6 connection error. */
1662
+ gp6DeviceConnection: boolean;
1292
1663
  /** Guest port 1 device error. */
1293
1664
  gp1Device: boolean;
1294
1665
  /** Guest port 2 device error. */
1295
1666
  gp2Device: boolean;
1296
1667
  /** Guest port 3 device error. */
1297
1668
  gp3Device: boolean;
1669
+ /** Guest port 4 device error. */
1670
+ gp4Device: boolean;
1671
+ /** Guest port 5 device error. */
1672
+ gp5Device: boolean;
1673
+ /** Guest port 6 device error. */
1674
+ gp6Device: boolean;
1298
1675
  /** Drone serial number not set. */
1299
1676
  droneSerialNotSet: boolean;
1300
1677
  /** Drone serial number error. */
@@ -1325,14 +1702,44 @@ export interface ErrorFlags {
1325
1702
  gpCurrentRead: boolean;
1326
1703
  /** Max GP current exceeded. */
1327
1704
  gpCurrent: boolean;
1328
- /** Max battery current exceeded on GP1. */
1705
+ /** Max battery current exceeded on guest port 1. */
1329
1706
  gp1BatCurrent: boolean;
1330
- /** Max battery current exceeded on GP2. */
1707
+ /** Max battery current exceeded on guest port 2. */
1331
1708
  gp2BatCurrent: boolean;
1332
- /** Max battery current exceeded on GP3. */
1709
+ /** Max battery current exceeded on guest port 3. */
1333
1710
  gp3BatCurrent: boolean;
1334
- /** Max 20V current exceeded on GP. */
1335
- gp20vCurrent: boolean;
1711
+ /** Max battery current exceeded on guest port 4. */
1712
+ gp4BatCurrent: boolean;
1713
+ /** Max battery current exceeded on guest port 5. */
1714
+ gp5BatCurrent: boolean;
1715
+ /** Max battery current exceeded on guest port 6. */
1716
+ gp6BatCurrent: boolean;
1717
+ /** Max 24V current exceeded on GP. Only present on X1/X3 (not X3 Ultra or X7). */
1718
+ gp24vCurrent: boolean;
1719
+ /** Max 24V current exceeded on guest port 1. */
1720
+ gp124vCurrent: boolean;
1721
+ /** Max 24V current exceeded on guest port 2. */
1722
+ gp224vCurrent: boolean;
1723
+ /** Max 24V current exceeded on guest port 3. */
1724
+ gp324vCurrent: boolean;
1725
+ /** Max 24V current exceeded on guest port 4. */
1726
+ gp424vCurrent: boolean;
1727
+ /** Max 24V current exceeded on guest port 5. */
1728
+ gp524vCurrent: boolean;
1729
+ /** Max 24V current exceeded on guest port 6. */
1730
+ gp624vCurrent: boolean;
1731
+ /** Max 5V current exceeded on guest port 1. */
1732
+ gp15vCurrent: boolean;
1733
+ /** Max 5V current exceeded on guest port 2. */
1734
+ gp25vCurrent: boolean;
1735
+ /** Max 5V current exceeded on guest port 3. */
1736
+ gp35vCurrent: boolean;
1737
+ /** Max 5V current exceeded on guest port 4. */
1738
+ gp45vCurrent: boolean;
1739
+ /** Max 5V current exceeded on guest port 5. */
1740
+ gp55vCurrent: boolean;
1741
+ /** Max 5V current exceeded on guest port 6. */
1742
+ gp65vCurrent: boolean;
1336
1743
  /** DVL is in thermal protection mode. */
1337
1744
  dvlThermalProtectionMode: boolean;
1338
1745
  /** GP protection has been triggered at boot or faulty DVL. */
@@ -1352,22 +1759,57 @@ export interface CameraParameters {
1352
1759
  mjpgBitrate: number;
1353
1760
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1354
1761
  exposure: number;
1355
- /** White balance temperature (2800..9300), -1 for automatic white balance. */
1762
+ /** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
1356
1763
  whiteBalance: number;
1357
- /** Hue (-40..40), 0 as default. */
1764
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1358
1765
  hue: number;
1359
- /** Iso gain (0..1). */
1766
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1360
1767
  gain: number;
1768
+ /** Brightness (-10..10), 0 as default. Only available on Ultra */
1769
+ brightness: number;
1770
+ /** Contrast (-50..50), 0 as default. Only available on Ultra. */
1771
+ contrast: number;
1772
+ /** Saturation (0..50), 8 as default. Only available on Ultra. */
1773
+ saturation: number;
1774
+ /** Gamma (4..79), 22 as default. Only available on Ultra. */
1775
+ gamma: number;
1776
+ /** Sharpness (-20..20), -20 as default. Only available on Ultra. */
1777
+ sharpness: number;
1778
+ /** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
1779
+ backlightCompensation: number;
1780
+ /** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
1781
+ denoise: number;
1782
+ /** Enable eHDR mode. Default true. Only available on Ultra. */
1783
+ ehdrEnabled: boolean;
1784
+ /** Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra. */
1785
+ ehdrExposureMinNumber: number;
1786
+ /** Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate. */
1787
+ ehdrExposureMaxNumber: number;
1361
1788
  /** Stream, recording and image resolution (deprecated). */
1362
1789
  resolution: Resolution;
1363
1790
  /** Stream resolution. */
1364
1791
  streamResolution: Resolution;
1365
1792
  /** Recording and image resolution. */
1366
1793
  recordingResolution: Resolution;
1794
+ /** Streaming protocol. */
1795
+ streamingProtocol: StreamingProtocol;
1367
1796
  /** Stream and recording framerate. */
1368
1797
  framerate: Framerate;
1369
1798
  /** Which camera the parameters belong to. */
1370
1799
  camera: Camera;
1800
+ /**
1801
+ * Network MTU (Maximum Transmission Unit) size for video streaming in bytes (68..65535).
1802
+ * If 0 or unset, the system will use a default of 1400.
1803
+ * The Blueye App allows users to set values between 500 and 1460.
1804
+ */
1805
+ mtuSize: number;
1806
+ /** Recording video codec. If unset, uses platform default. */
1807
+ recordingCodec: RecordingCodec;
1808
+ /**
1809
+ * Recording bitrate in bits/sec. If 0 or unset, a default is computed based
1810
+ * on resolution, framerate, and encoding. Set explicitly to override.
1811
+ */
1812
+ recordingBitrate: number;
1371
1813
  }
1372
1814
  /**
1373
1815
  * Overlay parameters.
@@ -1480,6 +1922,12 @@ export interface GuestPortInfo {
1480
1922
  gp2: GuestPortConnectorInfo | undefined;
1481
1923
  /** Information about guest port 3. */
1482
1924
  gp3: GuestPortConnectorInfo | undefined;
1925
+ /** Information about guest port 4. */
1926
+ gp4: GuestPortConnectorInfo | undefined;
1927
+ /** Information about guest port 5. */
1928
+ gp5: GuestPortConnectorInfo | undefined;
1929
+ /** Information about guest port 6. */
1930
+ gp6: GuestPortConnectorInfo | undefined;
1483
1931
  }
1484
1932
  /** GuestPort restart information. */
1485
1933
  export interface GuestPortRestartInfo {
@@ -1524,8 +1972,38 @@ export interface GuestPortCurrent {
1524
1972
  gp2Bat: number;
1525
1973
  /** Current on GP3 battery voltage (A). */
1526
1974
  gp3Bat: number;
1527
- /** Current on common 20V supply (A). */
1528
- gp20v: number;
1975
+ /** Current on common/input 24V supply (A). Only present on X1/X3 (not X3 Ultra or X7). */
1976
+ gp24v: number;
1977
+ /** Current on GP4 battery voltage (A). */
1978
+ gp4Bat: number;
1979
+ /** Current on GP5 battery voltage (A). */
1980
+ gp5Bat: number;
1981
+ /** Current on GP6 battery voltage (A). */
1982
+ gp6Bat: number;
1983
+ /** Current on GP1 24V supply (A). */
1984
+ gp124v: number;
1985
+ /** Current on GP2 24V supply (A). */
1986
+ gp224v: number;
1987
+ /** Current on GP3 24V supply (A). */
1988
+ gp324v: number;
1989
+ /** Current on GP4 24V supply (A). */
1990
+ gp424v: number;
1991
+ /** Current on GP5 24V supply (A). */
1992
+ gp524v: number;
1993
+ /** Current on GP6 24V supply (A). */
1994
+ gp624v: number;
1995
+ /** Current on GP1 5V supply (A). */
1996
+ gp15v: number;
1997
+ /** Current on GP2 5V supply (A). */
1998
+ gp25v: number;
1999
+ /** Current on GP3 5V supply (A). */
2000
+ gp35v: number;
2001
+ /** Current on GP4 5V supply (A). */
2002
+ gp45v: number;
2003
+ /** Current on GP5 5V supply (A). */
2004
+ gp55v: number;
2005
+ /** Current on GP6 5V supply (A). */
2006
+ gp65v: number;
1529
2007
  }
1530
2008
  /** Vector with 3 elements. */
1531
2009
  export interface Vector3 {
@@ -1593,8 +2071,7 @@ export interface MultibeamPing {
1593
2071
  /** Size in bytes of each row in the ping data image. */
1594
2072
  step: number;
1595
2073
  /**
1596
- * Bearing angle of each column of the sonar data
1597
- * (in 100th of a degree, multiply by 0.01 to get a value in degrees).
2074
+ * Bearing angle of each column of the sonar data in degrees.
1598
2075
  * The sonar image is not sampled uniformly in the bearing direction.
1599
2076
  */
1600
2077
  bearings: number[];
@@ -1734,7 +2211,7 @@ export interface PersistentStorageSettings {
1734
2211
  accCalibration: boolean;
1735
2212
  }
1736
2213
  /**
1737
- * CPU information.
2214
+ * CPU information (deprecated, use SystemPerformanceInfo instead).
1738
2215
  *
1739
2216
  * Contains information about the CPU load and memory usage of the drone.
1740
2217
  */
@@ -1747,11 +2224,377 @@ export interface CPUInfo {
1747
2224
  mainQueueLoad: number;
1748
2225
  /** Guestport queue load (0..1). */
1749
2226
  guestportQueueLoad: number;
2227
+ /** Communication queue load (0..1). */
2228
+ commQueueLoad: number;
2229
+ }
2230
+ /** Per-core CPU utilization. */
2231
+ export interface CpuCoreLoad {
2232
+ /** Core index (0-based). */
2233
+ coreIndex: number;
2234
+ /** Core load (0..1). */
2235
+ load: number;
2236
+ /** Current clock frequency (MHz). */
2237
+ frequencyMhz: number;
2238
+ }
2239
+ /** GPU utilization and status. */
2240
+ export interface GpuInfo {
2241
+ /** GPU load (0..1). */
2242
+ load: number;
2243
+ /** Current GPU clock frequency (MHz). */
2244
+ frequencyMhz: number;
2245
+ }
2246
+ /**
2247
+ * Deep Learning Accelerator (DLA) utilization.
2248
+ *
2249
+ * Jetson Orin NX has two DLA engines used for inference offload.
2250
+ */
2251
+ export interface DlaInfo {
2252
+ /** DLA engine index (0-based). */
2253
+ engineIndex: number;
2254
+ /** DLA engine load (0..1). */
2255
+ load: number;
2256
+ /** Core clock frequency (MHz). 0 when disabled. */
2257
+ frequencyMhz: number;
2258
+ /** True when the DLA engine is actively processing. */
2259
+ enabled: boolean;
2260
+ /** Falcon microcontroller clock frequency (MHz). 0 when disabled. */
2261
+ falconFrequencyMhz: number;
2262
+ }
2263
+ /** System memory information. */
2264
+ export interface MemoryInfo {
2265
+ /** Total RAM (bytes). */
2266
+ totalBytes: number;
2267
+ /** Used RAM (bytes). */
2268
+ usedBytes: number;
2269
+ /** Cached RAM (bytes). */
2270
+ cachedBytes: number;
2271
+ /** Memory bus utilization (0..1). i.MX only. */
2272
+ busLoad: number;
2273
+ }
2274
+ /** Thermal zone reading. */
2275
+ export interface ThermalZone {
2276
+ /** Thermal zone identifier. */
2277
+ zone: ThermalZoneId;
2278
+ /** Temperature (°C). */
2279
+ temperature: number;
2280
+ }
2281
+ /** Video codec engine status. */
2282
+ export interface VideoCodecInfo {
2283
+ /** Jetson only (NVENC/NVDEC/NVJPG/VIC devfreq). */
2284
+ encoderActive: boolean;
2285
+ /** Video encoder clock frequency (MHz). */
2286
+ encoderFrequencyMhz: number;
2287
+ /** Video decoder (NVDEC) is active. */
2288
+ decoderActive: boolean;
2289
+ /** Video decoder clock frequency (MHz). */
2290
+ decoderFrequencyMhz: number;
2291
+ /** JPEG engine (NVJPG) is active. */
2292
+ nvjpgActive: boolean;
2293
+ /** JPEG engine clock frequency (MHz). */
2294
+ nvjpgFrequencyMhz: number;
2295
+ /** Video Image Compositor (VIC) is active. */
2296
+ vicActive: boolean;
2297
+ /** VIC clock frequency (MHz). */
2298
+ vicFrequencyMhz: number;
2299
+ /** i.MX only (CODA VPU). */
2300
+ vpuActive: boolean;
2301
+ /** VPU AXI clock frequency (MHz). */
2302
+ vpuFrequencyMhz: number;
2303
+ /** Cumulative VPU_CODEC_IRQ count. */
2304
+ vpuCodecIrqCount: number;
2305
+ /** Cumulative VPU_JPG_IRQ count. */
2306
+ vpuJpgIrqCount: number;
2307
+ /** Jetson only (host1x actmon engine utilization, 0..1). */
2308
+ encoderLoad: number;
2309
+ /** Video decoder (NVDEC) utilization (0..1). */
2310
+ decoderLoad: number;
2311
+ /** JPEG engine (NVJPG) utilization (0..1). */
2312
+ nvjpgLoad: number;
2313
+ /** Video Image Compositor (VIC) utilization (0..1). */
2314
+ vicLoad: number;
2315
+ }
2316
+ /**
2317
+ * NVMe SSD health, wear and identity (Jetson only; i.MX drones boot/store on
2318
+ * an SD card and have no NVMe device, so this message is omitted there).
2319
+ */
2320
+ export interface NvmeInfo {
2321
+ /** Tier 1 — health & safety. */
2322
+ compositeTemperature: number;
2323
+ /** NVMe critical-warning bitfield. */
2324
+ criticalWarning: number;
2325
+ /** Wear indicator (%, may exceed 100). */
2326
+ percentageUsed: number;
2327
+ /** Remaining spare capacity (%). */
2328
+ availableSpare: number;
2329
+ /** Spare alarm threshold (%). */
2330
+ availableSpareThreshold: number;
2331
+ /** Uncorrected data-integrity errors. */
2332
+ mediaErrors: number;
2333
+ /** Power-loss / unsafe shutdown count. */
2334
+ unsafeShutdowns: number;
2335
+ /** Tier 2 — thermal throttling. */
2336
+ warningTempTimeMin: number;
2337
+ /** Minutes above the critical temperature. */
2338
+ criticalTempTimeMin: number;
2339
+ /** Times entered light throttling. */
2340
+ thermalMgmtT1TransCount: number;
2341
+ /** Times entered heavy throttling. */
2342
+ thermalMgmtT2TransCount: number;
2343
+ /** Total seconds in light throttling. */
2344
+ thermalMgmtT1TotalTimeS: number;
2345
+ /** Total seconds in heavy throttling. */
2346
+ thermalMgmtT2TotalTimeS: number;
2347
+ /** Tier 3 — endurance / workload. */
2348
+ dataUnitsWrittenBytes: number;
2349
+ /** Host data read (B). */
2350
+ dataUnitsReadBytes: number;
2351
+ /** Host write command count. */
2352
+ hostWriteCommands: number;
2353
+ /** Host read command count. */
2354
+ hostReadCommands: number;
2355
+ /** Power-on hours. */
2356
+ powerOnHours: number;
2357
+ /** Power cycle count. */
2358
+ powerCycles: number;
2359
+ /** Controller busy time (min). */
2360
+ controllerBusyTimeMin: number;
2361
+ /** Error-log entry count. */
2362
+ numErrLogEntries: number;
2363
+ /** Tier 4 — identity & capacity. */
2364
+ model: string;
2365
+ /** Drive serial number. */
2366
+ serial: string;
2367
+ /** Firmware revision. */
2368
+ firmwareRev: string;
2369
+ /** Total drive capacity (B). Partition used/free is */
2370
+ capacityBytes: number;
2371
+ }
2372
+ /**
2373
+ * System performance information.
2374
+ *
2375
+ * Comprehensive performance metrics for the drone's compute platform.
2376
+ * Covers CPU, GPU, DLA, memory, thermals, video codec utilization and NVMe
2377
+ * SSD state. Fields not applicable to a platform are left at their
2378
+ * zero/empty defaults.
2379
+ */
2380
+ export interface SystemPerformanceInfo {
2381
+ /** Per-core CPU utilization. */
2382
+ cpuCores: CpuCoreLoad[];
2383
+ /** Mean CPU utilization across all cores (0..1). */
2384
+ cpuUtilization: number;
2385
+ /** GPU utilization. */
2386
+ gpu: GpuInfo | undefined;
2387
+ /** DLA engine utilization (Jetson only). */
2388
+ dlaEngines: DlaInfo[];
2389
+ /** RAM usage. */
2390
+ memory: MemoryInfo | undefined;
2391
+ /** All thermal zone readings. */
2392
+ thermalZones: ThermalZone[];
2393
+ /** Video encoder/decoder status. */
2394
+ videoCodec: VideoCodecInfo | undefined;
2395
+ /** Main queue load (0..1). */
2396
+ mainQueueLoad: number;
2397
+ /** Guestport queue load (0..1). */
2398
+ guestportQueueLoad: number;
2399
+ /** Communication queue load (0..1). */
2400
+ commQueueLoad: number;
2401
+ /** Camera queue load (0..1). */
2402
+ cameraQueueLoad: number;
2403
+ /** Overlay queue load (0..1). */
2404
+ overlayQueueLoad: number;
2405
+ /** Position observer queue load (0..1). */
2406
+ positionObserverQueueLoad: number;
2407
+ /** NVMe SSD health/identity (Jetson only). */
2408
+ nvme: NvmeInfo | undefined;
2409
+ }
2410
+ /**
2411
+ * Surface Unit battery information.
2412
+ *
2413
+ * This message is published by the Surface Unit, and re-published by
2414
+ * the drone over the communication protocol.
2415
+ */
2416
+ export interface SurfaceUnitBatteryInfo {
2417
+ /** Battery charge status. */
2418
+ status: SurfaceUnitBatteryInfo_ChargeStatus;
2419
+ /** Battery level (0..1). */
2420
+ level: number;
2421
+ }
2422
+ export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
2423
+ CHARGE_STATUS_UNSPECIFIED = 0,
2424
+ CHARGE_STATUS_DISCHARGE = 1,
2425
+ CHARGE_STATUS_CHARGE = 2,
2426
+ CHARGE_STATUS_CHARGE_ERROR = 3,
2427
+ UNRECOGNIZED = -1
2428
+ }
2429
+ export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
2430
+ export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
2431
+ /**
2432
+ * Surface Unit version information.
2433
+ *
2434
+ * This message is published by the Surface Unit, and re-published by
2435
+ * the drone over the communication protocol.
2436
+ */
2437
+ export interface SurfaceUnitVersionInfo {
2438
+ /** Surface Unit firmware version (x.y.z). */
2439
+ version: string;
2440
+ }
2441
+ /**
2442
+ * Bounding box for object detection.
2443
+ *
2444
+ * Coordinates are in pixels relative to the camera image,
2445
+ * where (x, y) is the top-left corner of the bounding box.
2446
+ */
2447
+ export interface BoundingBox {
2448
+ /** Horizontal offset of the top-left corner (px). */
2449
+ x: number;
2450
+ /** Vertical offset of the top-left corner (px). */
2451
+ y: number;
2452
+ /** Width of the bounding box (px). */
2453
+ width: number;
2454
+ /** Height of the bounding box (px). */
2455
+ height: number;
2456
+ }
2457
+ /**
2458
+ * RLE-encoded binary segmentation mask relative to the bounding box.
2459
+ *
2460
+ * The mask bitmap has dimensions (mask_width x mask_height) covering the
2461
+ * detection's bounding box area. The counts field stores run-length encoded
2462
+ * data as packed uint16 little-endian: alternating background/foreground
2463
+ * pixel runs starting with background.
2464
+ */
2465
+ export interface SegmentationMask {
2466
+ /** Width of the RLE bitmap. */
2467
+ maskWidth: number;
2468
+ /** Height of the RLE bitmap. */
2469
+ maskHeight: number;
2470
+ /** RLE counts as packed uint16 little-endian. */
2471
+ counts: Uint8Array;
2472
+ }
2473
+ /** A single object detection from a computer vision model. */
2474
+ export interface ObjectDetection {
2475
+ /** Bounding box of the detected object. */
2476
+ boundingBox: BoundingBox | undefined;
2477
+ /** Detection confidence score (0..1). */
2478
+ confidence: number;
2479
+ /** Numeric class identifier from the model. */
2480
+ classId: number;
2481
+ /** Human-readable class name. */
2482
+ className: string;
2483
+ /** Unique ID for tracking the same object across frames. */
2484
+ trackingId: number;
2485
+ /** Instance segmentation mask (absent if model has no segmentation). */
2486
+ mask: SegmentationMask | undefined;
2487
+ }
2488
+ /** A list of object detections from a single model for a single video frame. */
2489
+ export interface ModelDetections {
2490
+ /** List of detections in the frame. */
2491
+ detections: ObjectDetection[];
2492
+ /** Which camera the detections are from. */
2493
+ camera: Camera;
2494
+ /** Width of the source image (px). */
2495
+ imageWidth: number;
2496
+ /** Height of the source image (px). */
2497
+ imageHeight: number;
2498
+ /** Name of the computer vision model that produced the detections. */
2499
+ modelName: string;
2500
+ }
2501
+ /** Generic filter settings. */
2502
+ export interface FilterMessage {
2503
+ /** If the filter is enabled. */
2504
+ enabled: boolean;
2505
+ /** Intensity of the filter (0..1). */
2506
+ intensity: number;
2507
+ }
2508
+ /**
2509
+ * Digital pan, tilt, and zoom state for the main camera.
2510
+ *
2511
+ * Only supported on X3 Ultra. Controls digital (not mechanical) zoom.
2512
+ */
2513
+ export interface CameraPanTiltZoom {
2514
+ /** Horizontal pan (-1.0..1.0), where 0.0 is center. */
2515
+ pan: number;
2516
+ /** Vertical tilt (-1.0..1.0), where 0.0 is center. */
2517
+ tilt: number;
2518
+ /** Zoom level (0.0..1.0), where 0.0 is no zoom and 1.0 is maximum zoom. */
2519
+ zoom: number;
2520
+ }
2521
+ /**
2522
+ * Information about the operator controlling the drone.
2523
+ *
2524
+ * Used to identify who started a dive, for reporting and when importing
2525
+ * dives to Blueye Cloud.
2526
+ */
2527
+ export interface OperatorInfo {
2528
+ /** Full name of the operator. */
2529
+ name: string;
2530
+ /** E-mail address of the operator. */
2531
+ email: string;
2532
+ }
2533
+ /** Single-object tracking (SOT) state reported by the computer vision pipeline. */
2534
+ export interface SotState {
2535
+ /** Current tracking state. */
2536
+ state: SotState_State;
2537
+ /** Current tracked bounding box (valid when TRACKING). */
2538
+ boundingBox: BoundingBox | undefined;
2539
+ /** Width of the source frame in pixels. */
2540
+ imageWidth: number;
2541
+ /** Height of the source frame in pixels. */
2542
+ imageHeight: number;
2543
+ }
2544
+ /** Current state of the SOT tracker. */
2545
+ export declare enum SotState_State {
2546
+ /** STATE_UNSPECIFIED - Unspecified state. */
2547
+ STATE_UNSPECIFIED = 0,
2548
+ /** STATE_IDLE - No target selected, waiting for a target bounding box. */
2549
+ STATE_IDLE = 1,
2550
+ /** STATE_TRACKING - Actively tracking a target. */
2551
+ STATE_TRACKING = 2,
2552
+ /** STATE_LOST - Target was lost (tracker failed to follow the object). */
2553
+ STATE_LOST = 3,
2554
+ UNRECOGNIZED = -1
2555
+ }
2556
+ export declare function sotState_StateFromJSON(object: any): SotState_State;
2557
+ export declare function sotState_StateToJSON(object: SotState_State): string;
2558
+ /**
2559
+ * A single annotation added during a dive, e.g. by a diver tapping a type in the
2560
+ * app command palette, or emitted by the drone itself.
2561
+ *
2562
+ * Self-contained: it carries the type's display fields (name/icon/color) inline,
2563
+ * so the drone, any connected client, and the dive logfile can render it without
2564
+ * a separate catalog. The app keeps the full catalog locally (synced from
2565
+ * Blueye Cloud) to drive its palette, but only complete annotations go over the
2566
+ * wire. type_slug lets Blueye Cloud correlate the annotation to its type on import.
2567
+ *
2568
+ * The drone owns the timestamp: when this is logged the enclosing BinlogRecord
2569
+ * carries the time, like any other sample, so there is no time field here.
2570
+ */
2571
+ export interface Annotation {
2572
+ /** Stable type id for grouping / Cloud correlation. Empty for a free-form annotation. */
2573
+ typeSlug: string;
2574
+ /** Type display name, e.g. "Hazard". Snapshot of the type at creation time. */
2575
+ typeName: string;
2576
+ /** Font Awesome solid icon name, kebab-case (e.g. "triangle-exclamation"). */
2577
+ typeIcon: string;
2578
+ /** Type color, RGB hex incl. leading '#', 7 chars (e.g. "#DC2626"). */
2579
+ typeColor: string;
2580
+ /** Optional annotation title; Cloud falls back to type_name if empty. Max 200 chars. */
2581
+ title: string;
2582
+ /** Optional free-form note. Unbounded. */
2583
+ body: string;
2584
+ /** Optional span; omit for a point-in-time marker. */
2585
+ duration: Duration | undefined;
2586
+ /** Origin of the annotation; the app sets APP, the drone sets DRONE for its own. */
2587
+ source: AnnotationSource;
1750
2588
  }
1751
2589
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
2590
+ export declare const LogEntry: MessageFns<LogEntry>;
2591
+ export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
2592
+ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyValuePair>;
1752
2593
  export declare const MotionInput: MessageFns<MotionInput>;
1753
2594
  export declare const Lights: MessageFns<Lights>;
1754
2595
  export declare const Laser: MessageFns<Laser>;
2596
+ export declare const Point2D: MessageFns<Point2D>;
2597
+ export declare const LaserDetection: MessageFns<LaserDetection>;
1755
2598
  export declare const LatLongPosition: MessageFns<LatLongPosition>;
1756
2599
  export declare const ConnectionDuration: MessageFns<ConnectionDuration>;
1757
2600
  export declare const AutoHeadingState: MessageFns<AutoHeadingState>;
@@ -1800,11 +2643,15 @@ export declare const ControllerHealth: MessageFns<ControllerHealth>;
1800
2643
  export declare const DiveTime: MessageFns<DiveTime>;
1801
2644
  export declare const RecordOn: MessageFns<RecordOn>;
1802
2645
  export declare const StorageSpace: MessageFns<StorageSpace>;
2646
+ export declare const StoragePartition: MessageFns<StoragePartition>;
2647
+ export declare const RemovableStorageDevice: MessageFns<RemovableStorageDevice>;
2648
+ export declare const RemovableStorageErrorFlags: MessageFns<RemovableStorageErrorFlags>;
1803
2649
  export declare const CalibrationState: MessageFns<CalibrationState>;
1804
2650
  export declare const IperfStatus: MessageFns<IperfStatus>;
1805
2651
  export declare const NStreamers: MessageFns<NStreamers>;
1806
2652
  export declare const TiltAngle: MessageFns<TiltAngle>;
1807
2653
  export declare const TiltVelocity: MessageFns<TiltVelocity>;
2654
+ export declare const CvModelInfo: MessageFns<CvModelInfo>;
1808
2655
  export declare const DroneInfo: MessageFns<DroneInfo>;
1809
2656
  export declare const ErrorFlags: MessageFns<ErrorFlags>;
1810
2657
  export declare const CameraParameters: MessageFns<CameraParameters>;
@@ -1831,22 +2678,35 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1831
2678
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1832
2679
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1833
2680
  export declare const CPUInfo: MessageFns<CPUInfo>;
2681
+ export declare const CpuCoreLoad: MessageFns<CpuCoreLoad>;
2682
+ export declare const GpuInfo: MessageFns<GpuInfo>;
2683
+ export declare const DlaInfo: MessageFns<DlaInfo>;
2684
+ export declare const MemoryInfo: MessageFns<MemoryInfo>;
2685
+ export declare const ThermalZone: MessageFns<ThermalZone>;
2686
+ export declare const VideoCodecInfo: MessageFns<VideoCodecInfo>;
2687
+ export declare const NvmeInfo: MessageFns<NvmeInfo>;
2688
+ export declare const SystemPerformanceInfo: MessageFns<SystemPerformanceInfo>;
2689
+ export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2690
+ export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
2691
+ export declare const BoundingBox: MessageFns<BoundingBox>;
2692
+ export declare const SegmentationMask: MessageFns<SegmentationMask>;
2693
+ export declare const ObjectDetection: MessageFns<ObjectDetection>;
2694
+ export declare const ModelDetections: MessageFns<ModelDetections>;
2695
+ export declare const FilterMessage: MessageFns<FilterMessage>;
2696
+ export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
2697
+ export declare const OperatorInfo: MessageFns<OperatorInfo>;
2698
+ export declare const SotState: MessageFns<SotState>;
2699
+ export declare const Annotation: MessageFns<Annotation>;
1834
2700
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1835
2701
  type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
1836
2702
  [K in keyof T]?: DeepPartial<T[K]>;
1837
2703
  } : Partial<T>;
1838
- type KeysOfUnion<T> = T extends T ? keyof T : never;
1839
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
1840
- [K in keyof P]: Exact<P[K], I[K]>;
1841
- } & {
1842
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1843
- };
1844
2704
  interface MessageFns<T> {
1845
2705
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
1846
2706
  decode(input: BinaryReader | Uint8Array, length?: number): T;
1847
2707
  fromJSON(object: any): T;
1848
2708
  toJSON(message: T): unknown;
1849
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
1850
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
2709
+ create(base?: DeepPartial<T>): T;
2710
+ fromPartial(object: DeepPartial<T>): T;
1851
2711
  }
1852
2712
  export {};