@blueyerobotics/protocol-definitions 3.2.0-946df8e4 → 3.2.0-98aafe92

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.
@@ -419,8 +419,12 @@ export declare enum GuestPortDeviceID {
419
419
  GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
420
420
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
421
421
  GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
422
- /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
422
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
423
423
  GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
424
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
425
+ GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 = 46,
426
+ /** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
427
+ GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT = 47,
424
428
  UNRECOGNIZED = -1
425
429
  }
426
430
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -774,8 +778,12 @@ export interface RecordState {
774
778
  multibeamSeconds: number;
775
779
  /** Multibeam record fps. */
776
780
  multibeamFps: number;
777
- /** Storage location used for recording. */
778
- storageLocation: StorageLocation;
781
+ /** Storage location used for main camera recording. */
782
+ mainStorageLocation: StorageLocation;
783
+ /** Storage location used for guestport camera recording. */
784
+ guestportStorageLocation: StorageLocation;
785
+ /** Storage location used for multibeam recording. */
786
+ multibeamStorageLocation: StorageLocation;
779
787
  }
780
788
  /** Time-lapse state published if time-lapse mission is running. */
781
789
  export interface TimeLapseState {
@@ -1293,10 +1301,12 @@ export declare enum RemovableStorageDevice_Status {
1293
1301
  STATUS_UNSPECIFIED = 0,
1294
1302
  /** STATUS_READY - The storage device is valid and ready for use. */
1295
1303
  STATUS_READY = 1,
1296
- /** STATUS_FORMATTING - The storage device is being formatted */
1304
+ /** STATUS_FORMATTING - The storage device is being formatted. */
1297
1305
  STATUS_FORMATTING = 2,
1298
1306
  /** STATUS_ERROR - The storage device is in an error state. */
1299
1307
  STATUS_ERROR = 3,
1308
+ /** STATUS_UNPLUGGED - The storage device is not present. */
1309
+ STATUS_UNPLUGGED = 4,
1300
1310
  UNRECOGNIZED = -1
1301
1311
  }
1302
1312
  export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
@@ -1563,6 +1573,12 @@ export interface CameraParameters {
1563
1573
  framerate: Framerate;
1564
1574
  /** Which camera the parameters belong to. */
1565
1575
  camera: Camera;
1576
+ /**
1577
+ * Network MTU (Maximum Transmission Unit) size for video streaming in bytes (68..65535).
1578
+ * If 0 or unset, the system will use a default of 1400.
1579
+ * The Blueye App allows users to set values between 500 and 1460.
1580
+ */
1581
+ mtuSize: number;
1566
1582
  }
1567
1583
  /**
1568
1584
  * Overlay parameters.
@@ -1788,8 +1804,7 @@ export interface MultibeamPing {
1788
1804
  /** Size in bytes of each row in the ping data image. */
1789
1805
  step: number;
1790
1806
  /**
1791
- * Bearing angle of each column of the sonar data
1792
- * (in 100th of a degree, multiply by 0.01 to get a value in degrees).
1807
+ * Bearing angle of each column of the sonar data in degrees.
1793
1808
  * The sonar image is not sampled uniformly in the bearing direction.
1794
1809
  */
1795
1810
  bearings: number[];
@@ -1276,8 +1276,12 @@ var GuestPortDeviceID;
1276
1276
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
1277
1277
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
1278
1278
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
1279
- /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
1279
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
1280
1280
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
1281
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
1282
+ GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
1283
+ /** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
1284
+ GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
1281
1285
  GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1282
1286
  })(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
1283
1287
  function guestPortDeviceIDFromJSON(object) {
@@ -1420,6 +1424,12 @@ function guestPortDeviceIDFromJSON(object) {
1420
1424
  case 45:
1421
1425
  case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
1422
1426
  return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
1427
+ case 46:
1428
+ case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
1429
+ return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
1430
+ case 47:
1431
+ case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
1432
+ return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
1423
1433
  case -1:
1424
1434
  case "UNRECOGNIZED":
1425
1435
  default:
@@ -1520,6 +1530,10 @@ function guestPortDeviceIDToJSON(object) {
1520
1530
  return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
1521
1531
  case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
1522
1532
  return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
1533
+ case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
1534
+ return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
1535
+ case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
1536
+ return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
1523
1537
  case GuestPortDeviceID.UNRECOGNIZED:
1524
1538
  default:
1525
1539
  return "UNRECOGNIZED";
@@ -2068,10 +2082,12 @@ var RemovableStorageDevice_Status;
2068
2082
  RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
2069
2083
  /** STATUS_READY - The storage device is valid and ready for use. */
2070
2084
  RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
2071
- /** STATUS_FORMATTING - The storage device is being formatted */
2085
+ /** STATUS_FORMATTING - The storage device is being formatted. */
2072
2086
  RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
2073
2087
  /** STATUS_ERROR - The storage device is in an error state. */
2074
2088
  RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
2089
+ /** STATUS_UNPLUGGED - The storage device is not present. */
2090
+ RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
2075
2091
  RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2076
2092
  })(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
2077
2093
  function removableStorageDevice_StatusFromJSON(object) {
@@ -2088,6 +2104,9 @@ function removableStorageDevice_StatusFromJSON(object) {
2088
2104
  case 3:
2089
2105
  case "STATUS_ERROR":
2090
2106
  return RemovableStorageDevice_Status.STATUS_ERROR;
2107
+ case 4:
2108
+ case "STATUS_UNPLUGGED":
2109
+ return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
2091
2110
  case -1:
2092
2111
  case "UNRECOGNIZED":
2093
2112
  default:
@@ -2104,6 +2123,8 @@ function removableStorageDevice_StatusToJSON(object) {
2104
2123
  return "STATUS_FORMATTING";
2105
2124
  case RemovableStorageDevice_Status.STATUS_ERROR:
2106
2125
  return "STATUS_ERROR";
2126
+ case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
2127
+ return "STATUS_UNPLUGGED";
2107
2128
  case RemovableStorageDevice_Status.UNRECOGNIZED:
2108
2129
  default:
2109
2130
  return "UNRECOGNIZED";
@@ -4060,7 +4081,9 @@ function createBaseRecordState() {
4060
4081
  multibeamIsRecording: false,
4061
4082
  multibeamSeconds: 0,
4062
4083
  multibeamFps: 0,
4063
- storageLocation: 0,
4084
+ mainStorageLocation: 0,
4085
+ guestportStorageLocation: 0,
4086
+ multibeamStorageLocation: 0,
4064
4087
  };
4065
4088
  }
4066
4089
  exports.RecordState = {
@@ -4092,8 +4115,14 @@ exports.RecordState = {
4092
4115
  if (message.multibeamFps !== 0) {
4093
4116
  writer.uint32(77).float(message.multibeamFps);
4094
4117
  }
4095
- if (message.storageLocation !== 0) {
4096
- writer.uint32(80).int32(message.storageLocation);
4118
+ if (message.mainStorageLocation !== 0) {
4119
+ writer.uint32(80).int32(message.mainStorageLocation);
4120
+ }
4121
+ if (message.guestportStorageLocation !== 0) {
4122
+ writer.uint32(88).int32(message.guestportStorageLocation);
4123
+ }
4124
+ if (message.multibeamStorageLocation !== 0) {
4125
+ writer.uint32(96).int32(message.multibeamStorageLocation);
4097
4126
  }
4098
4127
  return writer;
4099
4128
  },
@@ -4171,7 +4200,21 @@ exports.RecordState = {
4171
4200
  if (tag !== 80) {
4172
4201
  break;
4173
4202
  }
4174
- message.storageLocation = reader.int32();
4203
+ message.mainStorageLocation = reader.int32();
4204
+ continue;
4205
+ }
4206
+ case 11: {
4207
+ if (tag !== 88) {
4208
+ break;
4209
+ }
4210
+ message.guestportStorageLocation = reader.int32();
4211
+ continue;
4212
+ }
4213
+ case 12: {
4214
+ if (tag !== 96) {
4215
+ break;
4216
+ }
4217
+ message.multibeamStorageLocation = reader.int32();
4175
4218
  continue;
4176
4219
  }
4177
4220
  }
@@ -4193,7 +4236,13 @@ exports.RecordState = {
4193
4236
  multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
4194
4237
  multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
4195
4238
  multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
4196
- storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
4239
+ mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
4240
+ guestportStorageLocation: isSet(object.guestportStorageLocation)
4241
+ ? storageLocationFromJSON(object.guestportStorageLocation)
4242
+ : 0,
4243
+ multibeamStorageLocation: isSet(object.multibeamStorageLocation)
4244
+ ? storageLocationFromJSON(object.multibeamStorageLocation)
4245
+ : 0,
4197
4246
  };
4198
4247
  },
4199
4248
  toJSON(message) {
@@ -4225,8 +4274,14 @@ exports.RecordState = {
4225
4274
  if (message.multibeamFps !== 0) {
4226
4275
  obj.multibeamFps = message.multibeamFps;
4227
4276
  }
4228
- if (message.storageLocation !== 0) {
4229
- obj.storageLocation = storageLocationToJSON(message.storageLocation);
4277
+ if (message.mainStorageLocation !== 0) {
4278
+ obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
4279
+ }
4280
+ if (message.guestportStorageLocation !== 0) {
4281
+ obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
4282
+ }
4283
+ if (message.multibeamStorageLocation !== 0) {
4284
+ obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
4230
4285
  }
4231
4286
  return obj;
4232
4287
  },
@@ -4244,7 +4299,9 @@ exports.RecordState = {
4244
4299
  message.multibeamIsRecording = object.multibeamIsRecording ?? false;
4245
4300
  message.multibeamSeconds = object.multibeamSeconds ?? 0;
4246
4301
  message.multibeamFps = object.multibeamFps ?? 0;
4247
- message.storageLocation = object.storageLocation ?? 0;
4302
+ message.mainStorageLocation = object.mainStorageLocation ?? 0;
4303
+ message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
4304
+ message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
4248
4305
  return message;
4249
4306
  },
4250
4307
  };
@@ -9976,6 +10033,7 @@ function createBaseCameraParameters() {
9976
10033
  streamingProtocol: 0,
9977
10034
  framerate: 0,
9978
10035
  camera: 0,
10036
+ mtuSize: 0,
9979
10037
  };
9980
10038
  }
9981
10039
  exports.CameraParameters = {
@@ -10046,6 +10104,9 @@ exports.CameraParameters = {
10046
10104
  if (message.camera !== 0) {
10047
10105
  writer.uint32(64).int32(message.camera);
10048
10106
  }
10107
+ if (message.mtuSize !== 0) {
10108
+ writer.uint32(192).uint32(message.mtuSize);
10109
+ }
10049
10110
  return writer;
10050
10111
  },
10051
10112
  decode(input, length) {
@@ -10209,6 +10270,13 @@ exports.CameraParameters = {
10209
10270
  message.camera = reader.int32();
10210
10271
  continue;
10211
10272
  }
10273
+ case 24: {
10274
+ if (tag !== 192) {
10275
+ break;
10276
+ }
10277
+ message.mtuSize = reader.uint32();
10278
+ continue;
10279
+ }
10212
10280
  }
10213
10281
  if ((tag & 7) === 4 || tag === 0) {
10214
10282
  break;
@@ -10241,6 +10309,7 @@ exports.CameraParameters = {
10241
10309
  streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
10242
10310
  framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
10243
10311
  camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
10312
+ mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
10244
10313
  };
10245
10314
  },
10246
10315
  toJSON(message) {
@@ -10311,6 +10380,9 @@ exports.CameraParameters = {
10311
10380
  if (message.camera !== 0) {
10312
10381
  obj.camera = cameraToJSON(message.camera);
10313
10382
  }
10383
+ if (message.mtuSize !== 0) {
10384
+ obj.mtuSize = Math.round(message.mtuSize);
10385
+ }
10314
10386
  return obj;
10315
10387
  },
10316
10388
  create(base) {
@@ -10340,6 +10412,7 @@ exports.CameraParameters = {
10340
10412
  message.streamingProtocol = object.streamingProtocol ?? 0;
10341
10413
  message.framerate = object.framerate ?? 0;
10342
10414
  message.camera = object.camera ?? 0;
10415
+ message.mtuSize = object.mtuSize ?? 0;
10343
10416
  return message;
10344
10417
  },
10345
10418
  };
package/dist/req_rep.d.ts CHANGED
@@ -209,6 +209,24 @@ export interface FlashEscSettingsRep {
209
209
  /** If the ESC settings were flashed successfully. */
210
210
  success: boolean;
211
211
  }
212
+ /** Request to set iperf task status. */
213
+ export interface SetIperfStatusReq {
214
+ /** If background iperf task should be enabled or disabled. */
215
+ enabled: boolean;
216
+ }
217
+ /** Response after setting iperf status. */
218
+ export interface SetIperfStatusRep {
219
+ /** If background iperf task is enabled or disabled. */
220
+ enabled: boolean;
221
+ }
222
+ /** Request to get current iperf task status. */
223
+ export interface GetIperfStatusReq {
224
+ }
225
+ /** Response with current iperf status. */
226
+ export interface GetIperfStatusRep {
227
+ /** If background iperf task is enabled or disabled. */
228
+ enabled: boolean;
229
+ }
212
230
  export declare const SetOverlayParametersReq: MessageFns<SetOverlayParametersReq>;
213
231
  export declare const SetOverlayParametersRep: MessageFns<SetOverlayParametersRep>;
214
232
  export declare const GetOverlayParametersReq: MessageFns<GetOverlayParametersReq>;
@@ -247,6 +265,10 @@ export declare const GetPersistentStorageSettingsReq: MessageFns<GetPersistentSt
247
265
  export declare const GetPersistentStorageSettingsRep: MessageFns<GetPersistentStorageSettingsRep>;
248
266
  export declare const FlashEscSettingsReq: MessageFns<FlashEscSettingsReq>;
249
267
  export declare const FlashEscSettingsRep: MessageFns<FlashEscSettingsRep>;
268
+ export declare const SetIperfStatusReq: MessageFns<SetIperfStatusReq>;
269
+ export declare const SetIperfStatusRep: MessageFns<SetIperfStatusRep>;
270
+ export declare const GetIperfStatusReq: MessageFns<GetIperfStatusReq>;
271
+ export declare const GetIperfStatusRep: MessageFns<GetIperfStatusRep>;
250
272
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
251
273
  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 {} ? {
252
274
  [K in keyof T]?: DeepPartial<T[K]>;
package/dist/req_rep.js CHANGED
@@ -5,7 +5,7 @@
5
5
  // protoc v3.21.12
6
6
  // source: req_rep.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.FlashEscSettingsRep = exports.FlashEscSettingsReq = exports.GetPersistentStorageSettingsRep = exports.GetPersistentStorageSettingsReq = exports.SetPersistentStorageSettingsRep = exports.SetPersistentStorageSettingsReq = exports.GetTelemetryRep = exports.GetTelemetryReq = exports.SetPubFrequencyRep = exports.SetPubFrequencyReq = exports.SetHeadingModeRep = exports.SetHeadingModeReq = exports.SetInstructionUpdateRep = exports.SetInstructionUpdateReq = exports.GetMissionRep = exports.GetMissionReq = exports.SetMissionRep = exports.SetMissionReq = exports.GetBatteryRep = exports.GetBatteryReq = exports.DisconnectClientRep = exports.DisconnectClientReq = exports.ConnectClientRep = exports.ConnectClientReq = exports.SetThicknessGaugeParametersRep = exports.SetThicknessGaugeParametersReq = exports.PingRep = exports.PingReq = exports.SyncTimeRep = exports.SyncTimeReq = exports.GetCameraParametersRep = exports.GetCameraParametersReq = exports.SetCameraParametersRep = exports.SetCameraParametersReq = exports.GetOverlayParametersRep = exports.GetOverlayParametersReq = exports.SetOverlayParametersRep = exports.SetOverlayParametersReq = void 0;
8
+ exports.GetIperfStatusRep = exports.GetIperfStatusReq = exports.SetIperfStatusRep = exports.SetIperfStatusReq = exports.FlashEscSettingsRep = exports.FlashEscSettingsReq = exports.GetPersistentStorageSettingsRep = exports.GetPersistentStorageSettingsReq = exports.SetPersistentStorageSettingsRep = exports.SetPersistentStorageSettingsReq = exports.GetTelemetryRep = exports.GetTelemetryReq = exports.SetPubFrequencyRep = exports.SetPubFrequencyReq = exports.SetHeadingModeRep = exports.SetHeadingModeReq = exports.SetInstructionUpdateRep = exports.SetInstructionUpdateReq = exports.GetMissionRep = exports.GetMissionReq = exports.SetMissionRep = exports.SetMissionReq = exports.GetBatteryRep = exports.GetBatteryReq = exports.DisconnectClientRep = exports.DisconnectClientReq = exports.ConnectClientRep = exports.ConnectClientReq = exports.SetThicknessGaugeParametersRep = exports.SetThicknessGaugeParametersReq = exports.PingRep = exports.PingReq = exports.SyncTimeRep = exports.SyncTimeReq = exports.GetCameraParametersRep = exports.GetCameraParametersReq = exports.SetCameraParametersRep = exports.SetCameraParametersReq = exports.GetOverlayParametersRep = exports.GetOverlayParametersReq = exports.SetOverlayParametersRep = exports.SetOverlayParametersReq = void 0;
9
9
  /* eslint-disable */
10
10
  const wire_1 = require("@bufbuild/protobuf/wire");
11
11
  const any_1 = require("./google/protobuf/any");
@@ -1899,6 +1899,196 @@ exports.FlashEscSettingsRep = {
1899
1899
  return message;
1900
1900
  },
1901
1901
  };
1902
+ function createBaseSetIperfStatusReq() {
1903
+ return { enabled: false };
1904
+ }
1905
+ exports.SetIperfStatusReq = {
1906
+ encode(message, writer = new wire_1.BinaryWriter()) {
1907
+ if (message.enabled !== false) {
1908
+ writer.uint32(8).bool(message.enabled);
1909
+ }
1910
+ return writer;
1911
+ },
1912
+ decode(input, length) {
1913
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1914
+ const end = length === undefined ? reader.len : reader.pos + length;
1915
+ const message = createBaseSetIperfStatusReq();
1916
+ while (reader.pos < end) {
1917
+ const tag = reader.uint32();
1918
+ switch (tag >>> 3) {
1919
+ case 1: {
1920
+ if (tag !== 8) {
1921
+ break;
1922
+ }
1923
+ message.enabled = reader.bool();
1924
+ continue;
1925
+ }
1926
+ }
1927
+ if ((tag & 7) === 4 || tag === 0) {
1928
+ break;
1929
+ }
1930
+ reader.skip(tag & 7);
1931
+ }
1932
+ return message;
1933
+ },
1934
+ fromJSON(object) {
1935
+ return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
1936
+ },
1937
+ toJSON(message) {
1938
+ const obj = {};
1939
+ if (message.enabled !== false) {
1940
+ obj.enabled = message.enabled;
1941
+ }
1942
+ return obj;
1943
+ },
1944
+ create(base) {
1945
+ return exports.SetIperfStatusReq.fromPartial(base ?? {});
1946
+ },
1947
+ fromPartial(object) {
1948
+ const message = createBaseSetIperfStatusReq();
1949
+ message.enabled = object.enabled ?? false;
1950
+ return message;
1951
+ },
1952
+ };
1953
+ function createBaseSetIperfStatusRep() {
1954
+ return { enabled: false };
1955
+ }
1956
+ exports.SetIperfStatusRep = {
1957
+ encode(message, writer = new wire_1.BinaryWriter()) {
1958
+ if (message.enabled !== false) {
1959
+ writer.uint32(8).bool(message.enabled);
1960
+ }
1961
+ return writer;
1962
+ },
1963
+ decode(input, length) {
1964
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1965
+ const end = length === undefined ? reader.len : reader.pos + length;
1966
+ const message = createBaseSetIperfStatusRep();
1967
+ while (reader.pos < end) {
1968
+ const tag = reader.uint32();
1969
+ switch (tag >>> 3) {
1970
+ case 1: {
1971
+ if (tag !== 8) {
1972
+ break;
1973
+ }
1974
+ message.enabled = reader.bool();
1975
+ continue;
1976
+ }
1977
+ }
1978
+ if ((tag & 7) === 4 || tag === 0) {
1979
+ break;
1980
+ }
1981
+ reader.skip(tag & 7);
1982
+ }
1983
+ return message;
1984
+ },
1985
+ fromJSON(object) {
1986
+ return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
1987
+ },
1988
+ toJSON(message) {
1989
+ const obj = {};
1990
+ if (message.enabled !== false) {
1991
+ obj.enabled = message.enabled;
1992
+ }
1993
+ return obj;
1994
+ },
1995
+ create(base) {
1996
+ return exports.SetIperfStatusRep.fromPartial(base ?? {});
1997
+ },
1998
+ fromPartial(object) {
1999
+ const message = createBaseSetIperfStatusRep();
2000
+ message.enabled = object.enabled ?? false;
2001
+ return message;
2002
+ },
2003
+ };
2004
+ function createBaseGetIperfStatusReq() {
2005
+ return {};
2006
+ }
2007
+ exports.GetIperfStatusReq = {
2008
+ encode(_, writer = new wire_1.BinaryWriter()) {
2009
+ return writer;
2010
+ },
2011
+ decode(input, length) {
2012
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2013
+ const end = length === undefined ? reader.len : reader.pos + length;
2014
+ const message = createBaseGetIperfStatusReq();
2015
+ while (reader.pos < end) {
2016
+ const tag = reader.uint32();
2017
+ switch (tag >>> 3) {
2018
+ }
2019
+ if ((tag & 7) === 4 || tag === 0) {
2020
+ break;
2021
+ }
2022
+ reader.skip(tag & 7);
2023
+ }
2024
+ return message;
2025
+ },
2026
+ fromJSON(_) {
2027
+ return {};
2028
+ },
2029
+ toJSON(_) {
2030
+ const obj = {};
2031
+ return obj;
2032
+ },
2033
+ create(base) {
2034
+ return exports.GetIperfStatusReq.fromPartial(base ?? {});
2035
+ },
2036
+ fromPartial(_) {
2037
+ const message = createBaseGetIperfStatusReq();
2038
+ return message;
2039
+ },
2040
+ };
2041
+ function createBaseGetIperfStatusRep() {
2042
+ return { enabled: false };
2043
+ }
2044
+ exports.GetIperfStatusRep = {
2045
+ encode(message, writer = new wire_1.BinaryWriter()) {
2046
+ if (message.enabled !== false) {
2047
+ writer.uint32(8).bool(message.enabled);
2048
+ }
2049
+ return writer;
2050
+ },
2051
+ decode(input, length) {
2052
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2053
+ const end = length === undefined ? reader.len : reader.pos + length;
2054
+ const message = createBaseGetIperfStatusRep();
2055
+ while (reader.pos < end) {
2056
+ const tag = reader.uint32();
2057
+ switch (tag >>> 3) {
2058
+ case 1: {
2059
+ if (tag !== 8) {
2060
+ break;
2061
+ }
2062
+ message.enabled = reader.bool();
2063
+ continue;
2064
+ }
2065
+ }
2066
+ if ((tag & 7) === 4 || tag === 0) {
2067
+ break;
2068
+ }
2069
+ reader.skip(tag & 7);
2070
+ }
2071
+ return message;
2072
+ },
2073
+ fromJSON(object) {
2074
+ return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
2075
+ },
2076
+ toJSON(message) {
2077
+ const obj = {};
2078
+ if (message.enabled !== false) {
2079
+ obj.enabled = message.enabled;
2080
+ }
2081
+ return obj;
2082
+ },
2083
+ create(base) {
2084
+ return exports.GetIperfStatusRep.fromPartial(base ?? {});
2085
+ },
2086
+ fromPartial(object) {
2087
+ const message = createBaseGetIperfStatusRep();
2088
+ message.enabled = object.enabled ?? false;
2089
+ return message;
2090
+ },
2091
+ };
1902
2092
  const gt = (() => {
1903
2093
  if (typeof globalThis !== "undefined") {
1904
2094
  return globalThis;
@@ -240,11 +240,15 @@ export interface ConnectedClientsTel {
240
240
  export interface GenericServoTel {
241
241
  /** Servo state. */
242
242
  servo: GenericServo | undefined;
243
+ /** Servo set point (0..1). */
244
+ setPoint: number;
243
245
  }
244
246
  /** State of the servo installed in the multibeam. */
245
247
  export interface MultibeamServoTel {
246
248
  /** Multibeam servo state. */
247
249
  servo: MultibeamServo | undefined;
250
+ /** Servo set point (-30..30). */
251
+ setPoint: number;
248
252
  }
249
253
  /** GuestPort current readings. */
250
254
  export interface GuestPortCurrentTel {
package/dist/telemetry.js CHANGED
@@ -2418,13 +2418,16 @@ exports.ConnectedClientsTel = {
2418
2418
  },
2419
2419
  };
2420
2420
  function createBaseGenericServoTel() {
2421
- return { servo: undefined };
2421
+ return { servo: undefined, setPoint: 0 };
2422
2422
  }
2423
2423
  exports.GenericServoTel = {
2424
2424
  encode(message, writer = new wire_1.BinaryWriter()) {
2425
2425
  if (message.servo !== undefined) {
2426
2426
  message_formats_1.GenericServo.encode(message.servo, writer.uint32(10).fork()).join();
2427
2427
  }
2428
+ if (message.setPoint !== 0) {
2429
+ writer.uint32(21).float(message.setPoint);
2430
+ }
2428
2431
  return writer;
2429
2432
  },
2430
2433
  decode(input, length) {
@@ -2441,6 +2444,13 @@ exports.GenericServoTel = {
2441
2444
  message.servo = message_formats_1.GenericServo.decode(reader, reader.uint32());
2442
2445
  continue;
2443
2446
  }
2447
+ case 2: {
2448
+ if (tag !== 21) {
2449
+ break;
2450
+ }
2451
+ message.setPoint = reader.float();
2452
+ continue;
2453
+ }
2444
2454
  }
2445
2455
  if ((tag & 7) === 4 || tag === 0) {
2446
2456
  break;
@@ -2450,13 +2460,19 @@ exports.GenericServoTel = {
2450
2460
  return message;
2451
2461
  },
2452
2462
  fromJSON(object) {
2453
- return { servo: isSet(object.servo) ? message_formats_1.GenericServo.fromJSON(object.servo) : undefined };
2463
+ return {
2464
+ servo: isSet(object.servo) ? message_formats_1.GenericServo.fromJSON(object.servo) : undefined,
2465
+ setPoint: isSet(object.setPoint) ? gt.Number(object.setPoint) : 0,
2466
+ };
2454
2467
  },
2455
2468
  toJSON(message) {
2456
2469
  const obj = {};
2457
2470
  if (message.servo !== undefined) {
2458
2471
  obj.servo = message_formats_1.GenericServo.toJSON(message.servo);
2459
2472
  }
2473
+ if (message.setPoint !== 0) {
2474
+ obj.setPoint = message.setPoint;
2475
+ }
2460
2476
  return obj;
2461
2477
  },
2462
2478
  create(base) {
@@ -2467,17 +2483,21 @@ exports.GenericServoTel = {
2467
2483
  message.servo = (object.servo !== undefined && object.servo !== null)
2468
2484
  ? message_formats_1.GenericServo.fromPartial(object.servo)
2469
2485
  : undefined;
2486
+ message.setPoint = object.setPoint ?? 0;
2470
2487
  return message;
2471
2488
  },
2472
2489
  };
2473
2490
  function createBaseMultibeamServoTel() {
2474
- return { servo: undefined };
2491
+ return { servo: undefined, setPoint: 0 };
2475
2492
  }
2476
2493
  exports.MultibeamServoTel = {
2477
2494
  encode(message, writer = new wire_1.BinaryWriter()) {
2478
2495
  if (message.servo !== undefined) {
2479
2496
  message_formats_1.MultibeamServo.encode(message.servo, writer.uint32(10).fork()).join();
2480
2497
  }
2498
+ if (message.setPoint !== 0) {
2499
+ writer.uint32(21).float(message.setPoint);
2500
+ }
2481
2501
  return writer;
2482
2502
  },
2483
2503
  decode(input, length) {
@@ -2494,6 +2514,13 @@ exports.MultibeamServoTel = {
2494
2514
  message.servo = message_formats_1.MultibeamServo.decode(reader, reader.uint32());
2495
2515
  continue;
2496
2516
  }
2517
+ case 2: {
2518
+ if (tag !== 21) {
2519
+ break;
2520
+ }
2521
+ message.setPoint = reader.float();
2522
+ continue;
2523
+ }
2497
2524
  }
2498
2525
  if ((tag & 7) === 4 || tag === 0) {
2499
2526
  break;
@@ -2503,13 +2530,19 @@ exports.MultibeamServoTel = {
2503
2530
  return message;
2504
2531
  },
2505
2532
  fromJSON(object) {
2506
- return { servo: isSet(object.servo) ? message_formats_1.MultibeamServo.fromJSON(object.servo) : undefined };
2533
+ return {
2534
+ servo: isSet(object.servo) ? message_formats_1.MultibeamServo.fromJSON(object.servo) : undefined,
2535
+ setPoint: isSet(object.setPoint) ? gt.Number(object.setPoint) : 0,
2536
+ };
2507
2537
  },
2508
2538
  toJSON(message) {
2509
2539
  const obj = {};
2510
2540
  if (message.servo !== undefined) {
2511
2541
  obj.servo = message_formats_1.MultibeamServo.toJSON(message.servo);
2512
2542
  }
2543
+ if (message.setPoint !== 0) {
2544
+ obj.setPoint = message.setPoint;
2545
+ }
2513
2546
  return obj;
2514
2547
  },
2515
2548
  create(base) {
@@ -2520,6 +2553,7 @@ exports.MultibeamServoTel = {
2520
2553
  message.servo = (object.servo !== undefined && object.servo !== null)
2521
2554
  ? message_formats_1.MultibeamServo.fromPartial(object.servo)
2522
2555
  : undefined;
2556
+ message.setPoint = object.setPoint ?? 0;
2523
2557
  return message;
2524
2558
  },
2525
2559
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueyerobotics/protocol-definitions",
3
- "version": "3.2.0-946df8e4",
3
+ "version": "3.2.0-98aafe92",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "TypeScript definitions for Blueye Robotics protocols",
6
6
  "repository": {