@blueyerobotics/protocol-definitions 3.2.0-b1918def → 3.2.0-b410ea01

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
@@ -218,11 +222,18 @@ export declare enum Resolution {
218
222
  RESOLUTION_FULLHD_1080P = 1,
219
223
  /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
220
224
  RESOLUTION_UHD_4K = 3,
225
+ /** RESOLUTION_QHD_2K - 2K QHD (2560x1440, Only supported on X3 Ultra). */
226
+ RESOLUTION_QHD_2K = 5,
221
227
  UNRECOGNIZED = -1
222
228
  }
223
229
  export declare function resolutionFromJSON(object: any): Resolution;
224
230
  export declare function resolutionToJSON(object: Resolution): string;
225
- /** Available camera frame rates. */
231
+ /**
232
+ * Available camera frame rates.
233
+ *
234
+ * If the requested frame rate is higher than what is supported at the current resolution,
235
+ * the frame rate will be reduced while the resolution is respected.
236
+ */
226
237
  export declare enum Framerate {
227
238
  /** FRAMERATE_UNSPECIFIED - Framerate not specified. */
228
239
  FRAMERATE_UNSPECIFIED = 0,
@@ -230,6 +241,8 @@ export declare enum Framerate {
230
241
  FRAMERATE_FPS_30 = 1,
231
242
  /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
232
243
  FRAMERATE_FPS_25 = 2,
244
+ /** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
245
+ FRAMERATE_FPS_60 = 3,
233
246
  UNRECOGNIZED = -1
234
247
  }
235
248
  export declare function framerateFromJSON(object: any): Framerate;
@@ -257,6 +270,18 @@ export declare enum StreamingProtocol {
257
270
  }
258
271
  export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
259
272
  export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
273
+ /** Recording video codec. */
274
+ export declare enum RecordingCodec {
275
+ /** RECORDING_CODEC_UNSPECIFIED - Use platform default (H.264). */
276
+ RECORDING_CODEC_UNSPECIFIED = 0,
277
+ /** RECORDING_CODEC_H264 - H.264/AVC codec. Wider compatibility with players/editors. */
278
+ RECORDING_CODEC_H264 = 1,
279
+ /** RECORDING_CODEC_H265 - H.265/HEVC codec. Better compression, limited compatibility. Ultra only. */
280
+ RECORDING_CODEC_H265 = 2,
281
+ UNRECOGNIZED = -1
282
+ }
283
+ export declare function recordingCodecFromJSON(object: any): RecordingCodec;
284
+ export declare function recordingCodecToJSON(object: RecordingCodec): string;
260
285
  /** Available temperature units. */
261
286
  export declare enum TemperatureUnit {
262
287
  /** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
@@ -323,6 +348,8 @@ export declare enum FontSize {
323
348
  FONT_SIZE_PX35 = 5,
324
349
  /** FONT_SIZE_PX40 - 40 px. */
325
350
  FONT_SIZE_PX40 = 6,
351
+ /** FONT_SIZE_PX50 - 50 px. */
352
+ FONT_SIZE_PX50 = 7,
326
353
  UNRECOGNIZED = -1
327
354
  }
328
355
  export declare function fontSizeFromJSON(object: any): FontSize;
@@ -423,6 +450,10 @@ export declare enum GuestPortDeviceID {
423
450
  GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
424
451
  /** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
425
452
  GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 = 46,
453
+ /** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
454
+ GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT = 47,
455
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER - Blueye Scaling Laser. */
456
+ GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER = 48,
426
457
  UNRECOGNIZED = -1
427
458
  }
428
459
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -437,6 +468,12 @@ export declare enum GuestPortNumber {
437
468
  GUEST_PORT_NUMBER_PORT_2 = 2,
438
469
  /** GUEST_PORT_NUMBER_PORT_3 - Guest port 3. */
439
470
  GUEST_PORT_NUMBER_PORT_3 = 3,
471
+ /** GUEST_PORT_NUMBER_PORT_4 - Guest port 4. */
472
+ GUEST_PORT_NUMBER_PORT_4 = 4,
473
+ /** GUEST_PORT_NUMBER_PORT_5 - Guest port 5. */
474
+ GUEST_PORT_NUMBER_PORT_5 = 5,
475
+ /** GUEST_PORT_NUMBER_PORT_6 - Guest port 6. */
476
+ GUEST_PORT_NUMBER_PORT_6 = 6,
440
477
  UNRECOGNIZED = -1
441
478
  }
442
479
  export declare function guestPortNumberFromJSON(object: any): GuestPortNumber;
@@ -508,6 +545,34 @@ export declare enum MultibeamFrequencyMode {
508
545
  }
509
546
  export declare function multibeamFrequencyModeFromJSON(object: any): MultibeamFrequencyMode;
510
547
  export declare function multibeamFrequencyModeToJSON(object: MultibeamFrequencyMode): string;
548
+ /** Thermal zone identifiers. */
549
+ export declare enum ThermalZoneId {
550
+ /** THERMAL_ZONE_ID_UNSPECIFIED - Unspecified thermal zone. */
551
+ THERMAL_ZONE_ID_UNSPECIFIED = 0,
552
+ /** THERMAL_ZONE_ID_TJ - Junction temperature (Tj). */
553
+ THERMAL_ZONE_ID_TJ = 1,
554
+ /** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
555
+ THERMAL_ZONE_ID_CANISTER = 2,
556
+ /** THERMAL_ZONE_ID_CPU - CPU thermal zone. */
557
+ THERMAL_ZONE_ID_CPU = 3,
558
+ /** THERMAL_ZONE_ID_GPU - GPU thermal zone. */
559
+ THERMAL_ZONE_ID_GPU = 4,
560
+ /** THERMAL_ZONE_ID_CV0 - Vision accelerator 0 thermal zone. */
561
+ THERMAL_ZONE_ID_CV0 = 5,
562
+ /** THERMAL_ZONE_ID_CV1 - Vision accelerator 1 thermal zone. */
563
+ THERMAL_ZONE_ID_CV1 = 6,
564
+ /** THERMAL_ZONE_ID_CV2 - Vision accelerator 2 thermal zone. */
565
+ THERMAL_ZONE_ID_CV2 = 7,
566
+ /** THERMAL_ZONE_ID_SOC0 - SoC 0 thermal zone. */
567
+ THERMAL_ZONE_ID_SOC0 = 8,
568
+ /** THERMAL_ZONE_ID_SOC1 - SoC 1 thermal zone. */
569
+ THERMAL_ZONE_ID_SOC1 = 9,
570
+ /** THERMAL_ZONE_ID_SOC2 - SoC 2 thermal zone. */
571
+ THERMAL_ZONE_ID_SOC2 = 10,
572
+ UNRECOGNIZED = -1
573
+ }
574
+ export declare function thermalZoneIdFromJSON(object: any): ThermalZoneId;
575
+ export declare function thermalZoneIdToJSON(object: ThermalZoneId): string;
511
576
  /**
512
577
  * Wrapper message for each entry in the drone telemetry logfile.
513
578
  *
@@ -641,6 +706,46 @@ export interface Lights {
641
706
  export interface Laser {
642
707
  /** Laser intensity, any value above 0 turns the laser on (0..1). */
643
708
  value: number;
709
+ /** Modulate the laser at 5Hz for tracking. Only available on Ultra. */
710
+ modulated: boolean;
711
+ }
712
+ /** Point in 2D space. */
713
+ export interface Point2D {
714
+ /** X coordinate of the point (px). */
715
+ x: number;
716
+ /** Y coordinate of the point (px). */
717
+ y: number;
718
+ }
719
+ /**
720
+ * Message representing the detection of scaling lasers in the main camera.
721
+ *
722
+ * The message contains the centroids of the detected dots, the distance between them in pixels,
723
+ * and the confidence of the detection. The dots are detected through temporal DFT analysis of
724
+ * 5 Hz laser modulation, isolating flickering pixels from the static scene background.
725
+ *
726
+ * Only available on Ultra.
727
+ */
728
+ export interface LaserDetection {
729
+ /** True if the laser is detected by the drone. */
730
+ detected: boolean;
731
+ /** First dot centroid (leftmost). */
732
+ dot1: Point2D | undefined;
733
+ /** Second dot centroid (rightmost). */
734
+ dot2: Point2D | undefined;
735
+ /** Distance between dots in pixels. */
736
+ pixelDistance: number;
737
+ /** Confidence of the detection (0..1). */
738
+ confidence: number;
739
+ /** Source frame width. */
740
+ imageWidth: number;
741
+ /** Source frame height. */
742
+ imageHeight: number;
743
+ /** Real world distance between the two laser dots (m). */
744
+ laserWidth: number;
745
+ /** Distance after lens undistortion (px). */
746
+ correctedPixelDistance: number;
747
+ /** Estimated subject distance (m). */
748
+ estimatedDistance: number;
644
749
  }
645
750
  /** Latitude and longitude position in WGS 84 decimal degrees format. */
646
751
  export interface LatLongPosition {
@@ -776,8 +881,12 @@ export interface RecordState {
776
881
  multibeamSeconds: number;
777
882
  /** Multibeam record fps. */
778
883
  multibeamFps: number;
779
- /** Storage location used for recording. */
780
- storageLocation: StorageLocation;
884
+ /** Storage location used for main camera recording. */
885
+ mainStorageLocation: StorageLocation;
886
+ /** Storage location used for guestport camera recording. */
887
+ guestportStorageLocation: StorageLocation;
888
+ /** Storage location used for multibeam recording. */
889
+ multibeamStorageLocation: StorageLocation;
781
890
  }
782
891
  /** Time-lapse state published if time-lapse mission is running. */
783
892
  export interface TimeLapseState {
@@ -823,7 +932,7 @@ export interface WaterTemperature {
823
932
  /** Water temperature (°C). */
824
933
  value: number;
825
934
  }
826
- /** CPU temperature. */
935
+ /** CPU temperature (deprecated, use SystemPerformanceInfo.thermal_zones instead). */
827
936
  export interface CPUTemperature {
828
937
  /** CPU temperature (°C). */
829
938
  value: number;
@@ -1295,10 +1404,12 @@ export declare enum RemovableStorageDevice_Status {
1295
1404
  STATUS_UNSPECIFIED = 0,
1296
1405
  /** STATUS_READY - The storage device is valid and ready for use. */
1297
1406
  STATUS_READY = 1,
1298
- /** STATUS_FORMATTING - The storage device is being formatted */
1407
+ /** STATUS_FORMATTING - The storage device is being formatted. */
1299
1408
  STATUS_FORMATTING = 2,
1300
1409
  /** STATUS_ERROR - The storage device is in an error state. */
1301
1410
  STATUS_ERROR = 3,
1411
+ /** STATUS_UNPLUGGED - The storage device is not present. */
1412
+ STATUS_UNPLUGGED = 4,
1302
1413
  UNRECOGNIZED = -1
1303
1414
  }
1304
1415
  export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
@@ -1394,6 +1505,31 @@ export interface TiltVelocity {
1394
1505
  /**
1395
1506
  * Information about the drone.
1396
1507
  *
1508
+ * Information about a loaded computer vision model.
1509
+ */
1510
+ export interface CvModelInfo {
1511
+ /** Human-readable model name (from model_meta.json). */
1512
+ name: string;
1513
+ /** Type of CV model. */
1514
+ type: CvModelInfo_ModelType;
1515
+ /** Whether the model is currently running. */
1516
+ running: boolean;
1517
+ /** Execution provider (e.g. "cuda", "tensorrt"). */
1518
+ device: string;
1519
+ /** Package directory name (e.g. "tinyyolov2_package"). Stable identifier. */
1520
+ packageId: string;
1521
+ /** Class names the model can detect (indexed by class_id). */
1522
+ labels: string[];
1523
+ }
1524
+ export declare enum CvModelInfo_ModelType {
1525
+ MODEL_TYPE_UNSPECIFIED = 0,
1526
+ MODEL_TYPE_DETECTION = 1,
1527
+ MODEL_TYPE_SOT = 2,
1528
+ UNRECOGNIZED = -1
1529
+ }
1530
+ export declare function cvModelInfo_ModelTypeFromJSON(object: any): CvModelInfo_ModelType;
1531
+ export declare function cvModelInfo_ModelTypeToJSON(object: CvModelInfo_ModelType): string;
1532
+ /**
1397
1533
  * This message contains serial numbers and version information for
1398
1534
  * internal components in the drone. Primarily used for diagnostics, or to
1399
1535
  * determine the origin of a logfile.
@@ -1421,6 +1557,8 @@ export interface DroneInfo {
1421
1557
  gp: GuestPortInfo | undefined;
1422
1558
  /** Type of depth sensor that is connected to the drone. */
1423
1559
  depthSensor: PressureSensorType;
1560
+ /** List of loaded computer vision models. */
1561
+ cvModels: CvModelInfo[];
1424
1562
  }
1425
1563
  /** Known error states for the drone. */
1426
1564
  export interface ErrorFlags {
@@ -1446,30 +1584,60 @@ export interface ErrorFlags {
1446
1584
  gp2Read: boolean;
1447
1585
  /** Guest port 3 read error. */
1448
1586
  gp3Read: boolean;
1587
+ /** Guest port 4 read error. */
1588
+ gp4Read: boolean;
1589
+ /** Guest port 5 read error. */
1590
+ gp5Read: boolean;
1591
+ /** Guest port 6 read error. */
1592
+ gp6Read: boolean;
1449
1593
  /** Guest port 1 not flashed. */
1450
1594
  gp1NotFlashed: boolean;
1451
1595
  /** Guest port 2 not flashed. */
1452
1596
  gp2NotFlashed: boolean;
1453
1597
  /** Guest port 3 not flashed. */
1454
1598
  gp3NotFlashed: boolean;
1599
+ /** Guest port 4 not flashed. */
1600
+ gp4NotFlashed: boolean;
1601
+ /** Guest port 5 not flashed. */
1602
+ gp5NotFlashed: boolean;
1603
+ /** Guest port 6 not flashed. */
1604
+ gp6NotFlashed: boolean;
1455
1605
  /** Unknown device on guest port 1. */
1456
1606
  gp1UnknownDevice: boolean;
1457
1607
  /** Unknown device on guest port 2. */
1458
1608
  gp2UnknownDevice: boolean;
1459
1609
  /** Unknown device on guest port 3. */
1460
1610
  gp3UnknownDevice: boolean;
1611
+ /** Unknown device on guest port 4. */
1612
+ gp4UnknownDevice: boolean;
1613
+ /** Unknown device on guest port 5. */
1614
+ gp5UnknownDevice: boolean;
1615
+ /** Unknown device on guest port 6. */
1616
+ gp6UnknownDevice: boolean;
1461
1617
  /** Guest port 1 connection error. */
1462
1618
  gp1DeviceConnection: boolean;
1463
1619
  /** Guest port 2 connection error. */
1464
1620
  gp2DeviceConnection: boolean;
1465
1621
  /** Guest port 3 connection error. */
1466
1622
  gp3DeviceConnection: boolean;
1623
+ /** Guest port 4 connection error. */
1624
+ gp4DeviceConnection: boolean;
1625
+ /** Guest port 5 connection error. */
1626
+ gp5DeviceConnection: boolean;
1627
+ /** Guest port 6 connection error. */
1628
+ gp6DeviceConnection: boolean;
1467
1629
  /** Guest port 1 device error. */
1468
1630
  gp1Device: boolean;
1469
1631
  /** Guest port 2 device error. */
1470
1632
  gp2Device: boolean;
1471
1633
  /** Guest port 3 device error. */
1472
1634
  gp3Device: boolean;
1635
+ /** Guest port 4 device error. */
1636
+ gp4Device: boolean;
1637
+ /** Guest port 5 device error. */
1638
+ gp5Device: boolean;
1639
+ /** Guest port 6 device error. */
1640
+ gp6Device: boolean;
1473
1641
  /** Drone serial number not set. */
1474
1642
  droneSerialNotSet: boolean;
1475
1643
  /** Drone serial number error. */
@@ -1500,14 +1668,44 @@ export interface ErrorFlags {
1500
1668
  gpCurrentRead: boolean;
1501
1669
  /** Max GP current exceeded. */
1502
1670
  gpCurrent: boolean;
1503
- /** Max battery current exceeded on GP1. */
1671
+ /** Max battery current exceeded on guest port 1. */
1504
1672
  gp1BatCurrent: boolean;
1505
- /** Max battery current exceeded on GP2. */
1673
+ /** Max battery current exceeded on guest port 2. */
1506
1674
  gp2BatCurrent: boolean;
1507
- /** Max battery current exceeded on GP3. */
1675
+ /** Max battery current exceeded on guest port 3. */
1508
1676
  gp3BatCurrent: boolean;
1509
- /** Max 20V current exceeded on GP. */
1510
- gp20vCurrent: boolean;
1677
+ /** Max battery current exceeded on guest port 4. */
1678
+ gp4BatCurrent: boolean;
1679
+ /** Max battery current exceeded on guest port 5. */
1680
+ gp5BatCurrent: boolean;
1681
+ /** Max battery current exceeded on guest port 6. */
1682
+ gp6BatCurrent: boolean;
1683
+ /** Max 24V current exceeded on GP. Only present on X1/X3 (not X3 Ultra or X7). */
1684
+ gp24vCurrent: boolean;
1685
+ /** Max 24V current exceeded on guest port 1. */
1686
+ gp124vCurrent: boolean;
1687
+ /** Max 24V current exceeded on guest port 2. */
1688
+ gp224vCurrent: boolean;
1689
+ /** Max 24V current exceeded on guest port 3. */
1690
+ gp324vCurrent: boolean;
1691
+ /** Max 24V current exceeded on guest port 4. */
1692
+ gp424vCurrent: boolean;
1693
+ /** Max 24V current exceeded on guest port 5. */
1694
+ gp524vCurrent: boolean;
1695
+ /** Max 24V current exceeded on guest port 6. */
1696
+ gp624vCurrent: boolean;
1697
+ /** Max 5V current exceeded on guest port 1. */
1698
+ gp15vCurrent: boolean;
1699
+ /** Max 5V current exceeded on guest port 2. */
1700
+ gp25vCurrent: boolean;
1701
+ /** Max 5V current exceeded on guest port 3. */
1702
+ gp35vCurrent: boolean;
1703
+ /** Max 5V current exceeded on guest port 4. */
1704
+ gp45vCurrent: boolean;
1705
+ /** Max 5V current exceeded on guest port 5. */
1706
+ gp55vCurrent: boolean;
1707
+ /** Max 5V current exceeded on guest port 6. */
1708
+ gp65vCurrent: boolean;
1511
1709
  /** DVL is in thermal protection mode. */
1512
1710
  dvlThermalProtectionMode: boolean;
1513
1711
  /** GP protection has been triggered at boot or faulty DVL. */
@@ -1565,6 +1763,19 @@ export interface CameraParameters {
1565
1763
  framerate: Framerate;
1566
1764
  /** Which camera the parameters belong to. */
1567
1765
  camera: Camera;
1766
+ /**
1767
+ * Network MTU (Maximum Transmission Unit) size for video streaming in bytes (68..65535).
1768
+ * If 0 or unset, the system will use a default of 1400.
1769
+ * The Blueye App allows users to set values between 500 and 1460.
1770
+ */
1771
+ mtuSize: number;
1772
+ /** Recording video codec. If unset, uses platform default. */
1773
+ recordingCodec: RecordingCodec;
1774
+ /**
1775
+ * Recording bitrate in bits/sec. If 0 or unset, a default is computed based
1776
+ * on resolution, framerate, and encoding. Set explicitly to override.
1777
+ */
1778
+ recordingBitrate: number;
1568
1779
  }
1569
1780
  /**
1570
1781
  * Overlay parameters.
@@ -1677,6 +1888,12 @@ export interface GuestPortInfo {
1677
1888
  gp2: GuestPortConnectorInfo | undefined;
1678
1889
  /** Information about guest port 3. */
1679
1890
  gp3: GuestPortConnectorInfo | undefined;
1891
+ /** Information about guest port 4. */
1892
+ gp4: GuestPortConnectorInfo | undefined;
1893
+ /** Information about guest port 5. */
1894
+ gp5: GuestPortConnectorInfo | undefined;
1895
+ /** Information about guest port 6. */
1896
+ gp6: GuestPortConnectorInfo | undefined;
1680
1897
  }
1681
1898
  /** GuestPort restart information. */
1682
1899
  export interface GuestPortRestartInfo {
@@ -1721,8 +1938,38 @@ export interface GuestPortCurrent {
1721
1938
  gp2Bat: number;
1722
1939
  /** Current on GP3 battery voltage (A). */
1723
1940
  gp3Bat: number;
1724
- /** Current on common 20V supply (A). */
1725
- gp20v: number;
1941
+ /** Current on common/input 24V supply (A). Only present on X1/X3 (not X3 Ultra or X7). */
1942
+ gp24v: number;
1943
+ /** Current on GP4 battery voltage (A). */
1944
+ gp4Bat: number;
1945
+ /** Current on GP5 battery voltage (A). */
1946
+ gp5Bat: number;
1947
+ /** Current on GP6 battery voltage (A). */
1948
+ gp6Bat: number;
1949
+ /** Current on GP1 24V supply (A). */
1950
+ gp124v: number;
1951
+ /** Current on GP2 24V supply (A). */
1952
+ gp224v: number;
1953
+ /** Current on GP3 24V supply (A). */
1954
+ gp324v: number;
1955
+ /** Current on GP4 24V supply (A). */
1956
+ gp424v: number;
1957
+ /** Current on GP5 24V supply (A). */
1958
+ gp524v: number;
1959
+ /** Current on GP6 24V supply (A). */
1960
+ gp624v: number;
1961
+ /** Current on GP1 5V supply (A). */
1962
+ gp15v: number;
1963
+ /** Current on GP2 5V supply (A). */
1964
+ gp25v: number;
1965
+ /** Current on GP3 5V supply (A). */
1966
+ gp35v: number;
1967
+ /** Current on GP4 5V supply (A). */
1968
+ gp45v: number;
1969
+ /** Current on GP5 5V supply (A). */
1970
+ gp55v: number;
1971
+ /** Current on GP6 5V supply (A). */
1972
+ gp65v: number;
1726
1973
  }
1727
1974
  /** Vector with 3 elements. */
1728
1975
  export interface Vector3 {
@@ -1790,8 +2037,7 @@ export interface MultibeamPing {
1790
2037
  /** Size in bytes of each row in the ping data image. */
1791
2038
  step: number;
1792
2039
  /**
1793
- * Bearing angle of each column of the sonar data
1794
- * (in 100th of a degree, multiply by 0.01 to get a value in degrees).
2040
+ * Bearing angle of each column of the sonar data in degrees.
1795
2041
  * The sonar image is not sampled uniformly in the bearing direction.
1796
2042
  */
1797
2043
  bearings: number[];
@@ -1931,7 +2177,7 @@ export interface PersistentStorageSettings {
1931
2177
  accCalibration: boolean;
1932
2178
  }
1933
2179
  /**
1934
- * CPU information.
2180
+ * CPU information (deprecated, use SystemPerformanceInfo instead).
1935
2181
  *
1936
2182
  * Contains information about the CPU load and memory usage of the drone.
1937
2183
  */
@@ -1947,6 +2193,127 @@ export interface CPUInfo {
1947
2193
  /** Communication queue load (0..1). */
1948
2194
  commQueueLoad: number;
1949
2195
  }
2196
+ /** Per-core CPU utilization. */
2197
+ export interface CpuCoreLoad {
2198
+ /** Core index (0-based). */
2199
+ coreIndex: number;
2200
+ /** Core load (0..1). */
2201
+ load: number;
2202
+ /** Current clock frequency (MHz). */
2203
+ frequencyMhz: number;
2204
+ }
2205
+ /** GPU utilization and status. */
2206
+ export interface GpuInfo {
2207
+ /** GPU load (0..1). */
2208
+ load: number;
2209
+ /** Current GPU clock frequency (MHz). */
2210
+ frequencyMhz: number;
2211
+ }
2212
+ /**
2213
+ * Deep Learning Accelerator (DLA) utilization.
2214
+ *
2215
+ * Jetson Orin NX has two DLA engines used for inference offload.
2216
+ */
2217
+ export interface DlaInfo {
2218
+ /** DLA engine index (0-based). */
2219
+ engineIndex: number;
2220
+ /** DLA engine load (0..1). */
2221
+ load: number;
2222
+ /** Core clock frequency (MHz). 0 when disabled. */
2223
+ frequencyMhz: number;
2224
+ /** True when the DLA engine is actively processing. */
2225
+ enabled: boolean;
2226
+ /** Falcon microcontroller clock frequency (MHz). 0 when disabled. */
2227
+ falconFrequencyMhz: number;
2228
+ }
2229
+ /** System memory information. */
2230
+ export interface MemoryInfo {
2231
+ /** Total RAM (bytes). */
2232
+ totalBytes: number;
2233
+ /** Used RAM (bytes). */
2234
+ usedBytes: number;
2235
+ /** Cached RAM (bytes). */
2236
+ cachedBytes: number;
2237
+ /** Memory bus utilization (0..1). i.MX only. */
2238
+ busLoad: number;
2239
+ }
2240
+ /** Thermal zone reading. */
2241
+ export interface ThermalZone {
2242
+ /** Thermal zone identifier. */
2243
+ zone: ThermalZoneId;
2244
+ /** Temperature (°C). */
2245
+ temperature: number;
2246
+ }
2247
+ /** Video codec engine status. */
2248
+ export interface VideoCodecInfo {
2249
+ /** Jetson only (NVENC/NVDEC/NVJPG/VIC devfreq). */
2250
+ encoderActive: boolean;
2251
+ /** Video encoder clock frequency (MHz). */
2252
+ encoderFrequencyMhz: number;
2253
+ /** Video decoder (NVDEC) is active. */
2254
+ decoderActive: boolean;
2255
+ /** Video decoder clock frequency (MHz). */
2256
+ decoderFrequencyMhz: number;
2257
+ /** JPEG engine (NVJPG) is active. */
2258
+ nvjpgActive: boolean;
2259
+ /** JPEG engine clock frequency (MHz). */
2260
+ nvjpgFrequencyMhz: number;
2261
+ /** Video Image Compositor (VIC) is active. */
2262
+ vicActive: boolean;
2263
+ /** VIC clock frequency (MHz). */
2264
+ vicFrequencyMhz: number;
2265
+ /** i.MX only (CODA VPU). */
2266
+ vpuActive: boolean;
2267
+ /** VPU AXI clock frequency (MHz). */
2268
+ vpuFrequencyMhz: number;
2269
+ /** Cumulative VPU_CODEC_IRQ count. */
2270
+ vpuCodecIrqCount: number;
2271
+ /** Cumulative VPU_JPG_IRQ count. */
2272
+ vpuJpgIrqCount: number;
2273
+ /** Jetson only (host1x actmon engine utilization, 0..1). */
2274
+ encoderLoad: number;
2275
+ /** Video decoder (NVDEC) utilization (0..1). */
2276
+ decoderLoad: number;
2277
+ /** JPEG engine (NVJPG) utilization (0..1). */
2278
+ nvjpgLoad: number;
2279
+ /** Video Image Compositor (VIC) utilization (0..1). */
2280
+ vicLoad: number;
2281
+ }
2282
+ /**
2283
+ * System performance information.
2284
+ *
2285
+ * Comprehensive performance metrics for the drone's compute platform.
2286
+ * Covers CPU, GPU, DLA, memory, thermals, and video codec utilization.
2287
+ * Fields not applicable to a platform are left at their zero/empty defaults.
2288
+ */
2289
+ export interface SystemPerformanceInfo {
2290
+ /** Per-core CPU utilization. */
2291
+ cpuCores: CpuCoreLoad[];
2292
+ /** Mean CPU utilization across all cores (0..1). */
2293
+ cpuUtilization: number;
2294
+ /** GPU utilization. */
2295
+ gpu: GpuInfo | undefined;
2296
+ /** DLA engine utilization (Jetson only). */
2297
+ dlaEngines: DlaInfo[];
2298
+ /** RAM usage. */
2299
+ memory: MemoryInfo | undefined;
2300
+ /** All thermal zone readings. */
2301
+ thermalZones: ThermalZone[];
2302
+ /** Video encoder/decoder status. */
2303
+ videoCodec: VideoCodecInfo | undefined;
2304
+ /** Main queue load (0..1). */
2305
+ mainQueueLoad: number;
2306
+ /** Guestport queue load (0..1). */
2307
+ guestportQueueLoad: number;
2308
+ /** Communication queue load (0..1). */
2309
+ commQueueLoad: number;
2310
+ /** Camera queue load (0..1). */
2311
+ cameraQueueLoad: number;
2312
+ /** Overlay queue load (0..1). */
2313
+ overlayQueueLoad: number;
2314
+ /** Position observer queue load (0..1). */
2315
+ positionObserverQueueLoad: number;
2316
+ }
1950
2317
  /**
1951
2318
  * Surface Unit battery information.
1952
2319
  *
@@ -1978,6 +2345,123 @@ export interface SurfaceUnitVersionInfo {
1978
2345
  /** Surface Unit firmware version (x.y.z). */
1979
2346
  version: string;
1980
2347
  }
2348
+ /**
2349
+ * Bounding box for object detection.
2350
+ *
2351
+ * Coordinates are in pixels relative to the camera image,
2352
+ * where (x, y) is the top-left corner of the bounding box.
2353
+ */
2354
+ export interface BoundingBox {
2355
+ /** Horizontal offset of the top-left corner (px). */
2356
+ x: number;
2357
+ /** Vertical offset of the top-left corner (px). */
2358
+ y: number;
2359
+ /** Width of the bounding box (px). */
2360
+ width: number;
2361
+ /** Height of the bounding box (px). */
2362
+ height: number;
2363
+ }
2364
+ /**
2365
+ * RLE-encoded binary segmentation mask relative to the bounding box.
2366
+ *
2367
+ * The mask bitmap has dimensions (mask_width x mask_height) covering the
2368
+ * detection's bounding box area. The counts field stores run-length encoded
2369
+ * data as packed uint16 little-endian: alternating background/foreground
2370
+ * pixel runs starting with background.
2371
+ */
2372
+ export interface SegmentationMask {
2373
+ /** Width of the RLE bitmap. */
2374
+ maskWidth: number;
2375
+ /** Height of the RLE bitmap. */
2376
+ maskHeight: number;
2377
+ /** RLE counts as packed uint16 little-endian. */
2378
+ counts: Uint8Array;
2379
+ }
2380
+ /** A single object detection from a computer vision model. */
2381
+ export interface ObjectDetection {
2382
+ /** Bounding box of the detected object. */
2383
+ boundingBox: BoundingBox | undefined;
2384
+ /** Detection confidence score (0..1). */
2385
+ confidence: number;
2386
+ /** Numeric class identifier from the model. */
2387
+ classId: number;
2388
+ /** Human-readable class name. */
2389
+ className: string;
2390
+ /** Unique ID for tracking the same object across frames. */
2391
+ trackingId: number;
2392
+ /** Instance segmentation mask (absent if model has no segmentation). */
2393
+ mask: SegmentationMask | undefined;
2394
+ }
2395
+ /** A list of object detections from a single model for a single video frame. */
2396
+ export interface ModelDetections {
2397
+ /** List of detections in the frame. */
2398
+ detections: ObjectDetection[];
2399
+ /** Which camera the detections are from. */
2400
+ camera: Camera;
2401
+ /** Width of the source image (px). */
2402
+ imageWidth: number;
2403
+ /** Height of the source image (px). */
2404
+ imageHeight: number;
2405
+ /** Name of the computer vision model that produced the detections. */
2406
+ modelName: string;
2407
+ }
2408
+ /** Generic filter settings. */
2409
+ export interface FilterMessage {
2410
+ /** If the filter is enabled. */
2411
+ enabled: boolean;
2412
+ /** Intensity of the filter (0..1). */
2413
+ intensity: number;
2414
+ }
2415
+ /**
2416
+ * Digital pan, tilt, and zoom state for the main camera.
2417
+ *
2418
+ * Only supported on X3 Ultra. Controls digital (not mechanical) zoom.
2419
+ */
2420
+ export interface CameraPanTiltZoom {
2421
+ /** Horizontal pan (-1.0..1.0), where 0.0 is center. */
2422
+ pan: number;
2423
+ /** Vertical tilt (-1.0..1.0), where 0.0 is center. */
2424
+ tilt: number;
2425
+ /** Zoom level (0.0..1.0), where 0.0 is no zoom and 1.0 is maximum zoom. */
2426
+ zoom: number;
2427
+ }
2428
+ /**
2429
+ * Information about the operator controlling the drone.
2430
+ *
2431
+ * Used to identify who started a dive, for reporting and when importing
2432
+ * dives to Blueye Cloud.
2433
+ */
2434
+ export interface OperatorInfo {
2435
+ /** Full name of the operator. */
2436
+ name: string;
2437
+ /** E-mail address of the operator. */
2438
+ email: string;
2439
+ }
2440
+ /** Single-object tracking (SOT) state reported by the computer vision pipeline. */
2441
+ export interface SotState {
2442
+ /** Current tracking state. */
2443
+ state: SotState_State;
2444
+ /** Current tracked bounding box (valid when TRACKING). */
2445
+ boundingBox: BoundingBox | undefined;
2446
+ /** Width of the source frame in pixels. */
2447
+ imageWidth: number;
2448
+ /** Height of the source frame in pixels. */
2449
+ imageHeight: number;
2450
+ }
2451
+ /** Current state of the SOT tracker. */
2452
+ export declare enum SotState_State {
2453
+ /** STATE_UNSPECIFIED - Unspecified state. */
2454
+ STATE_UNSPECIFIED = 0,
2455
+ /** STATE_IDLE - No target selected, waiting for a target bounding box. */
2456
+ STATE_IDLE = 1,
2457
+ /** STATE_TRACKING - Actively tracking a target. */
2458
+ STATE_TRACKING = 2,
2459
+ /** STATE_LOST - Target was lost (tracker failed to follow the object). */
2460
+ STATE_LOST = 3,
2461
+ UNRECOGNIZED = -1
2462
+ }
2463
+ export declare function sotState_StateFromJSON(object: any): SotState_State;
2464
+ export declare function sotState_StateToJSON(object: SotState_State): string;
1981
2465
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1982
2466
  export declare const LogEntry: MessageFns<LogEntry>;
1983
2467
  export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
@@ -1985,6 +2469,8 @@ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyV
1985
2469
  export declare const MotionInput: MessageFns<MotionInput>;
1986
2470
  export declare const Lights: MessageFns<Lights>;
1987
2471
  export declare const Laser: MessageFns<Laser>;
2472
+ export declare const Point2D: MessageFns<Point2D>;
2473
+ export declare const LaserDetection: MessageFns<LaserDetection>;
1988
2474
  export declare const LatLongPosition: MessageFns<LatLongPosition>;
1989
2475
  export declare const ConnectionDuration: MessageFns<ConnectionDuration>;
1990
2476
  export declare const AutoHeadingState: MessageFns<AutoHeadingState>;
@@ -2041,6 +2527,7 @@ export declare const IperfStatus: MessageFns<IperfStatus>;
2041
2527
  export declare const NStreamers: MessageFns<NStreamers>;
2042
2528
  export declare const TiltAngle: MessageFns<TiltAngle>;
2043
2529
  export declare const TiltVelocity: MessageFns<TiltVelocity>;
2530
+ export declare const CvModelInfo: MessageFns<CvModelInfo>;
2044
2531
  export declare const DroneInfo: MessageFns<DroneInfo>;
2045
2532
  export declare const ErrorFlags: MessageFns<ErrorFlags>;
2046
2533
  export declare const CameraParameters: MessageFns<CameraParameters>;
@@ -2067,8 +2554,23 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
2067
2554
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
2068
2555
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
2069
2556
  export declare const CPUInfo: MessageFns<CPUInfo>;
2557
+ export declare const CpuCoreLoad: MessageFns<CpuCoreLoad>;
2558
+ export declare const GpuInfo: MessageFns<GpuInfo>;
2559
+ export declare const DlaInfo: MessageFns<DlaInfo>;
2560
+ export declare const MemoryInfo: MessageFns<MemoryInfo>;
2561
+ export declare const ThermalZone: MessageFns<ThermalZone>;
2562
+ export declare const VideoCodecInfo: MessageFns<VideoCodecInfo>;
2563
+ export declare const SystemPerformanceInfo: MessageFns<SystemPerformanceInfo>;
2070
2564
  export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2071
2565
  export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
2566
+ export declare const BoundingBox: MessageFns<BoundingBox>;
2567
+ export declare const SegmentationMask: MessageFns<SegmentationMask>;
2568
+ export declare const ObjectDetection: MessageFns<ObjectDetection>;
2569
+ export declare const ModelDetections: MessageFns<ModelDetections>;
2570
+ export declare const FilterMessage: MessageFns<FilterMessage>;
2571
+ export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
2572
+ export declare const OperatorInfo: MessageFns<OperatorInfo>;
2573
+ export declare const SotState: MessageFns<SotState>;
2072
2574
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
2073
2575
  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 {} ? {
2074
2576
  [K in keyof T]?: DeepPartial<T[K]>;