@blueyerobotics/protocol-definitions 3.2.0-d0f59472 → 3.2.0-d7dd459b

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.
@@ -210,6 +210,24 @@ export declare enum PressureSensorType {
210
210
  }
211
211
  export declare function pressureSensorTypeFromJSON(object: any): PressureSensorType;
212
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;
213
231
  /** Available camera resolutions. */
214
232
  export declare enum Resolution {
215
233
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
@@ -468,6 +486,12 @@ export declare enum GuestPortNumber {
468
486
  GUEST_PORT_NUMBER_PORT_2 = 2,
469
487
  /** GUEST_PORT_NUMBER_PORT_3 - Guest port 3. */
470
488
  GUEST_PORT_NUMBER_PORT_3 = 3,
489
+ /** GUEST_PORT_NUMBER_PORT_4 - Guest port 4. */
490
+ GUEST_PORT_NUMBER_PORT_4 = 4,
491
+ /** GUEST_PORT_NUMBER_PORT_5 - Guest port 5. */
492
+ GUEST_PORT_NUMBER_PORT_5 = 5,
493
+ /** GUEST_PORT_NUMBER_PORT_6 - Guest port 6. */
494
+ GUEST_PORT_NUMBER_PORT_6 = 6,
471
495
  UNRECOGNIZED = -1
472
496
  }
473
497
  export declare function guestPortNumberFromJSON(object: any): GuestPortNumber;
@@ -547,6 +571,22 @@ export declare enum ThermalZoneId {
547
571
  THERMAL_ZONE_ID_TJ = 1,
548
572
  /** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
549
573
  THERMAL_ZONE_ID_CANISTER = 2,
574
+ /** THERMAL_ZONE_ID_CPU - CPU thermal zone. */
575
+ THERMAL_ZONE_ID_CPU = 3,
576
+ /** THERMAL_ZONE_ID_GPU - GPU thermal zone. */
577
+ THERMAL_ZONE_ID_GPU = 4,
578
+ /** THERMAL_ZONE_ID_CV0 - Vision accelerator 0 thermal zone. */
579
+ THERMAL_ZONE_ID_CV0 = 5,
580
+ /** THERMAL_ZONE_ID_CV1 - Vision accelerator 1 thermal zone. */
581
+ THERMAL_ZONE_ID_CV1 = 6,
582
+ /** THERMAL_ZONE_ID_CV2 - Vision accelerator 2 thermal zone. */
583
+ THERMAL_ZONE_ID_CV2 = 7,
584
+ /** THERMAL_ZONE_ID_SOC0 - SoC 0 thermal zone. */
585
+ THERMAL_ZONE_ID_SOC0 = 8,
586
+ /** THERMAL_ZONE_ID_SOC1 - SoC 1 thermal zone. */
587
+ THERMAL_ZONE_ID_SOC1 = 9,
588
+ /** THERMAL_ZONE_ID_SOC2 - SoC 2 thermal zone. */
589
+ THERMAL_ZONE_ID_SOC2 = 10,
550
590
  UNRECOGNIZED = -1
551
591
  }
552
592
  export declare function thermalZoneIdFromJSON(object: any): ThermalZoneId;
@@ -684,6 +724,46 @@ export interface Lights {
684
724
  export interface Laser {
685
725
  /** Laser intensity, any value above 0 turns the laser on (0..1). */
686
726
  value: number;
727
+ /** Modulate the laser at 5Hz for tracking. Only available on Ultra. */
728
+ modulated: boolean;
729
+ }
730
+ /** Point in 2D space. */
731
+ export interface Point2D {
732
+ /** X coordinate of the point (px). */
733
+ x: number;
734
+ /** Y coordinate of the point (px). */
735
+ y: number;
736
+ }
737
+ /**
738
+ * Message representing the detection of scaling lasers in the main camera.
739
+ *
740
+ * The message contains the centroids of the detected dots, the distance between them in pixels,
741
+ * and the confidence of the detection. The dots are detected through temporal DFT analysis of
742
+ * 5 Hz laser modulation, isolating flickering pixels from the static scene background.
743
+ *
744
+ * Only available on Ultra.
745
+ */
746
+ export interface LaserDetection {
747
+ /** True if the laser is detected by the drone. */
748
+ detected: boolean;
749
+ /** First dot centroid (leftmost). */
750
+ dot1: Point2D | undefined;
751
+ /** Second dot centroid (rightmost). */
752
+ dot2: Point2D | undefined;
753
+ /** Distance between dots in pixels. */
754
+ pixelDistance: number;
755
+ /** Confidence of the detection (0..1). */
756
+ confidence: number;
757
+ /** Source frame width. */
758
+ imageWidth: number;
759
+ /** Source frame height. */
760
+ imageHeight: number;
761
+ /** Real world distance between the two laser dots (m). */
762
+ laserWidth: number;
763
+ /** Distance after lens undistortion (px). */
764
+ correctedPixelDistance: number;
765
+ /** Estimated subject distance (m). */
766
+ estimatedDistance: number;
687
767
  }
688
768
  /** Latitude and longitude position in WGS 84 decimal degrees format. */
689
769
  export interface LatLongPosition {
@@ -1497,6 +1577,8 @@ export interface DroneInfo {
1497
1577
  depthSensor: PressureSensorType;
1498
1578
  /** List of loaded computer vision models. */
1499
1579
  cvModels: CvModelInfo[];
1580
+ /** How the drone is powered. */
1581
+ powerSource: PowerSource;
1500
1582
  }
1501
1583
  /** Known error states for the drone. */
1502
1584
  export interface ErrorFlags {
@@ -1522,30 +1604,60 @@ export interface ErrorFlags {
1522
1604
  gp2Read: boolean;
1523
1605
  /** Guest port 3 read error. */
1524
1606
  gp3Read: boolean;
1607
+ /** Guest port 4 read error. */
1608
+ gp4Read: boolean;
1609
+ /** Guest port 5 read error. */
1610
+ gp5Read: boolean;
1611
+ /** Guest port 6 read error. */
1612
+ gp6Read: boolean;
1525
1613
  /** Guest port 1 not flashed. */
1526
1614
  gp1NotFlashed: boolean;
1527
1615
  /** Guest port 2 not flashed. */
1528
1616
  gp2NotFlashed: boolean;
1529
1617
  /** Guest port 3 not flashed. */
1530
1618
  gp3NotFlashed: boolean;
1619
+ /** Guest port 4 not flashed. */
1620
+ gp4NotFlashed: boolean;
1621
+ /** Guest port 5 not flashed. */
1622
+ gp5NotFlashed: boolean;
1623
+ /** Guest port 6 not flashed. */
1624
+ gp6NotFlashed: boolean;
1531
1625
  /** Unknown device on guest port 1. */
1532
1626
  gp1UnknownDevice: boolean;
1533
1627
  /** Unknown device on guest port 2. */
1534
1628
  gp2UnknownDevice: boolean;
1535
1629
  /** Unknown device on guest port 3. */
1536
1630
  gp3UnknownDevice: boolean;
1631
+ /** Unknown device on guest port 4. */
1632
+ gp4UnknownDevice: boolean;
1633
+ /** Unknown device on guest port 5. */
1634
+ gp5UnknownDevice: boolean;
1635
+ /** Unknown device on guest port 6. */
1636
+ gp6UnknownDevice: boolean;
1537
1637
  /** Guest port 1 connection error. */
1538
1638
  gp1DeviceConnection: boolean;
1539
1639
  /** Guest port 2 connection error. */
1540
1640
  gp2DeviceConnection: boolean;
1541
1641
  /** Guest port 3 connection error. */
1542
1642
  gp3DeviceConnection: boolean;
1643
+ /** Guest port 4 connection error. */
1644
+ gp4DeviceConnection: boolean;
1645
+ /** Guest port 5 connection error. */
1646
+ gp5DeviceConnection: boolean;
1647
+ /** Guest port 6 connection error. */
1648
+ gp6DeviceConnection: boolean;
1543
1649
  /** Guest port 1 device error. */
1544
1650
  gp1Device: boolean;
1545
1651
  /** Guest port 2 device error. */
1546
1652
  gp2Device: boolean;
1547
1653
  /** Guest port 3 device error. */
1548
1654
  gp3Device: boolean;
1655
+ /** Guest port 4 device error. */
1656
+ gp4Device: boolean;
1657
+ /** Guest port 5 device error. */
1658
+ gp5Device: boolean;
1659
+ /** Guest port 6 device error. */
1660
+ gp6Device: boolean;
1549
1661
  /** Drone serial number not set. */
1550
1662
  droneSerialNotSet: boolean;
1551
1663
  /** Drone serial number error. */
@@ -1576,14 +1688,44 @@ export interface ErrorFlags {
1576
1688
  gpCurrentRead: boolean;
1577
1689
  /** Max GP current exceeded. */
1578
1690
  gpCurrent: boolean;
1579
- /** Max battery current exceeded on GP1. */
1691
+ /** Max battery current exceeded on guest port 1. */
1580
1692
  gp1BatCurrent: boolean;
1581
- /** Max battery current exceeded on GP2. */
1693
+ /** Max battery current exceeded on guest port 2. */
1582
1694
  gp2BatCurrent: boolean;
1583
- /** Max battery current exceeded on GP3. */
1695
+ /** Max battery current exceeded on guest port 3. */
1584
1696
  gp3BatCurrent: boolean;
1585
- /** Max 20V current exceeded on GP. */
1586
- gp20vCurrent: boolean;
1697
+ /** Max battery current exceeded on guest port 4. */
1698
+ gp4BatCurrent: boolean;
1699
+ /** Max battery current exceeded on guest port 5. */
1700
+ gp5BatCurrent: boolean;
1701
+ /** Max battery current exceeded on guest port 6. */
1702
+ gp6BatCurrent: boolean;
1703
+ /** Max 24V current exceeded on GP. Only present on X1/X3 (not X3 Ultra or X7). */
1704
+ gp24vCurrent: boolean;
1705
+ /** Max 24V current exceeded on guest port 1. */
1706
+ gp124vCurrent: boolean;
1707
+ /** Max 24V current exceeded on guest port 2. */
1708
+ gp224vCurrent: boolean;
1709
+ /** Max 24V current exceeded on guest port 3. */
1710
+ gp324vCurrent: boolean;
1711
+ /** Max 24V current exceeded on guest port 4. */
1712
+ gp424vCurrent: boolean;
1713
+ /** Max 24V current exceeded on guest port 5. */
1714
+ gp524vCurrent: boolean;
1715
+ /** Max 24V current exceeded on guest port 6. */
1716
+ gp624vCurrent: boolean;
1717
+ /** Max 5V current exceeded on guest port 1. */
1718
+ gp15vCurrent: boolean;
1719
+ /** Max 5V current exceeded on guest port 2. */
1720
+ gp25vCurrent: boolean;
1721
+ /** Max 5V current exceeded on guest port 3. */
1722
+ gp35vCurrent: boolean;
1723
+ /** Max 5V current exceeded on guest port 4. */
1724
+ gp45vCurrent: boolean;
1725
+ /** Max 5V current exceeded on guest port 5. */
1726
+ gp55vCurrent: boolean;
1727
+ /** Max 5V current exceeded on guest port 6. */
1728
+ gp65vCurrent: boolean;
1587
1729
  /** DVL is in thermal protection mode. */
1588
1730
  dvlThermalProtectionMode: boolean;
1589
1731
  /** GP protection has been triggered at boot or faulty DVL. */
@@ -1766,6 +1908,12 @@ export interface GuestPortInfo {
1766
1908
  gp2: GuestPortConnectorInfo | undefined;
1767
1909
  /** Information about guest port 3. */
1768
1910
  gp3: GuestPortConnectorInfo | undefined;
1911
+ /** Information about guest port 4. */
1912
+ gp4: GuestPortConnectorInfo | undefined;
1913
+ /** Information about guest port 5. */
1914
+ gp5: GuestPortConnectorInfo | undefined;
1915
+ /** Information about guest port 6. */
1916
+ gp6: GuestPortConnectorInfo | undefined;
1769
1917
  }
1770
1918
  /** GuestPort restart information. */
1771
1919
  export interface GuestPortRestartInfo {
@@ -1810,8 +1958,38 @@ export interface GuestPortCurrent {
1810
1958
  gp2Bat: number;
1811
1959
  /** Current on GP3 battery voltage (A). */
1812
1960
  gp3Bat: number;
1813
- /** Current on common 20V supply (A). */
1814
- gp20v: number;
1961
+ /** Current on common/input 24V supply (A). Only present on X1/X3 (not X3 Ultra or X7). */
1962
+ gp24v: number;
1963
+ /** Current on GP4 battery voltage (A). */
1964
+ gp4Bat: number;
1965
+ /** Current on GP5 battery voltage (A). */
1966
+ gp5Bat: number;
1967
+ /** Current on GP6 battery voltage (A). */
1968
+ gp6Bat: number;
1969
+ /** Current on GP1 24V supply (A). */
1970
+ gp124v: number;
1971
+ /** Current on GP2 24V supply (A). */
1972
+ gp224v: number;
1973
+ /** Current on GP3 24V supply (A). */
1974
+ gp324v: number;
1975
+ /** Current on GP4 24V supply (A). */
1976
+ gp424v: number;
1977
+ /** Current on GP5 24V supply (A). */
1978
+ gp524v: number;
1979
+ /** Current on GP6 24V supply (A). */
1980
+ gp624v: number;
1981
+ /** Current on GP1 5V supply (A). */
1982
+ gp15v: number;
1983
+ /** Current on GP2 5V supply (A). */
1984
+ gp25v: number;
1985
+ /** Current on GP3 5V supply (A). */
1986
+ gp35v: number;
1987
+ /** Current on GP4 5V supply (A). */
1988
+ gp45v: number;
1989
+ /** Current on GP5 5V supply (A). */
1990
+ gp55v: number;
1991
+ /** Current on GP6 5V supply (A). */
1992
+ gp65v: number;
1815
1993
  }
1816
1994
  /** Vector with 3 elements. */
1817
1995
  export interface Vector3 {
@@ -2112,13 +2290,78 @@ export interface VideoCodecInfo {
2112
2290
  vpuCodecIrqCount: number;
2113
2291
  /** Cumulative VPU_JPG_IRQ count. */
2114
2292
  vpuJpgIrqCount: number;
2293
+ /** Jetson only (host1x actmon engine utilization, 0..1). */
2294
+ encoderLoad: number;
2295
+ /** Video decoder (NVDEC) utilization (0..1). */
2296
+ decoderLoad: number;
2297
+ /** JPEG engine (NVJPG) utilization (0..1). */
2298
+ nvjpgLoad: number;
2299
+ /** Video Image Compositor (VIC) utilization (0..1). */
2300
+ vicLoad: number;
2301
+ }
2302
+ /**
2303
+ * NVMe SSD health, wear and identity (Jetson only; i.MX drones boot/store on
2304
+ * an SD card and have no NVMe device, so this message is omitted there).
2305
+ */
2306
+ export interface NvmeInfo {
2307
+ /** Tier 1 — health & safety. */
2308
+ compositeTemperature: number;
2309
+ /** NVMe critical-warning bitfield. */
2310
+ criticalWarning: number;
2311
+ /** Wear indicator (%, may exceed 100). */
2312
+ percentageUsed: number;
2313
+ /** Remaining spare capacity (%). */
2314
+ availableSpare: number;
2315
+ /** Spare alarm threshold (%). */
2316
+ availableSpareThreshold: number;
2317
+ /** Uncorrected data-integrity errors. */
2318
+ mediaErrors: number;
2319
+ /** Power-loss / unsafe shutdown count. */
2320
+ unsafeShutdowns: number;
2321
+ /** Tier 2 — thermal throttling. */
2322
+ warningTempTimeMin: number;
2323
+ /** Minutes above the critical temperature. */
2324
+ criticalTempTimeMin: number;
2325
+ /** Times entered light throttling. */
2326
+ thermalMgmtT1TransCount: number;
2327
+ /** Times entered heavy throttling. */
2328
+ thermalMgmtT2TransCount: number;
2329
+ /** Total seconds in light throttling. */
2330
+ thermalMgmtT1TotalTimeS: number;
2331
+ /** Total seconds in heavy throttling. */
2332
+ thermalMgmtT2TotalTimeS: number;
2333
+ /** Tier 3 — endurance / workload. */
2334
+ dataUnitsWrittenBytes: number;
2335
+ /** Host data read (B). */
2336
+ dataUnitsReadBytes: number;
2337
+ /** Host write command count. */
2338
+ hostWriteCommands: number;
2339
+ /** Host read command count. */
2340
+ hostReadCommands: number;
2341
+ /** Power-on hours. */
2342
+ powerOnHours: number;
2343
+ /** Power cycle count. */
2344
+ powerCycles: number;
2345
+ /** Controller busy time (min). */
2346
+ controllerBusyTimeMin: number;
2347
+ /** Error-log entry count. */
2348
+ numErrLogEntries: number;
2349
+ /** Tier 4 — identity & capacity. */
2350
+ model: string;
2351
+ /** Drive serial number. */
2352
+ serial: string;
2353
+ /** Firmware revision. */
2354
+ firmwareRev: string;
2355
+ /** Total drive capacity (B). Partition used/free is */
2356
+ capacityBytes: number;
2115
2357
  }
2116
2358
  /**
2117
2359
  * System performance information.
2118
2360
  *
2119
2361
  * Comprehensive performance metrics for the drone's compute platform.
2120
- * Covers CPU, GPU, DLA, memory, thermals, and video codec utilization.
2121
- * Fields not applicable to a platform are left at their zero/empty defaults.
2362
+ * Covers CPU, GPU, DLA, memory, thermals, video codec utilization and NVMe
2363
+ * SSD state. Fields not applicable to a platform are left at their
2364
+ * zero/empty defaults.
2122
2365
  */
2123
2366
  export interface SystemPerformanceInfo {
2124
2367
  /** Per-core CPU utilization. */
@@ -2147,6 +2390,8 @@ export interface SystemPerformanceInfo {
2147
2390
  overlayQueueLoad: number;
2148
2391
  /** Position observer queue load (0..1). */
2149
2392
  positionObserverQueueLoad: number;
2393
+ /** NVMe SSD health/identity (Jetson only). */
2394
+ nvme: NvmeInfo | undefined;
2150
2395
  }
2151
2396
  /**
2152
2397
  * Surface Unit battery information.
@@ -2303,6 +2548,8 @@ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyV
2303
2548
  export declare const MotionInput: MessageFns<MotionInput>;
2304
2549
  export declare const Lights: MessageFns<Lights>;
2305
2550
  export declare const Laser: MessageFns<Laser>;
2551
+ export declare const Point2D: MessageFns<Point2D>;
2552
+ export declare const LaserDetection: MessageFns<LaserDetection>;
2306
2553
  export declare const LatLongPosition: MessageFns<LatLongPosition>;
2307
2554
  export declare const ConnectionDuration: MessageFns<ConnectionDuration>;
2308
2555
  export declare const AutoHeadingState: MessageFns<AutoHeadingState>;
@@ -2392,6 +2639,7 @@ export declare const DlaInfo: MessageFns<DlaInfo>;
2392
2639
  export declare const MemoryInfo: MessageFns<MemoryInfo>;
2393
2640
  export declare const ThermalZone: MessageFns<ThermalZone>;
2394
2641
  export declare const VideoCodecInfo: MessageFns<VideoCodecInfo>;
2642
+ export declare const NvmeInfo: MessageFns<NvmeInfo>;
2395
2643
  export declare const SystemPerformanceInfo: MessageFns<SystemPerformanceInfo>;
2396
2644
  export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2397
2645
  export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;