@blueyerobotics/protocol-definitions 3.2.0-dc5787fd → 3.2.0-f9c8c50d

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.
@@ -424,18 +424,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
424
424
  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 {} ? {
425
425
  [K in keyof T]?: DeepPartial<T[K]>;
426
426
  } : Partial<T>;
427
- type KeysOfUnion<T> = T extends T ? keyof T : never;
428
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
429
- [K in keyof P]: Exact<P[K], I[K]>;
430
- } & {
431
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
432
- };
433
427
  interface MessageFns<T> {
434
428
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
435
429
  decode(input: BinaryReader | Uint8Array, length?: number): T;
436
430
  fromJSON(object: any): T;
437
431
  toJSON(message: T): unknown;
438
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
439
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
432
+ create(base?: DeepPartial<T>): T;
433
+ fromPartial(object: DeepPartial<T>): T;
440
434
  }
441
435
  export {};
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
@@ -205,6 +205,16 @@ export interface StartDiveCtrl {
205
205
  */
206
206
  export interface EndDiveCtrl {
207
207
  }
208
+ /**
209
+ * Message sent when the user wants to format a connected removable storage device.
210
+ *
211
+ * The app will receive a RemovableStorageTel message with information about the newly formatted drive.
212
+ *
213
+ * Warning: The drone will delete any partitions and format the drive with a single exFat partition.
214
+ * Any data on the drive will be lost.
215
+ */
216
+ export interface FormatRemovableStorageDeviceCtrl {
217
+ }
208
218
  export declare const MotionInputCtrl: MessageFns<MotionInputCtrl>;
209
219
  export declare const TiltVelocityCtrl: MessageFns<TiltVelocityCtrl>;
210
220
  export declare const LightsCtrl: MessageFns<LightsCtrl>;
@@ -247,22 +257,17 @@ export declare const ActivateMultibeamCtrl: MessageFns<ActivateMultibeamCtrl>;
247
257
  export declare const DeactivateMultibeamCtrl: MessageFns<DeactivateMultibeamCtrl>;
248
258
  export declare const StartDiveCtrl: MessageFns<StartDiveCtrl>;
249
259
  export declare const EndDiveCtrl: MessageFns<EndDiveCtrl>;
260
+ export declare const FormatRemovableStorageDeviceCtrl: MessageFns<FormatRemovableStorageDeviceCtrl>;
250
261
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
251
262
  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
263
  [K in keyof T]?: DeepPartial<T[K]>;
253
264
  } : Partial<T>;
254
- type KeysOfUnion<T> = T extends T ? keyof T : never;
255
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
256
- [K in keyof P]: Exact<P[K], I[K]>;
257
- } & {
258
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
259
- };
260
265
  interface MessageFns<T> {
261
266
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
262
267
  decode(input: BinaryReader | Uint8Array, length?: number): T;
263
268
  fromJSON(object: any): T;
264
269
  toJSON(message: T): unknown;
265
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
266
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
270
+ create(base?: DeepPartial<T>): T;
271
+ fromPartial(object: DeepPartial<T>): T;
267
272
  }
268
273
  export {};
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");
@@ -2041,6 +2041,43 @@ exports.EndDiveCtrl = {
2041
2041
  return message;
2042
2042
  },
2043
2043
  };
