@blueyerobotics/protocol-definitions 3.2.0-b032513b → 3.2.0-bb5ffe79

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.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 });
@@ -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;
@@ -194,11 +194,15 @@ export declare function pressureSensorTypeToJSON(object: PressureSensorType): st
194
194
  export declare enum Resolution {
195
195
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
196
196
  RESOLUTION_UNSPECIFIED = 0,
197
- /** RESOLUTION_FULLHD_1080P - 1080p Full HD resolution. */
198
- RESOLUTION_FULLHD_1080P = 1,
199
- /** RESOLUTION_HD_720P - 720p HD resolution. */
197
+ /** RESOLUTION_VGA - VGA (640x480). */
198
+ RESOLUTION_VGA = 4,
199
+ /** RESOLUTION_SVGA - SVGA (800x600). */
200
+ RESOLUTION_SVGA = 5,
201
+ /** RESOLUTION_HD_720P - 720p HD (1280x720). */
200
202
  RESOLUTION_HD_720P = 2,
201
- /** RESOLUTION_UHD_4K - 4K Ultra HD resolution. */
203
+ /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
204
+ RESOLUTION_FULLHD_1080P = 1,
205
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
202
206
  RESOLUTION_UHD_4K = 3,
203
207
  UNRECOGNIZED = -1
204
208
  }
@@ -228,6 +232,17 @@ export declare enum Camera {
228
232
  }
229
233
  export declare function cameraFromJSON(object: any): Camera;
230
234
  export declare function cameraToJSON(object: Camera): string;
235
+ export declare enum StreamingProtocol {
236
+ /** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
237
+ STREAMING_PROTOCOL_UNSPECIFIED = 0,
238
+ /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
239
+ STREAMING_PROTOCOL_RTSP_H264 = 1,
240
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
241
+ STREAMING_PROTOCOL_RTSP_MJPEG = 2,
242
+ UNRECOGNIZED = -1
243
+ }
244
+ export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
245
+ export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
231
246
  /** Available temperature units. */
232
247
  export declare enum TemperatureUnit {
233
248
  /** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
@@ -1449,22 +1464,40 @@ export interface CameraParameters {
1449
1464
  mjpgBitrate: number;
1450
1465
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1451
1466
  exposure: number;
1452
- /** White balance temperature (2800..9300), -1 for automatic white balance. */
1467
+ /** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
1453
1468
  whiteBalance: number;
1454
- /** Hue (-40..40), 0 as default. */
1469
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1455
1470
  hue: number;
1456
- /** Iso gain (0..1). */
1471
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1457
1472
  gain: number;
1473
+ /** Brightness (-10..10), 0 as default. Only available on Ultra */
1474
+ brightness: number;
1475
+ /** Contrast (-50..50), 0 as default. Only available on Ultra. */
1476
+ contrast: number;
1477
+ /** Saturation (0..50), 8 as default. Only available on Ultra. */
1478
+ saturation: number;
1479
+ /** Gamma (4..79), 22 as default. Only available on Ultra. */
1480
+ gamma: number;
1481
+ /** Sharpness (-20..20), -20 as default. Only available on Ultra. */
1482
+ sharpness: number;
1483
+ /** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
1484
+ backlightCompensation: number;
1485
+ /** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
1486
+ denoise: number;
1458
1487
  /** Stream, recording and image resolution (deprecated). */
1459
1488
  resolution: Resolution;
1460
1489
  /** Stream resolution. */
1461
1490
  streamResolution: Resolution;
1462
1491
  /** Recording and image resolution. */
1463
1492
  recordingResolution: Resolution;
1493
+ /** Streaming protocol. */
1494
+ streamingProtocol: StreamingProtocol;
1464
1495
  /** Stream and recording framerate. */
1465
1496
  framerate: Framerate;
1466
1497
  /** Which camera the parameters belong to. */
1467
1498
  camera: Camera;
1499
+ /** Prioritize fixed frame rate over quality on Ultra. */
1500
+ fixedFramerate: boolean;
1468
1501
  }
1469
1502
  /**
1470
1503
  * Overlay parameters.
@@ -1847,6 +1880,37 @@ export interface CPUInfo {
1847
1880
  /** Communication queue load (0..1). */
1848
1881
  commQueueLoad: number;
1849
1882
  }
