@blueyerobotics/protocol-definitions 3.2.0-9f6199cf → 3.2.0-ac052e11

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 {
@@ -205,6 +209,16 @@ export interface StartDiveCtrl {
205
209
  */
206
210
  export interface EndDiveCtrl {
207
211
  }
212
+ /**
213
+ * Message sent when the user wants to format a connected removable storage device.
214
+ *
215
+ * The app will receive a RemovableStorageTel message with information about the newly formatted drive.
216
+ *
217
+ * Warning: The drone will delete any partitions and format the drive with a single exFat partition.
218
+ * Any data on the drive will be lost.
219
+ */
220
+ export interface FormatRemovableStorageDeviceCtrl {
221
+ }
208
222
  export declare const MotionInputCtrl: MessageFns<MotionInputCtrl>;
209
223
  export declare const TiltVelocityCtrl: MessageFns<TiltVelocityCtrl>;
210
224
  export declare const LightsCtrl: MessageFns<LightsCtrl>;
@@ -247,6 +261,7 @@ export declare const ActivateMultibeamCtrl: MessageFns<ActivateMultibeamCtrl>;
247
261
  export declare const DeactivateMultibeamCtrl: MessageFns<DeactivateMultibeamCtrl>;
248
262
  export declare const StartDiveCtrl: MessageFns<StartDiveCtrl>;
249
263
  export declare const EndDiveCtrl: MessageFns<EndDiveCtrl>;
264
+ export declare const FormatRemovableStorageDeviceCtrl: MessageFns<FormatRemovableStorageDeviceCtrl>;
250
265
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
251
266
  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
267
  [K in keyof T]?: DeepPartial<T[K]>;
package/dist/control.js CHANGED
@@ -1,11 +1,11 @@
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 });
8
- exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
8
+ exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
9
9
  /* eslint-disable */
10
10
  const wire_1 = require("@bufbuild/protobuf/wire");
11
11
  const aquatroll_1 = require("./aquatroll");
@@ -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
  };
@@ -2041,6 +2072,43 @@ exports.EndDiveCtrl = {
2041
2072
  return message;
2042
2073
  },
2043
2074
  };