2044
+ function createBaseFormatRemovableStorageDeviceCtrl() {
2045
+ return {};
2046
+ }
2047
+ exports.FormatRemovableStorageDeviceCtrl = {
2048
+ encode(_, writer = new wire_1.BinaryWriter()) {
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 = createBaseFormatRemovableStorageDeviceCtrl();
2055
+ while (reader.pos < end) {
2056
+ const tag = reader.uint32();
2057
+ switch (tag >>> 3) {
2058
+ }
2059
+ if ((tag & 7) === 4 || tag === 0) {
2060
+ break;
2061
+ }
2062
+ reader.skip(tag & 7);
2063
+ }
2064
+ return message;
2065
+ },
2066
+ fromJSON(_) {
2067
+ return {};
2068
+ },
2069
+ toJSON(_) {
2070
+ const obj = {};
2071
+ return obj;
2072
+ },
2073
+ create(base) {
2074
+ return exports.FormatRemovableStorageDeviceCtrl.fromPartial(base ?? {});
2075
+ },
2076
+ fromPartial(_) {
2077
+ const message = createBaseFormatRemovableStorageDeviceCtrl();
2078
+ return message;
2079
+ },
2080
+ };
2044
2081
  const gt = (() => {
2045
2082
  if (typeof globalThis !== "undefined") {
2046
2083
  return globalThis;
@@ -121,18 +121,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
121
121
  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 {} ? {
122
122
  [K in keyof T]?: DeepPartial<T[K]>;
123
123
  } : Partial<T>;
124
- type KeysOfUnion<T> = T extends T ? keyof T : never;
125
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
126
- [K in keyof P]: Exact<P[K], I[K]>;
127
- } & {
128
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
129
- };
130
124
  interface MessageFns<T> {
131
125
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
132
126
  decode(input: BinaryReader | Uint8Array, length?: number): T;
133
127
  fromJSON(object: any): T;
134
128
  toJSON(message: T): unknown;
135
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
136
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
129
+ create(base?: DeepPartial<T>): T;
130
+ fromPartial(object: DeepPartial<T>): T;
137
131
  }
138
132
  export {};
@@ -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 });
@@ -81,18 +81,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
81
81
  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 {} ? {
82
82
  [K in keyof T]?: DeepPartial<T[K]>;
83
83
  } : Partial<T>;
84
- type KeysOfUnion<T> = T extends T ? keyof T : never;
85
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
86
- [K in keyof P]: Exact<P[K], I[K]>;
87
- } & {
88
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
89
- };
90
84
  interface MessageFns<T> {
91
85
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
92
86
  decode(input: BinaryReader | Uint8Array, length?: number): T;
93
87
  fromJSON(object: any): T;
94
88
  toJSON(message: T): unknown;
95
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
96
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
89
+ create(base?: DeepPartial<T>): T;
90
+ fromPartial(object: DeepPartial<T>): T;
97
91
  }
98
92
  export {};
@@ -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 });
@@ -110,18 +110,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
110
110
  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 {} ? {
111
111
  [K in keyof T]?: DeepPartial<T[K]>;
112
112
  } : Partial<T>;
113
- type KeysOfUnion<T> = T extends T ? keyof T : never;
114
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
115
- [K in keyof P]: Exact<P[K], I[K]>;
116
- } & {
117
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
118
- };
119
113
  interface MessageFns<T> {
120
114
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
121
115
  decode(input: BinaryReader | Uint8Array, length?: number): T;
122
116
  fromJSON(object: any): T;
123
117
  toJSON(message: T): unknown;
124
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
125
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
118
+ create(base?: DeepPartial<T>): T;
119
+ fromPartial(object: DeepPartial<T>): T;
126
120
  }
127
121
  export {};
@@ -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. */
@@ -390,6 +405,8 @@ export declare enum GuestPortDeviceID {
390
405
  GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
391
406
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
392
407
  GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
408
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
409
+ GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
393
410
  UNRECOGNIZED = -1
394
411
  }
395
412
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -491,6 +508,46 @@ export interface BinlogRecord {
491
508
  /** Posix CLOCK_MONOTONIC timestamp. */
492
509
  clockMonotonic: Date | undefined;
493
510
  }
511
+ /**
512
+ * Log entry
513
+ *
514
+ * Used to store ROS log entries in the bez file
515
+ */
516
+ export interface LogEntry {
517
+ /** Timestamp of the log entry. */
518
+ timestamp: Date | undefined;
519
+ /** Name of the process that generated the log entry. */
520
+ processName: string;
521
+ /** Process ID of the log entry. */
522
+ processId: number;
523
+ /** Thread ID of the log entry. */
524
+ threadId: number;
525
+ /** Source of the log entry (specific class or named logger). */
526
+ source: string;
527
+ /** Log level, info, warning, error, etc. */
528
+ level: LogEntry_LogLevel;
529
+ /** Log message. */
530
+ message: string;
531
+ }
532
+ export declare enum LogEntry_LogLevel {
533
+ /** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
534
+ LOG_LEVEL_UNSPECIFIED = 0,
535
+ /** LOG_LEVEL_TRACE - Trace log level. */
536
+ LOG_LEVEL_TRACE = 1,
537
+ /** LOG_LEVEL_DEBUG - Debug log level. */
538
+ LOG_LEVEL_DEBUG = 2,
539
+ /** LOG_LEVEL_INFO - Info log level. */
540
+ LOG_LEVEL_INFO = 3,
541
+ /** LOG_LEVEL_WARNING - Warning log level. */
542
+ LOG_LEVEL_WARNING = 4,
543
+ /** LOG_LEVEL_ERROR - Error log level. */
544
+ LOG_LEVEL_ERROR = 5,
545
+ /** LOG_LEVEL_CRITICAL - Critical log level. */
546
+ LOG_LEVEL_CRITICAL = 6,
547
+ UNRECOGNIZED = -1
548
+ }
549
+ export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
550
+ export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
494
551
  /** If you use both values at the same time they cancel each other out. */
