@blueyerobotics/protocol-definitions 3.2.0-b371a87f → 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;
@@ -268,6 +270,18 @@ export declare enum StreamingProtocol {
268
270
  }
269
271
  export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
270
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;
271
285
  /** Available temperature units. */
272
286
  export declare enum TemperatureUnit {
273
287
  /** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
@@ -334,6 +348,8 @@ export declare enum FontSize {
334
348
  FONT_SIZE_PX35 = 5,
335
349
  /** FONT_SIZE_PX40 - 40 px. */
336
350
  FONT_SIZE_PX40 = 6,
351
+ /** FONT_SIZE_PX50 - 50 px. */
352
+ FONT_SIZE_PX50 = 7,
337
353
  UNRECOGNIZED = -1
338
354
  }
339
355
  export declare function fontSizeFromJSON(object: any): FontSize;
@@ -436,6 +452,8 @@ export declare enum GuestPortDeviceID {
436
452
  GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 = 46,
437
453
  /** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
438
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,
439
457
  UNRECOGNIZED = -1
440
458
  }
441
459
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -450,6 +468,12 @@ export declare enum GuestPortNumber {
450
468
  GUEST_PORT_NUMBER_PORT_2 = 2,
451
469
  /** GUEST_PORT_NUMBER_PORT_3 - Guest port 3. */
452
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,
453
477
  UNRECOGNIZED = -1
454
478
  }
455
479
  export declare function guestPortNumberFromJSON(object: any): GuestPortNumber;
@@ -521,6 +545,34 @@ export declare enum MultibeamFrequencyMode {
521
545
  }
522
546
  export declare function multibeamFrequencyModeFromJSON(object: any): MultibeamFrequencyMode;
523
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;
524
576
  /**
525
577
  * Wrapper message for each entry in the drone telemetry logfile.
526
578
  *
@@ -654,6 +706,46 @@ export interface Lights {
654
706
  export interface Laser {
655
707
  /** Laser intensity, any value above 0 turns the laser on (0..1). */
656
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;
657
749
  }
658
750
  /** Latitude and longitude position in WGS 84 decimal degrees format. */