2075
+ function createBaseFormatRemovableStorageDeviceCtrl() {
2076
+ return {};
2077
+ }
2078
+ exports.FormatRemovableStorageDeviceCtrl = {
2079
+ encode(_, writer = new wire_1.BinaryWriter()) {
2080
+ return writer;
2081
+ },
2082
+ decode(input, length) {
2083
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2084
+ const end = length === undefined ? reader.len : reader.pos + length;
2085
+ const message = createBaseFormatRemovableStorageDeviceCtrl();
2086
+ while (reader.pos < end) {
2087
+ const tag = reader.uint32();
2088
+ switch (tag >>> 3) {
2089
+ }
2090
+ if ((tag & 7) === 4 || tag === 0) {
2091
+ break;
2092
+ }
2093
+ reader.skip(tag & 7);
2094
+ }
2095
+ return message;
2096
+ },
2097
+ fromJSON(_) {
2098
+ return {};
2099
+ },
2100
+ toJSON(_) {
2101
+ const obj = {};
2102
+ return obj;
2103
+ },
2104
+ create(base) {
2105
+ return exports.FormatRemovableStorageDeviceCtrl.fromPartial(base ?? {});
2106
+ },
2107
+ fromPartial(_) {
2108
+ const message = createBaseFormatRemovableStorageDeviceCtrl();
2109
+ return message;
2110
+ },
2111
+ };
2044
2112
  const gt = (() => {
2045
2113
  if (typeof globalThis !== "undefined") {
2046
2114
  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: 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;
@@ -505,9 +536,9 @@ export interface LogEntry {
505
536
  processId: number;
506
537
  /** Thread ID of the log entry. */
507
538
  threadId: number;
508
- /** Source of the log entry, such as "Blueye App", "Drone Supervisor", etc. */
539
+ /** Source of the log entry (specific class or named logger). */
509
540
  source: string;
510
- /** Log level, info, warning, or error. */
541
+ /** Log level, info, warning, error, etc. */
511
542
  level: LogEntry_LogLevel;
512
543
  /** Log message. */
513
544
  message: string;
@@ -700,6 +731,8 @@ export interface RecordState {
700
731
  multibeamSeconds: number;
701
732
  /** Multibeam record fps. */
702
733
  multibeamFps: number;
734
+ /** Storage location used for recording. */
735
+ storageLocation: StorageLocation;
703
736
  }
704
737
  /** Time-lapse state published if time-lapse mission is running. */
705
738
  export interface TimeLapseState {
@@ -1167,7 +1200,7 @@ export interface DiveTime {
1167
1200
  /** Number of seconds the drone has been submerged. */
1168
1201
  value: number;
1169
1202
  }
1170
- /** Which cameras are supposed to be recording. */
1203
+ /** Which cameras or multibeam are supposed to be recording. */
1171
1204
  export interface RecordOn {
1172
1205
  /** Record the main camera. */
1173
1206
  main: boolean;
@@ -1183,6 +1216,61 @@ export interface StorageSpace {
1183
1216
  /** Available bytes of storage space (B). */
1184
1217
  freeSpace: number;
1185
1218
  }
1219
+ /** Storage partition. */
1220
+ export interface StoragePartition {
1221
+ /** The amount of storage space on the device. */
1222
+ storageSpace: StorageSpace | undefined;
1223
+ /** File system type of the removable storage device. */
1224
+ fileSystemType: string;
1225
+ /** Partition device path */
1226
+ devicePath: string;
1227
+ /** Mount path of the partition. */
1228
+ mountPath: string;
1229
+ }
1230
+ /** Removable storage device. */
1231
+ export interface RemovableStorageDevice {
1232
+ /** USB vendor name. */
1233
+ vendorName: string;
1234
+ /** Model name of the USB storage device. */
1235
+ modelName: string;
1236
+ /** Mount path of the storage device. */
1237
+ devicePath: string;
1238
+ /** Status of the storage device. */
1239
+ status: RemovableStorageDevice_Status;
1240
+ /** Any active error flags for the storage device. */
1241
+ errorFlags: RemovableStorageErrorFlags | undefined;
1242
+ /** List of partitions on the storage device. */
1243
+ partitions: StoragePartition[];
1244
+ }
1245
+ /** Overall status of the storage device. */
1246
+ export declare enum RemovableStorageDevice_Status {
1247
+ /** STATUS_UNSPECIFIED - Unspecified. */
1248
+ STATUS_UNSPECIFIED = 0,
1249
+ /** STATUS_READY - The storage device is valid and ready for use. */
1250
+ STATUS_READY = 1,
1251
+ /** STATUS_FORMATTING - The storage device is being formatted */
1252
+ STATUS_FORMATTING = 2,
1253
+ /** STATUS_ERROR - The storage device is in an error state. */
1254
+ STATUS_ERROR = 3,
1255
+ UNRECOGNIZED = -1
1256
+ }
1257
+ export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
1258
+ export declare function removableStorageDevice_StatusToJSON(object: RemovableStorageDevice_Status): string;
1259
+ /** Error flags related to a removable storage device. */
1260
+ export interface RemovableStorageErrorFlags {
1261
+ /** Optional error message to give additional information from the drone to a client about active error flags. */
1262
+ errorMessage: string;
1263
+ /** Device is attached but no partitions are found. */
1264
+ noPartitionsFound: boolean;
1265
+ /** Multiple partitions are found. */
1266
+ multiplePartitionsFound: boolean;
1267
+ /** The wrong file system is found. */
1268
+ wrongFileSystemFound: boolean;
1269
+ /** The device is in read-only mode. */
1270
+ deviceIsReadOnly: boolean;
1271
+ /** Formatting of the device failed. */
1272
+ formattingFailed: boolean;
1273
+ }
1186
1274
  /** Compass calibration state. */
1187
1275
  export interface CalibrationState {
1188
1276
  /** Current calibration status. */
@@ -1205,7 +1293,7 @@ export interface CalibrationState {
1205
1293
  /**
1206
1294
  * Status of the compass calibration procedure.
1207
1295
  *
1208
- * When calibration is started, the status will indicate the active (upfacing) axis.
1296
+ * When calibration is started, the status will indicate the active (up facing) axis.
1209
1297
  */
1210
1298
  export declare enum CalibrationState_Status {
1211
1299
  /** STATUS_UNSPECIFIED - Unspecified status. */
@@ -1226,7 +1314,7 @@ export declare enum CalibrationState_Status {
1226
1314
  STATUS_CALIBRATING_Z_POSITIVE = 7,
1227
1315
  /** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
1228
1316
  STATUS_CALIBRATING_Z_NEGATIVE = 8,
1229
- /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interferance. */
1317
+ /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
1230
1318
  STATUS_CALIBRATING_THRUSTER = 9,
1231
1319
  UNRECOGNIZED = -1
1232
1320
  }
@@ -1392,18 +1480,40 @@ export interface CameraParameters {
1392
1480
  mjpgBitrate: number;
1393
1481
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1394
1482
  exposure: number;
1395
- /** White balance temperature (2800..9300), -1 for automatic white balance. */
1483
+ /** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
1396
1484
  whiteBalance: number;
1397
- /** Hue (-40..40), 0 as default. */
1485
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1398
1486
  hue: number;
1399
- /** Iso gain (0..1). */
1487
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1400
1488
  gain: number;
1489
+ /** Brightness (-10..10), 0 as default. Only available on Ultra */
1490
+ brightness: number;
1491
+ /** Contrast (-50..50), 0 as default. Only available on Ultra. */
1492
+ contrast: number;
1493
+ /** Saturation (0..50), 8 as default. Only available on Ultra. */
1494
+ saturation: number;
1495
+ /** Gamma (4..79), 22 as default. Only available on Ultra. */
1496
+ gamma: number;
1497
+ /** Sharpness (-20..20), -20 as default. Only available on Ultra. */
1498
+ sharpness: number;
1499
+ /** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
1500
+ backlightCompensation: number;
1501
+ /** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
1502
+ denoise: number;
1503
+ /** Enable eHDR mode. Default true. Only available on Ultra. */
1504
+ ehdrEnabled: boolean;
1505
+ /** Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra. */
1506
+ ehdrExposureMinNumber: number;
1507
+ /** Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate. */
1508
+ ehdrExposureMaxNumber: number;
1401
1509
  /** Stream, recording and image resolution (deprecated). */
1402
1510
  resolution: Resolution;
1403
1511
  /** Stream resolution. */
1404
1512
  streamResolution: Resolution;
1405
1513
  /** Recording and image resolution. */
1406
1514
  recordingResolution: Resolution;
1515
+ /** Streaming protocol. */
1516
+ streamingProtocol: StreamingProtocol;
1407
1517
  /** Stream and recording framerate. */
1408
1518
  framerate: Framerate;
1409
1519
  /** Which camera the parameters belong to. */
@@ -1787,6 +1897,39 @@ export interface CPUInfo {
1787
1897
  mainQueueLoad: number;
1788
1898
  /** Guestport queue load (0..1). */
1789
1899
  guestportQueueLoad: number;
1900
+ /** Communication queue load (0..1). */
1901
+ commQueueLoad: number;
1902
+ }
1903
+ /**
1904
+ * Surface Unit battery information.
1905
+ *
1906
+ * This message is published by the Surface Unit, and re-published by
1907
+ * the drone over the communication protocol.
1908
+ */
1909
+ export interface SurfaceUnitBatteryInfo {
1910
+ /** Battery charge status. */
1911
+ status: SurfaceUnitBatteryInfo_ChargeStatus;
1912
+ /** Battery level (0..1). */
1913
+ level: number;
1914
+ }
1915
+ export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
1916
+ CHARGE_STATUS_UNSPECIFIED = 0,
1917
+ CHARGE_STATUS_DISCHARGE = 1,
1918
+ CHARGE_STATUS_CHARGE = 2,
1919
+ CHARGE_STATUS_CHARGE_ERROR = 3,
1920
+ UNRECOGNIZED = -1
1921
+ }
1922
+ export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
1923
+ export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
1924
+ /**
1925
+ * Surface Unit version information.
1926
+ *
1927
+ * This message is published by the Surface Unit, and re-published by
1928
+ * the drone over the communication protocol.
1929
+ */
1930
+ export interface SurfaceUnitVersionInfo {
1931
+ /** Surface Unit firmware version (x.y.z). */
1932
+ version: string;
1790
1933
  }
1791
1934
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1792
1935
  export declare const LogEntry: MessageFns<LogEntry>;
@@ -1841,6 +1984,9 @@ export declare const ControllerHealth: MessageFns<ControllerHealth>;
1841
1984
  export declare const DiveTime: MessageFns<DiveTime>;
1842
1985
  export declare const RecordOn: MessageFns<RecordOn>;
1843
1986
  export declare const StorageSpace: MessageFns<StorageSpace>;
1987
+ export declare const StoragePartition: MessageFns<StoragePartition>;
1988
+ export declare const RemovableStorageDevice: MessageFns<RemovableStorageDevice>;
1989
+ export declare const RemovableStorageErrorFlags: MessageFns<RemovableStorageErrorFlags>;
1844
1990
  export declare const CalibrationState: MessageFns<CalibrationState>;
1845
1991
  export declare const IperfStatus: MessageFns<IperfStatus>;
1846
1992
  export declare const NStreamers: MessageFns<NStreamers>;
@@ -1872,6 +2018,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1872
2018
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1873
2019
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1874
2020
  export declare const CPUInfo: MessageFns<CPUInfo>;
2021
+ export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2022
+ export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
1875
2023
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1876
2024
  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 {} ? {
1877
2025
  [K in keyof T]?: DeepPartial<T[K]>;