1883
+ /**
1884
+ * Surface Unit battery information.
1885
+ *
1886
+ * This message is published by the Surface Unit, and re-published by
1887
+ * the drone over the communication protocol.
1888
+ */
1889
+ export interface SurfaceUnitBatteryInfo {
1890
+ /** Battery charge status. */
1891
+ status: SurfaceUnitBatteryInfo_ChargeStatus;
1892
+ /** Battery level (0..1). */
1893
+ level: number;
1894
+ }
1895
+ export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
1896
+ CHARGE_STATUS_UNSPECIFIED = 0,
1897
+ CHARGE_STATUS_DISCHARGE = 1,
1898
+ CHARGE_STATUS_CHARGE = 2,
1899
+ CHARGE_STATUS_CHARGE_ERROR = 3,
1900
+ UNRECOGNIZED = -1
1901
+ }
1902
+ export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
1903
+ export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
1904
+ /**
1905
+ * Surface Unit version information.
1906
+ *
1907
+ * This message is published by the Surface Unit, and re-published by
1908
+ * the drone over the communication protocol.
1909
+ */
1910
+ export interface SurfaceUnitVersionInfo {
1911
+ /** Surface Unit firmware version (x.y.z). */
1912
+ version: string;
1913
+ }
1850
1914
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1851
1915
  export declare const LogEntry: MessageFns<LogEntry>;
1852
1916
  export declare const MotionInput: MessageFns<MotionInput>;
@@ -1934,6 +1998,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1934
1998
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1935
1999
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1936
2000
  export declare const CPUInfo: MessageFns<CPUInfo>;
