@blueyerobotics/protocol-definitions 3.2.0-c785049b → 3.2.0-e9cac0e4

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/aquatroll.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: aquatroll.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
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, ConnectionDuration, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
3
+ import { AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, ConnectionDuration, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
4
4
  /**
5
5
  * Control
6
6
  *
@@ -48,13 +48,17 @@ export interface WatchdogCtrl {
48
48
  /** The ID of the client, received in the ConnectClientRep response. */
49
49
  clientId: number;
50
50
  }
51
- /** Issue a command to start video recording. */
51
+ /** Issue a command to start video or multibeam recording. */
52
52
  export interface RecordCtrl {
53
53
  /** Message specifying which cameras to record. */
54
54
  recordOn: RecordOn | undefined;
55
+ /** Storage location to use for the recordings. */
56
+ storageLocation: StorageLocation;
55
57
  }
56
58
  /** Issue a command to take a picture. */
57
59
  export interface TakePictureCtrl {
60
+ /** Storage location to use for the picture. */
61
+ storageLocation: StorageLocation;
58
62
  }
59
63
  /** Issue a command to start compass calibration. */
60
64
  export interface StartCalibrationCtrl {
package/dist/control.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: control.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -399,13 +399,16 @@ exports.WatchdogCtrl = {
399
399
  },
400
400
  };
401
401
  function createBaseRecordCtrl() {
402
- return { recordOn: undefined };
402
+ return { recordOn: undefined, storageLocation: 0 };
403
403
  }