659
751
  export interface LatLongPosition {
@@ -840,7 +932,7 @@ export interface WaterTemperature {
840
932
  /** Water temperature (°C). */
841
933
  value: number;
842
934
  }
843
- /** CPU temperature. */
935
+ /** CPU temperature (deprecated, use SystemPerformanceInfo.thermal_zones instead). */
844
936
  export interface CPUTemperature {
845
937
  /** CPU temperature (°C). */
846
938
  value: number;
@@ -1413,6 +1505,31 @@ export interface TiltVelocity {
1413
1505
  /**
1414
1506
  * Information about the drone.
1415
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
+ /**
1416
1533
  * This message contains serial numbers and version information for
1417
1534
  * internal components in the drone. Primarily used for diagnostics, or to
1418
1535
  * determine the origin of a logfile.
@@ -1440,6 +1557,8 @@ export interface DroneInfo {
1440
1557
  gp: GuestPortInfo | undefined;
1441
1558
  /** Type of depth sensor that is connected to the drone. */
1442
1559
  depthSensor: PressureSensorType;
1560
+ /** List of loaded computer vision models. */
1561
+ cvModels: CvModelInfo[];
1443
1562
  }
1444
1563
  /** Known error states for the drone. */
1445
1564
  export interface ErrorFlags {
@@ -1465,30 +1584,60 @@ export interface ErrorFlags {
1465
1584
  gp2Read: boolean;
1466
1585
  /** Guest port 3 read error. */
1467
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;
1468
1593
  /** Guest port 1 not flashed. */
1469
1594
  gp1NotFlashed: boolean;
1470
1595
  /** Guest port 2 not flashed. */
1471
1596
  gp2NotFlashed: boolean;
1472
1597
  /** Guest port 3 not flashed. */
1473
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;
1474
1605
  /** Unknown device on guest port 1. */
1475
1606
  gp1UnknownDevice: boolean;
1476
1607
  /** Unknown device on guest port 2. */
1477
1608
  gp2UnknownDevice: boolean;
1478
1609
  /** Unknown device on guest port 3. */
1479
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;
1480
1617
  /** Guest port 1 connection error. */
1481
1618
  gp1DeviceConnection: boolean;
1482
1619
  /** Guest port 2 connection error. */
1483
1620
  gp2DeviceConnection: boolean;
1484
1621
  /** Guest port 3 connection error. */
1485
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;
1486
1629
  /** Guest port 1 device error. */
1487
1630
  gp1Device: boolean;
1488
1631
  /** Guest port 2 device error. */
1489
1632
  gp2Device: boolean;
1490
1633
  /** Guest port 3 device error. */
1491
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;
1492
1641
  /** Drone serial number not set. */
1493
1642
  droneSerialNotSet: boolean;
1494
1643
  /** Drone serial number error. */
@@ -1519,14 +1668,44 @@ export interface ErrorFlags {
1519
1668
  gpCurrentRead: boolean;
1520
1669
  /** Max GP current exceeded. */
1521
1670
  gpCurrent: boolean;
1522
- /** Max battery current exceeded on GP1. */
1671
+ /** Max battery current exceeded on guest port 1. */
1523
1672
  gp1BatCurrent: boolean;
1524
- /** Max battery current exceeded on GP2. */
1673
+ /** Max battery current exceeded on guest port 2. */
1525
1674
  gp2BatCurrent: boolean;
1526
- /** Max battery current exceeded on GP3. */
1675
+ /** Max battery current exceeded on guest port 3. */
1527
1676
  gp3BatCurrent: boolean;
1528
- /** Max 20V current exceeded on GP. */
1529
- 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;
1530
1709
  /** DVL is in thermal protection mode. */
1531
1710
  dvlThermalProtectionMode: boolean;
1532
1711
  /** GP protection has been triggered at boot or faulty DVL. */
@@ -1590,6 +1769,13 @@ export interface CameraParameters {
1590
1769
  * The Blueye App allows users to set values between 500 and 1460.
1591
1770
  */
1592
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;
1593
1779
  }
1594
1780
  /**
1595
1781
  * Overlay parameters.
@@ -1702,6 +1888,12 @@ export interface GuestPortInfo {
1702
1888
  gp2: GuestPortConnectorInfo | undefined;
1703
1889
  /** Information about guest port 3. */
1704
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;
1705
1897
  }
1706
1898
  /** GuestPort restart information. */
1707
1899
  export interface GuestPortRestartInfo {
@@ -1746,8 +1938,38 @@ export interface GuestPortCurrent {
1746
1938
  gp2Bat: number;
1747
1939
  /** Current on GP3 battery voltage (A). */
1748
1940
  gp3Bat: number;
1749
- /** Current on common 20V supply (A). */
1750
- 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;
1751
1973
  }
1752
1974
  /** Vector with 3 elements. */
1753
1975
  export interface Vector3 {
@@ -1955,7 +2177,7 @@ export interface PersistentStorageSettings {
1955
2177
  accCalibration: boolean;
1956
2178
  }
1957
2179
  /**
1958
- * CPU information.
2180
+ * CPU information (deprecated, use SystemPerformanceInfo instead).
1959
2181
  *
1960
2182
  * Contains information about the CPU load and memory usage of the drone.
1961
2183
  */
@@ -1971,6 +2193,127 @@ export interface CPUInfo {
1971
2193
  /** Communication queue load (0..1). */
1972
2194
  commQueueLoad: number;
1973
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
+ }
1974
2317
  /**
1975
2318
  * Surface Unit battery information.
1976
2319
  *
@@ -2002,6 +2345,66 @@ export interface SurfaceUnitVersionInfo {
2002
2345
  /** Surface Unit firmware version (x.y.z). */
2003
2346
  version: string;
2004
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
+ }
2005
2408
  /** Generic filter settings. */
2006
2409
  export interface FilterMessage {
2007
2410
  /** If the filter is enabled. */
@@ -2022,6 +2425,43 @@ export interface CameraPanTiltZoom {
2022
2425
  /** Zoom level (0.0..1.0), where 0.0 is no zoom and 1.0 is maximum zoom. */
2023
2426
  zoom: number;
2024
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;
2025
2465
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
2026
2466
  export declare const LogEntry: MessageFns<LogEntry>;
2027
2467
  export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
@@ -2029,6 +2469,8 @@ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyV
2029
2469
  export declare const MotionInput: MessageFns<MotionInput>;
2030
2470
  export declare const Lights: MessageFns<Lights>;
2031
2471
  export declare const Laser: MessageFns<Laser>;
2472
+ export declare const Point2D: MessageFns<Point2D>;
2473
+ export declare const LaserDetection: MessageFns<LaserDetection>;
2032
2474
  export declare const LatLongPosition: MessageFns<LatLongPosition>;
2033
2475
  export declare const ConnectionDuration: MessageFns<ConnectionDuration>;
2034
2476
  export declare const AutoHeadingState: MessageFns<AutoHeadingState>;
@@ -2085,6 +2527,7 @@ export declare const IperfStatus: MessageFns<IperfStatus>;
2085
2527
  export declare const NStreamers: MessageFns<NStreamers>;
2086
2528
  export declare const TiltAngle: MessageFns<TiltAngle>;
2087
2529
  export declare const TiltVelocity: MessageFns<TiltVelocity>;
2530
+ export declare const CvModelInfo: MessageFns<CvModelInfo>;
2088
2531
  export declare const DroneInfo: MessageFns<DroneInfo>;
2089
2532
  export declare const ErrorFlags: MessageFns<ErrorFlags>;
2090
2533
  export declare const CameraParameters: MessageFns<CameraParameters>;
@@ -2111,10 +2554,23 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
2111
2554
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
2112
2555
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
2113
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>;
2114
2564
  export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2115
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>;
2116
2570
  export declare const FilterMessage: MessageFns<FilterMessage>;
2117
2571
  export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
2572
+ export declare const OperatorInfo: MessageFns<OperatorInfo>;
2573
+ export declare const SotState: MessageFns<SotState>;
2118
2574
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
2119
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 {} ? {
2120
2576
  [K in keyof T]?: DeepPartial<T[K]>;