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

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.
package/dist/control.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { SetAquaTrollConnectionStatus, SetAquaTrollParameterUnit } from "./aquatroll";
3
- import { AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, BoundingBox, CameraPanTiltZoom, ConnectionDuration, FilterMessage, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, OperatorInfo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
3
+ import { Annotation, AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, BoundingBox, CameraPanTiltZoom, ConnectionDuration, FilterMessage, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, OperatorInfo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
4
4
  /**
5
5
  * Control
6
6
  *
@@ -221,11 +221,26 @@ export interface EndDiveCtrl {
221
221
  */
222
222
  export interface FormatRemovableStorageDeviceCtrl {
223
223
  }
224
- /** Message sent when the user wants to set turbidity filter settings. */
224
+ /**
225
+ * Message sent when the user wants to set turbidity filter settings.
226
+ * Uses CLAHE to enhance the contrast of the video, which can make it easier to see details in turbid water.
227
+ * Only supported on X3 Ultra.
228
+ */
225
229
  export interface SetTurbidityFilterCtrl {
226
230
  /** Message with the turbidity filter settings to set. */
227
231
  turbidityFilter: FilterMessage | undefined;
228
232
  }
233
+ /**
234
+ * Message sent when the user wants to set color correction settings.
235
+ * Applies depth- and scene-driven underwater color correction, restoring the
236
+ * red/blue balance lost with depth. The intensity field scales the correction
237
+ * (0.0 = off/identity, 1.0 = full).
238
+ * Only supported on X3 Ultra.
239
+ */
240
+ export interface SetColorCorrectionCtrl {
241
+ /** Message with the color correction settings to set. */
242
+ colorCorrectionFilter: FilterMessage | undefined;
243
+ }
229
244
  /**
230
245
  * Issue a command to set the digital pan, tilt, and zoom of the main camera.
231
246
  *
@@ -258,6 +273,18 @@ export interface SetSotTargetCtrl {
258
273
  /** Issue a command to clear the single-object tracking (SOT) target (stop tracking). */
259
274
  export interface ClearSotTargetCtrl {
260
275
  }
276
+ /**
277
+ * Request to add an annotation to the current dive.
278
+ *
279
+ * Sent by the app when a diver picks a type from the in-dive command palette.
280
+ * The drone stamps the authoritative time, publishes the result as an
281
+ * AnnotationTel to every connected client, and writes it to the dive logfile, so
282
+ * all clients converge on the same set. Fire-and-forget, like LightsCtrl.
283
+ */
284
+ export interface AnnotationCtrl {
285
+ /** The annotation to record. The drone owns the timestamp, not this message. */
286
+ annotation: Annotation | undefined;
287
+ }
261
288
  export declare const MotionInputCtrl: MessageFns<MotionInputCtrl>;
262
289
  export declare const TiltVelocityCtrl: MessageFns<TiltVelocityCtrl>;
263
290
  export declare const LightsCtrl: MessageFns<LightsCtrl>;
@@ -302,11 +329,13 @@ export declare const StartDiveCtrl: MessageFns<StartDiveCtrl>;
302
329
  export declare const EndDiveCtrl: MessageFns<EndDiveCtrl>;
303
330
  export declare const FormatRemovableStorageDeviceCtrl: MessageFns<FormatRemovableStorageDeviceCtrl>;
304
331
  export declare const SetTurbidityFilterCtrl: MessageFns<SetTurbidityFilterCtrl>;
332
+ export declare const SetColorCorrectionCtrl: MessageFns<SetColorCorrectionCtrl>;
305
333
  export declare const CameraPanTiltZoomCtrl: MessageFns<CameraPanTiltZoomCtrl>;
306
334
  export declare const StartLogStreamingCtrl: MessageFns<StartLogStreamingCtrl>;
307
335
  export declare const StopLogStreamingCtrl: MessageFns<StopLogStreamingCtrl>;
308
336
  export declare const SetSotTargetCtrl: MessageFns<SetSotTargetCtrl>;
309
337
  export declare const ClearSotTargetCtrl: MessageFns<ClearSotTargetCtrl>;
338
+ export declare const AnnotationCtrl: MessageFns<AnnotationCtrl>;
310
339
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
311
340
  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 {} ? {
312
341
  [K in keyof T]?: DeepPartial<T[K]>;
package/dist/control.js CHANGED
@@ -5,7 +5,8 @@
5
5
  // protoc v3.21.12
6
6
  // source: control.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.ClearSotTargetCtrl = exports.SetSotTargetCtrl = exports.StopLogStreamingCtrl = exports.StartLogStreamingCtrl = exports.CameraPanTiltZoomCtrl = exports.SetTurbidityFilterCtrl = exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
8
+ exports.ClearSotTargetCtrl = exports.SetSotTargetCtrl = exports.StopLogStreamingCtrl = exports.StartLogStreamingCtrl = exports.CameraPanTiltZoomCtrl = exports.SetColorCorrectionCtrl = exports.SetTurbidityFilterCtrl = exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
9
+ exports.AnnotationCtrl = void 0;
9
10
  /* eslint-disable */
10
11
  const wire_1 = require("@bufbuild/protobuf/wire");
11
12
  const aquatroll_1 = require("./aquatroll");
@@ -2180,6 +2181,64 @@ exports.SetTurbidityFilterCtrl = {
2180
2181
  return message;
2181
2182
  },
2182
2183
  };
2184
+ function createBaseSetColorCorrectionCtrl() {
2185
+ return { colorCorrectionFilter: undefined };
2186
+ }
2187
+ exports.SetColorCorrectionCtrl = {
2188
+ encode(message, writer = new wire_1.BinaryWriter()) {
2189
+ if (message.colorCorrectionFilter !== undefined) {
2190
+ message_formats_1.FilterMessage.encode(message.colorCorrectionFilter, writer.uint32(10).fork()).join();
2191
+ }
2192
+ return writer;
2193
+ },
2194
+ decode(input, length) {
2195
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2196
+ const end = length === undefined ? reader.len : reader.pos + length;
2197
+ const message = createBaseSetColorCorrectionCtrl();
2198
+ while (reader.pos < end) {
2199
+ const tag = reader.uint32();
2200
+ switch (tag >>> 3) {
2201
+ case 1: {
2202
+ if (tag !== 10) {
2203
+ break;
2204
+ }
2205
+ message.colorCorrectionFilter = message_formats_1.FilterMessage.decode(reader, reader.uint32());
2206
+ continue;
2207
+ }
2208
+ }
2209
+ if ((tag & 7) === 4 || tag === 0) {
2210
+ break;
2211
+ }
2212
+ reader.skip(tag & 7);
2213
+ }
2214
+ return message;
2215
+ },
2216
+ fromJSON(object) {
2217
+ return {
2218
+ colorCorrectionFilter: isSet(object.colorCorrectionFilter)
2219
+ ? message_formats_1.FilterMessage.fromJSON(object.colorCorrectionFilter)
2220
+ : undefined,
2221
+ };
2222
+ },
2223
+ toJSON(message) {
2224
+ const obj = {};
2225
+ if (message.colorCorrectionFilter !== undefined) {
2226
+ obj.colorCorrectionFilter = message_formats_1.FilterMessage.toJSON(message.colorCorrectionFilter);
2227
+ }
2228
+ return obj;
2229
+ },
2230
+ create(base) {
2231
+ return exports.SetColorCorrectionCtrl.fromPartial(base ?? {});
2232
+ },
2233
+ fromPartial(object) {
2234
+ const message = createBaseSetColorCorrectionCtrl();
2235
+ message.colorCorrectionFilter =
2236
+ (object.colorCorrectionFilter !== undefined && object.colorCorrectionFilter !== null)
2237
+ ? message_formats_1.FilterMessage.fromPartial(object.colorCorrectionFilter)
2238
+ : undefined;
2239
+ return message;
2240
+ },
2241
+ };
2183
2242
  function createBaseCameraPanTiltZoomCtrl() {
2184
2243
  return { cameraPanTiltZoom: undefined };
2185
2244
  }
@@ -2433,6 +2492,59 @@ exports.ClearSotTargetCtrl = {
2433
2492
  return message;
2434
2493
  },
2435
2494
  };
2495
+ function createBaseAnnotationCtrl() {
2496
+ return { annotation: undefined };
2497
+ }
2498
+ exports.AnnotationCtrl = {
2499
+ encode(message, writer = new wire_1.BinaryWriter()) {
2500
+ if (message.annotation !== undefined) {
2501
+ message_formats_1.Annotation.encode(message.annotation, writer.uint32(10).fork()).join();
2502
+ }
2503
+ return writer;
2504
+ },
2505
+ decode(input, length) {
2506
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2507
+ const end = length === undefined ? reader.len : reader.pos + length;
2508
+ const message = createBaseAnnotationCtrl();
2509
+ while (reader.pos < end) {
2510
+ const tag = reader.uint32();
2511
+ switch (tag >>> 3) {
2512
+ case 1: {
2513
+ if (tag !== 10) {
2514
+ break;
2515
+ }
2516
+ message.annotation = message_formats_1.Annotation.decode(reader, reader.uint32());
2517
+ continue;
2518
+ }
2519
+ }
2520
+ if ((tag & 7) === 4 || tag === 0) {
2521
+ break;
2522
+ }
2523
+ reader.skip(tag & 7);
2524
+ }
2525
+ return message;
2526
+ },
2527
+ fromJSON(object) {
2528
+ return { annotation: isSet(object.annotation) ? message_formats_1.Annotation.fromJSON(object.annotation) : undefined };
2529
+ },
2530
+ toJSON(message) {
2531
+ const obj = {};
2532
+ if (message.annotation !== undefined) {
2533
+ obj.annotation = message_formats_1.Annotation.toJSON(message.annotation);
2534
+ }
2535
+ return obj;
2536
+ },
2537
+ create(base) {
2538
+ return exports.AnnotationCtrl.fromPartial(base ?? {});
2539
+ },
2540
+ fromPartial(object) {
2541
+ const message = createBaseAnnotationCtrl();
2542
+ message.annotation = (object.annotation !== undefined && object.annotation !== null)
2543
+ ? message_formats_1.Annotation.fromPartial(object.annotation)
2544
+ : undefined;
2545
+ return message;
2546
+ },
2547
+ };
2436
2548
  const gt = (() => {
2437
2549
  if (typeof globalThis !== "undefined") {
2438
2550
  return globalThis;
@@ -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,10 +571,40 @@ 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;
553
593
  export declare function thermalZoneIdToJSON(object: ThermalZoneId): string;
594
+ /** Origin of an annotation. Mirrors the AnnotationSource enum in Blueye Cloud. */
595
+ export declare enum AnnotationSource {
596
+ /** ANNOTATION_SOURCE_UNSPECIFIED - Origin not specified. */
597
+ ANNOTATION_SOURCE_UNSPECIFIED = 0,
598
+ /** ANNOTATION_SOURCE_CLOUD - Created in Blueye Cloud after the dive. */
599
+ ANNOTATION_SOURCE_CLOUD = 1,
600
+ /** ANNOTATION_SOURCE_APP - Created in the app during the dive. */
601
+ ANNOTATION_SOURCE_APP = 2,
602
+ /** ANNOTATION_SOURCE_DRONE - Emitted by the drone itself. */
603
+ ANNOTATION_SOURCE_DRONE = 3,
604
+ UNRECOGNIZED = -1
605
+ }
606
+ export declare function annotationSourceFromJSON(object: any): AnnotationSource;
607
+ export declare function annotationSourceToJSON(object: AnnotationSource): string;
554
608
  /**
555
609
  * Wrapper message for each entry in the drone telemetry logfile.
556
610
  *
@@ -684,6 +738,46 @@ export interface Lights {
684
738
  export interface Laser {
685
739
  /** Laser intensity, any value above 0 turns the laser on (0..1). */
686
740
  value: number;
741
+ /** Modulate the laser at 5Hz for tracking. Only available on Ultra. */
742
+ modulated: boolean;
743
+ }
744
+ /** Point in 2D space. */
745
+ export interface Point2D {
746
+ /** X coordinate of the point (px). */
747
+ x: number;
748
+ /** Y coordinate of the point (px). */
749
+ y: number;
750
+ }
751
+ /**
752
+ * Message representing the detection of scaling lasers in the main camera.
753
+ *
754
+ * The message contains the centroids of the detected dots, the distance between them in pixels,
755
+ * and the confidence of the detection. The dots are detected through temporal DFT analysis of
756
+ * 5 Hz laser modulation, isolating flickering pixels from the static scene background.
757
+ *
758
+ * Only available on Ultra.
759
+ */
760
+ export interface LaserDetection {
761
+ /** True if the laser is detected by the drone. */
762
+ detected: boolean;
763
+ /** First dot centroid (leftmost). */
764
+ dot1: Point2D | undefined;
765
+ /** Second dot centroid (rightmost). */
766
+ dot2: Point2D | undefined;
767
+ /** Distance between dots in pixels. */
768
+ pixelDistance: number;
769
+ /** Confidence of the detection (0..1). */
770
+ confidence: number;
771
+ /** Source frame width. */
772
+ imageWidth: number;
773
+ /** Source frame height. */
774
+ imageHeight: number;
775
+ /** Real world distance between the two laser dots (m). */
776
+ laserWidth: number;
777
+ /** Distance after lens undistortion (px). */
778
+ correctedPixelDistance: number;
779
+ /** Estimated subject distance (m). */
780
+ estimatedDistance: number;
687
781
  }
688
782
  /** Latitude and longitude position in WGS 84 decimal degrees format. */
689
783
  export interface LatLongPosition {
@@ -1497,6 +1591,8 @@ export interface DroneInfo {
1497
1591
  depthSensor: PressureSensorType;
1498
1592
  /** List of loaded computer vision models. */
1499
1593
  cvModels: CvModelInfo[];
1594
+ /** How the drone is powered. */
1595
+ powerSource: PowerSource;
1500
1596
  }
1501
1597
  /** Known error states for the drone. */
1502
1598
  export interface ErrorFlags {
@@ -1522,30 +1618,60 @@ export interface ErrorFlags {
1522
1618
  gp2Read: boolean;
1523
1619
  /** Guest port 3 read error. */
1524
1620
  gp3Read: boolean;
1621
+ /** Guest port 4 read error. */
1622
+ gp4Read: boolean;
1623
+ /** Guest port 5 read error. */
1624
+ gp5Read: boolean;
1625
+ /** Guest port 6 read error. */
1626
+ gp6Read: boolean;
1525
1627
  /** Guest port 1 not flashed. */
1526
1628
  gp1NotFlashed: boolean;
1527
1629
  /** Guest port 2 not flashed. */
1528
1630
  gp2NotFlashed: boolean;
1529
1631
  /** Guest port 3 not flashed. */
1530
1632
  gp3NotFlashed: boolean;
1633
+ /** Guest port 4 not flashed. */
1634
+ gp4NotFlashed: boolean;
1635
+ /** Guest port 5 not flashed. */
1636
+ gp5NotFlashed: boolean;
1637
+ /** Guest port 6 not flashed. */
1638
+ gp6NotFlashed: boolean;
1531
1639
  /** Unknown device on guest port 1. */
1532
1640
  gp1UnknownDevice: boolean;
1533
1641
  /** Unknown device on guest port 2. */
1534
1642
  gp2UnknownDevice: boolean;
1535
1643
  /** Unknown device on guest port 3. */
1536
1644
  gp3UnknownDevice: boolean;
1645
+ /** Unknown device on guest port 4. */
1646
+ gp4UnknownDevice: boolean;
1647
+ /** Unknown device on guest port 5. */
1648
+ gp5UnknownDevice: boolean;
1649
+ /** Unknown device on guest port 6. */
1650
+ gp6UnknownDevice: boolean;
1537
1651
  /** Guest port 1 connection error. */
1538
1652
  gp1DeviceConnection: boolean;
1539
1653
  /** Guest port 2 connection error. */
1540
1654
  gp2DeviceConnection: boolean;
1541
1655
  /** Guest port 3 connection error. */
1542
1656
  gp3DeviceConnection: boolean;
1657
+ /** Guest port 4 connection error. */
1658
+ gp4DeviceConnection: boolean;
1659
+ /** Guest port 5 connection error. */
1660
+ gp5DeviceConnection: boolean;
1661
+ /** Guest port 6 connection error. */
1662
+ gp6DeviceConnection: boolean;
1543
1663
  /** Guest port 1 device error. */
1544
1664
  gp1Device: boolean;
1545
1665
  /** Guest port 2 device error. */
1546
1666
  gp2Device: boolean;
1547
1667
  /** Guest port 3 device error. */
1548
1668
  gp3Device: boolean;
1669
+ /** Guest port 4 device error. */
1670
+ gp4Device: boolean;
1671
+ /** Guest port 5 device error. */
1672
+ gp5Device: boolean;
1673
+ /** Guest port 6 device error. */
1674
+ gp6Device: boolean;
1549
1675
  /** Drone serial number not set. */
1550
1676
  droneSerialNotSet: boolean;
1551
1677
  /** Drone serial number error. */
@@ -1576,14 +1702,44 @@ export interface ErrorFlags {
1576
1702
  gpCurrentRead: boolean;
1577
1703
  /** Max GP current exceeded. */
1578
1704
  gpCurrent: boolean;
1579
- /** Max battery current exceeded on GP1. */
1705
+ /** Max battery current exceeded on guest port 1. */
1580
1706
  gp1BatCurrent: boolean;
1581
- /** Max battery current exceeded on GP2. */
1707
+ /** Max battery current exceeded on guest port 2. */
1582
1708
  gp2BatCurrent: boolean;
1583
- /** Max battery current exceeded on GP3. */
1709
+ /** Max battery current exceeded on guest port 3. */
1584
1710
  gp3BatCurrent: boolean;
1585
- /** Max 20V current exceeded on GP. */
1586
- gp20vCurrent: boolean;
1711
+ /** Max battery current exceeded on guest port 4. */
1712
+ gp4BatCurrent: boolean;
1713
+ /** Max battery current exceeded on guest port 5. */
1714
+ gp5BatCurrent: boolean;
1715
+ /** Max battery current exceeded on guest port 6. */
1716
+ gp6BatCurrent: boolean;
1717
+ /** Max 24V current exceeded on GP. Only present on X1/X3 (not X3 Ultra or X7). */
1718
+ gp24vCurrent: boolean;
1719
+ /** Max 24V current exceeded on guest port 1. */
1720
+ gp124vCurrent: boolean;
1721
+ /** Max 24V current exceeded on guest port 2. */
1722
+ gp224vCurrent: boolean;
1723
+ /** Max 24V current exceeded on guest port 3. */
1724
+ gp324vCurrent: boolean;
1725
+ /** Max 24V current exceeded on guest port 4. */
1726
+ gp424vCurrent: boolean;
1727
+ /** Max 24V current exceeded on guest port 5. */
1728
+ gp524vCurrent: boolean;
1729
+ /** Max 24V current exceeded on guest port 6. */
1730
+ gp624vCurrent: boolean;
1731
+ /** Max 5V current exceeded on guest port 1. */
1732
+ gp15vCurrent: boolean;
1733
+ /** Max 5V current exceeded on guest port 2. */
1734
+ gp25vCurrent: boolean;
1735
+ /** Max 5V current exceeded on guest port 3. */
1736
+ gp35vCurrent: boolean;
1737
+ /** Max 5V current exceeded on guest port 4. */
1738
+ gp45vCurrent: boolean;
1739
+ /** Max 5V current exceeded on guest port 5. */
1740
+ gp55vCurrent: boolean;
1741
+ /** Max 5V current exceeded on guest port 6. */
1742
+ gp65vCurrent: boolean;
1587
1743
  /** DVL is in thermal protection mode. */
1588
1744
  dvlThermalProtectionMode: boolean;
1589
1745
  /** GP protection has been triggered at boot or faulty DVL. */
@@ -1766,6 +1922,12 @@ export interface GuestPortInfo {
1766
1922
  gp2: GuestPortConnectorInfo | undefined;
1767
1923
  /** Information about guest port 3. */
1768
1924
  gp3: GuestPortConnectorInfo | undefined;
1925
+ /** Information about guest port 4. */
1926
+ gp4: GuestPortConnectorInfo | undefined;
1927
+ /** Information about guest port 5. */
1928
+ gp5: GuestPortConnectorInfo | undefined;
1929
+ /** Information about guest port 6. */
1930
+ gp6: GuestPortConnectorInfo | undefined;
1769
1931
  }
1770
1932
  /** GuestPort restart information. */
1771
1933
  export interface GuestPortRestartInfo {
@@ -1810,8 +1972,38 @@ export interface GuestPortCurrent {
1810
1972
  gp2Bat: number;
1811
1973
  /** Current on GP3 battery voltage (A). */
1812
1974
  gp3Bat: number;
1813
- /** Current on common 20V supply (A). */
1814
- gp20v: number;
1975
+ /** Current on common/input 24V supply (A). Only present on X1/X3 (not X3 Ultra or X7). */
1976
+ gp24v: number;
1977
+ /** Current on GP4 battery voltage (A). */
1978
+ gp4Bat: number;
1979
+ /** Current on GP5 battery voltage (A). */
1980
+ gp5Bat: number;
1981
+ /** Current on GP6 battery voltage (A). */
1982
+ gp6Bat: number;
1983
+ /** Current on GP1 24V supply (A). */
1984
+ gp124v: number;
1985
+ /** Current on GP2 24V supply (A). */
1986
+ gp224v: number;
1987
+ /** Current on GP3 24V supply (A). */
1988
+ gp324v: number;
1989
+ /** Current on GP4 24V supply (A). */
1990
+ gp424v: number;
1991
+ /** Current on GP5 24V supply (A). */
1992
+ gp524v: number;
1993
+ /** Current on GP6 24V supply (A). */
1994
+ gp624v: number;
1995
+ /** Current on GP1 5V supply (A). */
1996
+ gp15v: number;
1997
+ /** Current on GP2 5V supply (A). */
1998
+ gp25v: number;
1999
+ /** Current on GP3 5V supply (A). */
2000
+ gp35v: number;
2001
+ /** Current on GP4 5V supply (A). */
2002
+ gp45v: number;
2003
+ /** Current on GP5 5V supply (A). */
2004
+ gp55v: number;
2005
+ /** Current on GP6 5V supply (A). */
2006
+ gp65v: number;
1815
2007
  }
1816
2008
  /** Vector with 3 elements. */
1817
2009
  export interface Vector3 {
@@ -2112,13 +2304,78 @@ export interface VideoCodecInfo {
2112
2304
  vpuCodecIrqCount: number;
2113
2305
  /** Cumulative VPU_JPG_IRQ count. */
2114
2306
  vpuJpgIrqCount: number;
2307
+ /** Jetson only (host1x actmon engine utilization, 0..1). */
2308
+ encoderLoad: number;
2309
+ /** Video decoder (NVDEC) utilization (0..1). */
2310
+ decoderLoad: number;
2311
+ /** JPEG engine (NVJPG) utilization (0..1). */
2312
+ nvjpgLoad: number;
2313
+ /** Video Image Compositor (VIC) utilization (0..1). */
2314
+ vicLoad: number;
2315
+ }
2316
+ /**
2317
+ * NVMe SSD health, wear and identity (Jetson only; i.MX drones boot/store on
2318
+ * an SD card and have no NVMe device, so this message is omitted there).
2319
+ */
2320
+ export interface NvmeInfo {
2321
+ /** Tier 1 — health & safety. */
2322
+ compositeTemperature: number;
2323
+ /** NVMe critical-warning bitfield. */
2324
+ criticalWarning: number;
2325
+ /** Wear indicator (%, may exceed 100). */
2326
+ percentageUsed: number;
2327
+ /** Remaining spare capacity (%). */
2328
+ availableSpare: number;
2329
+ /** Spare alarm threshold (%). */
2330
+ availableSpareThreshold: number;
2331
+ /** Uncorrected data-integrity errors. */
2332
+ mediaErrors: number;
2333
+ /** Power-loss / unsafe shutdown count. */
2334
+ unsafeShutdowns: number;
2335
+ /** Tier 2 — thermal throttling. */
2336
+ warningTempTimeMin: number;
2337
+ /** Minutes above the critical temperature. */
2338
+ criticalTempTimeMin: number;
2339
+ /** Times entered light throttling. */
2340
+ thermalMgmtT1TransCount: number;
2341
+ /** Times entered heavy throttling. */
2342
+ thermalMgmtT2TransCount: number;
2343
+ /** Total seconds in light throttling. */
2344
+ thermalMgmtT1TotalTimeS: number;
2345
+ /** Total seconds in heavy throttling. */
2346
+ thermalMgmtT2TotalTimeS: number;
2347
+ /** Tier 3 — endurance / workload. */
2348
+ dataUnitsWrittenBytes: number;
2349
+ /** Host data read (B). */
2350
+ dataUnitsReadBytes: number;
2351
+ /** Host write command count. */
2352
+ hostWriteCommands: number;
2353
+ /** Host read command count. */
2354
+ hostReadCommands: number;
2355
+ /** Power-on hours. */
2356
+ powerOnHours: number;
2357
+ /** Power cycle count. */
2358
+ powerCycles: number;
2359
+ /** Controller busy time (min). */
2360
+ controllerBusyTimeMin: number;
2361
+ /** Error-log entry count. */
2362
+ numErrLogEntries: number;
2363
+ /** Tier 4 — identity & capacity. */
2364
+ model: string;
2365
+ /** Drive serial number. */
2366
+ serial: string;
2367
+ /** Firmware revision. */
2368
+ firmwareRev: string;
2369
+ /** Total drive capacity (B). Partition used/free is */
2370
+ capacityBytes: number;
2115
2371
  }
2116
2372
  /**
2117
2373
  * System performance information.
2118
2374
  *
2119
2375
  * 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.
2376
+ * Covers CPU, GPU, DLA, memory, thermals, video codec utilization and NVMe
2377
+ * SSD state. Fields not applicable to a platform are left at their
2378
+ * zero/empty defaults.
2122
2379
  */
2123
2380
  export interface SystemPerformanceInfo {
2124
2381
  /** Per-core CPU utilization. */
@@ -2147,6 +2404,8 @@ export interface SystemPerformanceInfo {
2147
2404
  overlayQueueLoad: number;
2148
2405
  /** Position observer queue load (0..1). */
2149
2406
  positionObserverQueueLoad: number;
2407
+ /** NVMe SSD health/identity (Jetson only). */
2408
+ nvme: NvmeInfo | undefined;
2150
2409
  }
2151
2410
  /**
2152
2411
  * Surface Unit battery information.
@@ -2296,6 +2555,37 @@ export declare enum SotState_State {
2296
2555
  }
2297
2556
  export declare function sotState_StateFromJSON(object: any): SotState_State;
2298
2557
  export declare function sotState_StateToJSON(object: SotState_State): string;
2558
+ /**
2559
+ * A single annotation added during a dive, e.g. by a diver tapping a type in the
2560
+ * app command palette, or emitted by the drone itself.
2561
+ *
2562
+ * Self-contained: it carries the type's display fields (name/icon/color) inline,
2563
+ * so the drone, any connected client, and the dive logfile can render it without
2564
+ * a separate catalog. The app keeps the full catalog locally (synced from
2565
+ * Blueye Cloud) to drive its palette, but only complete annotations go over the
2566
+ * wire. type_slug lets Blueye Cloud correlate the annotation to its type on import.
2567
+ *
2568
+ * The drone owns the timestamp: when this is logged the enclosing BinlogRecord
2569
+ * carries the time, like any other sample, so there is no time field here.
2570
+ */
2571
+ export interface Annotation {
2572
+ /** Stable type id for grouping / Cloud correlation. Empty for a free-form annotation. */
2573
+ typeSlug: string;
2574
+ /** Type display name, e.g. "Hazard". Snapshot of the type at creation time. */
2575
+ typeName: string;
2576
+ /** Font Awesome solid icon name, kebab-case (e.g. "triangle-exclamation"). */
2577
+ typeIcon: string;
2578
+ /** Type color, RGB hex incl. leading '#', 7 chars (e.g. "#DC2626"). */
2579
+ typeColor: string;
2580
+ /** Optional annotation title; Cloud falls back to type_name if empty. Max 200 chars. */
2581
+ title: string;
2582
+ /** Optional free-form note. Unbounded. */
2583
+ body: string;
2584
+ /** Optional span; omit for a point-in-time marker. */
2585
+ duration: Duration | undefined;
2586
+ /** Origin of the annotation; the app sets APP, the drone sets DRONE for its own. */
2587
+ source: AnnotationSource;
2588
+ }
2299
2589
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
2300
2590
  export declare const LogEntry: MessageFns<LogEntry>;
2301
2591
  export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
@@ -2303,6 +2593,8 @@ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyV
2303
2593
  export declare const MotionInput: MessageFns<MotionInput>;
2304
2594
  export declare const Lights: MessageFns<Lights>;
2305
2595
  export declare const Laser: MessageFns<Laser>;
2596
+ export declare const Point2D: MessageFns<Point2D>;
2597
+ export declare const LaserDetection: MessageFns<LaserDetection>;
2306
2598
  export declare const LatLongPosition: MessageFns<LatLongPosition>;
2307
2599
  export declare const ConnectionDuration: MessageFns<ConnectionDuration>;
2308
2600
  export declare const AutoHeadingState: MessageFns<AutoHeadingState>;
@@ -2392,6 +2684,7 @@ export declare const DlaInfo: MessageFns<DlaInfo>;
2392
2684
  export declare const MemoryInfo: MessageFns<MemoryInfo>;
2393
2685
  export declare const ThermalZone: MessageFns<ThermalZone>;
2394
2686
  export declare const VideoCodecInfo: MessageFns<VideoCodecInfo>;
2687
+ export declare const NvmeInfo: MessageFns<NvmeInfo>;
2395
2688
  export declare const SystemPerformanceInfo: MessageFns<SystemPerformanceInfo>;
2396
2689
  export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2397
2690
  export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
@@ -2403,6 +2696,7 @@ export declare const FilterMessage: MessageFns<FilterMessage>;
2403
2696
  export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
2404
2697
  export declare const OperatorInfo: MessageFns<OperatorInfo>;
2405
2698
  export declare const SotState: MessageFns<SotState>;
2699
+ export declare const Annotation: MessageFns<Annotation>;
2406
2700
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
2407
2701
  type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
2408
2702
  [K in keyof T]?: DeepPartial<T[K]>;