404
404
  exports.RecordCtrl = {
405
405
  encode(message, writer = new wire_1.BinaryWriter()) {
406
406
  if (message.recordOn !== undefined) {
407
407
  message_formats_1.RecordOn.encode(message.recordOn, writer.uint32(10).fork()).join();
408
408
  }
409
+ if (message.storageLocation !== 0) {
410
+ writer.uint32(16).int32(message.storageLocation);
411
+ }
409
412
  return writer;
410
413
  },
411
414
  decode(input, length) {
@@ -422,6 +425,13 @@ exports.RecordCtrl = {
422
425
  message.recordOn = message_formats_1.RecordOn.decode(reader, reader.uint32());
423
426
  continue;
424
427
  }
428
+ case 2: {
429
+ if (tag !== 16) {
430
+ break;
431
+ }
432
+ message.storageLocation = reader.int32();
433
+ continue;
434
+ }
425
435
  }
426
436
  if ((tag & 7) === 4 || tag === 0) {
427
437
  break;
@@ -431,13 +441,19 @@ exports.RecordCtrl = {
431
441
  return message;
432
442
  },
433
443
  fromJSON(object) {
434
- return { recordOn: isSet(object.recordOn) ? message_formats_1.RecordOn.fromJSON(object.recordOn) : undefined };
444
+ return {
445
+ recordOn: isSet(object.recordOn) ? message_formats_1.RecordOn.fromJSON(object.recordOn) : undefined,
446
+ storageLocation: isSet(object.storageLocation) ? (0, message_formats_1.storageLocationFromJSON)(object.storageLocation) : 0,
447
+ };
435
448
  },
436
449
  toJSON(message) {
437
450
  const obj = {};
438
451
  if (message.recordOn !== undefined) {
439
452
  obj.recordOn = message_formats_1.RecordOn.toJSON(message.recordOn);
440
453
  }
454
+ if (message.storageLocation !== 0) {
455
+ obj.storageLocation = (0, message_formats_1.storageLocationToJSON)(message.storageLocation);
456
+ }
441
457
  return obj;
442
458
  },
443
459
  create(base) {
@@ -448,14 +464,18 @@ exports.RecordCtrl = {
448
464
  message.recordOn = (object.recordOn !== undefined && object.recordOn !== null)
449
465
  ? message_formats_1.RecordOn.fromPartial(object.recordOn)
450
466
  : undefined;
467
+ message.storageLocation = object.storageLocation ?? 0;
451
468
  return message;
452
469
  },
453
470
  };
454
471
  function createBaseTakePictureCtrl() {
455
- return {};
472
+ return { storageLocation: 0 };
456
473
  }
457
474
  exports.TakePictureCtrl = {
458
- encode(_, writer = new wire_1.BinaryWriter()) {
475
+ encode(message, writer = new wire_1.BinaryWriter()) {
476
+ if (message.storageLocation !== 0) {
477
+ writer.uint32(8).int32(message.storageLocation);
478
+ }
459
479
  return writer;
460
480
  },
461
481
  decode(input, length) {
@@ -465,6 +485,13 @@ exports.TakePictureCtrl = {
465
485
  while (reader.pos < end) {
466
486
  const tag = reader.uint32();
467
487
  switch (tag >>> 3) {
488
+ case 1: {
489
+ if (tag !== 8) {
490
+ break;
491
+ }
492
+ message.storageLocation = reader.int32();
493
+ continue;
494
+ }
468
495
  }
469
496
  if ((tag & 7) === 4 || tag === 0) {
470
497
  break;
@@ -473,18 +500,22 @@ exports.TakePictureCtrl = {
473
500
  }
474
501
  return message;
475
502
  },
476
- fromJSON(_) {
477
- return {};
503
+ fromJSON(object) {
504
+ return { storageLocation: isSet(object.storageLocation) ? (0, message_formats_1.storageLocationFromJSON)(object.storageLocation) : 0 };
478
505
  },
479
- toJSON(_) {
506
+ toJSON(message) {
480
507
  const obj = {};
508
+ if (message.storageLocation !== 0) {
509
+ obj.storageLocation = (0, message_formats_1.storageLocationToJSON)(message.storageLocation);
510
+ }
481
511
  return obj;
482
512
  },
483
513
  create(base) {
484
514
  return exports.TakePictureCtrl.fromPartial(base ?? {});
485
515
  },
486
- fromPartial(_) {
516
+ fromPartial(object) {
487
517
  const message = createBaseTakePictureCtrl();
518
+ message.storageLocation = object.storageLocation ?? 0;
488
519
  return message;
489
520
  },
490
521
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: google/protobuf/any.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: google/protobuf/duration.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: google/protobuf/timestamp.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -154,6 +154,22 @@ export declare enum NotificationLevel {
154
154
  }
155
155
  export declare function notificationLevelFromJSON(object: any): NotificationLevel;
156
156
  export declare function notificationLevelToJSON(object: NotificationLevel): string;
157
+ /**
158
+ * Storage location.
159
+ *
160
+ * Used to specify which storage location to use for recording photos and videos.
161
+ */
162
+ export declare enum StorageLocation {
163
+ /** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
164
+ STORAGE_LOCATION_UNSPECIFIED = 0,
165
+ /** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
166
+ STORAGE_LOCATION_INTERNAL = 1,
167
+ /** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
168
+ STORAGE_LOCATION_REMOVABLE = 2,
169
+ UNRECOGNIZED = -1
170
+ }
171
+ export declare function storageLocationFromJSON(object: any): StorageLocation;
172
+ export declare function storageLocationToJSON(object: StorageLocation): string;
157
173
  /** Drone models produced by Blueye. */
158
174
  export declare enum Model {
159
175
  /** MODEL_UNSPECIFIED - ModelName not specified. */
@@ -194,11 +210,13 @@ export declare function pressureSensorTypeToJSON(object: PressureSensorType): st
194
210
  export declare enum Resolution {
195
211
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
196
212
  RESOLUTION_UNSPECIFIED = 0,
197
- /** RESOLUTION_FULLHD_1080P - 1080p Full HD resolution. */
198
- RESOLUTION_FULLHD_1080P = 1,
199
- /** RESOLUTION_HD_720P - 720p HD resolution. */
213
+ /** RESOLUTION_VGA_480P - VGA (640x480). */
214
+ RESOLUTION_VGA_480P = 4,
215
+ /** RESOLUTION_HD_720P - 720p HD (1280x720). */
200
216
  RESOLUTION_HD_720P = 2,
201
- /** RESOLUTION_UHD_4K - 4K Ultra HD resolution. */
217
+ /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
218
+ RESOLUTION_FULLHD_1080P = 1,
219
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
202
220
  RESOLUTION_UHD_4K = 3,
203
221
  UNRECOGNIZED = -1
204
222
  }
@@ -210,7 +228,7 @@ export declare enum Framerate {
210
228
  FRAMERATE_UNSPECIFIED = 0,
211
229
  /** FRAMERATE_FPS_30 - 30 frames per second. */
212
230
  FRAMERATE_FPS_30 = 1,
213
- /** FRAMERATE_FPS_25 - 25 frames per second. */
231
+ /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
214
232
  FRAMERATE_FPS_25 = 2,
215
233
  UNRECOGNIZED = -1
216
234
  }
@@ -228,6 +246,17 @@ export declare enum Camera {
228
246
  }
229
247
  export declare function cameraFromJSON(object: any): Camera;
230
248
  export declare function cameraToJSON(object: Camera): string;
249
+ export declare enum StreamingProtocol {
250
+ /** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
251
+ STREAMING_PROTOCOL_UNSPECIFIED = 0,
252
+ /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
253
+ STREAMING_PROTOCOL_RTSP_H264 = 1,
254
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
255
+ STREAMING_PROTOCOL_RTSP_MJPEG = 2,
256
+ UNRECOGNIZED = -1
257
+ }
258
+ export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
259
+ export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
231
260
  /** Available temperature units. */
232
261
  export declare enum TemperatureUnit {
233
262
  /** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
@@ -390,6 +419,8 @@ export declare enum GuestPortDeviceID {
390
419
  GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
391
420
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
392
421
  GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
422
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
423
+ GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
393
424
  UNRECOGNIZED = -1
394
425
  }
395
426
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -1167,7 +1198,7 @@ export interface DiveTime {
1167
1198
  /** Number of seconds the drone has been submerged. */
1168
1199
  value: number;
1169
1200
  }
1170
- /** Which cameras are supposed to be recording. */
1201
+ /** Which cameras or multibeam are supposed to be recording. */
1171
1202
  export interface RecordOn {
1172
1203
  /** Record the main camera. */
1173
1204
  main: boolean;
@@ -1447,18 +1478,40 @@ export interface CameraParameters {
1447
1478
  mjpgBitrate: number;
1448
1479
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1449
1480
  exposure: number;
1450
- /** White balance temperature (2800..9300), -1 for automatic white balance. */
1481
+ /** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
1451
1482
  whiteBalance: number;
1452
- /** Hue (-40..40), 0 as default. */
1483
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1453
1484
  hue: number;
1454
- /** Iso gain (0..1). */
1485
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1455
1486
  gain: number;
1487
+ /** Brightness (-10..10), 0 as default. Only available on Ultra */
1488
+ brightness: number;
1489
+ /** Contrast (-50..50), 0 as default. Only available on Ultra. */
1490
+ contrast: number;
1491
+ /** Saturation (0..50), 8 as default. Only available on Ultra. */
1492
+ saturation: number;
1493
+ /** Gamma (4..79), 22 as default. Only available on Ultra. */
1494
+ gamma: number;
1495
+ /** Sharpness (-20..20), -20 as default. Only available on Ultra. */
1496
+ sharpness: number;
1497
+ /** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
1498
+ backlightCompensation: number;
1499
+ /** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
1500
+ denoise: number;
1501
+ /** Enable eHDR mode. Default true. Only available on Ultra. */
1502
+ ehdrEnabled: boolean;
1503
+ /** Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra. */
1504
+ ehdrExposureMinNumber: number;
1505
+ /** Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate. */
1506
+ ehdrExposureMaxNumber: number;
1456
1507
  /** Stream, recording and image resolution (deprecated). */
1457
1508
  resolution: Resolution;
1458
1509
  /** Stream resolution. */
1459
1510
  streamResolution: Resolution;
1460
1511
  /** Recording and image resolution. */
1461
1512
  recordingResolution: Resolution;
1513
+ /** Streaming protocol. */
1514
+ streamingProtocol: StreamingProtocol;
1462
1515
  /** Stream and recording framerate. */
1463
1516
  framerate: Framerate;
1464
1517
  /** Which camera the parameters belong to. */
@@ -1842,6 +1895,39 @@ export interface CPUInfo {
1842
1895
  mainQueueLoad: number;
1843
1896
  /** Guestport queue load (0..1). */
1844
1897
  guestportQueueLoad: number;
1898
+ /** Communication queue load (0..1). */
1899
+ commQueueLoad: number;
1900
+ }
1901
+ /**
1902
+ * Surface Unit battery information.
1903
+ *
1904
+ * This message is published by the Surface Unit, and re-published by
1905
+ * the drone over the communication protocol.
1906
+ */
1907
+ export interface SurfaceUnitBatteryInfo {
1908
+ /** Battery charge status. */
1909
+ status: SurfaceUnitBatteryInfo_ChargeStatus;
1910
+ /** Battery level (0..1). */
1911
+ level: number;
1912
+ }
1913
+ export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
1914
+ CHARGE_STATUS_UNSPECIFIED = 0,
1915
+ CHARGE_STATUS_DISCHARGE = 1,
1916
+ CHARGE_STATUS_CHARGE = 2,
1917
+ CHARGE_STATUS_CHARGE_ERROR = 3,
1918
+ UNRECOGNIZED = -1
1919
+ }
1920
+ export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
1921
+ export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
1922
+ /**
1923
+ * Surface Unit version information.
1924
+ *
1925
+ * This message is published by the Surface Unit, and re-published by
1926
+ * the drone over the communication protocol.
1927
+ */
1928
+ export interface SurfaceUnitVersionInfo {
1929
+ /** Surface Unit firmware version (x.y.z). */
1930
+ version: string;
1845
1931
  }
1846
1932
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1847
1933
  export declare const LogEntry: MessageFns<LogEntry>;
@@ -1930,6 +2016,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1930
2016
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1931
2017
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1932
2018
  export declare const CPUInfo: MessageFns<CPUInfo>;
2019
+ export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2020
+ export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
1933
2021
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1934
2022
  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 {} ? {
1935
2023
  [K in keyof T]?: DeepPartial<T[K]>;
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: message_formats.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.LogEntry = exports.BinlogRecord = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
9
- exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = void 0;
10
- exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = void 0;
8
+ exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
9
+ exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = void 0;
10
+ exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = void 0;
11
11
  exports.intervalTypeFromJSON = intervalTypeFromJSON;
12
12
  exports.intervalTypeToJSON = intervalTypeToJSON;
13
13
  exports.locationSourceFromJSON = locationSourceFromJSON;
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
22
22
  exports.notificationTypeToJSON = notificationTypeToJSON;
23
23
  exports.notificationLevelFromJSON = notificationLevelFromJSON;
24
24
  exports.notificationLevelToJSON = notificationLevelToJSON;
25
+ exports.storageLocationFromJSON = storageLocationFromJSON;
26
+ exports.storageLocationToJSON = storageLocationToJSON;
25
27
  exports.modelFromJSON = modelFromJSON;
26
28
  exports.modelToJSON = modelToJSON;
27
29
  exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
32
34
  exports.framerateToJSON = framerateToJSON;
33
35
  exports.cameraFromJSON = cameraFromJSON;
34
36
  exports.cameraToJSON = cameraToJSON;
37
+ exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
38
+ exports.streamingProtocolToJSON = streamingProtocolToJSON;
35
39
  exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
36
40
  exports.temperatureUnitToJSON = temperatureUnitToJSON;
37
41
  exports.logoTypeFromJSON = logoTypeFromJSON;
@@ -68,6 +72,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
68
72
  exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
69
73
  exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
70
74
  exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
75
+ exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
76
+ exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
71
77
  /* eslint-disable */
72
78
  const wire_1 = require("@bufbuild/protobuf/wire");
73
79
  const any_1 = require("./google/protobuf/any");
@@ -589,6 +595,51 @@ function notificationLevelToJSON(object) {
589
595
  return "UNRECOGNIZED";
590
596
  }
591
597
  }
598
+ /**
599
+ * Storage location.
600
+ *
601
+ * Used to specify which storage location to use for recording photos and videos.
602
+ */
603
+ var StorageLocation;
604
+ (function (StorageLocation) {
605
+ /** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
606
+ StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
607
+ /** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
608
+ StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
609
+ /** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
610
+ StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
611
+ StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
612
+ })(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
613
+ function storageLocationFromJSON(object) {
614
+ switch (object) {
615
+ case 0:
616
+ case "STORAGE_LOCATION_UNSPECIFIED":
617
+ return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
618
+ case 1:
619
+ case "STORAGE_LOCATION_INTERNAL":
620
+ return StorageLocation.STORAGE_LOCATION_INTERNAL;
621
+ case 2:
622
+ case "STORAGE_LOCATION_REMOVABLE":
623
+ return StorageLocation.STORAGE_LOCATION_REMOVABLE;
624
+ case -1:
625
+ case "UNRECOGNIZED":
626
+ default:
627
+ return StorageLocation.UNRECOGNIZED;
628
+ }
629
+ }
630
+ function storageLocationToJSON(object) {
631
+ switch (object) {
632
+ case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
633
+ return "STORAGE_LOCATION_UNSPECIFIED";
634
+ case StorageLocation.STORAGE_LOCATION_INTERNAL:
635
+ return "STORAGE_LOCATION_INTERNAL";
636
+ case StorageLocation.STORAGE_LOCATION_REMOVABLE:
637
+ return "STORAGE_LOCATION_REMOVABLE";
638
+ case StorageLocation.UNRECOGNIZED:
639
+ default:
640
+ return "UNRECOGNIZED";
641
+ }
642
+ }
592
643
  /** Drone models produced by Blueye. */
593
644
  var Model;
594
645
  (function (Model) {
@@ -718,11 +769,13 @@ var Resolution;
718
769
  (function (Resolution) {
719
770
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
720
771
  Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
721
- /** RESOLUTION_FULLHD_1080P - 1080p Full HD resolution. */
722
- Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
723
- /** RESOLUTION_HD_720P - 720p HD resolution. */
772
+ /** RESOLUTION_VGA_480P - VGA (640x480). */
773
+ Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
774
+ /** RESOLUTION_HD_720P - 720p HD (1280x720). */
724
775
  Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
725
- /** RESOLUTION_UHD_4K - 4K Ultra HD resolution. */
776
+ /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
777
+ Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
778
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
726
779
  Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
727
780
  Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
728
781
  })(Resolution || (exports.Resolution = Resolution = {}));
@@ -731,12 +784,15 @@ function resolutionFromJSON(object) {
731
784
  case 0:
732
785
  case "RESOLUTION_UNSPECIFIED":
733
786
  return Resolution.RESOLUTION_UNSPECIFIED;
734
- case 1:
735
- case "RESOLUTION_FULLHD_1080P":
736
- return Resolution.RESOLUTION_FULLHD_1080P;
787
+ case 4:
788
+ case "RESOLUTION_VGA_480P":
789
+ return Resolution.RESOLUTION_VGA_480P;
737
790
  case 2:
738
791
  case "RESOLUTION_HD_720P":
739
792
  return Resolution.RESOLUTION_HD_720P;
793
+ case 1:
794
+ case "RESOLUTION_FULLHD_1080P":
795
+ return Resolution.RESOLUTION_FULLHD_1080P;
740
796
  case 3:
741
797
  case "RESOLUTION_UHD_4K":
742
798
  return Resolution.RESOLUTION_UHD_4K;
@@ -750,10 +806,12 @@ function resolutionToJSON(object) {
750
806
  switch (object) {
751
807
  case Resolution.RESOLUTION_UNSPECIFIED:
752
808
  return "RESOLUTION_UNSPECIFIED";
753
- case Resolution.RESOLUTION_FULLHD_1080P:
754
- return "RESOLUTION_FULLHD_1080P";
809
+ case Resolution.RESOLUTION_VGA_480P:
810
+ return "RESOLUTION_VGA_480P";
755
811
  case Resolution.RESOLUTION_HD_720P:
756
812
  return "RESOLUTION_HD_720P";
813
+ case Resolution.RESOLUTION_FULLHD_1080P:
814
+ return "RESOLUTION_FULLHD_1080P";
757
815
  case Resolution.RESOLUTION_UHD_4K:
758
816
  return "RESOLUTION_UHD_4K";
759
817
  case Resolution.UNRECOGNIZED:
@@ -768,7 +826,7 @@ var Framerate;
768
826
  Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
769
827
  /** FRAMERATE_FPS_30 - 30 frames per second. */
770
828
  Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
771
- /** FRAMERATE_FPS_25 - 25 frames per second. */
829
+ /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
772
830
  Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
773
831
  Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
774
832
  })(Framerate || (exports.Framerate = Framerate = {}));
@@ -843,6 +901,46 @@ function cameraToJSON(object) {
843
901
  return "UNRECOGNIZED";
844
902
  }
845
903
  }
904
+ var StreamingProtocol;
905
+ (function (StreamingProtocol) {
906
+ /** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
907
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
908
+ /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
909
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
910
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
911
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
912
+ StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
913
+ })(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
914
+ function streamingProtocolFromJSON(object) {
915
+ switch (object) {
916
+ case 0:
917
+ case "STREAMING_PROTOCOL_UNSPECIFIED":
918
+ return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
919
+ case 1:
920
+ case "STREAMING_PROTOCOL_RTSP_H264":
921
+ return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
922
+ case 2:
923
+ case "STREAMING_PROTOCOL_RTSP_MJPEG":
924
+ return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
925
+ case -1:
926
+ case "UNRECOGNIZED":
927
+ default:
928
+ return StreamingProtocol.UNRECOGNIZED;
929
+ }
930
+ }
931
+ function streamingProtocolToJSON(object) {
932
+ switch (object) {
933
+ case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
934
+ return "STREAMING_PROTOCOL_UNSPECIFIED";
935
+ case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
936
+ return "STREAMING_PROTOCOL_RTSP_H264";
937
+ case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
938
+ return "STREAMING_PROTOCOL_RTSP_MJPEG";
939
+ case StreamingProtocol.UNRECOGNIZED:
940
+ default:
941
+ return "UNRECOGNIZED";
942
+ }
943
+ }
846
944
  /** Available temperature units. */
847
945
  var TemperatureUnit;
848
946
  (function (TemperatureUnit) {
@@ -1176,6 +1274,8 @@ var GuestPortDeviceID;
1176
1274
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
1177
1275
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
1178
1276
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
1277
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
1278
+ GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
1179
1279
  GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1180
1280
  })(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
1181
1281
  function guestPortDeviceIDFromJSON(object) {
@@ -1315,6 +1415,9 @@ function guestPortDeviceIDFromJSON(object) {
1315
1415
  case 44:
1316
1416
  case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
1317
1417
  return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
1418
+ case 45:
1419
+ case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
1420
+ return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
1318
1421
  case -1:
1319
1422
  case "UNRECOGNIZED":
1320
1423
  default:
@@ -1413,6 +1516,8 @@ function guestPortDeviceIDToJSON(object) {
1413
1516
  return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
1414
1517
  case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
1415
1518
  return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
1519
+ case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
1520
+ return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
1416
1521
  case GuestPortDeviceID.UNRECOGNIZED:
1417
1522
  default:
1418
1523
  return "UNRECOGNIZED";
@@ -2135,6 +2240,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
2135
2240
  return "UNRECOGNIZED";
2136
2241
  }
2137
2242
  }
2243
+ var SurfaceUnitBatteryInfo_ChargeStatus;
2244
+ (function (SurfaceUnitBatteryInfo_ChargeStatus) {
2245
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
2246
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
2247
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
2248
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
2249
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2250
+ })(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
2251
+ function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
2252
+ switch (object) {
2253
+ case 0:
2254
+ case "CHARGE_STATUS_UNSPECIFIED":
2255
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
2256
+ case 1:
2257
+ case "CHARGE_STATUS_DISCHARGE":
2258
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
2259
+ case 2:
2260
+ case "CHARGE_STATUS_CHARGE":
2261
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
2262
+ case 3:
2263
+ case "CHARGE_STATUS_CHARGE_ERROR":
2264
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
2265
+ case -1:
2266
+ case "UNRECOGNIZED":
2267
+ default:
2268
+ return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
2269
+ }
2270
+ }
2271
+ function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
2272
+ switch (object) {
2273
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
2274
+ return "CHARGE_STATUS_UNSPECIFIED";
2275
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
2276
+ return "CHARGE_STATUS_DISCHARGE";
2277
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
2278
+ return "CHARGE_STATUS_CHARGE";
2279
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
2280
+ return "CHARGE_STATUS_CHARGE_ERROR";
2281
+ case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
2282
+ default:
2283
+ return "UNRECOGNIZED";
2284
+ }
2285
+ }
2138
2286
  function createBaseBinlogRecord() {
2139
2287
  return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
2140
2288
  }
@@ -9513,9 +9661,20 @@ function createBaseCameraParameters() {
9513
9661
  whiteBalance: 0,
9514
9662
  hue: 0,
9515
9663
  gain: 0,
9664
+ brightness: 0,
9665
+ contrast: 0,
9666
+ saturation: 0,
9667
+ gamma: 0,
9668
+ sharpness: 0,
9669
+ backlightCompensation: 0,
9670
+ denoise: 0,
9671
+ ehdrEnabled: false,
9672
+ ehdrExposureMinNumber: 0,
9673
+ ehdrExposureMaxNumber: 0,
9516
9674
  resolution: 0,
9517
9675
  streamResolution: 0,
9518
9676
  recordingResolution: 0,
9677
+ streamingProtocol: 0,
9519
9678
  framerate: 0,
9520
9679
  camera: 0,
9521
9680
  };
@@ -9540,6 +9699,36 @@ exports.CameraParameters = {
9540
9699
  if (message.gain !== 0) {
9541
9700
  writer.uint32(77).float(message.gain);
9542
9701
  }
9702
+ if (message.brightness !== 0) {
9703
+ writer.uint32(96).int32(message.brightness);
9704
+ }
9705
+ if (message.contrast !== 0) {
9706
+ writer.uint32(104).int32(message.contrast);
9707
+ }
9708
+ if (message.saturation !== 0) {
9709
+ writer.uint32(112).int32(message.saturation);
9710
+ }
9711
+ if (message.gamma !== 0) {
9712
+ writer.uint32(120).int32(message.gamma);
9713
+ }
9714
+ if (message.sharpness !== 0) {
9715
+ writer.uint32(128).int32(message.sharpness);
9716
+ }
9717
+ if (message.backlightCompensation !== 0) {
9718
+ writer.uint32(136).int32(message.backlightCompensation);
9719
+ }
9720
+ if (message.denoise !== 0) {
9721
+ writer.uint32(144).int32(message.denoise);
9722
+ }
9723
+ if (message.ehdrEnabled !== false) {
9724
+ writer.uint32(168).bool(message.ehdrEnabled);
9725
+ }
9726
+ if (message.ehdrExposureMinNumber !== 0) {
9727
+ writer.uint32(176).int32(message.ehdrExposureMinNumber);
9728
+ }
9729
+ if (message.ehdrExposureMaxNumber !== 0) {
9730
+ writer.uint32(184).int32(message.ehdrExposureMaxNumber);
9731
+ }
9543
9732
  if (message.resolution !== 0) {
9544
9733
  writer.uint32(48).int32(message.resolution);
9545
9734
  }
@@ -9549,6 +9738,9 @@ exports.CameraParameters = {
9549
9738
  if (message.recordingResolution !== 0) {
9550
9739
  writer.uint32(88).int32(message.recordingResolution);
9551
9740
  }
9741
+ if (message.streamingProtocol !== 0) {
9742
+ writer.uint32(160).int32(message.streamingProtocol);
9743
+ }
9552
9744
  if (message.framerate !== 0) {
9553
9745
  writer.uint32(56).int32(message.framerate);
9554
9746
  }
@@ -9606,6 +9798,76 @@ exports.CameraParameters = {
9606
9798
  message.gain = reader.float();
9607
9799
  continue;
9608
9800
  }
9801
+ case 12: {
9802
+ if (tag !== 96) {
9803
+ break;
9804
+ }
9805
+ message.brightness = reader.int32();
9806
+ continue;
9807
+ }
9808
+ case 13: {
9809
+ if (tag !== 104) {
9810
+ break;
9811
+ }
9812
+ message.contrast = reader.int32();
9813
+ continue;
9814
+ }
9815
+ case 14: {
9816
+ if (tag !== 112) {
9817
+ break;
9818
+ }
9819
+ message.saturation = reader.int32();
9820
+ continue;
9821
+ }
9822
+ case 15: {
9823
+ if (tag !== 120) {
9824
+ break;
9825
+ }
9826
+ message.gamma = reader.int32();
9827
+ continue;
9828
+ }
9829
+ case 16: {
9830
+ if (tag !== 128) {
9831
+ break;
9832
+ }
9833
+ message.sharpness = reader.int32();
9834
+ continue;
9835
+ }
9836
+ case 17: {
9837
+ if (tag !== 136) {
9838
+ break;
9839
+ }
9840
+ message.backlightCompensation = reader.int32();
9841
+ continue;
9842
+ }
9843
+ case 18: {
9844
+ if (tag !== 144) {
9845
+ break;
9846
+ }
9847
+ message.denoise = reader.int32();
9848
+ continue;
9849
+ }
9850
+ case 21: {
9851
+ if (tag !== 168) {
9852
+ break;
9853
+ }
9854
+ message.ehdrEnabled = reader.bool();
9855
+ continue;
9856
+ }
9857
+ case 22: {
9858
+ if (tag !== 176) {
9859
+ break;
9860
+ }
9861
+ message.ehdrExposureMinNumber = reader.int32();
9862
+ continue;
9863
+ }
9864
+ case 23: {
9865
+ if (tag !== 184) {
9866
+ break;
9867
+ }
9868
+ message.ehdrExposureMaxNumber = reader.int32();
9869
+ continue;
9870
+ }
9609
9871
  case 6: {
9610
9872
  if (tag !== 48) {
9611
9873
  break;
@@ -9627,6 +9889,13 @@ exports.CameraParameters = {
9627
9889
  message.recordingResolution = reader.int32();
9628
9890
  continue;
9629
9891
  }
9892
+ case 20: {
9893
+ if (tag !== 160) {
9894
+ break;
9895
+ }
9896
+ message.streamingProtocol = reader.int32();
9897
+ continue;
9898
+ }
9630
9899
  case 7: {
9631
9900
  if (tag !== 56) {
9632
9901
  break;
@@ -9657,9 +9926,20 @@ exports.CameraParameters = {
9657
9926
  whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
9658
9927
  hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
9659
9928
  gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
9929
+ brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
9930
+ contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
9931
+ saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
9932
+ gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
9933
+ sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
9934
+ backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
9935
+ denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
9936
+ ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
9937
+ ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
9938
+ ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
9660
9939
  resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
9661
9940
  streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
9662
9941
  recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
9942
+ streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
9663
9943
  framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
9664
9944
  camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
9665
9945
  };
@@ -9684,6 +9964,36 @@ exports.CameraParameters = {
9684
9964
  if (message.gain !== 0) {
9685
9965
  obj.gain = message.gain;
9686
9966
  }
9967
+ if (message.brightness !== 0) {
9968
+ obj.brightness = Math.round(message.brightness);
9969
+ }
9970
+ if (message.contrast !== 0) {
9971
+ obj.contrast = Math.round(message.contrast);
9972
+ }
9973
+ if (message.saturation !== 0) {
9974
+ obj.saturation = Math.round(message.saturation);
9975
+ }
9976
+ if (message.gamma !== 0) {
9977
+ obj.gamma = Math.round(message.gamma);
9978
+ }
9979
+ if (message.sharpness !== 0) {
9980
+ obj.sharpness = Math.round(message.sharpness);
9981
+ }
9982
+ if (message.backlightCompensation !== 0) {
9983
+ obj.backlightCompensation = Math.round(message.backlightCompensation);
9984
+ }
9985
+ if (message.denoise !== 0) {
9986
+ obj.denoise = Math.round(message.denoise);
9987
+ }
9988
+ if (message.ehdrEnabled !== false) {
9989
+ obj.ehdrEnabled = message.ehdrEnabled;
9990
+ }
9991
+ if (message.ehdrExposureMinNumber !== 0) {
9992
+ obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
9993
+ }
9994
+ if (message.ehdrExposureMaxNumber !== 0) {
9995
+ obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
9996
+ }
9687
9997
  if (message.resolution !== 0) {
9688
9998
  obj.resolution = resolutionToJSON(message.resolution);
9689
9999
  }
@@ -9693,6 +10003,9 @@ exports.CameraParameters = {
9693
10003
  if (message.recordingResolution !== 0) {
9694
10004
  obj.recordingResolution = resolutionToJSON(message.recordingResolution);
9695
10005
  }
10006
+ if (message.streamingProtocol !== 0) {
10007
+ obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
10008
+ }
9696
10009
  if (message.framerate !== 0) {
9697
10010
  obj.framerate = framerateToJSON(message.framerate);
9698
10011
  }
@@ -9712,9 +10025,20 @@ exports.CameraParameters = {
9712
10025
  message.whiteBalance = object.whiteBalance ?? 0;
9713
10026
  message.hue = object.hue ?? 0;
9714
10027
  message.gain = object.gain ?? 0;
10028
+ message.brightness = object.brightness ?? 0;
10029
+ message.contrast = object.contrast ?? 0;
10030
+ message.saturation = object.saturation ?? 0;
10031
+ message.gamma = object.gamma ?? 0;
10032
+ message.sharpness = object.sharpness ?? 0;
10033
+ message.backlightCompensation = object.backlightCompensation ?? 0;
10034
+ message.denoise = object.denoise ?? 0;
10035
+ message.ehdrEnabled = object.ehdrEnabled ?? false;
10036
+ message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
10037
+ message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
9715
10038
  message.resolution = object.resolution ?? 0;
9716
10039
  message.streamResolution = object.streamResolution ?? 0;
9717
10040
  message.recordingResolution = object.recordingResolution ?? 0;
10041
+ message.streamingProtocol = object.streamingProtocol ?? 0;
9718
10042
  message.framerate = object.framerate ?? 0;
9719
10043
  message.camera = object.camera ?? 0;
9720
10044
  return message;
@@ -12460,7 +12784,7 @@ exports.PersistentStorageSettings = {
12460
12784
  },
12461
12785
  };
12462
12786
  function createBaseCPUInfo() {
12463
- return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
12787
+ return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
12464
12788
  }
12465
12789
  exports.CPUInfo = {
12466
12790
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -12476,6 +12800,9 @@ exports.CPUInfo = {
12476
12800
  if (message.guestportQueueLoad !== 0) {
12477
12801
  writer.uint32(37).float(message.guestportQueueLoad);
12478
12802
  }
12803
+ if (message.commQueueLoad !== 0) {
12804
+ writer.uint32(45).float(message.commQueueLoad);
12805
+ }
12479
12806
  return writer;
12480
12807
  },
12481
12808
  decode(input, length) {
@@ -12513,6 +12840,13 @@ exports.CPUInfo = {
12513
12840
  message.guestportQueueLoad = reader.float();
12514
12841
  continue;
12515
12842
  }
12843
+ case 5: {
12844
+ if (tag !== 45) {
12845
+ break;
12846
+ }
12847
+ message.commQueueLoad = reader.float();
12848
+ continue;
12849
+ }
12516
12850
  }
12517
12851
  if ((tag & 7) === 4 || tag === 0) {
12518
12852
  break;
@@ -12527,6 +12861,7 @@ exports.CPUInfo = {
12527
12861
  memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
12528
12862
  mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
12529
12863
  guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
12864
+ commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
12530
12865
  };
12531
12866
  },
12532
12867
  toJSON(message) {
@@ -12543,6 +12878,9 @@ exports.CPUInfo = {
12543
12878
  if (message.guestportQueueLoad !== 0) {
12544
12879
  obj.guestportQueueLoad = message.guestportQueueLoad;
12545
12880
  }
12881
+ if (message.commQueueLoad !== 0) {
12882
+ obj.commQueueLoad = message.commQueueLoad;
12883
+ }
12546
12884
  return obj;
12547
12885
  },
12548
12886
  create(base) {
@@ -12554,6 +12892,126 @@ exports.CPUInfo = {
12554
12892
  message.memoryBusLoad = object.memoryBusLoad ?? 0;
12555
12893
  message.mainQueueLoad = object.mainQueueLoad ?? 0;
12556
12894
  message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
12895
+ message.commQueueLoad = object.commQueueLoad ?? 0;
12896
+ return message;
12897
+ },
12898
+ };
12899
+ function createBaseSurfaceUnitBatteryInfo() {
12900
+ return { status: 0, level: 0 };
12901
+ }
12902
+ exports.SurfaceUnitBatteryInfo = {
12903
+ encode(message, writer = new wire_1.BinaryWriter()) {
12904
+ if (message.status !== 0) {
12905
+ writer.uint32(8).int32(message.status);
12906
+ }
12907
+ if (message.level !== 0) {
12908
+ writer.uint32(21).float(message.level);
12909
+ }
12910
+ return writer;
12911
+ },
12912
+ decode(input, length) {
12913
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
12914
+ const end = length === undefined ? reader.len : reader.pos + length;
12915
+ const message = createBaseSurfaceUnitBatteryInfo();
12916
+ while (reader.pos < end) {
12917
+ const tag = reader.uint32();
12918
+ switch (tag >>> 3) {
12919
+ case 1: {
12920
+ if (tag !== 8) {
12921
+ break;
12922
+ }
12923
+ message.status = reader.int32();
12924
+ continue;
12925
+ }
12926
+ case 2: {
12927
+ if (tag !== 21) {
12928
+ break;
12929
+ }
12930
+ message.level = reader.float();
12931
+ continue;
12932
+ }
12933
+ }
12934
+ if ((tag & 7) === 4 || tag === 0) {
12935
+ break;
12936
+ }
12937
+ reader.skip(tag & 7);
12938
+ }
12939
+ return message;
12940
+ },
12941
+ fromJSON(object) {
12942
+ return {
12943
+ status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
12944
+ level: isSet(object.level) ? gt.Number(object.level) : 0,
12945
+ };
12946
+ },
12947
+ toJSON(message) {
12948
+ const obj = {};
12949
+ if (message.status !== 0) {
12950
+ obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
12951
+ }
12952
+ if (message.level !== 0) {
12953
+ obj.level = message.level;
12954
+ }
12955
+ return obj;
12956
+ },
12957
+ create(base) {
12958
+ return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
12959
+ },
12960
+ fromPartial(object) {
12961
+ const message = createBaseSurfaceUnitBatteryInfo();
12962
+ message.status = object.status ?? 0;
12963
+ message.level = object.level ?? 0;
12964
+ return message;
12965
+ },
12966
+ };
12967
+ function createBaseSurfaceUnitVersionInfo() {
12968
+ return { version: "" };
12969
+ }
12970
+ exports.SurfaceUnitVersionInfo = {
12971
+ encode(message, writer = new wire_1.BinaryWriter()) {
12972
+ if (message.version !== "") {
12973
+ writer.uint32(10).string(message.version);
12974
+ }
12975
+ return writer;
12976
+ },
12977
+ decode(input, length) {
12978
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
12979
+ const end = length === undefined ? reader.len : reader.pos + length;
12980
+ const message = createBaseSurfaceUnitVersionInfo();
12981
+ while (reader.pos < end) {
12982
+ const tag = reader.uint32();
12983
+ switch (tag >>> 3) {
12984
+ case 1: {
12985
+ if (tag !== 10) {
12986
+ break;
12987
+ }
12988
+ message.version = reader.string();
12989
+ continue;
12990
+ }
12991
+ }
12992
+ if ((tag & 7) === 4 || tag === 0) {
12993
+ break;
12994
+ }
12995
+ reader.skip(tag & 7);
12996
+ }
12997
+ return message;
12998
+ },
12999
+ fromJSON(object) {
13000
+ return { version: isSet(object.version) ? gt.String(object.version) : "" };
13001
+ },
13002
+ toJSON(message) {
13003
+ const obj = {};
13004
+ if (message.version !== "") {
13005
+ obj.version = message.version;
13006
+ }
13007
+ return obj;
13008
+ },
13009
+ create(base) {
13010
+ return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
13011
+ },
13012
+ fromPartial(object) {
13013
+ const message = createBaseSurfaceUnitVersionInfo();
13014
+ message.version = object.version ?? "";
12557
13015
  return message;
12558
13016
  },
12559
13017
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: mission_planning.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
package/dist/req_rep.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: req_rep.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { AquaTrollProbeMetadata, AquaTrollSensorMetadataArray, AquaTrollSensorParametersArray } from "./aquatroll";
3
- import { Altitude, Attitude, Battery, BatteryBQ40Z50, CalibrationState, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, ForwardDistance, GenericServo, GuestPortCurrent, Imu, IperfStatus, Laser, LatLongPosition, Lights, MagneticDeclination, MedusaSpectrometerData, MultibeamConfig, MultibeamDiscovery, MultibeamPing, MultibeamServo, Notification, NStreamers, PositionEstimate, RecordState, Reference, RemovableStorageDevice, StorageSpace, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
3
+ import { Altitude, Attitude, Battery, BatteryBQ40Z50, CalibrationState, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, ForwardDistance, GenericServo, GuestPortCurrent, Imu, IperfStatus, Laser, LatLongPosition, Lights, MagneticDeclination, MedusaSpectrometerData, MultibeamConfig, MultibeamDiscovery, MultibeamPing, MultibeamServo, Notification, NStreamers, PositionEstimate, RecordState, Reference, RemovableStorageDevice, StorageSpace, SurfaceUnitBatteryInfo, SurfaceUnitVersionInfo, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
4
4
  import { MissionStatus, ReferenceAutoPilot } from "./mission_planning";
5
5
  /**
6
6
  * Telemetry
@@ -291,6 +291,13 @@ export interface CPUInfoTel {
291
291
  /** CPU information. */
292
292
  cpuInfo: CPUInfo | undefined;
293
293
  }
294
+ /** Surface Unit telemetry message. */
295
+ export interface SurfaceUnitTel {
296
+ /** Battery information. */
297
+ batteryInfo: SurfaceUnitBatteryInfo | undefined;
298
+ /** Version information. */
299
+ versionInfo: SurfaceUnitVersionInfo | undefined;
300
+ }
294
301
  export declare const AttitudeTel: MessageFns<AttitudeTel>;
295
302
  export declare const MagneticDeclinationTel: MessageFns<MagneticDeclinationTel>;
296
303
  export declare const AltitudeTel: MessageFns<AltitudeTel>;
@@ -346,6 +353,7 @@ export declare const MultibeamPingTel: MessageFns<MultibeamPingTel>;
346
353
  export declare const MultibeamConfigTel: MessageFns<MultibeamConfigTel>;
347
354
  export declare const MultibeamDiscoveryTel: MessageFns<MultibeamDiscoveryTel>;
348
355
  export declare const CPUInfoTel: MessageFns<CPUInfoTel>;
356
+ export declare const SurfaceUnitTel: MessageFns<SurfaceUnitTel>;
349
357
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
350
358
  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 {} ? {
351
359
  [K in keyof T]?: DeepPartial<T[K]>;
package/dist/telemetry.js CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: telemetry.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.Imu2Tel = exports.Imu1Tel = exports.CalibratedImuTel = exports.GuestPortCurrentTel = exports.MultibeamServoTel = exports.GenericServoTel = exports.ConnectedClientsTel = exports.AquaTrollSensorParametersTel = exports.AquaTrollSensorMetadataTel = exports.AquaTrollProbeMetadataTel = exports.CpProbeTel = exports.ThicknessGaugeTel = exports.ControlModeTel = exports.ErrorFlagsTel = exports.DroneInfoTel = exports.TiltAngleTel = exports.NStreamersTel = exports.IperfTel = exports.TiltStabilizationTel = exports.CalibrationStateTel = exports.DataStorageSpaceTel = exports.RemovableStorageTel = exports.VideoStorageSpaceTel = exports.CanisterBottomHumidityTel = exports.CanisterBottomTemperatureTel = exports.CPUTemperatureTel = exports.WaterTemperatureTel = exports.DroneTimeTel = exports.DiveTimeTel = exports.BatteryBQ40Z50Tel = exports.BatteryTel = exports.TimeLapseStateTel = exports.RecordStateTel = exports.PilotGPSPositionTel = exports.LaserTel = exports.GuestPortLightsTel = exports.LightsTel = exports.ControllerHealthTel = exports.ControlForceTel = exports.NotificationTel = exports.MissionStatusTel = exports.ReferenceAutoPilotTel = exports.ReferenceTel = exports.DepthTel = exports.PositionEstimateTel = exports.DvlVelocityTel = exports.ForwardDistanceTel = exports.AltitudeTel = exports.MagneticDeclinationTel = exports.AttitudeTel = void 0;
9
- exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = void 0;
9
+ exports.SurfaceUnitTel = exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = void 0;
10
10
  /* eslint-disable */
11
11
  const wire_1 = require("@bufbuild/protobuf/wire");
12
12
  const aquatroll_1 = require("./aquatroll");
@@ -2994,6 +2994,78 @@ exports.CPUInfoTel = {
2994
2994
  return message;
2995
2995
  },
2996
2996
  };
2997
+ function createBaseSurfaceUnitTel() {
2998
+ return { batteryInfo: undefined, versionInfo: undefined };
2999
+ }
3000
+ exports.SurfaceUnitTel = {
3001
+ encode(message, writer = new wire_1.BinaryWriter()) {
3002
+ if (message.batteryInfo !== undefined) {
3003
+ message_formats_1.SurfaceUnitBatteryInfo.encode(message.batteryInfo, writer.uint32(10).fork()).join();
3004
+ }
3005
+ if (message.versionInfo !== undefined) {
3006
+ message_formats_1.SurfaceUnitVersionInfo.encode(message.versionInfo, writer.uint32(18).fork()).join();
3007
+ }
3008
+ return writer;
3009
+ },
3010
+ decode(input, length) {
3011
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
3012
+ const end = length === undefined ? reader.len : reader.pos + length;
3013
+ const message = createBaseSurfaceUnitTel();
3014
+ while (reader.pos < end) {
3015
+ const tag = reader.uint32();
3016
+ switch (tag >>> 3) {
3017
+ case 1: {
3018
+ if (tag !== 10) {
3019
+ break;
3020
+ }
3021
+ message.batteryInfo = message_formats_1.SurfaceUnitBatteryInfo.decode(reader, reader.uint32());
3022
+ continue;
3023
+ }
3024
+ case 2: {
3025
+ if (tag !== 18) {
3026
+ break;
3027
+ }
3028
+ message.versionInfo = message_formats_1.SurfaceUnitVersionInfo.decode(reader, reader.uint32());
3029
+ continue;
3030
+ }
3031
+ }
3032
+ if ((tag & 7) === 4 || tag === 0) {
3033
+ break;
3034
+ }
3035
+ reader.skip(tag & 7);
3036
+ }
3037
+ return message;
3038
+ },
3039
+ fromJSON(object) {
3040
+ return {
3041
+ batteryInfo: isSet(object.batteryInfo) ? message_formats_1.SurfaceUnitBatteryInfo.fromJSON(object.batteryInfo) : undefined,
3042
+ versionInfo: isSet(object.versionInfo) ? message_formats_1.SurfaceUnitVersionInfo.fromJSON(object.versionInfo) : undefined,
3043
+ };
3044
+ },
3045
+ toJSON(message) {
3046
+ const obj = {};
3047
+ if (message.batteryInfo !== undefined) {
3048
+ obj.batteryInfo = message_formats_1.SurfaceUnitBatteryInfo.toJSON(message.batteryInfo);
3049
+ }
3050
+ if (message.versionInfo !== undefined) {
3051
+ obj.versionInfo = message_formats_1.SurfaceUnitVersionInfo.toJSON(message.versionInfo);
3052
+ }
3053
+ return obj;
3054
+ },
3055
+ create(base) {
3056
+ return exports.SurfaceUnitTel.fromPartial(base ?? {});
3057
+ },
3058
+ fromPartial(object) {
3059
+ const message = createBaseSurfaceUnitTel();
3060
+ message.batteryInfo = (object.batteryInfo !== undefined && object.batteryInfo !== null)
3061
+ ? message_formats_1.SurfaceUnitBatteryInfo.fromPartial(object.batteryInfo)
3062
+ : undefined;
3063
+ message.versionInfo = (object.versionInfo !== undefined && object.versionInfo !== null)
3064
+ ? message_formats_1.SurfaceUnitVersionInfo.fromPartial(object.versionInfo)
3065
+ : undefined;
3066
+ return message;
3067
+ },
3068
+ };
2997
3069
  const gt = (() => {
2998
3070
  if (typeof globalThis !== "undefined") {
2999
3071
  return globalThis;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueyerobotics/protocol-definitions",
3
- "version": "3.2.0-c785049b",
3
+ "version": "3.2.0-e9cac0e4",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "TypeScript definitions for Blueye Robotics protocols",
6
6
  "repository": {