@blueyerobotics/protocol-definitions 3.2.0-71478e92 → 3.2.0-763012c2
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 +1 -1
- package/dist/control.d.ts +6 -2
- package/dist/control.js +40 -9
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +94 -8
- package/dist/message_formats.js +447 -14
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +9 -1
- package/dist/telemetry.js +74 -2
- package/package.json +1 -1
package/dist/aquatroll.js
CHANGED
package/dist/control.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { SetAquaTrollConnectionStatus, SetAquaTrollParameterUnit } from "./aquatroll";
|
|
3
|
-
import { AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, ConnectionDuration, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
|
|
3
|
+
import { AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, ConnectionDuration, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
|
|
4
4
|
/**
|
|
5
5
|
* Control
|
|
6
6
|
*
|
|
@@ -48,13 +48,17 @@ export interface WatchdogCtrl {
|
|
|
48
48
|
/** The ID of the client, received in the ConnectClientRep response. */
|
|
49
49
|
clientId: number;
|
|
50
50
|
}
|
|
51
|
-
/** Issue a command to start video recording. */
|
|
51
|
+
/** Issue a command to start video or multibeam recording. */
|
|
52
52
|
export interface RecordCtrl {
|
|
53
53
|
/** Message specifying which cameras to record. */
|
|
54
54
|
recordOn: RecordOn | undefined;
|
|
55
|
+
/** Storage location to use for the recordings. */
|
|
56
|
+
storageLocation: StorageLocation;
|
|
55
57
|
}
|
|
56
58
|
/** Issue a command to take a picture. */
|
|
57
59
|
export interface TakePictureCtrl {
|
|
60
|
+
/** Storage location to use for the picture. */
|
|
61
|
+
storageLocation: StorageLocation;
|
|
58
62
|
}
|
|
59
63
|
/** Issue a command to start compass calibration. */
|
|
60
64
|
export interface StartCalibrationCtrl {
|
package/dist/control.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: control.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -399,13 +399,16 @@ exports.WatchdogCtrl = {
|
|
|
399
399
|
},
|
|
400
400
|
};
|
|
401
401
|
function createBaseRecordCtrl() {
|
|
402
|
-
return { recordOn: undefined };
|
|
402
|
+
return { recordOn: undefined, storageLocation: 0 };
|
|
403
403
|
}
|
|
404
404
|
exports.RecordCtrl = {
|
|
405
405
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
406
406
|
if (message.recordOn !== undefined) {
|
|
407
407
|
message_formats_1.RecordOn.encode(message.recordOn, writer.uint32(10).fork()).join();
|
|
408
408
|
}
|
|
409
|
+
if (message.storageLocation !== 0) {
|
|
410
|
+
writer.uint32(16).int32(message.storageLocation);
|
|
411
|
+
}
|
|
409
412
|
return writer;
|
|
410
413
|
},
|
|
411
414
|
decode(input, length) {
|
|
@@ -422,6 +425,13 @@ exports.RecordCtrl = {
|
|
|
422
425
|
message.recordOn = message_formats_1.RecordOn.decode(reader, reader.uint32());
|
|
423
426
|
continue;
|
|
424
427
|
}
|
|
428
|
+
case 2: {
|
|
429
|
+
if (tag !== 16) {
|
|
430
|
+
break;
|
|
431
|
+
}
|
|
432
|
+
message.storageLocation = reader.int32();
|
|
433
|
+
continue;
|
|
434
|
+
}
|
|
425
435
|
}
|
|
426
436
|
if ((tag & 7) === 4 || tag === 0) {
|
|
427
437
|
break;
|
|
@@ -431,13 +441,19 @@ exports.RecordCtrl = {
|
|
|
431
441
|
return message;
|
|
432
442
|
},
|
|
433
443
|
fromJSON(object) {
|
|
434
|
-
return {
|
|
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(
|
|
475
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
476
|
+
if (message.storageLocation !== 0) {
|
|
477
|
+
writer.uint32(8).int32(message.storageLocation);
|
|
478
|
+
}
|
|
459
479
|
return writer;
|
|
460
480
|
},
|
|
461
481
|
decode(input, length) {
|
|
@@ -465,6 +485,13 @@ exports.TakePictureCtrl = {
|
|
|
465
485
|
while (reader.pos < end) {
|
|
466
486
|
const tag = reader.uint32();
|
|
467
487
|
switch (tag >>> 3) {
|
|
488
|
+
case 1: {
|
|
489
|
+
if (tag !== 8) {
|
|
490
|
+
break;
|
|
491
|
+
}
|
|
492
|
+
message.storageLocation = reader.int32();
|
|
493
|
+
continue;
|
|
494
|
+
}
|
|
468
495
|
}
|
|
469
496
|
if ((tag & 7) === 4 || tag === 0) {
|
|
470
497
|
break;
|
|
@@ -473,18 +500,22 @@ exports.TakePictureCtrl = {
|
|
|
473
500
|
}
|
|
474
501
|
return message;
|
|
475
502
|
},
|
|
476
|
-
fromJSON(
|
|
477
|
-
return {};
|
|
503
|
+
fromJSON(object) {
|
|
504
|
+
return { storageLocation: isSet(object.storageLocation) ? (0, message_formats_1.storageLocationFromJSON)(object.storageLocation) : 0 };
|
|
478
505
|
},
|
|
479
|
-
toJSON(
|
|
506
|
+
toJSON(message) {
|
|
480
507
|
const obj = {};
|
|
508
|
+
if (message.storageLocation !== 0) {
|
|
509
|
+
obj.storageLocation = (0, message_formats_1.storageLocationToJSON)(message.storageLocation);
|
|
510
|
+
}
|
|
481
511
|
return obj;
|
|
482
512
|
},
|
|
483
513
|
create(base) {
|
|
484
514
|
return exports.TakePictureCtrl.fromPartial(base ?? {});
|
|
485
515
|
},
|
|
486
|
-
fromPartial(
|
|
516
|
+
fromPartial(object) {
|
|
487
517
|
const message = createBaseTakePictureCtrl();
|
|
518
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
488
519
|
return message;
|
|
489
520
|
},
|
|
490
521
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
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.
|
|
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.
|
|
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 });
|
package/dist/index.blueye.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.
|
|
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.
|
|
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.google.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.
|
|
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.
|
|
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.
|
|
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,15 @@ 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
|
-
/**
|
|
198
|
-
|
|
199
|
-
/**
|
|
213
|
+
/** RESOLUTION_VGA - VGA (640x480). */
|
|
214
|
+
RESOLUTION_VGA = 4,
|
|
215
|
+
/** RESOLUTION_SVGA - SVGA (800x600). */
|
|
216
|
+
RESOLUTION_SVGA = 5,
|
|
217
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
200
218
|
RESOLUTION_HD_720P = 2,
|
|
201
|
-
/**
|
|
219
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
220
|
+
RESOLUTION_FULLHD_1080P = 1,
|
|
221
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
|
|
202
222
|
RESOLUTION_UHD_4K = 3,
|
|
203
223
|
UNRECOGNIZED = -1
|
|
204
224
|
}
|
|
@@ -228,6 +248,17 @@ export declare enum Camera {
|
|
|
228
248
|
}
|
|
229
249
|
export declare function cameraFromJSON(object: any): Camera;
|
|
230
250
|
export declare function cameraToJSON(object: Camera): string;
|
|
251
|
+
export declare enum StreamingProtocol {
|
|
252
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
253
|
+
STREAMING_PROTOCOL_UNSPECIFIED = 0,
|
|
254
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
255
|
+
STREAMING_PROTOCOL_RTSP_H264 = 1,
|
|
256
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
|
|
257
|
+
STREAMING_PROTOCOL_RTSP_MJPEG = 2,
|
|
258
|
+
UNRECOGNIZED = -1
|
|
259
|
+
}
|
|
260
|
+
export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
|
|
261
|
+
export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
|
|
231
262
|
/** Available temperature units. */
|
|
232
263
|
export declare enum TemperatureUnit {
|
|
233
264
|
/** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
|
|
@@ -390,6 +421,8 @@ export declare enum GuestPortDeviceID {
|
|
|
390
421
|
GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
|
|
391
422
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
392
423
|
GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
|
|
424
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
425
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
|
|
393
426
|
UNRECOGNIZED = -1
|
|
394
427
|
}
|
|
395
428
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -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;
|
|
@@ -1447,22 +1480,40 @@ export interface CameraParameters {
|
|
|
1447
1480
|
mjpgBitrate: number;
|
|
1448
1481
|
/** Shutter speed (1/10000 * s), -1 for automatic exposure. */
|
|
1449
1482
|
exposure: number;
|
|
1450
|
-
/** White balance
|
|
1483
|
+
/** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
|
|
1451
1484
|
whiteBalance: number;
|
|
1452
|
-
/** Hue (-40..40), 0 as default. */
|
|
1485
|
+
/** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
|
|
1453
1486
|
hue: number;
|
|
1454
|
-
/** Iso gain (0..1). */
|
|
1487
|
+
/** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
|
|
1455
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;
|
|
1456
1503
|
/** Stream, recording and image resolution (deprecated). */
|
|
1457
1504
|
resolution: Resolution;
|
|
1458
1505
|
/** Stream resolution. */
|
|
1459
1506
|
streamResolution: Resolution;
|
|
1460
1507
|
/** Recording and image resolution. */
|
|
1461
1508
|
recordingResolution: Resolution;
|
|
1509
|
+
/** Streaming protocol. */
|
|
1510
|
+
streamingProtocol: StreamingProtocol;
|
|
1462
1511
|
/** Stream and recording framerate. */
|
|
1463
1512
|
framerate: Framerate;
|
|
1464
1513
|
/** Which camera the parameters belong to. */
|
|
1465
1514
|
camera: Camera;
|
|
1515
|
+
/** Prioritize fixed frame rate over quality on Ultra. */
|
|
1516
|
+
fixedFramerate: boolean;
|
|
1466
1517
|
}
|
|
1467
1518
|
/**
|
|
1468
1519
|
* Overlay parameters.
|
|
@@ -1842,6 +1893,39 @@ export interface CPUInfo {
|
|
|
1842
1893
|
mainQueueLoad: number;
|
|
1843
1894
|
/** Guestport queue load (0..1). */
|
|
1844
1895
|
guestportQueueLoad: number;
|
|
1896
|
+
/** Communication queue load (0..1). */
|
|
1897
|
+
commQueueLoad: number;
|
|
1898
|
+
}
|
|
1899
|
+
/**
|
|
1900
|
+
* Surface Unit battery information.
|
|
1901
|
+
*
|
|
1902
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1903
|
+
* the drone over the communication protocol.
|
|
1904
|
+
*/
|
|
1905
|
+
export interface SurfaceUnitBatteryInfo {
|
|
1906
|
+
/** Battery charge status. */
|
|
1907
|
+
status: SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1908
|
+
/** Battery level (0..1). */
|
|
1909
|
+
level: number;
|
|
1910
|
+
}
|
|
1911
|
+
export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
|
|
1912
|
+
CHARGE_STATUS_UNSPECIFIED = 0,
|
|
1913
|
+
CHARGE_STATUS_DISCHARGE = 1,
|
|
1914
|
+
CHARGE_STATUS_CHARGE = 2,
|
|
1915
|
+
CHARGE_STATUS_CHARGE_ERROR = 3,
|
|
1916
|
+
UNRECOGNIZED = -1
|
|
1917
|
+
}
|
|
1918
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1919
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
|
|
1920
|
+
/**
|
|
1921
|
+
* Surface Unit version information.
|
|
1922
|
+
*
|
|
1923
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1924
|
+
* the drone over the communication protocol.
|
|
1925
|
+
*/
|
|
1926
|
+
export interface SurfaceUnitVersionInfo {
|
|
1927
|
+
/** Surface Unit firmware version (x.y.z). */
|
|
1928
|
+
version: string;
|
|
1845
1929
|
}
|
|
1846
1930
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1847
1931
|
export declare const LogEntry: MessageFns<LogEntry>;
|
|
@@ -1930,6 +2014,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
|
1930
2014
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
1931
2015
|
export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
|
|
1932
2016
|
export declare const CPUInfo: MessageFns<CPUInfo>;
|
|
2017
|
+
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2018
|
+
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
1933
2019
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1934
2020
|
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
1935
2021
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/dist/message_formats.js
CHANGED
|
@@ -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.
|
|
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.
|
|
9
|
-
exports.
|
|
10
|
-
exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = void 0;
|
|
8
|
+
exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = void 0;
|
|
10
|
+
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -68,6 +72,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
68
72
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
69
73
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
70
74
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
75
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
76
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
71
77
|
/* eslint-disable */
|
|
72
78
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
73
79
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -589,6 +595,51 @@ function notificationLevelToJSON(object) {
|
|
|
589
595
|
return "UNRECOGNIZED";
|
|
590
596
|
}
|
|
591
597
|
}
|
|
598
|
+
/**
|
|
599
|
+
* Storage location.
|
|
600
|
+
*
|
|
601
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
602
|
+
*/
|
|
603
|
+
var StorageLocation;
|
|
604
|
+
(function (StorageLocation) {
|
|
605
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
606
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
607
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
609
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
611
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
612
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
613
|
+
function storageLocationFromJSON(object) {
|
|
614
|
+
switch (object) {
|
|
615
|
+
case 0:
|
|
616
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
617
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
618
|
+
case 1:
|
|
619
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
620
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
621
|
+
case 2:
|
|
622
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
623
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
624
|
+
case -1:
|
|
625
|
+
case "UNRECOGNIZED":
|
|
626
|
+
default:
|
|
627
|
+
return StorageLocation.UNRECOGNIZED;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
function storageLocationToJSON(object) {
|
|
631
|
+
switch (object) {
|
|
632
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
633
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
635
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
637
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
638
|
+
case StorageLocation.UNRECOGNIZED:
|
|
639
|
+
default:
|
|
640
|
+
return "UNRECOGNIZED";
|
|
641
|
+
}
|
|
642
|
+
}
|
|
592
643
|
/** Drone models produced by Blueye. */
|
|
593
644
|
var Model;
|
|
594
645
|
(function (Model) {
|
|
@@ -718,11 +769,15 @@ var Resolution;
|
|
|
718
769
|
(function (Resolution) {
|
|
719
770
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
720
771
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
721
|
-
/**
|
|
722
|
-
Resolution[Resolution["
|
|
723
|
-
/**
|
|
772
|
+
/** RESOLUTION_VGA - VGA (640x480). */
|
|
773
|
+
Resolution[Resolution["RESOLUTION_VGA"] = 4] = "RESOLUTION_VGA";
|
|
774
|
+
/** RESOLUTION_SVGA - SVGA (800x600). */
|
|
775
|
+
Resolution[Resolution["RESOLUTION_SVGA"] = 5] = "RESOLUTION_SVGA";
|
|
776
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
724
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
725
|
-
/**
|
|
778
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
779
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
780
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
|
|
726
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
727
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
728
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -731,12 +786,18 @@ function resolutionFromJSON(object) {
|
|
|
731
786
|
case 0:
|
|
732
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
733
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
734
|
-
case
|
|
735
|
-
case "
|
|
736
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA":
|
|
791
|
+
return Resolution.RESOLUTION_VGA;
|
|
792
|
+
case 5:
|
|
793
|
+
case "RESOLUTION_SVGA":
|
|
794
|
+
return Resolution.RESOLUTION_SVGA;
|
|
737
795
|
case 2:
|
|
738
796
|
case "RESOLUTION_HD_720P":
|
|
739
797
|
return Resolution.RESOLUTION_HD_720P;
|
|
798
|
+
case 1:
|
|
799
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
800
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
740
801
|
case 3:
|
|
741
802
|
case "RESOLUTION_UHD_4K":
|
|
742
803
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -750,10 +811,14 @@ function resolutionToJSON(object) {
|
|
|
750
811
|
switch (object) {
|
|
751
812
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
752
813
|
return "RESOLUTION_UNSPECIFIED";
|
|
753
|
-
case Resolution.
|
|
754
|
-
return "
|
|
814
|
+
case Resolution.RESOLUTION_VGA:
|
|
815
|
+
return "RESOLUTION_VGA";
|
|
816
|
+
case Resolution.RESOLUTION_SVGA:
|
|
817
|
+
return "RESOLUTION_SVGA";
|
|
755
818
|
case Resolution.RESOLUTION_HD_720P:
|
|
756
819
|
return "RESOLUTION_HD_720P";
|
|
820
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
821
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
757
822
|
case Resolution.RESOLUTION_UHD_4K:
|
|
758
823
|
return "RESOLUTION_UHD_4K";
|
|
759
824
|
case Resolution.UNRECOGNIZED:
|
|
@@ -843,6 +908,46 @@ function cameraToJSON(object) {
|
|
|
843
908
|
return "UNRECOGNIZED";
|
|
844
909
|
}
|
|
845
910
|
}
|
|
911
|
+
var StreamingProtocol;
|
|
912
|
+
(function (StreamingProtocol) {
|
|
913
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
914
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
915
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
916
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
917
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
|
|
918
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
919
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
920
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
921
|
+
function streamingProtocolFromJSON(object) {
|
|
922
|
+
switch (object) {
|
|
923
|
+
case 0:
|
|
924
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
925
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
926
|
+
case 1:
|
|
927
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
928
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
929
|
+
case 2:
|
|
930
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
931
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
932
|
+
case -1:
|
|
933
|
+
case "UNRECOGNIZED":
|
|
934
|
+
default:
|
|
935
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
function streamingProtocolToJSON(object) {
|
|
939
|
+
switch (object) {
|
|
940
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
941
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
942
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
943
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
944
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
945
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
946
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
947
|
+
default:
|
|
948
|
+
return "UNRECOGNIZED";
|
|
949
|
+
}
|
|
950
|
+
}
|
|
846
951
|
/** Available temperature units. */
|
|
847
952
|
var TemperatureUnit;
|
|
848
953
|
(function (TemperatureUnit) {
|
|
@@ -1176,6 +1281,8 @@ var GuestPortDeviceID;
|
|
|
1176
1281
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1177
1282
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1178
1283
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1284
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1285
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1179
1286
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1180
1287
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1181
1288
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1315,6 +1422,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1315
1422
|
case 44:
|
|
1316
1423
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1317
1424
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1425
|
+
case 45:
|
|
1426
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1427
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1318
1428
|
case -1:
|
|
1319
1429
|
case "UNRECOGNIZED":
|
|
1320
1430
|
default:
|
|
@@ -1413,6 +1523,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1413
1523
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1414
1524
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1415
1525
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1526
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1527
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1416
1528
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1417
1529
|
default:
|
|
1418
1530
|
return "UNRECOGNIZED";
|
|
@@ -2135,6 +2247,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2135
2247
|
return "UNRECOGNIZED";
|
|
2136
2248
|
}
|
|
2137
2249
|
}
|
|
2250
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2251
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2252
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2253
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2254
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2255
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2256
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2257
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2258
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2259
|
+
switch (object) {
|
|
2260
|
+
case 0:
|
|
2261
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2262
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2263
|
+
case 1:
|
|
2264
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2265
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2266
|
+
case 2:
|
|
2267
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2268
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2269
|
+
case 3:
|
|
2270
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2271
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2272
|
+
case -1:
|
|
2273
|
+
case "UNRECOGNIZED":
|
|
2274
|
+
default:
|
|
2275
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2279
|
+
switch (object) {
|
|
2280
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2281
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2282
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2283
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2284
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2285
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2286
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2287
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2288
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2289
|
+
default:
|
|
2290
|
+
return "UNRECOGNIZED";
|
|
2291
|
+
}
|
|
2292
|
+
}
|
|
2138
2293
|
function createBaseBinlogRecord() {
|
|
2139
2294
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2140
2295
|
}
|
|
@@ -9513,11 +9668,20 @@ function createBaseCameraParameters() {
|
|
|
9513
9668
|
whiteBalance: 0,
|
|
9514
9669
|
hue: 0,
|
|
9515
9670
|
gain: 0,
|
|
9671
|
+
brightness: 0,
|
|
9672
|
+
contrast: 0,
|
|
9673
|
+
saturation: 0,
|
|
9674
|
+
gamma: 0,
|
|
9675
|
+
sharpness: 0,
|
|
9676
|
+
backlightCompensation: 0,
|
|
9677
|
+
denoise: 0,
|
|
9516
9678
|
resolution: 0,
|
|
9517
9679
|
streamResolution: 0,
|
|
9518
9680
|
recordingResolution: 0,
|
|
9681
|
+
streamingProtocol: 0,
|
|
9519
9682
|
framerate: 0,
|
|
9520
9683
|
camera: 0,
|
|
9684
|
+
fixedFramerate: false,
|
|
9521
9685
|
};
|
|
9522
9686
|
}
|
|
9523
9687
|
exports.CameraParameters = {
|
|
@@ -9540,6 +9704,27 @@ exports.CameraParameters = {
|
|
|
9540
9704
|
if (message.gain !== 0) {
|
|
9541
9705
|
writer.uint32(77).float(message.gain);
|
|
9542
9706
|
}
|
|
9707
|
+
if (message.brightness !== 0) {
|
|
9708
|
+
writer.uint32(96).int32(message.brightness);
|
|
9709
|
+
}
|
|
9710
|
+
if (message.contrast !== 0) {
|
|
9711
|
+
writer.uint32(104).int32(message.contrast);
|
|
9712
|
+
}
|
|
9713
|
+
if (message.saturation !== 0) {
|
|
9714
|
+
writer.uint32(112).int32(message.saturation);
|
|
9715
|
+
}
|
|
9716
|
+
if (message.gamma !== 0) {
|
|
9717
|
+
writer.uint32(120).int32(message.gamma);
|
|
9718
|
+
}
|
|
9719
|
+
if (message.sharpness !== 0) {
|
|
9720
|
+
writer.uint32(128).int32(message.sharpness);
|
|
9721
|
+
}
|
|
9722
|
+
if (message.backlightCompensation !== 0) {
|
|
9723
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
9724
|
+
}
|
|
9725
|
+
if (message.denoise !== 0) {
|
|
9726
|
+
writer.uint32(144).int32(message.denoise);
|
|
9727
|
+
}
|
|
9543
9728
|
if (message.resolution !== 0) {
|
|
9544
9729
|
writer.uint32(48).int32(message.resolution);
|
|
9545
9730
|
}
|
|
@@ -9549,12 +9734,18 @@ exports.CameraParameters = {
|
|
|
9549
9734
|
if (message.recordingResolution !== 0) {
|
|
9550
9735
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9551
9736
|
}
|
|
9737
|
+
if (message.streamingProtocol !== 0) {
|
|
9738
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
9739
|
+
}
|
|
9552
9740
|
if (message.framerate !== 0) {
|
|
9553
9741
|
writer.uint32(56).int32(message.framerate);
|
|
9554
9742
|
}
|
|
9555
9743
|
if (message.camera !== 0) {
|
|
9556
9744
|
writer.uint32(64).int32(message.camera);
|
|
9557
9745
|
}
|
|
9746
|
+
if (message.fixedFramerate !== false) {
|
|
9747
|
+
writer.uint32(152).bool(message.fixedFramerate);
|
|
9748
|
+
}
|
|
9558
9749
|
return writer;
|
|
9559
9750
|
},
|
|
9560
9751
|
decode(input, length) {
|
|
@@ -9606,6 +9797,55 @@ exports.CameraParameters = {
|
|
|
9606
9797
|
message.gain = reader.float();
|
|
9607
9798
|
continue;
|
|
9608
9799
|
}
|
|
9800
|
+
case 12: {
|
|
9801
|
+
if (tag !== 96) {
|
|
9802
|
+
break;
|
|
9803
|
+
}
|
|
9804
|
+
message.brightness = reader.int32();
|
|
9805
|
+
continue;
|
|
9806
|
+
}
|
|
9807
|
+
case 13: {
|
|
9808
|
+
if (tag !== 104) {
|
|
9809
|
+
break;
|
|
9810
|
+
}
|
|
9811
|
+
message.contrast = reader.int32();
|
|
9812
|
+
continue;
|
|
9813
|
+
}
|
|
9814
|
+
case 14: {
|
|
9815
|
+
if (tag !== 112) {
|
|
9816
|
+
break;
|
|
9817
|
+
}
|
|
9818
|
+
message.saturation = reader.int32();
|
|
9819
|
+
continue;
|
|
9820
|
+
}
|
|
9821
|
+
case 15: {
|
|
9822
|
+
if (tag !== 120) {
|
|
9823
|
+
break;
|
|
9824
|
+
}
|
|
9825
|
+
message.gamma = reader.int32();
|
|
9826
|
+
continue;
|
|
9827
|
+
}
|
|
9828
|
+
case 16: {
|
|
9829
|
+
if (tag !== 128) {
|
|
9830
|
+
break;
|
|
9831
|
+
}
|
|
9832
|
+
message.sharpness = reader.int32();
|
|
9833
|
+
continue;
|
|
9834
|
+
}
|
|
9835
|
+
case 17: {
|
|
9836
|
+
if (tag !== 136) {
|
|
9837
|
+
break;
|
|
9838
|
+
}
|
|
9839
|
+
message.backlightCompensation = reader.int32();
|
|
9840
|
+
continue;
|
|
9841
|
+
}
|
|
9842
|
+
case 18: {
|
|
9843
|
+
if (tag !== 144) {
|
|
9844
|
+
break;
|
|
9845
|
+
}
|
|
9846
|
+
message.denoise = reader.int32();
|
|
9847
|
+
continue;
|
|
9848
|
+
}
|
|
9609
9849
|
case 6: {
|
|
9610
9850
|
if (tag !== 48) {
|
|
9611
9851
|
break;
|
|
@@ -9627,6 +9867,13 @@ exports.CameraParameters = {
|
|
|
9627
9867
|
message.recordingResolution = reader.int32();
|
|
9628
9868
|
continue;
|
|
9629
9869
|
}
|
|
9870
|
+
case 20: {
|
|
9871
|
+
if (tag !== 160) {
|
|
9872
|
+
break;
|
|
9873
|
+
}
|
|
9874
|
+
message.streamingProtocol = reader.int32();
|
|
9875
|
+
continue;
|
|
9876
|
+
}
|
|
9630
9877
|
case 7: {
|
|
9631
9878
|
if (tag !== 56) {
|
|
9632
9879
|
break;
|
|
@@ -9641,6 +9888,13 @@ exports.CameraParameters = {
|
|
|
9641
9888
|
message.camera = reader.int32();
|
|
9642
9889
|
continue;
|
|
9643
9890
|
}
|
|
9891
|
+
case 19: {
|
|
9892
|
+
if (tag !== 152) {
|
|
9893
|
+
break;
|
|
9894
|
+
}
|
|
9895
|
+
message.fixedFramerate = reader.bool();
|
|
9896
|
+
continue;
|
|
9897
|
+
}
|
|
9644
9898
|
}
|
|
9645
9899
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9646
9900
|
break;
|
|
@@ -9657,11 +9911,20 @@ exports.CameraParameters = {
|
|
|
9657
9911
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9658
9912
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9659
9913
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
9914
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
9915
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
9916
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
9917
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
9918
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
9919
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
9920
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
9660
9921
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9661
9922
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9662
9923
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
9924
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9663
9925
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9664
9926
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9927
|
+
fixedFramerate: isSet(object.fixedFramerate) ? gt.Boolean(object.fixedFramerate) : false,
|
|
9665
9928
|
};
|
|
9666
9929
|
},
|
|
9667
9930
|
toJSON(message) {
|
|
@@ -9684,6 +9947,27 @@ exports.CameraParameters = {
|
|
|
9684
9947
|
if (message.gain !== 0) {
|
|
9685
9948
|
obj.gain = message.gain;
|
|
9686
9949
|
}
|
|
9950
|
+
if (message.brightness !== 0) {
|
|
9951
|
+
obj.brightness = Math.round(message.brightness);
|
|
9952
|
+
}
|
|
9953
|
+
if (message.contrast !== 0) {
|
|
9954
|
+
obj.contrast = Math.round(message.contrast);
|
|
9955
|
+
}
|
|
9956
|
+
if (message.saturation !== 0) {
|
|
9957
|
+
obj.saturation = Math.round(message.saturation);
|
|
9958
|
+
}
|
|
9959
|
+
if (message.gamma !== 0) {
|
|
9960
|
+
obj.gamma = Math.round(message.gamma);
|
|
9961
|
+
}
|
|
9962
|
+
if (message.sharpness !== 0) {
|
|
9963
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
9964
|
+
}
|
|
9965
|
+
if (message.backlightCompensation !== 0) {
|
|
9966
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
9967
|
+
}
|
|
9968
|
+
if (message.denoise !== 0) {
|
|
9969
|
+
obj.denoise = Math.round(message.denoise);
|
|
9970
|
+
}
|
|
9687
9971
|
if (message.resolution !== 0) {
|
|
9688
9972
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9689
9973
|
}
|
|
@@ -9693,12 +9977,18 @@ exports.CameraParameters = {
|
|
|
9693
9977
|
if (message.recordingResolution !== 0) {
|
|
9694
9978
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9695
9979
|
}
|
|
9980
|
+
if (message.streamingProtocol !== 0) {
|
|
9981
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
9982
|
+
}
|
|
9696
9983
|
if (message.framerate !== 0) {
|
|
9697
9984
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9698
9985
|
}
|
|
9699
9986
|
if (message.camera !== 0) {
|
|
9700
9987
|
obj.camera = cameraToJSON(message.camera);
|
|
9701
9988
|
}
|
|
9989
|
+
if (message.fixedFramerate !== false) {
|
|
9990
|
+
obj.fixedFramerate = message.fixedFramerate;
|
|
9991
|
+
}
|
|
9702
9992
|
return obj;
|
|
9703
9993
|
},
|
|
9704
9994
|
create(base) {
|
|
@@ -9712,11 +10002,20 @@ exports.CameraParameters = {
|
|
|
9712
10002
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9713
10003
|
message.hue = object.hue ?? 0;
|
|
9714
10004
|
message.gain = object.gain ?? 0;
|
|
10005
|
+
message.brightness = object.brightness ?? 0;
|
|
10006
|
+
message.contrast = object.contrast ?? 0;
|
|
10007
|
+
message.saturation = object.saturation ?? 0;
|
|
10008
|
+
message.gamma = object.gamma ?? 0;
|
|
10009
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10010
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10011
|
+
message.denoise = object.denoise ?? 0;
|
|
9715
10012
|
message.resolution = object.resolution ?? 0;
|
|
9716
10013
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9717
10014
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10015
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9718
10016
|
message.framerate = object.framerate ?? 0;
|
|
9719
10017
|
message.camera = object.camera ?? 0;
|
|
10018
|
+
message.fixedFramerate = object.fixedFramerate ?? false;
|
|
9720
10019
|
return message;
|
|
9721
10020
|
},
|
|
9722
10021
|
};
|
|
@@ -12460,7 +12759,7 @@ exports.PersistentStorageSettings = {
|
|
|
12460
12759
|
},
|
|
12461
12760
|
};
|
|
12462
12761
|
function createBaseCPUInfo() {
|
|
12463
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12762
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12464
12763
|
}
|
|
12465
12764
|
exports.CPUInfo = {
|
|
12466
12765
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12476,6 +12775,9 @@ exports.CPUInfo = {
|
|
|
12476
12775
|
if (message.guestportQueueLoad !== 0) {
|
|
12477
12776
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12478
12777
|
}
|
|
12778
|
+
if (message.commQueueLoad !== 0) {
|
|
12779
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12780
|
+
}
|
|
12479
12781
|
return writer;
|
|
12480
12782
|
},
|
|
12481
12783
|
decode(input, length) {
|
|
@@ -12513,6 +12815,13 @@ exports.CPUInfo = {
|
|
|
12513
12815
|
message.guestportQueueLoad = reader.float();
|
|
12514
12816
|
continue;
|
|
12515
12817
|
}
|
|
12818
|
+
case 5: {
|
|
12819
|
+
if (tag !== 45) {
|
|
12820
|
+
break;
|
|
12821
|
+
}
|
|
12822
|
+
message.commQueueLoad = reader.float();
|
|
12823
|
+
continue;
|
|
12824
|
+
}
|
|
12516
12825
|
}
|
|
12517
12826
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12518
12827
|
break;
|
|
@@ -12527,6 +12836,7 @@ exports.CPUInfo = {
|
|
|
12527
12836
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12528
12837
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12529
12838
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12839
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12530
12840
|
};
|
|
12531
12841
|
},
|
|
12532
12842
|
toJSON(message) {
|
|
@@ -12543,6 +12853,9 @@ exports.CPUInfo = {
|
|
|
12543
12853
|
if (message.guestportQueueLoad !== 0) {
|
|
12544
12854
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12545
12855
|
}
|
|
12856
|
+
if (message.commQueueLoad !== 0) {
|
|
12857
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12858
|
+
}
|
|
12546
12859
|
return obj;
|
|
12547
12860
|
},
|
|
12548
12861
|
create(base) {
|
|
@@ -12554,6 +12867,126 @@ exports.CPUInfo = {
|
|
|
12554
12867
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12555
12868
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12556
12869
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12870
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12871
|
+
return message;
|
|
12872
|
+
},
|
|
12873
|
+
};
|
|
12874
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
12875
|
+
return { status: 0, level: 0 };
|
|
12876
|
+
}
|
|
12877
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
12878
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12879
|
+
if (message.status !== 0) {
|
|
12880
|
+
writer.uint32(8).int32(message.status);
|
|
12881
|
+
}
|
|
12882
|
+
if (message.level !== 0) {
|
|
12883
|
+
writer.uint32(21).float(message.level);
|
|
12884
|
+
}
|
|
12885
|
+
return writer;
|
|
12886
|
+
},
|
|
12887
|
+
decode(input, length) {
|
|
12888
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12889
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12890
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12891
|
+
while (reader.pos < end) {
|
|
12892
|
+
const tag = reader.uint32();
|
|
12893
|
+
switch (tag >>> 3) {
|
|
12894
|
+
case 1: {
|
|
12895
|
+
if (tag !== 8) {
|
|
12896
|
+
break;
|
|
12897
|
+
}
|
|
12898
|
+
message.status = reader.int32();
|
|
12899
|
+
continue;
|
|
12900
|
+
}
|
|
12901
|
+
case 2: {
|
|
12902
|
+
if (tag !== 21) {
|
|
12903
|
+
break;
|
|
12904
|
+
}
|
|
12905
|
+
message.level = reader.float();
|
|
12906
|
+
continue;
|
|
12907
|
+
}
|
|
12908
|
+
}
|
|
12909
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12910
|
+
break;
|
|
12911
|
+
}
|
|
12912
|
+
reader.skip(tag & 7);
|
|
12913
|
+
}
|
|
12914
|
+
return message;
|
|
12915
|
+
},
|
|
12916
|
+
fromJSON(object) {
|
|
12917
|
+
return {
|
|
12918
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
12919
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
12920
|
+
};
|
|
12921
|
+
},
|
|
12922
|
+
toJSON(message) {
|
|
12923
|
+
const obj = {};
|
|
12924
|
+
if (message.status !== 0) {
|
|
12925
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
12926
|
+
}
|
|
12927
|
+
if (message.level !== 0) {
|
|
12928
|
+
obj.level = message.level;
|
|
12929
|
+
}
|
|
12930
|
+
return obj;
|
|
12931
|
+
},
|
|
12932
|
+
create(base) {
|
|
12933
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
12934
|
+
},
|
|
12935
|
+
fromPartial(object) {
|
|
12936
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12937
|
+
message.status = object.status ?? 0;
|
|
12938
|
+
message.level = object.level ?? 0;
|
|
12939
|
+
return message;
|
|
12940
|
+
},
|
|
12941
|
+
};
|
|
12942
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
12943
|
+
return { version: "" };
|
|
12944
|
+
}
|
|
12945
|
+
exports.SurfaceUnitVersionInfo = {
|
|
12946
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12947
|
+
if (message.version !== "") {
|
|
12948
|
+
writer.uint32(10).string(message.version);
|
|
12949
|
+
}
|
|
12950
|
+
return writer;
|
|
12951
|
+
},
|
|
12952
|
+
decode(input, length) {
|
|
12953
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12954
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12955
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12956
|
+
while (reader.pos < end) {
|
|
12957
|
+
const tag = reader.uint32();
|
|
12958
|
+
switch (tag >>> 3) {
|
|
12959
|
+
case 1: {
|
|
12960
|
+
if (tag !== 10) {
|
|
12961
|
+
break;
|
|
12962
|
+
}
|
|
12963
|
+
message.version = reader.string();
|
|
12964
|
+
continue;
|
|
12965
|
+
}
|
|
12966
|
+
}
|
|
12967
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12968
|
+
break;
|
|
12969
|
+
}
|
|
12970
|
+
reader.skip(tag & 7);
|
|
12971
|
+
}
|
|
12972
|
+
return message;
|
|
12973
|
+
},
|
|
12974
|
+
fromJSON(object) {
|
|
12975
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
12976
|
+
},
|
|
12977
|
+
toJSON(message) {
|
|
12978
|
+
const obj = {};
|
|
12979
|
+
if (message.version !== "") {
|
|
12980
|
+
obj.version = message.version;
|
|
12981
|
+
}
|
|
12982
|
+
return obj;
|
|
12983
|
+
},
|
|
12984
|
+
create(base) {
|
|
12985
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
12986
|
+
},
|
|
12987
|
+
fromPartial(object) {
|
|
12988
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12989
|
+
message.version = object.version ?? "";
|
|
12557
12990
|
return message;
|
|
12558
12991
|
},
|
|
12559
12992
|
};
|
package/dist/mission_planning.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.
|
|
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
package/dist/telemetry.d.ts
CHANGED
|
@@ -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.
|
|
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;
|