495
552
  export interface MotionInput {
496
553
  /** Forward (positive) and backwards (negative) movement. (-1..1). */
@@ -1143,6 +1200,61 @@ export interface StorageSpace {
1143
1200
  /** Available bytes of storage space (B). */
1144
1201
  freeSpace: number;
1145
1202
  }
1203
+ /** Storage partition. */
1204
+ export interface StoragePartition {
1205
+ /** The amount of storage space on the device. */
1206
+ storageSpace: StorageSpace | undefined;
1207
+ /** File system type of the removable storage device. */
1208
+ fileSystemType: string;
1209
+ /** Partition device path */
1210
+ devicePath: string;
1211
+ /** Mount path of the partition. */
1212
+ mountPath: string;
1213
+ }
1214
+ /** Removable storage device. */
1215
+ export interface RemovableStorageDevice {
1216
+ /** USB vendor name. */
1217
+ vendorName: string;
1218
+ /** Model name of the USB storage device. */
1219
+ modelName: string;
1220
+ /** Mount path of the storage device. */
1221
+ devicePath: string;
1222
+ /** Status of the storage device. */
1223
+ status: RemovableStorageDevice_Status;
1224
+ /** Any active error flags for the storage device. */
1225
+ errorFlags: RemovableStorageErrorFlags | undefined;
1226
+ /** List of partitions on the storage device. */
1227
+ partitions: StoragePartition[];
1228
+ }
1229
+ /** Overall status of the storage device. */
1230
+ export declare enum RemovableStorageDevice_Status {
1231
+ /** STATUS_UNSPECIFIED - Unspecified. */
1232
+ STATUS_UNSPECIFIED = 0,
1233
+ /** STATUS_READY - The storage device is valid and ready for use. */
1234
+ STATUS_READY = 1,
1235
+ /** STATUS_FORMATTING - The storage device is being formatted */
1236
+ STATUS_FORMATTING = 2,
1237
+ /** STATUS_ERROR - The storage device is in an error state. */
1238
+ STATUS_ERROR = 3,
1239
+ UNRECOGNIZED = -1
1240
+ }
1241
+ export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
1242
+ export declare function removableStorageDevice_StatusToJSON(object: RemovableStorageDevice_Status): string;
1243
+ /** Error flags related to a removable storage device. */
1244
+ export interface RemovableStorageErrorFlags {
1245
+ /** Optional error message to give additional information from the drone to a client about active error flags. */
1246
+ errorMessage: string;
1247
+ /** Device is attached but no partitions are found. */
1248
+ noPartitionsFound: boolean;
1249
+ /** Multiple partitions are found. */
1250
+ multiplePartitionsFound: boolean;
1251
+ /** The wrong file system is found. */
1252
+ wrongFileSystemFound: boolean;
1253
+ /** The device is in read-only mode. */
1254
+ deviceIsReadOnly: boolean;
1255
+ /** Formatting of the device failed. */
1256
+ formattingFailed: boolean;
1257
+ }
1146
1258
  /** Compass calibration state. */
1147
1259
  export interface CalibrationState {
1148
1260
  /** Current calibration status. */
@@ -1165,7 +1277,7 @@ export interface CalibrationState {
1165
1277
  /**
1166
1278
  * Status of the compass calibration procedure.
1167
1279
  *
1168
- * When calibration is started, the status will indicate the active (upfacing) axis.
1280
+ * When calibration is started, the status will indicate the active (up facing) axis.
1169
1281
  */
1170
1282
  export declare enum CalibrationState_Status {
1171
1283
  /** STATUS_UNSPECIFIED - Unspecified status. */
@@ -1186,7 +1298,7 @@ export declare enum CalibrationState_Status {
1186
1298
  STATUS_CALIBRATING_Z_POSITIVE = 7,
1187
1299
  /** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
1188
1300
  STATUS_CALIBRATING_Z_NEGATIVE = 8,
1189
- /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interferance. */
1301
+ /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
1190
1302
  STATUS_CALIBRATING_THRUSTER = 9,
1191
1303
  UNRECOGNIZED = -1
1192
1304
  }
@@ -1352,22 +1464,40 @@ export interface CameraParameters {
1352
1464
  mjpgBitrate: number;
1353
1465
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1354
1466
  exposure: number;
1355
- /** 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. */
1356
1468
  whiteBalance: number;
1357
- /** Hue (-40..40), 0 as default. */
1469
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1358
1470
  hue: number;
1359
- /** Iso gain (0..1). */
1471
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1360
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;
1361
1487
  /** Stream, recording and image resolution (deprecated). */
1362
1488
  resolution: Resolution;
1363
1489
  /** Stream resolution. */
1364
1490
  streamResolution: Resolution;
1365
1491
  /** Recording and image resolution. */
1366
1492
  recordingResolution: Resolution;
1493
+ /** Streaming protocol. */
1494
+ streamingProtocol: StreamingProtocol;
1367
1495
  /** Stream and recording framerate. */
1368
1496
  framerate: Framerate;
1369
1497
  /** Which camera the parameters belong to. */
1370
1498
  camera: Camera;
1499
+ /** Prioritize fixed frame rate over quality on Ultra. */
1500
+ fixedFramerate: boolean;
1371
1501
  }
1372
1502
  /**
1373
1503
  * Overlay parameters.
@@ -1747,8 +1877,42 @@ export interface CPUInfo {
1747
1877
  mainQueueLoad: number;
1748
1878
  /** Guestport queue load (0..1). */
1749
1879
  guestportQueueLoad: number;
1880
+ /** Communication queue load (0..1). */
1881
+ commQueueLoad: number;
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;
1750
1913
  }
1751
1914
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1915
+ export declare const LogEntry: MessageFns<LogEntry>;
1752
1916
  export declare const MotionInput: MessageFns<MotionInput>;
1753
1917
  export declare const Lights: MessageFns<Lights>;
1754
1918
  export declare const Laser: MessageFns<Laser>;
@@ -1800,6 +1964,9 @@ export declare const ControllerHealth: MessageFns<ControllerHealth>;
1800
1964
  export declare const DiveTime: MessageFns<DiveTime>;
1801
1965
  export declare const RecordOn: MessageFns<RecordOn>;
1802
1966
  export declare const StorageSpace: MessageFns<StorageSpace>;
1967
+ export declare const StoragePartition: MessageFns<StoragePartition>;
1968
+ export declare const RemovableStorageDevice: MessageFns<RemovableStorageDevice>;
1969
+ export declare const RemovableStorageErrorFlags: MessageFns<RemovableStorageErrorFlags>;
1803
1970
  export declare const CalibrationState: MessageFns<CalibrationState>;
1804
1971
  export declare const IperfStatus: MessageFns<IperfStatus>;
1805
1972
  export declare const NStreamers: MessageFns<NStreamers>;
@@ -1831,22 +1998,18 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1831
1998
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1832
1999
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1833
2000
  export declare const CPUInfo: MessageFns<CPUInfo>;
2001
+ export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2002
+ export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
1834
2003
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1835
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 {} ? {
1836
2005
  [K in keyof T]?: DeepPartial<T[K]>;
1837
2006
  } : Partial<T>;
1838
- type KeysOfUnion<T> = T extends T ? keyof T : never;
1839
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
1840
- [K in keyof P]: Exact<P[K], I[K]>;
1841
- } & {
1842
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1843
- };
1844
2007
  interface MessageFns<T> {
1845
2008
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
1846
2009
  decode(input: BinaryReader | Uint8Array, length?: number): T;
1847
2010
  fromJSON(object: any): T;
1848
2011
  toJSON(message: T): unknown;
1849
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
1850
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
2012
+ create(base?: DeepPartial<T>): T;
2013
+ fromPartial(object: DeepPartial<T>): T;
1851
2014
  }
1852
2015
  export {};