@blueyerobotics/protocol-definitions 3.2.0-fed2b1e2 → 3.3.0-64187c7a

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;
@@ -184,6 +186,8 @@ export declare enum Model {
184
186
  MODEL_X3 = 3,
185
187
  /** MODEL_X3_ULTRA - Blueye X3 Ultra. */
186
188
  MODEL_X3_ULTRA = 6,
189
+ /** MODEL_X7 - Blueye X7. */
190
+ MODEL_X7 = 7,
187
191
  /** MODEL_NEXT - Blueye ? */
188
192
  MODEL_NEXT = 5,
189
193
  UNRECOGNIZED = -1
@@ -206,6 +210,24 @@ export declare enum PressureSensorType {
206
210
  }
207
211
  export declare function pressureSensorTypeFromJSON(object: any): PressureSensorType;
208
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;
209
231
  /** Available camera resolutions. */
210
232
  export declare enum Resolution {
211
233
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
@@ -218,11 +240,18 @@ export declare enum Resolution {
218
240
  RESOLUTION_FULLHD_1080P = 1,
219
241
  /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
220
242
  RESOLUTION_UHD_4K = 3,
243
+ /** RESOLUTION_QHD_2K - 2K QHD (2560x1440, Only supported on X3 Ultra). */
244
+ RESOLUTION_QHD_2K = 5,
221
245
  UNRECOGNIZED = -1
222
246
  }
223
247
  export declare function resolutionFromJSON(object: any): Resolution;
224
248
  export declare function resolutionToJSON(object: Resolution): string;
225
- /** 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
+ */
226
255
  export declare enum Framerate {
227
256
  /** FRAMERATE_UNSPECIFIED - Framerate not specified. */
228
257
  FRAMERATE_UNSPECIFIED = 0,
@@ -230,6 +259,8 @@ export declare enum Framerate {
230
259
  FRAMERATE_FPS_30 = 1,
231
260
  /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
232
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,
233
264
  UNRECOGNIZED = -1
234
265
  }
235
266
  export declare function framerateFromJSON(object: any): Framerate;
@@ -257,6 +288,18 @@ export declare enum StreamingProtocol {
257
288
  }
258
289
  export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
259
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;
260
303
  /** Available temperature units. */
261
304
  export declare enum TemperatureUnit {
262
305
  /** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
@@ -323,6 +366,8 @@ export declare enum FontSize {
323
366
  FONT_SIZE_PX35 = 5,
324
367
  /** FONT_SIZE_PX40 - 40 px. */
325
368
  FONT_SIZE_PX40 = 6,
369
+ /** FONT_SIZE_PX50 - 50 px. */
370
+ FONT_SIZE_PX50 = 7,
326
371
  UNRECOGNIZED = -1
327
372
  }
328
373
  export declare function fontSizeFromJSON(object: any): FontSize;
@@ -419,8 +464,21 @@ export declare enum GuestPortDeviceID {
419
464
  GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
420
465
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
421
466
  GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
422
- /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
467
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
423
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,
475
+ /**
476
+ * GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 - Cygnus Mini ROV Thickness Gauge on a connector that converts its RS485 to
477
+ * RS232, letting it be used on drones with no RS485, such as the X7.
478
+ */
479
+ GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 = 49,
480
+ /** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
481
+ GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 = 50,
424
482
  UNRECOGNIZED = -1
425
483
  }
426
484
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -435,10 +493,43 @@ export declare enum GuestPortNumber {
435
493
  GUEST_PORT_NUMBER_PORT_2 = 2,
436
494
  /** GUEST_PORT_NUMBER_PORT_3 - Guest port 3. */
437
495
  GUEST_PORT_NUMBER_PORT_3 = 3,
496
+ /** GUEST_PORT_NUMBER_PORT_4 - Guest port 4. */
497
+ GUEST_PORT_NUMBER_PORT_4 = 4,
498
+ /** GUEST_PORT_NUMBER_PORT_5 - Guest port 5. */
499
+ GUEST_PORT_NUMBER_PORT_5 = 5,
500
+ /** GUEST_PORT_NUMBER_PORT_6 - Guest port 6. */
501
+ GUEST_PORT_NUMBER_PORT_6 = 6,
438
502
  UNRECOGNIZED = -1
439
503
  }
440
504
  export declare function guestPortNumberFromJSON(object: any): GuestPortNumber;
441
505
  export declare function guestPortNumberToJSON(object: GuestPortNumber): string;
506
+ /**
507
+ * Physical interfaces a guest port can provide.
508
+ *
509
+ * Used both for the interfaces a port provides and for the interfaces a
510
+ * device requires from the port it is connected to.
511
+ */
512
+ export declare enum GuestPortCapability {
513
+ /** GUEST_PORT_CAPABILITY_UNSPECIFIED - Unspecified. */
514
+ GUEST_PORT_CAPABILITY_UNSPECIFIED = 0,
515
+ /** GUEST_PORT_CAPABILITY_ETHERNET - Ethernet. */
516
+ GUEST_PORT_CAPABILITY_ETHERNET = 1,
517
+ /** GUEST_PORT_CAPABILITY_I2C - I2C. */
518
+ GUEST_PORT_CAPABILITY_I2C = 2,
519
+ /** GUEST_PORT_CAPABILITY_RS232 - RS232 serial. */
520
+ GUEST_PORT_CAPABILITY_RS232 = 3,
521
+ /** GUEST_PORT_CAPABILITY_RS485 - RS485 serial. */
522
+ GUEST_PORT_CAPABILITY_RS485 = 4,
523
+ /** GUEST_PORT_CAPABILITY_USB2 - USB 2.0. */
524
+ GUEST_PORT_CAPABILITY_USB2 = 5,
525
+ /** GUEST_PORT_CAPABILITY_PWM - PWM. */
526
+ GUEST_PORT_CAPABILITY_PWM = 6,
527
+ /** GUEST_PORT_CAPABILITY_ETHERNET_1G - Gigabit Ethernet. */
528
+ GUEST_PORT_CAPABILITY_ETHERNET_1G = 7,
529
+ UNRECOGNIZED = -1
530
+ }
531
+ export declare function guestPortCapabilityFromJSON(object: any): GuestPortCapability;
532
+ export declare function guestPortCapabilityToJSON(object: GuestPortCapability): string;
442
533
  /** List of navigation sensors that can be used by the position observer. */
443
534
  export declare enum NavigationSensorID {
444
535
  /** NAVIGATION_SENSOR_ID_UNSPECIFIED - Unspecified. */
@@ -455,6 +546,8 @@ export declare enum NavigationSensorID {
455
546
  NAVIGATION_SENSOR_ID_NORTEK_DVL_NUCLEUS = 5,
456
547
  /** NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
457
548
  NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650 = 6,
549
+ /** NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100 - Water Linked DVL A100. */
550
+ NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100 = 7,
458
551
  UNRECOGNIZED = -1
459
552
  }
460
553
  export declare function navigationSensorIDFromJSON(object: any): NavigationSensorID;
@@ -506,6 +599,48 @@ export declare enum MultibeamFrequencyMode {
506
599
  }
507
600
  export declare function multibeamFrequencyModeFromJSON(object: any): MultibeamFrequencyMode;
508
601
  export declare function multibeamFrequencyModeToJSON(object: MultibeamFrequencyMode): string;
602
+ /** Thermal zone identifiers. */
603
+ export declare enum ThermalZoneId {
604
+ /** THERMAL_ZONE_ID_UNSPECIFIED - Unspecified thermal zone. */
605
+ THERMAL_ZONE_ID_UNSPECIFIED = 0,
606
+ /** THERMAL_ZONE_ID_TJ - Junction temperature (Tj). */
607
+ THERMAL_ZONE_ID_TJ = 1,
608
+ /** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
609
+ THERMAL_ZONE_ID_CANISTER = 2,
610
+ /** THERMAL_ZONE_ID_CPU - CPU thermal zone. */
611
+ THERMAL_ZONE_ID_CPU = 3,
612
+ /** THERMAL_ZONE_ID_GPU - GPU thermal zone. */
613
+ THERMAL_ZONE_ID_GPU = 4,
614
+ /** THERMAL_ZONE_ID_CV0 - Vision accelerator 0 thermal zone. */
615
+ THERMAL_ZONE_ID_CV0 = 5,
616
+ /** THERMAL_ZONE_ID_CV1 - Vision accelerator 1 thermal zone. */
617
+ THERMAL_ZONE_ID_CV1 = 6,
618
+ /** THERMAL_ZONE_ID_CV2 - Vision accelerator 2 thermal zone. */
619
+ THERMAL_ZONE_ID_CV2 = 7,
620
+ /** THERMAL_ZONE_ID_SOC0 - SoC 0 thermal zone. */
621
+ THERMAL_ZONE_ID_SOC0 = 8,
622
+ /** THERMAL_ZONE_ID_SOC1 - SoC 1 thermal zone. */
623
+ THERMAL_ZONE_ID_SOC1 = 9,
624
+ /** THERMAL_ZONE_ID_SOC2 - SoC 2 thermal zone. */
625
+ THERMAL_ZONE_ID_SOC2 = 10,
626
+ UNRECOGNIZED = -1
627
+ }
628
+ export declare function thermalZoneIdFromJSON(object: any): ThermalZoneId;
629
+ export declare function thermalZoneIdToJSON(object: ThermalZoneId): string;
630
+ /** Origin of an annotation. Mirrors the AnnotationSource enum in Blueye Cloud. */
631
+ export declare enum AnnotationSource {
632
+ /** ANNOTATION_SOURCE_UNSPECIFIED - Origin not specified. */
633
+ ANNOTATION_SOURCE_UNSPECIFIED = 0,
634
+ /** ANNOTATION_SOURCE_CLOUD - Created in Blueye Cloud after the dive. */
635
+ ANNOTATION_SOURCE_CLOUD = 1,
636
+ /** ANNOTATION_SOURCE_APP - Created in the app during the dive. */
637
+ ANNOTATION_SOURCE_APP = 2,
638
+ /** ANNOTATION_SOURCE_DRONE - Emitted by the drone itself. */
639
+ ANNOTATION_SOURCE_DRONE = 3,
640
+ UNRECOGNIZED = -1
641
+ }
642
+ export declare function annotationSourceFromJSON(object: any): AnnotationSource;
643
+ export declare function annotationSourceToJSON(object: AnnotationSource): string;
509
644
  /**
510
645
  * Wrapper message for each entry in the drone telemetry logfile.
511
646
  *
@@ -617,7 +752,7 @@ export interface MotionInput {
617
752
  roll: number;
618
753
  /** Pitch down (negative) or up (positive). (-1..1). */
619
754
  pitch: number;
620
- /** Left (positive) and right (negative) movement (-1..1). */
755
+ /** Clockwise (positive) and counter-clockwise (negative) rotation (-1..1). */
621
756
  yaw: number;
622
757
  /** Modifier used to reduce the speed of the motion (0..1). */
623
758
  slow: number;
@@ -639,6 +774,46 @@ export interface Lights {
639
774
  export interface Laser {
640
775
  /** Laser intensity, any value above 0 turns the laser on (0..1). */
641
776
  value: number;
777
+ /** Modulate the laser at 5Hz for tracking. Only available on Ultra. */
778
+ modulated: boolean;
779
+ }
780
+ /** Point in 2D space. */
781
+ export interface Point2D {
782
+ /** X coordinate of the point (px). */
783
+ x: number;
784
+ /** Y coordinate of the point (px). */
785
+ y: number;
786
+ }
787
+ /**
788
+ * Message representing the detection of scaling lasers in the main camera.
789
+ *
790
+ * The message contains the centroids of the detected dots, the distance between them in pixels,
791
+ * and the confidence of the detection. The dots are detected through temporal DFT analysis of
792
+ * 5 Hz laser modulation, isolating flickering pixels from the static scene background.
793
+ *
794
+ * Only available on Ultra.
795
+ */
796
+ export interface LaserDetection {
797
+ /** True if the laser is detected by the drone. */
798
+ detected: boolean;
799
+ /** First dot centroid (leftmost). */
800
+ dot1: Point2D | undefined;
801
+ /** Second dot centroid (rightmost). */
802
+ dot2: Point2D | undefined;
803
+ /** Distance between dots in pixels. */
804
+ pixelDistance: number;
805
+ /** Confidence of the detection (0..1). */
806
+ confidence: number;
807
+ /** Source frame width. */
808
+ imageWidth: number;
809
+ /** Source frame height. */
810
+ imageHeight: number;
811
+ /** Real world distance between the two laser dots (m). */
812
+ laserWidth: number;
813
+ /** Distance after lens undistortion (px). */
814
+ correctedPixelDistance: number;
815
+ /** Estimated subject distance (m). */
816
+ estimatedDistance: number;
642
817
  }
643
818
  /** Latitude and longitude position in WGS 84 decimal degrees format. */
644
819
  export interface LatLongPosition {
@@ -687,6 +862,66 @@ export interface AutoPilotHeaveState {
687
862
  /** If auto pilot heave is enabled. */
688
863
  enabled: boolean;
689
864
  }
865
+ /**
866
+ * Spotlight mode parameters.
867
+ *
868
+ * Vision-based mode that keeps the tracked object centred in the frame
869
+ * while the pilot flies around it. Currently carries no parameters.
870
+ *
871
+ * Automatically controlled: yaw (horizontal centring) and depth
872
+ * (vertical centring).
873
+ * Pilot controlled: surge and sway.
874
+ */
875
+ export interface SpotlightState {
876
+ }
877
+ /**
878
+ * Active track mode parameters.
879
+ *
880
+ * Vision-based mode that follows the tracked object, keeping it centred
881
+ * and at a constant apparent size in the frame. Currently carries no
882
+ * parameters.
883
+ *
884
+ * Automatically controlled: yaw (horizontal centring), depth (vertical
885
+ * centring), and surge (distance keeping).
886
+ * Pilot controlled: sway.
887
+ */
888
+ export interface ActiveTrackState {
889
+ }
890
+ /**
891
+ * Orbit mode parameters.
892
+ *
893
+ * Vision-based mode that circles the tracked object while keeping it
894
+ * centred in the frame.
895
+ *
896
+ * Automatically controlled: yaw (horizontal centring), depth (vertical
897
+ * centring), surge (distance keeping), and sway (tangential motion at
898
+ * the commanded angular rate). No degree of freedom is pilot controlled
899
+ * while orbit is active.
900
+ */
901
+ export interface OrbitState {
902
+ /** Orbit angular rate (deg/s); positive orbits clockwise seen from above. Must be non-zero. */
903
+ rate: number;
904
+ }
905
+ /**
906
+ * The active vision-based tracking mode.
907
+ *
908
+ * The modes are mutually exclusive, which the oneof encodes: at most one
909
+ * mode is set at a time, and no field set means no vision tracking mode
910
+ * is active.
911
+ *
912
+ * Each mode's message documents which degrees of freedom it controls
913
+ * automatically; any degree of freedom not listed as automatic remains
914
+ * under pilot control. Pilot input on an automatically controlled degree
915
+ * of freedom is ignored while the mode is active.
916
+ */
917
+ export interface VisionTrackingState {
918
+ /** Spotlight mode is active. */
919
+ spotlight?: SpotlightState | undefined;
920
+ /** Active track mode is active. */
921
+ activeTrack?: ActiveTrackState | undefined;
922
+ /** Orbit mode is active, at the reported angular rate. */
923
+ orbit?: OrbitState | undefined;
924
+ }
690
925
  /** Control mode from drone supervisor */
691
926
  export interface ControlMode {
692
927
  /** If auto depth is enabled. */
@@ -703,6 +938,8 @@ export interface ControlMode {
703
938
  autoPilotSurgeYaw: boolean;
704
939
  /** If auto pilot heave is enabled. */
705
940
  autoPilotHeave: boolean;
941
+ /** The active vision-based tracking mode, if any. */
942
+ visionTracking: VisionTrackingState | undefined;
706
943
  }
707
944
  /**
708
945
  * Tilt stabilization state.
@@ -774,8 +1011,12 @@ export interface RecordState {
774
1011
  multibeamSeconds: number;
775
1012
  /** Multibeam record fps. */
776
1013
  multibeamFps: number;
777
- /** Storage location used for recording. */
778
- storageLocation: StorageLocation;
1014
+ /** Storage location used for main camera recording. */
1015
+ mainStorageLocation: StorageLocation;
1016
+ /** Storage location used for guestport camera recording. */
1017
+ guestportStorageLocation: StorageLocation;
1018
+ /** Storage location used for multibeam recording. */
1019
+ multibeamStorageLocation: StorageLocation;
779
1020
  }
780
1021
  /** Time-lapse state published if time-lapse mission is running. */
781
1022
  export interface TimeLapseState {
@@ -821,7 +1062,7 @@ export interface WaterTemperature {
821
1062
  /** Water temperature (°C). */
822
1063
  value: number;
823
1064
  }
824
- /** CPU temperature. */
1065
+ /** CPU temperature (deprecated, use SystemPerformanceInfo.thermal_zones instead). */
825
1066
  export interface CPUTemperature {
826
1067
  /** CPU temperature (°C). */
827
1068
  value: number;
@@ -1269,6 +1510,8 @@ export interface StoragePartition {
1269
1510
  devicePath: string;
1270
1511
  /** Mount path of the partition. */
1271
1512
  mountPath: string;
1513
+ /** Label of the partition. */
1514
+ label: string;
1272
1515
  }
1273
1516
  /** Removable storage device. */
1274
1517
  export interface RemovableStorageDevice {
@@ -1291,10 +1534,12 @@ export declare enum RemovableStorageDevice_Status {
1291
1534
  STATUS_UNSPECIFIED = 0,
1292
1535
  /** STATUS_READY - The storage device is valid and ready for use. */
1293
1536
  STATUS_READY = 1,
1294
- /** STATUS_FORMATTING - The storage device is being formatted */
1537
+ /** STATUS_FORMATTING - The storage device is being formatted. */
1295
1538
  STATUS_FORMATTING = 2,
1296
1539
  /** STATUS_ERROR - The storage device is in an error state. */
1297
1540
  STATUS_ERROR = 3,
1541
+ /** STATUS_UNPLUGGED - The storage device is not present. */
1542
+ STATUS_UNPLUGGED = 4,
1298
1543
  UNRECOGNIZED = -1
1299
1544
  }
1300
1545
  export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
@@ -1390,6 +1635,77 @@ export interface TiltVelocity {
1390
1635
  /**
1391
1636
  * Information about the drone.
1392
1637
  *
1638
+ * Information about a loaded computer vision model.
1639
+ */
1640
+ export interface CvModelInfo {
1641
+ /** Human-readable model name (from model_meta.json). */
1642
+ name: string;
1643
+ /** Type of CV model. */
1644
+ type: CvModelInfo_ModelType;
1645
+ /** Whether the model is currently running. */
1646
+ running: boolean;
1647
+ /** Execution provider (e.g. "cuda", "tensorrt"). */
1648
+ device: string;
1649
+ /** Package directory name (e.g. "tinyyolov2_package"). Stable identifier. */
1650
+ packageId: string;
1651
+ /** Class names the model can detect (indexed by class_id). */
1652
+ labels: string[];
1653
+ /** Runtime state. SOT models report IDLE/TRACKING/LOST instead of RUNNING. */
1654
+ state: CvModelInfo_State;
1655
+ }
1656
+ export declare enum CvModelInfo_ModelType {
1657
+ MODEL_TYPE_UNSPECIFIED = 0,
1658
+ MODEL_TYPE_DETECTION = 1,
1659
+ MODEL_TYPE_SOT = 2,
1660
+ UNRECOGNIZED = -1
1661
+ }
1662
+ export declare function cvModelInfo_ModelTypeFromJSON(object: any): CvModelInfo_ModelType;
1663
+ export declare function cvModelInfo_ModelTypeToJSON(object: CvModelInfo_ModelType): string;
1664
+ /** Runtime state of a computer vision model. */
1665
+ export declare enum CvModelInfo_State {
1666
+ /** STATE_UNSPECIFIED - State unknown / not reported. */
1667
+ STATE_UNSPECIFIED = 0,
1668
+ /** STATE_STOPPED - The model is not running. */
1669
+ STATE_STOPPED = 1,
1670
+ /** STATE_RUNNING - The model is running (detection models). */
1671
+ STATE_RUNNING = 2,
1672
+ /** STATE_IDLE - The SOT model is running with no target selected. */
1673
+ STATE_IDLE = 3,
1674
+ /** STATE_TRACKING - The SOT model is actively tracking a target. */
1675
+ STATE_TRACKING = 4,
1676
+ /** STATE_LOST - The SOT model lost the target it was tracking. */
1677
+ STATE_LOST = 5,
1678
+ UNRECOGNIZED = -1
1679
+ }
1680
+ export declare function cvModelInfo_StateFromJSON(object: any): CvModelInfo_State;
1681
+ export declare function cvModelInfo_StateToJSON(object: CvModelInfo_State): string;
1682
+ /**
1683
+ * Camera intrinsic calibration (pinhole model with OpenCV distortion coefficients).
1684
+ *
1685
+ * All values are in pixels at the calibration resolution (image_width x image_height).
1686
+ * When applying the calibration to an image of a different resolution, scale fx and cx
1687
+ * by the width ratio and fy and cy by the height ratio; the distortion coefficients
1688
+ * are resolution independent.
1689
+ */
1690
+ export interface CameraCalibration {
1691
+ /** Focal length x (pixels). */
1692
+ fx: number;
1693
+ /** Focal length y (pixels). */
1694
+ fy: number;
1695
+ /** Principal point x (pixels). */
1696
+ cx: number;
1697
+ /** Principal point y (pixels). */
1698
+ cy: number;
1699
+ /** OpenCV order: k1, k2, p1, p2, k3. */
1700
+ distortionCoefficients: number[];
1701
+ /** Image width (pixels) the calibration was computed at. */
1702
+ imageWidth: number;
1703
+ /** Image height (pixels) the calibration was computed at. */
1704
+ imageHeight: number;
1705
+ /** True when this is the built-in default, not a per-drone calibration. */
1706
+ isDefault: boolean;
1707
+ }
1708
+ /**
1393
1709
  * This message contains serial numbers and version information for
1394
1710
  * internal components in the drone. Primarily used for diagnostics, or to
1395
1711
  * determine the origin of a logfile.
@@ -1417,6 +1733,12 @@ export interface DroneInfo {
1417
1733
  gp: GuestPortInfo | undefined;
1418
1734
  /** Type of depth sensor that is connected to the drone. */
1419
1735
  depthSensor: PressureSensorType;
1736
+ /** Installed computer vision models, including models that are not running. */
1737
+ cvModels: CvModelInfo[];
1738
+ /** How the drone is powered. */
1739
+ powerSource: PowerSource;
1740
+ /** Intrinsic calibration of the main camera. Unset when unknown. */
1741
+ mainCameraCalibration: CameraCalibration | undefined;
1420
1742
  }
1421
1743
  /** Known error states for the drone. */
1422
1744
  export interface ErrorFlags {
@@ -1442,30 +1764,72 @@ export interface ErrorFlags {
1442
1764
  gp2Read: boolean;
1443
1765
  /** Guest port 3 read error. */
1444
1766
  gp3Read: boolean;
1767
+ /** Guest port 4 read error. */
1768
+ gp4Read: boolean;
1769
+ /** Guest port 5 read error. */
1770
+ gp5Read: boolean;
1771
+ /** Guest port 6 read error. */
1772
+ gp6Read: boolean;
1445
1773
  /** Guest port 1 not flashed. */
1446
1774
  gp1NotFlashed: boolean;
1447
1775
  /** Guest port 2 not flashed. */
1448
1776
  gp2NotFlashed: boolean;
1449
1777
  /** Guest port 3 not flashed. */
1450
1778
  gp3NotFlashed: boolean;
1779
+ /** Guest port 4 not flashed. */
1780
+ gp4NotFlashed: boolean;
1781
+ /** Guest port 5 not flashed. */
1782
+ gp5NotFlashed: boolean;
1783
+ /** Guest port 6 not flashed. */
1784
+ gp6NotFlashed: boolean;
1451
1785
  /** Unknown device on guest port 1. */
1452
1786
  gp1UnknownDevice: boolean;
1453
1787
  /** Unknown device on guest port 2. */
1454
1788
  gp2UnknownDevice: boolean;
1455
1789
  /** Unknown device on guest port 3. */
1456
1790
  gp3UnknownDevice: boolean;
1791
+ /** Unknown device on guest port 4. */
1792
+ gp4UnknownDevice: boolean;
1793
+ /** Unknown device on guest port 5. */
1794
+ gp5UnknownDevice: boolean;
1795
+ /** Unknown device on guest port 6. */
1796
+ gp6UnknownDevice: boolean;
1457
1797
  /** Guest port 1 connection error. */
1458
1798
  gp1DeviceConnection: boolean;
1459
1799
  /** Guest port 2 connection error. */
1460
1800
  gp2DeviceConnection: boolean;
1461
1801
  /** Guest port 3 connection error. */
1462
1802
  gp3DeviceConnection: boolean;
1803
+ /** Guest port 4 connection error. */
1804
+ gp4DeviceConnection: boolean;
1805
+ /** Guest port 5 connection error. */
1806
+ gp5DeviceConnection: boolean;
1807
+ /** Guest port 6 connection error. */
1808
+ gp6DeviceConnection: boolean;
1463
1809
  /** Guest port 1 device error. */
1464
1810
  gp1Device: boolean;
1465
1811
  /** Guest port 2 device error. */
1466
1812
  gp2Device: boolean;
1467
1813
  /** Guest port 3 device error. */
1468
1814
  gp3Device: boolean;
1815
+ /** Guest port 4 device error. */
1816
+ gp4Device: boolean;
1817
+ /** Guest port 5 device error. */
1818
+ gp5Device: boolean;
1819
+ /** Guest port 6 device error. */
1820
+ gp6Device: boolean;
1821
+ /** Device on guest port 1 requires interfaces the port does not provide. */
1822
+ gp1IncompatibleDevice: boolean;
1823
+ /** Device on guest port 2 requires interfaces the port does not provide. */
1824
+ gp2IncompatibleDevice: boolean;
1825
+ /** Device on guest port 3 requires interfaces the port does not provide. */
1826
+ gp3IncompatibleDevice: boolean;
1827
+ /** Device on guest port 4 requires interfaces the port does not provide. */
1828
+ gp4IncompatibleDevice: boolean;
1829
+ /** Device on guest port 5 requires interfaces the port does not provide. */
1830
+ gp5IncompatibleDevice: boolean;
1831
+ /** Device on guest port 6 requires interfaces the port does not provide. */
1832
+ gp6IncompatibleDevice: boolean;
1469
1833
  /** Drone serial number not set. */
1470
1834
  droneSerialNotSet: boolean;
1471
1835
  /** Drone serial number error. */
@@ -1496,14 +1860,44 @@ export interface ErrorFlags {
1496
1860
  gpCurrentRead: boolean;
1497
1861
  /** Max GP current exceeded. */
1498
1862
  gpCurrent: boolean;
1499
- /** Max battery current exceeded on GP1. */
1863
+ /** Max battery current exceeded on guest port 1. */
1500
1864
  gp1BatCurrent: boolean;
1501
- /** Max battery current exceeded on GP2. */
1865
+ /** Max battery current exceeded on guest port 2. */
1502
1866
  gp2BatCurrent: boolean;
1503
- /** Max battery current exceeded on GP3. */
1867
+ /** Max battery current exceeded on guest port 3. */
1504
1868
  gp3BatCurrent: boolean;
1505
- /** Max 20V current exceeded on GP. */
1506
- gp20vCurrent: boolean;
1869
+ /** Max battery current exceeded on guest port 4. */
1870
+ gp4BatCurrent: boolean;
1871
+ /** Max battery current exceeded on guest port 5. */
1872
+ gp5BatCurrent: boolean;
1873
+ /** Max battery current exceeded on guest port 6. */
1874
+ gp6BatCurrent: boolean;
1875
+ /** Max 24V current exceeded on GP. Only present on X1/X3 (not X3 Ultra or X7). */
1876
+ gp24vCurrent: boolean;
1877
+ /** Max 24V current exceeded on guest port 1. */
1878
+ gp124vCurrent: boolean;
1879
+ /** Max 24V current exceeded on guest port 2. */
1880
+ gp224vCurrent: boolean;
1881
+ /** Max 24V current exceeded on guest port 3. */
1882
+ gp324vCurrent: boolean;
1883
+ /** Max 24V current exceeded on guest port 4. */
1884
+ gp424vCurrent: boolean;
1885
+ /** Max 24V current exceeded on guest port 5. */
1886
+ gp524vCurrent: boolean;
1887
+ /** Max 24V current exceeded on guest port 6. */
1888
+ gp624vCurrent: boolean;
1889
+ /** Max 5V current exceeded on guest port 1. */
1890
+ gp15vCurrent: boolean;
1891
+ /** Max 5V current exceeded on guest port 2. */
1892
+ gp25vCurrent: boolean;
1893
+ /** Max 5V current exceeded on guest port 3. */
1894
+ gp35vCurrent: boolean;
1895
+ /** Max 5V current exceeded on guest port 4. */
1896
+ gp45vCurrent: boolean;
1897
+ /** Max 5V current exceeded on guest port 5. */
1898
+ gp55vCurrent: boolean;
1899
+ /** Max 5V current exceeded on guest port 6. */
1900
+ gp65vCurrent: boolean;
1507
1901
  /** DVL is in thermal protection mode. */
1508
1902
  dvlThermalProtectionMode: boolean;
1509
1903
  /** GP protection has been triggered at boot or faulty DVL. */
@@ -1561,6 +1955,19 @@ export interface CameraParameters {
1561
1955
  framerate: Framerate;
1562
1956
  /** Which camera the parameters belong to. */
1563
1957
  camera: Camera;
1958
+ /**
1959
+ * Network MTU (Maximum Transmission Unit) size for video streaming in bytes (68..65535).
1960
+ * If 0 or unset, the system will use a default of 1400.
1961
+ * The Blueye App allows users to set values between 500 and 1460.
1962
+ */
1963
+ mtuSize: number;
1964
+ /** Recording video codec. If unset, uses platform default. */
1965
+ recordingCodec: RecordingCodec;
1966
+ /**
1967
+ * Recording bitrate in bits/sec. If 0 or unset, a default is computed based
1968
+ * on resolution, framerate, and encoding. Set explicitly to override.
1969
+ */
1970
+ recordingBitrate: number;
1564
1971
  }
1565
1972
  /**
1566
1973
  * Overlay parameters.
@@ -1650,6 +2057,13 @@ export interface GuestPortDevice {
1650
2057
  requiredBlunuxVersion: string;
1651
2058
  /** Detach status based on detection pin. */
1652
2059
  detachStatus: GuestPortDetachStatus;
2060
+ /** Interfaces the device requires from the port. */
2061
+ requiredCapabilities: GuestPortCapability[];
2062
+ /**
2063
+ * Ports on this drone where the device is fully supported. Computed by the
2064
+ * drone from the port capabilities and the device requirements.
2065
+ */
2066
+ compatibleGuestPorts: GuestPortNumber[];
1653
2067
  }
1654
2068
  /** List of guest port devices. */
1655
2069
  export interface GuestPortDeviceList {
@@ -1664,6 +2078,8 @@ export interface GuestPortConnectorInfo {
1664
2078
  error?: GuestPortError | undefined;
1665
2079
  /** Guest port the connector is connected to. */
1666
2080
  guestPortNumber: GuestPortNumber;
2081
+ /** Interfaces this port provides. */
2082
+ capabilities: GuestPortCapability[];
1667
2083
  }
1668
2084
  /** GuestPort information. */
1669
2085
  export interface GuestPortInfo {
@@ -1673,6 +2089,12 @@ export interface GuestPortInfo {
1673
2089
  gp2: GuestPortConnectorInfo | undefined;
1674
2090
  /** Information about guest port 3. */
1675
2091
  gp3: GuestPortConnectorInfo | undefined;
2092
+ /** Information about guest port 4. */
2093
+ gp4: GuestPortConnectorInfo | undefined;
2094
+ /** Information about guest port 5. */
2095
+ gp5: GuestPortConnectorInfo | undefined;
2096
+ /** Information about guest port 6. */
2097
+ gp6: GuestPortConnectorInfo | undefined;
1676
2098
  }
1677
2099
  /** GuestPort restart information. */
1678
2100
  export interface GuestPortRestartInfo {
@@ -1717,8 +2139,38 @@ export interface GuestPortCurrent {
1717
2139
  gp2Bat: number;
1718
2140
  /** Current on GP3 battery voltage (A). */
1719
2141
  gp3Bat: number;
1720
- /** Current on common 20V supply (A). */
1721
- gp20v: number;
2142
+ /** Current on common/input 24V supply (A). Only present on X1/X3 (not X3 Ultra or X7). */
2143
+ gp24v: number;
2144
+ /** Current on GP4 battery voltage (A). */
2145
+ gp4Bat: number;
2146
+ /** Current on GP5 battery voltage (A). */
2147
+ gp5Bat: number;
2148
+ /** Current on GP6 battery voltage (A). */
2149
+ gp6Bat: number;
2150
+ /** Current on GP1 24V supply (A). */
2151
+ gp124v: number;
2152
+ /** Current on GP2 24V supply (A). */
2153
+ gp224v: number;
2154
+ /** Current on GP3 24V supply (A). */
2155
+ gp324v: number;
2156
+ /** Current on GP4 24V supply (A). */
2157
+ gp424v: number;
2158
+ /** Current on GP5 24V supply (A). */
2159
+ gp524v: number;
2160
+ /** Current on GP6 24V supply (A). */
2161
+ gp624v: number;
2162
+ /** Current on GP1 5V supply (A). */
2163
+ gp15v: number;
2164
+ /** Current on GP2 5V supply (A). */
2165
+ gp25v: number;
2166
+ /** Current on GP3 5V supply (A). */
2167
+ gp35v: number;
2168
+ /** Current on GP4 5V supply (A). */
2169
+ gp45v: number;
2170
+ /** Current on GP5 5V supply (A). */
2171
+ gp55v: number;
2172
+ /** Current on GP6 5V supply (A). */
2173
+ gp65v: number;
1722
2174
  }
1723
2175
  /** Vector with 3 elements. */
1724
2176
  export interface Vector3 {
@@ -1786,8 +2238,7 @@ export interface MultibeamPing {
1786
2238
  /** Size in bytes of each row in the ping data image. */
1787
2239
  step: number;
1788
2240
  /**
1789
- * Bearing angle of each column of the sonar data
1790
- * (in 100th of a degree, multiply by 0.01 to get a value in degrees).
2241
+ * Bearing angle of each column of the sonar data in degrees.
1791
2242
  * The sonar image is not sampled uniformly in the bearing direction.
1792
2243
  */
1793
2244
  bearings: number[];
@@ -1797,6 +2248,16 @@ export interface MultibeamPing {
1797
2248
  deviceId: GuestPortDeviceID;
1798
2249
  /** Timestamp when the frame was generated. */
1799
2250
  frameGenerationTimestamp: Date | undefined;
2251
+ /** Heading (°). */
2252
+ heading: number;
2253
+ /** Pitch (°). */
2254
+ pitch: number;
2255
+ /** Roll (°). */
2256
+ roll: number;
2257
+ /** External temperature (°C). */
2258
+ temperature: number;
2259
+ /** External pressure (bar). */
2260
+ pressure: number;
1800
2261
  }
1801
2262
  /** Configuration message for sonar devices. */
1802
2263
  export interface MultibeamConfig {
@@ -1927,7 +2388,7 @@ export interface PersistentStorageSettings {
1927
2388
  accCalibration: boolean;
1928
2389
  }
1929
2390
  /**
1930
- * CPU information.
2391
+ * CPU information (deprecated, use SystemPerformanceInfo instead).
1931
2392
  *
1932
2393
  * Contains information about the CPU load and memory usage of the drone.
1933
2394
  */
@@ -1943,6 +2404,186 @@ export interface CPUInfo {
1943
2404
  /** Communication queue load (0..1). */
1944
2405
  commQueueLoad: number;
1945
2406
  }
2407
+ /** Per-core CPU utilization. */
2408
+ export interface CpuCoreLoad {
2409
+ /** Core index (0-based). */
2410
+ coreIndex: number;
2411
+ /** Core load (0..1). */
2412
+ load: number;
2413
+ /** Current clock frequency (MHz). */
2414
+ frequencyMhz: number;
2415
+ }
2416
+ /** GPU utilization and status. */
2417
+ export interface GpuInfo {
2418
+ /** GPU load (0..1). */
2419
+ load: number;
2420
+ /** Current GPU clock frequency (MHz). */
2421
+ frequencyMhz: number;
2422
+ }
2423
+ /**
2424
+ * Deep Learning Accelerator (DLA) utilization.
2425
+ *
2426
+ * Jetson Orin NX has two DLA engines used for inference offload.
2427
+ */
2428
+ export interface DlaInfo {
2429
+ /** DLA engine index (0-based). */
2430
+ engineIndex: number;
2431
+ /** DLA engine load (0..1). */
2432
+ load: number;
2433
+ /** Core clock frequency (MHz). 0 when disabled. */
2434
+ frequencyMhz: number;
2435
+ /** True when the DLA engine is actively processing. */
2436
+ enabled: boolean;
2437
+ /** Falcon microcontroller clock frequency (MHz). 0 when disabled. */
2438
+ falconFrequencyMhz: number;
2439
+ }
2440
+ /** System memory information. */
2441
+ export interface MemoryInfo {
2442
+ /** Total RAM (bytes). */
2443
+ totalBytes: number;
2444
+ /** Used RAM (bytes). */
2445
+ usedBytes: number;
2446
+ /** Cached RAM (bytes). */
2447
+ cachedBytes: number;
2448
+ /** Memory bus utilization (0..1). i.MX only. */
2449
+ busLoad: number;
2450
+ }
2451
+ /** Thermal zone reading. */
2452
+ export interface ThermalZone {
2453
+ /** Thermal zone identifier. */
2454
+ zone: ThermalZoneId;
2455
+ /** Temperature (°C). */
2456
+ temperature: number;
2457
+ }
2458
+ /** Video codec engine status. */
2459
+ export interface VideoCodecInfo {
2460
+ /** Jetson only (NVENC/NVDEC/NVJPG/VIC devfreq). */
2461
+ encoderActive: boolean;
2462
+ /** Video encoder clock frequency (MHz). */
2463
+ encoderFrequencyMhz: number;
2464
+ /** Video decoder (NVDEC) is active. */
2465
+ decoderActive: boolean;
2466
+ /** Video decoder clock frequency (MHz). */
2467
+ decoderFrequencyMhz: number;
2468
+ /** JPEG engine (NVJPG) is active. */
2469
+ nvjpgActive: boolean;
2470
+ /** JPEG engine clock frequency (MHz). */
2471
+ nvjpgFrequencyMhz: number;
2472
+ /** Video Image Compositor (VIC) is active. */
2473
+ vicActive: boolean;
2474
+ /** VIC clock frequency (MHz). */
2475
+ vicFrequencyMhz: number;
2476
+ /** i.MX only (CODA VPU). */
2477
+ vpuActive: boolean;
2478
+ /** VPU AXI clock frequency (MHz). */
2479
+ vpuFrequencyMhz: number;
2480
+ /** Cumulative VPU_CODEC_IRQ count. */
2481
+ vpuCodecIrqCount: number;
2482
+ /** Cumulative VPU_JPG_IRQ count. */
2483
+ vpuJpgIrqCount: number;
2484
+ /** Jetson only (host1x actmon engine utilization, 0..1). */
2485
+ encoderLoad: number;
2486
+ /** Video decoder (NVDEC) utilization (0..1). */
2487
+ decoderLoad: number;
2488
+ /** JPEG engine (NVJPG) utilization (0..1). */
2489
+ nvjpgLoad: number;
2490
+ /** Video Image Compositor (VIC) utilization (0..1). */
2491
+ vicLoad: number;
2492
+ }
2493
+ /**
2494
+ * NVMe SSD health, wear and identity (Jetson only; i.MX drones boot/store on
2495
+ * an SD card and have no NVMe device, so this message is omitted there).
2496
+ */
2497
+ export interface NvmeInfo {
2498
+ /** Tier 1 — health & safety. */
2499
+ compositeTemperature: number;
2500
+ /** NVMe critical-warning bitfield. */
2501
+ criticalWarning: number;
2502
+ /** Wear indicator (%, may exceed 100). */
2503
+ percentageUsed: number;
2504
+ /** Remaining spare capacity (%). */
2505
+ availableSpare: number;
2506
+ /** Spare alarm threshold (%). */
2507
+ availableSpareThreshold: number;
2508
+ /** Uncorrected data-integrity errors. */
2509
+ mediaErrors: number;
2510
+ /** Power-loss / unsafe shutdown count. */
2511
+ unsafeShutdowns: number;
2512
+ /** Tier 2 — thermal throttling. */
2513
+ warningTempTimeMin: number;
2514
+ /** Minutes above the critical temperature. */
2515
+ criticalTempTimeMin: number;
2516
+ /** Times entered light throttling. */
2517
+ thermalMgmtT1TransCount: number;
2518
+ /** Times entered heavy throttling. */
2519
+ thermalMgmtT2TransCount: number;
2520
+ /** Total seconds in light throttling. */
2521
+ thermalMgmtT1TotalTimeS: number;
2522
+ /** Total seconds in heavy throttling. */
2523
+ thermalMgmtT2TotalTimeS: number;
2524
+ /** Tier 3 — endurance / workload. */
2525
+ dataUnitsWrittenBytes: number;
2526
+ /** Host data read (B). */
2527
+ dataUnitsReadBytes: number;
2528
+ /** Host write command count. */
2529
+ hostWriteCommands: number;
2530
+ /** Host read command count. */
2531
+ hostReadCommands: number;
2532
+ /** Power-on hours. */
2533
+ powerOnHours: number;
2534
+ /** Power cycle count. */
2535
+ powerCycles: number;
2536
+ /** Controller busy time (min). */
2537
+ controllerBusyTimeMin: number;
2538
+ /** Error-log entry count. */
2539
+ numErrLogEntries: number;
2540
+ /** Tier 4 — identity & capacity. */
2541
+ model: string;
2542
+ /** Drive serial number. */
2543
+ serial: string;
2544
+ /** Firmware revision. */
2545
+ firmwareRev: string;
2546
+ /** Total drive capacity (B). Partition used/free is */
2547
+ capacityBytes: number;
2548
+ }
2549
+ /**
2550
+ * System performance information.
2551
+ *
2552
+ * Comprehensive performance metrics for the drone's compute platform.
2553
+ * Covers CPU, GPU, DLA, memory, thermals, video codec utilization and NVMe
2554
+ * SSD state. Fields not applicable to a platform are left at their
2555
+ * zero/empty defaults.
2556
+ */
2557
+ export interface SystemPerformanceInfo {
2558
+ /** Per-core CPU utilization. */
2559
+ cpuCores: CpuCoreLoad[];
2560
+ /** Mean CPU utilization across all cores (0..1). */
2561
+ cpuUtilization: number;
2562
+ /** GPU utilization. */
2563
+ gpu: GpuInfo | undefined;
2564
+ /** DLA engine utilization (Jetson only). */
2565
+ dlaEngines: DlaInfo[];
2566
+ /** RAM usage. */
2567
+ memory: MemoryInfo | undefined;
2568
+ /** All thermal zone readings. */
2569
+ thermalZones: ThermalZone[];
2570
+ /** Video encoder/decoder status. */
2571
+ videoCodec: VideoCodecInfo | undefined;
2572
+ /** Main queue load (0..1). */
2573
+ mainQueueLoad: number;
2574
+ /** Guestport queue load (0..1). */
2575
+ guestportQueueLoad: number;
2576
+ /** Communication queue load (0..1). */
2577
+ commQueueLoad: number;
2578
+ /** Camera queue load (0..1). */
2579
+ cameraQueueLoad: number;
2580
+ /** Overlay queue load (0..1). */
2581
+ overlayQueueLoad: number;
2582
+ /** Position observer queue load (0..1). */
2583
+ positionObserverQueueLoad: number;
2584
+ /** NVMe SSD health/identity (Jetson only). */
2585
+ nvme: NvmeInfo | undefined;
2586
+ }
1946
2587
  /**
1947
2588
  * Surface Unit battery information.
1948
2589
  *
@@ -1974,6 +2615,178 @@ export interface SurfaceUnitVersionInfo {
1974
2615
  /** Surface Unit firmware version (x.y.z). */
1975
2616
  version: string;
1976
2617
  }
2618
+ /**
2619
+ * Bounding box for object detection.
2620
+ *
2621
+ * Coordinates are in pixels relative to the camera image,
2622
+ * where (x, y) is the top-left corner of the bounding box.
2623
+ */
2624
+ export interface BoundingBox {
2625
+ /** Horizontal offset of the top-left corner (px). */
2626
+ x: number;
2627
+ /** Vertical offset of the top-left corner (px). */
2628
+ y: number;
2629
+ /** Width of the bounding box (px). */
2630
+ width: number;
2631
+ /** Height of the bounding box (px). */
2632
+ height: number;
2633
+ }
2634
+ /**
2635
+ * RLE-encoded binary segmentation mask with its own anchor box.
2636
+ *
2637
+ * The mask bitmap has dimensions (mask_width x mask_height) covering the
2638
+ * mask_box region of the camera image. The counts field stores run-length
2639
+ * encoded data as packed uint16 little-endian: alternating
2640
+ * background/foreground pixel runs starting with background. Runs longer
2641
+ * than 65535 pixels are split by inserting a zero-length run of the
2642
+ * opposite class (e.g. 70000 becomes 65535, 0, 4465), so decoders need no
2643
+ * special handling — a zero-length run just toggles the class.
2644
+ *
2645
+ * Scale the mask to mask_box, not to the detection's bounding_box: the
2646
+ * bounding box may be smoothed by tracking, while mask_box is pinned to the
2647
+ * raw detection position, so the mask stays on the actual object pixels.
2648
+ */
2649
+ export interface SegmentationMask {
2650
+ /** Width of the RLE bitmap. */
2651
+ maskWidth: number;
2652
+ /** Height of the RLE bitmap. */
2653
+ maskHeight: number;
2654
+ /** RLE counts as packed uint16 little-endian. */
2655
+ counts: Uint8Array;
2656
+ /** Image region the mask bitmap covers (raw detection position, never smoothed). */
2657
+ maskBox: BoundingBox | undefined;
2658
+ }
2659
+ /** A single object detection from a computer vision model. */
2660
+ export interface ObjectDetection {
2661
+ /** Bounding box of the detected object (may be smoothed by tracking). */
2662
+ boundingBox: BoundingBox | undefined;
2663
+ /** Detection confidence score (0..1). */
2664
+ confidence: number;
2665
+ /** Numeric class identifier from the model. */
2666
+ classId: number;
2667
+ /** Human-readable class name. */
2668
+ className: string;
2669
+ /** Unique ID for tracking the same object across frames. */
2670
+ trackingId: number;
2671
+ /** Instance segmentation mask (absent if model has no segmentation). */
2672
+ mask: SegmentationMask | undefined;
2673
+ }
2674
+ /** A list of object detections from a single model for a single video frame. */
2675
+ export interface ModelDetections {
2676
+ /** List of detections in the frame. */
2677
+ detections: ObjectDetection[];
2678
+ /** Which camera the detections are from. */
2679
+ camera: Camera;
2680
+ /** Width of the source image (px). */
2681
+ imageWidth: number;
2682
+ /** Height of the source image (px). */
2683
+ imageHeight: number;
2684
+ /** Name of the computer vision model that produced the detections. */
2685
+ modelName: string;
2686
+ }
2687
+ /** Generic filter settings. */
2688
+ export interface FilterMessage {
2689
+ /** If the filter is enabled. */
2690
+ enabled: boolean;
2691
+ /** Intensity of the filter (0..1). */
2692
+ intensity: number;
2693
+ }
2694
+ /**
2695
+ * Digital pan, tilt, and zoom state for the main camera.
2696
+ *
2697
+ * Only supported on X3 Ultra. Controls digital (not mechanical) zoom.
2698
+ */
2699
+ export interface CameraPanTiltZoom {
2700
+ /** Horizontal pan (-1.0..1.0), where 0.0 is center. */
2701
+ pan: number;
2702
+ /** Vertical tilt (-1.0..1.0), where 0.0 is center. */
2703
+ tilt: number;
2704
+ /** Zoom level (0.0..1.0), where 0.0 is no zoom and 1.0 is maximum zoom. */
2705
+ zoom: number;
2706
+ }
2707
+ /**
2708
+ * Information about the operator controlling the drone.
2709
+ *
2710
+ * Used to identify who started a dive, for reporting and when importing
2711
+ * dives to Blueye Cloud.
2712
+ */
2713
+ export interface OperatorInfo {
2714
+ /** Full name of the operator. */
2715
+ name: string;
2716
+ /** E-mail address of the operator. */
2717
+ email: string;
2718
+ }
2719
+ /**
2720
+ * Single-object tracking (SOT) state reported by the computer vision pipeline.
2721
+ *
2722
+ * The velocity fields are Kalman filter estimates expressed in the CV frame
2723
+ * coordinate space (image_width x image_height pixels).
2724
+ */
2725
+ export interface SotState {
2726
+ /** Current tracking state. */
2727
+ state: SotState_State;
2728
+ /** Current tracked bounding box (valid when TRACKING). */
2729
+ boundingBox: BoundingBox | undefined;
2730
+ /** Width of the source frame in pixels. */
2731
+ imageWidth: number;
2732
+ /** Height of the source frame in pixels. */
2733
+ imageHeight: number;
2734
+ /** Tracker confidence of the last model update (0..1). 0 while coasting and when LOST. */
2735
+ confidence: number;
2736
+ /** Kalman velocity estimate of the bounding box centre, horizontal (px/s). */
2737
+ vx: number;
2738
+ /** Kalman velocity estimate of the bounding box centre, vertical (px/s). */
2739
+ vy: number;
2740
+ /** Kalman rate of change of the bounding box area, width * height (px²/s). */
2741
+ vs: number;
2742
+ /** Kalman rate of change of the bounding box aspect ratio, width / height (1/s). */
2743
+ vr: number;
2744
+ }
2745
+ /** Current state of the SOT tracker. */
2746
+ export declare enum SotState_State {
2747
+ /** STATE_UNSPECIFIED - Unspecified state. */
2748
+ STATE_UNSPECIFIED = 0,
2749
+ /** STATE_IDLE - No target selected, waiting for a target bounding box. */
2750
+ STATE_IDLE = 1,
2751
+ /** STATE_TRACKING - Actively tracking a target. */
2752
+ STATE_TRACKING = 2,
2753
+ /** STATE_LOST - Target was lost (tracker failed to follow the object). */
2754
+ STATE_LOST = 3,
2755
+ UNRECOGNIZED = -1
2756
+ }
2757
+ export declare function sotState_StateFromJSON(object: any): SotState_State;
2758
+ export declare function sotState_StateToJSON(object: SotState_State): string;
2759
+ /**
2760
+ * A single annotation added during a dive, e.g. by a diver tapping a type in the
2761
+ * app command palette, or emitted by the drone itself.
2762
+ *
2763
+ * Self-contained: it carries the type's display fields (name/icon/color) inline,
2764
+ * so the drone, any connected client, and the dive logfile can render it without
2765
+ * a separate catalog. The app keeps the full catalog locally (synced from
2766
+ * Blueye Cloud) to drive its palette, but only complete annotations go over the
2767
+ * wire. type_slug lets Blueye Cloud correlate the annotation to its type on import.
2768
+ *
2769
+ * The drone owns the timestamp: when this is logged the enclosing BinlogRecord
2770
+ * carries the time, like any other sample, so there is no time field here.
2771
+ */
2772
+ export interface Annotation {
2773
+ /** Stable type id for grouping / Cloud correlation. Empty for a free-form annotation. */
2774
+ typeSlug: string;
2775
+ /** Type display name, e.g. "Hazard". Snapshot of the type at creation time. */
2776
+ typeName: string;
2777
+ /** Font Awesome solid icon name, kebab-case (e.g. "triangle-exclamation"). */
2778
+ typeIcon: string;
2779
+ /** Type color, RGB hex incl. leading '#', 7 chars (e.g. "#DC2626"). */
2780
+ typeColor: string;
2781
+ /** Optional annotation title; Cloud falls back to type_name if empty. Max 200 chars. */
2782
+ title: string;
2783
+ /** Optional free-form note. Unbounded. */
2784
+ body: string;
2785
+ /** Optional span; omit for a point-in-time marker. */
2786
+ duration: Duration | undefined;
2787
+ /** Origin of the annotation; the app sets APP, the drone sets DRONE for its own. */
2788
+ source: AnnotationSource;
2789
+ }
1977
2790
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1978
2791
  export declare const LogEntry: MessageFns<LogEntry>;
1979
2792
  export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
@@ -1981,6 +2794,8 @@ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyV
1981
2794
  export declare const MotionInput: MessageFns<MotionInput>;
1982
2795
  export declare const Lights: MessageFns<Lights>;
1983
2796
  export declare const Laser: MessageFns<Laser>;
2797
+ export declare const Point2D: MessageFns<Point2D>;
2798
+ export declare const LaserDetection: MessageFns<LaserDetection>;
1984
2799
  export declare const LatLongPosition: MessageFns<LatLongPosition>;
1985
2800
  export declare const ConnectionDuration: MessageFns<ConnectionDuration>;
1986
2801
  export declare const AutoHeadingState: MessageFns<AutoHeadingState>;
@@ -1990,6 +2805,10 @@ export declare const StationKeepingState: MessageFns<StationKeepingState>;
1990
2805
  export declare const WeatherVaningState: MessageFns<WeatherVaningState>;
1991
2806
  export declare const AutoPilotSurgeYawState: MessageFns<AutoPilotSurgeYawState>;
1992
2807
  export declare const AutoPilotHeaveState: MessageFns<AutoPilotHeaveState>;
2808
+ export declare const SpotlightState: MessageFns<SpotlightState>;
2809
+ export declare const ActiveTrackState: MessageFns<ActiveTrackState>;
2810
+ export declare const OrbitState: MessageFns<OrbitState>;
2811
+ export declare const VisionTrackingState: MessageFns<VisionTrackingState>;
1993
2812
  export declare const ControlMode: MessageFns<ControlMode>;
1994
2813
  export declare const TiltStabilizationState: MessageFns<TiltStabilizationState>;
1995
2814
  export declare const SystemTime: MessageFns<SystemTime>;
@@ -2037,6 +2856,8 @@ export declare const IperfStatus: MessageFns<IperfStatus>;
2037
2856
  export declare const NStreamers: MessageFns<NStreamers>;
2038
2857
  export declare const TiltAngle: MessageFns<TiltAngle>;
2039
2858
  export declare const TiltVelocity: MessageFns<TiltVelocity>;
2859
+ export declare const CvModelInfo: MessageFns<CvModelInfo>;
2860
+ export declare const CameraCalibration: MessageFns<CameraCalibration>;
2040
2861
  export declare const DroneInfo: MessageFns<DroneInfo>;
2041
2862
  export declare const ErrorFlags: MessageFns<ErrorFlags>;
2042
2863
  export declare const CameraParameters: MessageFns<CameraParameters>;
@@ -2063,8 +2884,25 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
2063
2884
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
2064
2885
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
2065
2886
  export declare const CPUInfo: MessageFns<CPUInfo>;
2887
+ export declare const CpuCoreLoad: MessageFns<CpuCoreLoad>;
2888
+ export declare const GpuInfo: MessageFns<GpuInfo>;
2889
+ export declare const DlaInfo: MessageFns<DlaInfo>;
2890
+ export declare const MemoryInfo: MessageFns<MemoryInfo>;
2891
+ export declare const ThermalZone: MessageFns<ThermalZone>;
2892
+ export declare const VideoCodecInfo: MessageFns<VideoCodecInfo>;
2893
+ export declare const NvmeInfo: MessageFns<NvmeInfo>;
2894
+ export declare const SystemPerformanceInfo: MessageFns<SystemPerformanceInfo>;
2066
2895
  export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2067
2896
  export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
2897
+ export declare const BoundingBox: MessageFns<BoundingBox>;
2898
+ export declare const SegmentationMask: MessageFns<SegmentationMask>;
2899
+ export declare const ObjectDetection: MessageFns<ObjectDetection>;
2900
+ export declare const ModelDetections: MessageFns<ModelDetections>;
2901
+ export declare const FilterMessage: MessageFns<FilterMessage>;
2902
+ export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
2903
+ export declare const OperatorInfo: MessageFns<OperatorInfo>;
2904
+ export declare const SotState: MessageFns<SotState>;
2905
+ export declare const Annotation: MessageFns<Annotation>;
2068
2906
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
2069
2907
  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 {} ? {
2070
2908
  [K in keyof T]?: DeepPartial<T[K]>;