2001
+ export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2002
+ export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
1937
2003
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1938
2004
  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 {} ? {
1939
2005
  [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.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.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.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
9
+ 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 = exports.ConnectedClient = exports.ClientInfo = 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 = void 0;
11
11
  exports.intervalTypeFromJSON = intervalTypeFromJSON;
12
12
  exports.intervalTypeToJSON = intervalTypeToJSON;
13
13
  exports.locationSourceFromJSON = locationSourceFromJSON;
@@ -32,6 +32,8 @@ exports.framerateFromJSON = framerateFromJSON;
32
32
  exports.framerateToJSON = framerateToJSON;
33
33
  exports.cameraFromJSON = cameraFromJSON;
34
34
  exports.cameraToJSON = cameraToJSON;
35
+ exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
36
+ exports.streamingProtocolToJSON = streamingProtocolToJSON;
35
37
  exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
36
38
  exports.temperatureUnitToJSON = temperatureUnitToJSON;
37
39
  exports.logoTypeFromJSON = logoTypeFromJSON;
@@ -68,6 +70,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
68
70
  exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
69
71
  exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
70
72
  exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
73
+ exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
74
+ exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
71
75
  /* eslint-disable */
72
76
  const wire_1 = require("@bufbuild/protobuf/wire");
73
77
  const any_1 = require("./google/protobuf/any");
@@ -718,11 +722,15 @@ var Resolution;
718
722
  (function (Resolution) {
719
723
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
720
724
  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. */
725
+ /** RESOLUTION_VGA - VGA (640x480). */
726
+ Resolution[Resolution["RESOLUTION_VGA"] = 4] = "RESOLUTION_VGA";
727
+ /** RESOLUTION_SVGA - SVGA (800x600). */
728
+ Resolution[Resolution["RESOLUTION_SVGA"] = 5] = "RESOLUTION_SVGA";
729
+ /** RESOLUTION_HD_720P - 720p HD (1280x720). */
724
730
  Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
725
- /** RESOLUTION_UHD_4K - 4K Ultra HD resolution. */
731
+ /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
732
+ Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
733
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
726
734
  Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
727
735
  Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
728
736
  })(Resolution || (exports.Resolution = Resolution = {}));
@@ -731,12 +739,18 @@ function resolutionFromJSON(object) {
731
739
  case 0:
732
740
  case "RESOLUTION_UNSPECIFIED":
733
741
  return Resolution.RESOLUTION_UNSPECIFIED;
734
- case 1:
735
- case "RESOLUTION_FULLHD_1080P":
736
- return Resolution.RESOLUTION_FULLHD_1080P;
742
+ case 4:
743
+ case "RESOLUTION_VGA":
744
+ return Resolution.RESOLUTION_VGA;
745
+ case 5:
746
+ case "RESOLUTION_SVGA":
747
+ return Resolution.RESOLUTION_SVGA;
737
748
  case 2:
738
749
  case "RESOLUTION_HD_720P":
739
750
  return Resolution.RESOLUTION_HD_720P;
751
+ case 1:
752
+ case "RESOLUTION_FULLHD_1080P":
753
+ return Resolution.RESOLUTION_FULLHD_1080P;
740
754
  case 3:
741
755
  case "RESOLUTION_UHD_4K":
742
756
  return Resolution.RESOLUTION_UHD_4K;
@@ -750,10 +764,14 @@ function resolutionToJSON(object) {
750
764
  switch (object) {
751
765
  case Resolution.RESOLUTION_UNSPECIFIED:
752
766
  return "RESOLUTION_UNSPECIFIED";
753
- case Resolution.RESOLUTION_FULLHD_1080P:
754
- return "RESOLUTION_FULLHD_1080P";
767
+ case Resolution.RESOLUTION_VGA:
768
+ return "RESOLUTION_VGA";
769
+ case Resolution.RESOLUTION_SVGA:
770
+ return "RESOLUTION_SVGA";
755
771
  case Resolution.RESOLUTION_HD_720P:
756
772
  return "RESOLUTION_HD_720P";
773
+ case Resolution.RESOLUTION_FULLHD_1080P:
774
+ return "RESOLUTION_FULLHD_1080P";
757
775
  case Resolution.RESOLUTION_UHD_4K:
758
776
  return "RESOLUTION_UHD_4K";
759
777
  case Resolution.UNRECOGNIZED:
@@ -843,6 +861,46 @@ function cameraToJSON(object) {
843
861
  return "UNRECOGNIZED";
844
862
  }
845
863
  }
864
+ var StreamingProtocol;
865
+ (function (StreamingProtocol) {
866
+ /** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
867
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
868
+ /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
869
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
870
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
871
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
872
+ StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
873
+ })(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
874
+ function streamingProtocolFromJSON(object) {
875
+ switch (object) {
876
+ case 0:
877
+ case "STREAMING_PROTOCOL_UNSPECIFIED":
878
+ return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
879
+ case 1:
880
+ case "STREAMING_PROTOCOL_RTSP_H264":
881
+ return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
882
+ case 2:
883
+ case "STREAMING_PROTOCOL_RTSP_MJPEG":
884
+ return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
885
+ case -1:
886
+ case "UNRECOGNIZED":
887
+ default:
888
+ return StreamingProtocol.UNRECOGNIZED;
889
+ }
890
+ }
891
+ function streamingProtocolToJSON(object) {
892
+ switch (object) {
893
+ case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
894
+ return "STREAMING_PROTOCOL_UNSPECIFIED";
895
+ case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
896
+ return "STREAMING_PROTOCOL_RTSP_H264";
897
+ case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
898
+ return "STREAMING_PROTOCOL_RTSP_MJPEG";
899
+ case StreamingProtocol.UNRECOGNIZED:
900
+ default:
901
+ return "UNRECOGNIZED";
902
+ }
903
+ }
846
904
  /** Available temperature units. */
847
905
  var TemperatureUnit;
848
906
  (function (TemperatureUnit) {
@@ -2142,6 +2200,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
2142
2200
  return "UNRECOGNIZED";
2143
2201
  }
2144
2202
  }
2203
+ var SurfaceUnitBatteryInfo_ChargeStatus;
2204
+ (function (SurfaceUnitBatteryInfo_ChargeStatus) {
2205
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
2206
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
2207
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
2208
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
2209
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2210
+ })(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
2211
+ function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
2212
+ switch (object) {
2213
+ case 0:
2214
+ case "CHARGE_STATUS_UNSPECIFIED":
2215
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
2216
+ case 1:
2217
+ case "CHARGE_STATUS_DISCHARGE":
2218
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
2219
+ case 2:
2220
+ case "CHARGE_STATUS_CHARGE":
2221
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
2222
+ case 3:
2223
+ case "CHARGE_STATUS_CHARGE_ERROR":
2224
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
2225
+ case -1:
2226
+ case "UNRECOGNIZED":
2227
+ default:
2228
+ return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
2229
+ }
2230
+ }
2231
+ function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
2232
+ switch (object) {
2233
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
2234
+ return "CHARGE_STATUS_UNSPECIFIED";
2235
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
2236
+ return "CHARGE_STATUS_DISCHARGE";
2237
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
2238
+ return "CHARGE_STATUS_CHARGE";
2239
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
2240
+ return "CHARGE_STATUS_CHARGE_ERROR";
2241
+ case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
2242
+ default:
2243
+ return "UNRECOGNIZED";
2244
+ }
2245
+ }
2145
2246
  function createBaseBinlogRecord() {
2146
2247
  return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
2147
2248
  }
@@ -9520,11 +9621,20 @@ function createBaseCameraParameters() {
9520
9621
  whiteBalance: 0,
9521
9622
  hue: 0,
9522
9623
  gain: 0,
9624
+ brightness: 0,
9625
+ contrast: 0,
9626
+ saturation: 0,
9627
+ gamma: 0,
9628
+ sharpness: 0,
9629
+ backlightCompensation: 0,
9630
+ denoise: 0,
9523
9631
  resolution: 0,
9524
9632
  streamResolution: 0,
9525
9633
  recordingResolution: 0,
9634
+ streamingProtocol: 0,
9526
9635
  framerate: 0,
9527
9636
  camera: 0,
9637
+ fixedFramerate: false,
9528
9638
  };
9529
9639
  }
9530
9640
  exports.CameraParameters = {
@@ -9547,6 +9657,27 @@ exports.CameraParameters = {
9547
9657
  if (message.gain !== 0) {
9548
9658
  writer.uint32(77).float(message.gain);
9549
9659
  }
9660
+ if (message.brightness !== 0) {
9661
+ writer.uint32(96).int32(message.brightness);
9662
+ }
9663
+ if (message.contrast !== 0) {
9664
+ writer.uint32(104).int32(message.contrast);
9665
+ }
9666
+ if (message.saturation !== 0) {
9667
+ writer.uint32(112).int32(message.saturation);
9668
+ }
9669
+ if (message.gamma !== 0) {
9670
+ writer.uint32(120).int32(message.gamma);
9671
+ }
9672
+ if (message.sharpness !== 0) {
9673
+ writer.uint32(128).int32(message.sharpness);
9674
+ }
9675
+ if (message.backlightCompensation !== 0) {
9676
+ writer.uint32(136).int32(message.backlightCompensation);
9677
+ }
9678
+ if (message.denoise !== 0) {
9679
+ writer.uint32(144).int32(message.denoise);
9680
+ }
9550
9681
  if (message.resolution !== 0) {
9551
9682
  writer.uint32(48).int32(message.resolution);
9552
9683
  }
@@ -9556,12 +9687,18 @@ exports.CameraParameters = {
9556
9687
  if (message.recordingResolution !== 0) {
9557
9688
  writer.uint32(88).int32(message.recordingResolution);
9558
9689
  }
9690
+ if (message.streamingProtocol !== 0) {
9691
+ writer.uint32(160).int32(message.streamingProtocol);
9692
+ }
9559
9693
  if (message.framerate !== 0) {
9560
9694
  writer.uint32(56).int32(message.framerate);
9561
9695
  }
9562
9696
  if (message.camera !== 0) {
9563
9697
  writer.uint32(64).int32(message.camera);
9564
9698
  }
9699
+ if (message.fixedFramerate !== false) {
9700
+ writer.uint32(152).bool(message.fixedFramerate);
9701
+ }
9565
9702
  return writer;
9566
9703
  },
9567
9704
  decode(input, length) {
@@ -9613,6 +9750,55 @@ exports.CameraParameters = {
9613
9750
  message.gain = reader.float();
9614
9751
  continue;
9615
9752
  }
9753
+ case 12: {
9754
+ if (tag !== 96) {
9755
+ break;
9756
+ }
9757
+ message.brightness = reader.int32();
9758
+ continue;
9759
+ }
9760
+ case 13: {
9761
+ if (tag !== 104) {
9762
+ break;
9763
+ }
9764
+ message.contrast = reader.int32();
9765
+ continue;
9766
+ }
9767
+ case 14: {
9768
+ if (tag !== 112) {
9769
+ break;
9770
+ }
9771
+ message.saturation = reader.int32();
9772
+ continue;
9773
+ }
9774
+ case 15: {
9775
+ if (tag !== 120) {
9776
+ break;
9777
+ }
9778
+ message.gamma = reader.int32();
9779
+ continue;
9780
+ }
9781
+ case 16: {
9782
+ if (tag !== 128) {
9783
+ break;
9784
+ }
9785
+ message.sharpness = reader.int32();
9786
+ continue;
9787
+ }
9788
+ case 17: {
9789
+ if (tag !== 136) {
9790
+ break;
9791
+ }
9792
+ message.backlightCompensation = reader.int32();
9793
+ continue;
9794
+ }
9795
+ case 18: {
9796
+ if (tag !== 144) {
9797
+ break;
9798
+ }
9799
+ message.denoise = reader.int32();
9800
+ continue;
9801
+ }
9616
9802
  case 6: {
9617
9803
  if (tag !== 48) {
9618
9804
  break;
@@ -9634,6 +9820,13 @@ exports.CameraParameters = {
9634
9820
  message.recordingResolution = reader.int32();
9635
9821
  continue;
9636
9822
  }
9823
+ case 20: {
9824
+ if (tag !== 160) {
9825
+ break;
9826
+ }
9827
+ message.streamingProtocol = reader.int32();
9828
+ continue;
9829
+ }
9637
9830
  case 7: {
9638
9831
  if (tag !== 56) {
9639
9832
  break;
@@ -9648,6 +9841,13 @@ exports.CameraParameters = {
9648
9841
  message.camera = reader.int32();
9649
9842
  continue;
9650
9843
  }
9844
+ case 19: {
9845
+ if (tag !== 152) {
9846
+ break;
9847
+ }
9848
+ message.fixedFramerate = reader.bool();
9849
+ continue;
9850
+ }
9651
9851
  }
9652
9852
  if ((tag & 7) === 4 || tag === 0) {
9653
9853
  break;
@@ -9664,11 +9864,20 @@ exports.CameraParameters = {
9664
9864
  whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
9665
9865
  hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
9666
9866
  gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
9867
+ brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
9868
+ contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
9869
+ saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
9870
+ gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
9871
+ sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
9872
+ backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
9873
+ denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
9667
9874
  resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
9668
9875
  streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
9669
9876
  recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
9877
+ streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
9670
9878
  framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
9671
9879
  camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
9880
+ fixedFramerate: isSet(object.fixedFramerate) ? gt.Boolean(object.fixedFramerate) : false,
9672
9881
  };
9673
9882
  },
9674
9883
  toJSON(message) {
@@ -9691,6 +9900,27 @@ exports.CameraParameters = {
9691
9900
  if (message.gain !== 0) {
9692
9901
  obj.gain = message.gain;
9693
9902
  }
9903
+ if (message.brightness !== 0) {
9904
+ obj.brightness = Math.round(message.brightness);
9905
+ }
9906
+ if (message.contrast !== 0) {
9907
+ obj.contrast = Math.round(message.contrast);
9908
+ }
9909
+ if (message.saturation !== 0) {
9910
+ obj.saturation = Math.round(message.saturation);
9911
+ }
9912
+ if (message.gamma !== 0) {
9913
+ obj.gamma = Math.round(message.gamma);
9914
+ }
9915
+ if (message.sharpness !== 0) {
9916
+ obj.sharpness = Math.round(message.sharpness);
9917
+ }
9918
+ if (message.backlightCompensation !== 0) {
9919
+ obj.backlightCompensation = Math.round(message.backlightCompensation);
9920
+ }
9921
+ if (message.denoise !== 0) {
9922
+ obj.denoise = Math.round(message.denoise);
9923
+ }
9694
9924
  if (message.resolution !== 0) {
9695
9925
  obj.resolution = resolutionToJSON(message.resolution);
9696
9926
  }
@@ -9700,12 +9930,18 @@ exports.CameraParameters = {
9700
9930
  if (message.recordingResolution !== 0) {
9701
9931
  obj.recordingResolution = resolutionToJSON(message.recordingResolution);
9702
9932
  }
9933
+ if (message.streamingProtocol !== 0) {
9934
+ obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
9935
+ }
9703
9936
  if (message.framerate !== 0) {
9704
9937
  obj.framerate = framerateToJSON(message.framerate);
9705
9938
  }
9706
9939
  if (message.camera !== 0) {
9707
9940
  obj.camera = cameraToJSON(message.camera);
9708
9941
  }
9942
+ if (message.fixedFramerate !== false) {
9943
+ obj.fixedFramerate = message.fixedFramerate;
9944
+ }
9709
9945
  return obj;
9710
9946
  },
9711
9947
  create(base) {
@@ -9719,11 +9955,20 @@ exports.CameraParameters = {
9719
9955
  message.whiteBalance = object.whiteBalance ?? 0;
9720
9956
  message.hue = object.hue ?? 0;
9721
9957
  message.gain = object.gain ?? 0;
9958
+ message.brightness = object.brightness ?? 0;
9959
+ message.contrast = object.contrast ?? 0;
9960
+ message.saturation = object.saturation ?? 0;
9961
+ message.gamma = object.gamma ?? 0;
9962
+ message.sharpness = object.sharpness ?? 0;
9963
+ message.backlightCompensation = object.backlightCompensation ?? 0;
9964
+ message.denoise = object.denoise ?? 0;
9722
9965
  message.resolution = object.resolution ?? 0;
9723
9966
  message.streamResolution = object.streamResolution ?? 0;
9724
9967
  message.recordingResolution = object.recordingResolution ?? 0;
9968
+ message.streamingProtocol = object.streamingProtocol ?? 0;
9725
9969
  message.framerate = object.framerate ?? 0;
9726
9970
  message.camera = object.camera ?? 0;
9971
+ message.fixedFramerate = object.fixedFramerate ?? false;
9727
9972
  return message;
9728
9973
  },
9729
9974
  };
@@ -12579,6 +12824,125 @@ exports.CPUInfo = {
12579
12824
  return message;
12580
12825
  },
12581
12826
  };
12827
+ function createBaseSurfaceUnitBatteryInfo() {
12828
+ return { status: 0, level: 0 };
12829
+ }
12830
+ exports.SurfaceUnitBatteryInfo = {
12831
+ encode(message, writer = new wire_1.BinaryWriter()) {
12832
+ if (message.status !== 0) {
12833
+ writer.uint32(8).int32(message.status);
12834
+ }
12835
+ if (message.level !== 0) {
12836
+ writer.uint32(21).float(message.level);
12837
+ }
12838
+ return writer;
12839
+ },
12840
+ decode(input, length) {
12841
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
12842
+ const end = length === undefined ? reader.len : reader.pos + length;
12843
+ const message = createBaseSurfaceUnitBatteryInfo();
12844
+ while (reader.pos < end) {
12845
+ const tag = reader.uint32();
12846
+ switch (tag >>> 3) {
12847
+ case 1: {
12848
+ if (tag !== 8) {
12849
+ break;
12850
+ }
12851
+ message.status = reader.int32();
12852
+ continue;
12853
+ }
12854
+ case 2: {
12855
+ if (tag !== 21) {
12856
+ break;
12857
+ }
12858
+ message.level = reader.float();
12859
+ continue;
12860
+ }
12861
+ }
12862
+ if ((tag & 7) === 4 || tag === 0) {
12863
+ break;
12864
+ }
12865
+ reader.skip(tag & 7);
12866
+ }
12867
+ return message;
12868
+ },
12869
+ fromJSON(object) {
12870
+ return {
12871
+ status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
12872
+ level: isSet(object.level) ? gt.Number(object.level) : 0,
12873
+ };
12874
+ },
12875
+ toJSON(message) {
12876
+ const obj = {};
12877
+ if (message.status !== 0) {
12878
+ obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
12879
+ }
12880
+ if (message.level !== 0) {
12881
+ obj.level = message.level;
12882
+ }
12883
+ return obj;
12884
+ },
12885
+ create(base) {
12886
+ return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
12887
+ },
12888
+ fromPartial(object) {
12889
+ const message = createBaseSurfaceUnitBatteryInfo();
12890
+ message.status = object.status ?? 0;
12891
+ message.level = object.level ?? 0;
12892
+ return message;
12893
+ },
12894
+ };
12895
+ function createBaseSurfaceUnitVersionInfo() {
12896
+ return { version: "" };
12897
+ }
12898
+ exports.SurfaceUnitVersionInfo = {
12899
+ encode(message, writer = new wire_1.BinaryWriter()) {
12900
+ if (message.version !== "") {
12901
+ writer.uint32(10).string(message.version);
12902
+ }
12903
+ return writer;
12904
+ },
12905
+ decode(input, length) {
12906
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
12907
+ const end = length === undefined ? reader.len : reader.pos + length;
12908
+ const message = createBaseSurfaceUnitVersionInfo();
12909
+ while (reader.pos < end) {
12910
+ const tag = reader.uint32();
12911
+ switch (tag >>> 3) {
12912
+ case 1: {
12913
+ if (tag !== 10) {
12914
+ break;
12915
+ }
12916
+ message.version = reader.string();
12917
+ continue;
12918
+ }
12919
+ }
12920
+ if ((tag & 7) === 4 || tag === 0) {
12921
+ break;
12922
+ }
12923
+ reader.skip(tag & 7);
12924
+ }
12925
+ return message;
12926
+ },
12927
+ fromJSON(object) {
12928
+ return { version: isSet(object.version) ? gt.String(object.version) : "" };
12929
+ },
12930
+ toJSON(message) {
12931
+ const obj = {};
12932
+ if (message.version !== "") {
12933
+ obj.version = message.version;
12934
+ }
12935
+ return obj;
12936
+ },
12937
+ create(base) {
12938
+ return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
12939
+ },
12940
+ fromPartial(object) {
12941
+ const message = createBaseSurfaceUnitVersionInfo();
12942
+ message.version = object.version ?? "";
12943
+ return message;
12944
+ },
12945
+ };
12582
12946
  const gt = (() => {
12583
12947
  if (typeof globalThis !== "undefined") {
12584
12948
  return globalThis;
@@ -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-b032513b",
3
+ "version": "3.2.0-bb5ffe79",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "TypeScript definitions for Blueye Robotics protocols",
6
6
  "repository": {