@blueyerobotics/protocol-definitions 3.2.0-79226dfa → 3.2.0-7ccc4a0d
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 +92 -8
- package/dist/message_formats.js +440 -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,13 @@ export declare function pressureSensorTypeToJSON(object: PressureSensorType): st
|
|
|
194
210
|
export declare enum Resolution {
|
|
195
211
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
196
212
|
RESOLUTION_UNSPECIFIED = 0,
|
|
197
|
-
/**
|
|
198
|
-
|
|
199
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
213
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
214
|
+
RESOLUTION_VGA_480P = 4,
|
|
215
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
200
216
|
RESOLUTION_HD_720P = 2,
|
|
201
|
-
/**
|
|
217
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
218
|
+
RESOLUTION_FULLHD_1080P = 1,
|
|
219
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
|
|
202
220
|
RESOLUTION_UHD_4K = 3,
|
|
203
221
|
UNRECOGNIZED = -1
|
|
204
222
|
}
|
|
@@ -228,6 +246,17 @@ export declare enum Camera {
|
|
|
228
246
|
}
|
|
229
247
|
export declare function cameraFromJSON(object: any): Camera;
|
|
230
248
|
export declare function cameraToJSON(object: Camera): string;
|
|
249
|
+
export declare enum StreamingProtocol {
|
|
250
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
251
|
+
STREAMING_PROTOCOL_UNSPECIFIED = 0,
|
|
252
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
253
|
+
STREAMING_PROTOCOL_RTSP_H264 = 1,
|
|
254
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
|
|
255
|
+
STREAMING_PROTOCOL_RTSP_MJPEG = 2,
|
|
256
|
+
UNRECOGNIZED = -1
|
|
257
|
+
}
|
|
258
|
+
export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
|
|
259
|
+
export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
|
|
231
260
|
/** Available temperature units. */
|
|
232
261
|
export declare enum TemperatureUnit {
|
|
233
262
|
/** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
|
|
@@ -390,6 +419,8 @@ export declare enum GuestPortDeviceID {
|
|
|
390
419
|
GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
|
|
391
420
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
392
421
|
GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
|
|
422
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
423
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
|
|
393
424
|
UNRECOGNIZED = -1
|
|
394
425
|
}
|
|
395
426
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -1167,7 +1198,7 @@ export interface DiveTime {
|
|
|
1167
1198
|
/** Number of seconds the drone has been submerged. */
|
|
1168
1199
|
value: number;
|
|
1169
1200
|
}
|
|
1170
|
-
/** Which cameras are supposed to be recording. */
|
|
1201
|
+
/** Which cameras or multibeam are supposed to be recording. */
|
|
1171
1202
|
export interface RecordOn {
|
|
1172
1203
|
/** Record the main camera. */
|
|
1173
1204
|
main: boolean;
|
|
@@ -1447,22 +1478,40 @@ export interface CameraParameters {
|
|
|
1447
1478
|
mjpgBitrate: number;
|
|
1448
1479
|
/** Shutter speed (1/10000 * s), -1 for automatic exposure. */
|
|
1449
1480
|
exposure: number;
|
|
1450
|
-
/** White balance
|
|
1481
|
+
/** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
|
|
1451
1482
|
whiteBalance: number;
|
|
1452
|
-
/** Hue (-40..40), 0 as default. */
|
|
1483
|
+
/** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
|
|
1453
1484
|
hue: number;
|
|
1454
|
-
/** Iso gain (0..1). */
|
|
1485
|
+
/** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
|
|
1455
1486
|
gain: number;
|
|
1487
|
+
/** Brightness (-10..10), 0 as default. Only available on Ultra */
|
|
1488
|
+
brightness: number;
|
|
1489
|
+
/** Contrast (-50..50), 0 as default. Only available on Ultra. */
|
|
1490
|
+
contrast: number;
|
|
1491
|
+
/** Saturation (0..50), 8 as default. Only available on Ultra. */
|
|
1492
|
+
saturation: number;
|
|
1493
|
+
/** Gamma (4..79), 22 as default. Only available on Ultra. */
|
|
1494
|
+
gamma: number;
|
|
1495
|
+
/** Sharpness (-20..20), -20 as default. Only available on Ultra. */
|
|
1496
|
+
sharpness: number;
|
|
1497
|
+
/** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
|
|
1498
|
+
backlightCompensation: number;
|
|
1499
|
+
/** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
|
|
1500
|
+
denoise: number;
|
|
1456
1501
|
/** Stream, recording and image resolution (deprecated). */
|
|
1457
1502
|
resolution: Resolution;
|
|
1458
1503
|
/** Stream resolution. */
|
|
1459
1504
|
streamResolution: Resolution;
|
|
1460
1505
|
/** Recording and image resolution. */
|
|
1461
1506
|
recordingResolution: Resolution;
|
|
1507
|
+
/** Streaming protocol. */
|
|
1508
|
+
streamingProtocol: StreamingProtocol;
|
|
1462
1509
|
/** Stream and recording framerate. */
|
|
1463
1510
|
framerate: Framerate;
|
|
1464
1511
|
/** Which camera the parameters belong to. */
|
|
1465
1512
|
camera: Camera;
|
|
1513
|
+
/** Prioritize fixed frame rate over quality on Ultra. */
|
|
1514
|
+
fixedFramerate: boolean;
|
|
1466
1515
|
}
|
|
1467
1516
|
/**
|
|
1468
1517
|
* Overlay parameters.
|
|
@@ -1842,6 +1891,39 @@ export interface CPUInfo {
|
|
|
1842
1891
|
mainQueueLoad: number;
|
|
1843
1892
|
/** Guestport queue load (0..1). */
|
|
1844
1893
|
guestportQueueLoad: number;
|
|
1894
|
+
/** Communication queue load (0..1). */
|
|
1895
|
+
commQueueLoad: number;
|
|
1896
|
+
}
|
|
1897
|
+
/**
|
|
1898
|
+
* Surface Unit battery information.
|
|
1899
|
+
*
|
|
1900
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1901
|
+
* the drone over the communication protocol.
|
|
1902
|
+
*/
|
|
1903
|
+
export interface SurfaceUnitBatteryInfo {
|
|
1904
|
+
/** Battery charge status. */
|
|
1905
|
+
status: SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1906
|
+
/** Battery level (0..1). */
|
|
1907
|
+
level: number;
|
|
1908
|
+
}
|
|
1909
|
+
export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
|
|
1910
|
+
CHARGE_STATUS_UNSPECIFIED = 0,
|
|
1911
|
+
CHARGE_STATUS_DISCHARGE = 1,
|
|
1912
|
+
CHARGE_STATUS_CHARGE = 2,
|
|
1913
|
+
CHARGE_STATUS_CHARGE_ERROR = 3,
|
|
1914
|
+
UNRECOGNIZED = -1
|
|
1915
|
+
}
|
|
1916
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1917
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
|
|
1918
|
+
/**
|
|
1919
|
+
* Surface Unit version information.
|
|
1920
|
+
*
|
|
1921
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1922
|
+
* the drone over the communication protocol.
|
|
1923
|
+
*/
|
|
1924
|
+
export interface SurfaceUnitVersionInfo {
|
|
1925
|
+
/** Surface Unit firmware version (x.y.z). */
|
|
1926
|
+
version: string;
|
|
1845
1927
|
}
|
|
1846
1928
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1847
1929
|
export declare const LogEntry: MessageFns<LogEntry>;
|
|
@@ -1930,6 +2012,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
|
1930
2012
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
1931
2013
|
export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
|
|
1932
2014
|
export declare const CPUInfo: MessageFns<CPUInfo>;
|
|
2015
|
+
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2016
|
+
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
1933
2017
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1934
2018
|
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
2019
|
[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,13 @@ 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
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
772
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
773
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
774
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
724
775
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
725
|
-
/**
|
|
776
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
777
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
778
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
|
|
726
779
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
727
780
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
728
781
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -731,12 +784,15 @@ function resolutionFromJSON(object) {
|
|
|
731
784
|
case 0:
|
|
732
785
|
case "RESOLUTION_UNSPECIFIED":
|
|
733
786
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
734
|
-
case
|
|
735
|
-
case "
|
|
736
|
-
return Resolution.
|
|
787
|
+
case 4:
|
|
788
|
+
case "RESOLUTION_VGA_480P":
|
|
789
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
737
790
|
case 2:
|
|
738
791
|
case "RESOLUTION_HD_720P":
|
|
739
792
|
return Resolution.RESOLUTION_HD_720P;
|
|
793
|
+
case 1:
|
|
794
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
795
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
740
796
|
case 3:
|
|
741
797
|
case "RESOLUTION_UHD_4K":
|
|
742
798
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -750,10 +806,12 @@ function resolutionToJSON(object) {
|
|
|
750
806
|
switch (object) {
|
|
751
807
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
752
808
|
return "RESOLUTION_UNSPECIFIED";
|
|
753
|
-
case Resolution.
|
|
754
|
-
return "
|
|
809
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
810
|
+
return "RESOLUTION_VGA_480P";
|
|
755
811
|
case Resolution.RESOLUTION_HD_720P:
|
|
756
812
|
return "RESOLUTION_HD_720P";
|
|
813
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
814
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
757
815
|
case Resolution.RESOLUTION_UHD_4K:
|
|
758
816
|
return "RESOLUTION_UHD_4K";
|
|
759
817
|
case Resolution.UNRECOGNIZED:
|
|
@@ -843,6 +901,46 @@ function cameraToJSON(object) {
|
|
|
843
901
|
return "UNRECOGNIZED";
|
|
844
902
|
}
|
|
845
903
|
}
|
|
904
|
+
var StreamingProtocol;
|
|
905
|
+
(function (StreamingProtocol) {
|
|
906
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
907
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
908
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
909
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
910
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
|
|
911
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
912
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
913
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
914
|
+
function streamingProtocolFromJSON(object) {
|
|
915
|
+
switch (object) {
|
|
916
|
+
case 0:
|
|
917
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
918
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
919
|
+
case 1:
|
|
920
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
921
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
922
|
+
case 2:
|
|
923
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
924
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
925
|
+
case -1:
|
|
926
|
+
case "UNRECOGNIZED":
|
|
927
|
+
default:
|
|
928
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
function streamingProtocolToJSON(object) {
|
|
932
|
+
switch (object) {
|
|
933
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
934
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
935
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
936
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
937
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
938
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
939
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
940
|
+
default:
|
|
941
|
+
return "UNRECOGNIZED";
|
|
942
|
+
}
|
|
943
|
+
}
|
|
846
944
|
/** Available temperature units. */
|
|
847
945
|
var TemperatureUnit;
|
|
848
946
|
(function (TemperatureUnit) {
|
|
@@ -1176,6 +1274,8 @@ var GuestPortDeviceID;
|
|
|
1176
1274
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1177
1275
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1178
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1277
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1278
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1179
1279
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1180
1280
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1181
1281
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1315,6 +1415,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1315
1415
|
case 44:
|
|
1316
1416
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1317
1417
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1418
|
+
case 45:
|
|
1419
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1420
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1318
1421
|
case -1:
|
|
1319
1422
|
case "UNRECOGNIZED":
|
|
1320
1423
|
default:
|
|
@@ -1413,6 +1516,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1413
1516
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1414
1517
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1415
1518
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1519
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1520
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1416
1521
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1417
1522
|
default:
|
|
1418
1523
|
return "UNRECOGNIZED";
|
|
@@ -2135,6 +2240,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2135
2240
|
return "UNRECOGNIZED";
|
|
2136
2241
|
}
|
|
2137
2242
|
}
|
|
2243
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2244
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2245
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2246
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2247
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2248
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2249
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2250
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2251
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2252
|
+
switch (object) {
|
|
2253
|
+
case 0:
|
|
2254
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2255
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2256
|
+
case 1:
|
|
2257
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2258
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2259
|
+
case 2:
|
|
2260
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2261
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2262
|
+
case 3:
|
|
2263
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2264
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2265
|
+
case -1:
|
|
2266
|
+
case "UNRECOGNIZED":
|
|
2267
|
+
default:
|
|
2268
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2272
|
+
switch (object) {
|
|
2273
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2274
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2275
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2276
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2277
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2278
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2279
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2280
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2281
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2282
|
+
default:
|
|
2283
|
+
return "UNRECOGNIZED";
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2138
2286
|
function createBaseBinlogRecord() {
|
|
2139
2287
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2140
2288
|
}
|
|
@@ -9513,11 +9661,20 @@ function createBaseCameraParameters() {
|
|
|
9513
9661
|
whiteBalance: 0,
|
|
9514
9662
|
hue: 0,
|
|
9515
9663
|
gain: 0,
|
|
9664
|
+
brightness: 0,
|
|
9665
|
+
contrast: 0,
|
|
9666
|
+
saturation: 0,
|
|
9667
|
+
gamma: 0,
|
|
9668
|
+
sharpness: 0,
|
|
9669
|
+
backlightCompensation: 0,
|
|
9670
|
+
denoise: 0,
|
|
9516
9671
|
resolution: 0,
|
|
9517
9672
|
streamResolution: 0,
|
|
9518
9673
|
recordingResolution: 0,
|
|
9674
|
+
streamingProtocol: 0,
|
|
9519
9675
|
framerate: 0,
|
|
9520
9676
|
camera: 0,
|
|
9677
|
+
fixedFramerate: false,
|
|
9521
9678
|
};
|
|
9522
9679
|
}
|
|
9523
9680
|
exports.CameraParameters = {
|
|
@@ -9540,6 +9697,27 @@ exports.CameraParameters = {
|
|
|
9540
9697
|
if (message.gain !== 0) {
|
|
9541
9698
|
writer.uint32(77).float(message.gain);
|
|
9542
9699
|
}
|
|
9700
|
+
if (message.brightness !== 0) {
|
|
9701
|
+
writer.uint32(96).int32(message.brightness);
|
|
9702
|
+
}
|
|
9703
|
+
if (message.contrast !== 0) {
|
|
9704
|
+
writer.uint32(104).int32(message.contrast);
|
|
9705
|
+
}
|
|
9706
|
+
if (message.saturation !== 0) {
|
|
9707
|
+
writer.uint32(112).int32(message.saturation);
|
|
9708
|
+
}
|
|
9709
|
+
if (message.gamma !== 0) {
|
|
9710
|
+
writer.uint32(120).int32(message.gamma);
|
|
9711
|
+
}
|
|
9712
|
+
if (message.sharpness !== 0) {
|
|
9713
|
+
writer.uint32(128).int32(message.sharpness);
|
|
9714
|
+
}
|
|
9715
|
+
if (message.backlightCompensation !== 0) {
|
|
9716
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
9717
|
+
}
|
|
9718
|
+
if (message.denoise !== 0) {
|
|
9719
|
+
writer.uint32(144).int32(message.denoise);
|
|
9720
|
+
}
|
|
9543
9721
|
if (message.resolution !== 0) {
|
|
9544
9722
|
writer.uint32(48).int32(message.resolution);
|
|
9545
9723
|
}
|
|
@@ -9549,12 +9727,18 @@ exports.CameraParameters = {
|
|
|
9549
9727
|
if (message.recordingResolution !== 0) {
|
|
9550
9728
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9551
9729
|
}
|
|
9730
|
+
if (message.streamingProtocol !== 0) {
|
|
9731
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
9732
|
+
}
|
|
9552
9733
|
if (message.framerate !== 0) {
|
|
9553
9734
|
writer.uint32(56).int32(message.framerate);
|
|
9554
9735
|
}
|
|
9555
9736
|
if (message.camera !== 0) {
|
|
9556
9737
|
writer.uint32(64).int32(message.camera);
|
|
9557
9738
|
}
|
|
9739
|
+
if (message.fixedFramerate !== false) {
|
|
9740
|
+
writer.uint32(152).bool(message.fixedFramerate);
|
|
9741
|
+
}
|
|
9558
9742
|
return writer;
|
|
9559
9743
|
},
|
|
9560
9744
|
decode(input, length) {
|
|
@@ -9606,6 +9790,55 @@ exports.CameraParameters = {
|
|
|
9606
9790
|
message.gain = reader.float();
|
|
9607
9791
|
continue;
|
|
9608
9792
|
}
|
|
9793
|
+
case 12: {
|
|
9794
|
+
if (tag !== 96) {
|
|
9795
|
+
break;
|
|
9796
|
+
}
|
|
9797
|
+
message.brightness = reader.int32();
|
|
9798
|
+
continue;
|
|
9799
|
+
}
|
|
9800
|
+
case 13: {
|
|
9801
|
+
if (tag !== 104) {
|
|
9802
|
+
break;
|
|
9803
|
+
}
|
|
9804
|
+
message.contrast = reader.int32();
|
|
9805
|
+
continue;
|
|
9806
|
+
}
|
|
9807
|
+
case 14: {
|
|
9808
|
+
if (tag !== 112) {
|
|
9809
|
+
break;
|
|
9810
|
+
}
|
|
9811
|
+
message.saturation = reader.int32();
|
|
9812
|
+
continue;
|
|
9813
|
+
}
|
|
9814
|
+
case 15: {
|
|
9815
|
+
if (tag !== 120) {
|
|
9816
|
+
break;
|
|
9817
|
+
}
|
|
9818
|
+
message.gamma = reader.int32();
|
|
9819
|
+
continue;
|
|
9820
|
+
}
|
|
9821
|
+
case 16: {
|
|
9822
|
+
if (tag !== 128) {
|
|
9823
|
+
break;
|
|
9824
|
+
}
|
|
9825
|
+
message.sharpness = reader.int32();
|
|
9826
|
+
continue;
|
|
9827
|
+
}
|
|
9828
|
+
case 17: {
|
|
9829
|
+
if (tag !== 136) {
|
|
9830
|
+
break;
|
|
9831
|
+
}
|
|
9832
|
+
message.backlightCompensation = reader.int32();
|
|
9833
|
+
continue;
|
|
9834
|
+
}
|
|
9835
|
+
case 18: {
|
|
9836
|
+
if (tag !== 144) {
|
|
9837
|
+
break;
|
|
9838
|
+
}
|
|
9839
|
+
message.denoise = reader.int32();
|
|
9840
|
+
continue;
|
|
9841
|
+
}
|
|
9609
9842
|
case 6: {
|
|
9610
9843
|
if (tag !== 48) {
|
|
9611
9844
|
break;
|
|
@@ -9627,6 +9860,13 @@ exports.CameraParameters = {
|
|
|
9627
9860
|
message.recordingResolution = reader.int32();
|
|
9628
9861
|
continue;
|
|
9629
9862
|
}
|
|
9863
|
+
case 20: {
|
|
9864
|
+
if (tag !== 160) {
|
|
9865
|
+
break;
|
|
9866
|
+
}
|
|
9867
|
+
message.streamingProtocol = reader.int32();
|
|
9868
|
+
continue;
|
|
9869
|
+
}
|
|
9630
9870
|
case 7: {
|
|
9631
9871
|
if (tag !== 56) {
|
|
9632
9872
|
break;
|
|
@@ -9641,6 +9881,13 @@ exports.CameraParameters = {
|
|
|
9641
9881
|
message.camera = reader.int32();
|
|
9642
9882
|
continue;
|
|
9643
9883
|
}
|
|
9884
|
+
case 19: {
|
|
9885
|
+
if (tag !== 152) {
|
|
9886
|
+
break;
|
|
9887
|
+
}
|
|
9888
|
+
message.fixedFramerate = reader.bool();
|
|
9889
|
+
continue;
|
|
9890
|
+
}
|
|
9644
9891
|
}
|
|
9645
9892
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9646
9893
|
break;
|
|
@@ -9657,11 +9904,20 @@ exports.CameraParameters = {
|
|
|
9657
9904
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9658
9905
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9659
9906
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
9907
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
9908
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
9909
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
9910
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
9911
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
9912
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
9913
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
9660
9914
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9661
9915
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9662
9916
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
9917
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9663
9918
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9664
9919
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9920
|
+
fixedFramerate: isSet(object.fixedFramerate) ? gt.Boolean(object.fixedFramerate) : false,
|
|
9665
9921
|
};
|
|
9666
9922
|
},
|
|
9667
9923
|
toJSON(message) {
|
|
@@ -9684,6 +9940,27 @@ exports.CameraParameters = {
|
|
|
9684
9940
|
if (message.gain !== 0) {
|
|
9685
9941
|
obj.gain = message.gain;
|
|
9686
9942
|
}
|
|
9943
|
+
if (message.brightness !== 0) {
|
|
9944
|
+
obj.brightness = Math.round(message.brightness);
|
|
9945
|
+
}
|
|
9946
|
+
if (message.contrast !== 0) {
|
|
9947
|
+
obj.contrast = Math.round(message.contrast);
|
|
9948
|
+
}
|
|
9949
|
+
if (message.saturation !== 0) {
|
|
9950
|
+
obj.saturation = Math.round(message.saturation);
|
|
9951
|
+
}
|
|
9952
|
+
if (message.gamma !== 0) {
|
|
9953
|
+
obj.gamma = Math.round(message.gamma);
|
|
9954
|
+
}
|
|
9955
|
+
if (message.sharpness !== 0) {
|
|
9956
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
9957
|
+
}
|
|
9958
|
+
if (message.backlightCompensation !== 0) {
|
|
9959
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
9960
|
+
}
|
|
9961
|
+
if (message.denoise !== 0) {
|
|
9962
|
+
obj.denoise = Math.round(message.denoise);
|
|
9963
|
+
}
|
|
9687
9964
|
if (message.resolution !== 0) {
|
|
9688
9965
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9689
9966
|
}
|
|
@@ -9693,12 +9970,18 @@ exports.CameraParameters = {
|
|
|
9693
9970
|
if (message.recordingResolution !== 0) {
|
|
9694
9971
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9695
9972
|
}
|
|
9973
|
+
if (message.streamingProtocol !== 0) {
|
|
9974
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
9975
|
+
}
|
|
9696
9976
|
if (message.framerate !== 0) {
|
|
9697
9977
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9698
9978
|
}
|
|
9699
9979
|
if (message.camera !== 0) {
|
|
9700
9980
|
obj.camera = cameraToJSON(message.camera);
|
|
9701
9981
|
}
|
|
9982
|
+
if (message.fixedFramerate !== false) {
|
|
9983
|
+
obj.fixedFramerate = message.fixedFramerate;
|
|
9984
|
+
}
|
|
9702
9985
|
return obj;
|
|
9703
9986
|
},
|
|
9704
9987
|
create(base) {
|
|
@@ -9712,11 +9995,20 @@ exports.CameraParameters = {
|
|
|
9712
9995
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9713
9996
|
message.hue = object.hue ?? 0;
|
|
9714
9997
|
message.gain = object.gain ?? 0;
|
|
9998
|
+
message.brightness = object.brightness ?? 0;
|
|
9999
|
+
message.contrast = object.contrast ?? 0;
|
|
10000
|
+
message.saturation = object.saturation ?? 0;
|
|
10001
|
+
message.gamma = object.gamma ?? 0;
|
|
10002
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10003
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10004
|
+
message.denoise = object.denoise ?? 0;
|
|
9715
10005
|
message.resolution = object.resolution ?? 0;
|
|
9716
10006
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9717
10007
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10008
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9718
10009
|
message.framerate = object.framerate ?? 0;
|
|
9719
10010
|
message.camera = object.camera ?? 0;
|
|
10011
|
+
message.fixedFramerate = object.fixedFramerate ?? false;
|
|
9720
10012
|
return message;
|
|
9721
10013
|
},
|
|
9722
10014
|
};
|
|
@@ -12460,7 +12752,7 @@ exports.PersistentStorageSettings = {
|
|
|
12460
12752
|
},
|
|
12461
12753
|
};
|
|
12462
12754
|
function createBaseCPUInfo() {
|
|
12463
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12755
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12464
12756
|
}
|
|
12465
12757
|
exports.CPUInfo = {
|
|
12466
12758
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12476,6 +12768,9 @@ exports.CPUInfo = {
|
|
|
12476
12768
|
if (message.guestportQueueLoad !== 0) {
|
|
12477
12769
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12478
12770
|
}
|
|
12771
|
+
if (message.commQueueLoad !== 0) {
|
|
12772
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12773
|
+
}
|
|
12479
12774
|
return writer;
|
|
12480
12775
|
},
|
|
12481
12776
|
decode(input, length) {
|
|
@@ -12513,6 +12808,13 @@ exports.CPUInfo = {
|
|
|
12513
12808
|
message.guestportQueueLoad = reader.float();
|
|
12514
12809
|
continue;
|
|
12515
12810
|
}
|
|
12811
|
+
case 5: {
|
|
12812
|
+
if (tag !== 45) {
|
|
12813
|
+
break;
|
|
12814
|
+
}
|
|
12815
|
+
message.commQueueLoad = reader.float();
|
|
12816
|
+
continue;
|
|
12817
|
+
}
|
|
12516
12818
|
}
|
|
12517
12819
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12518
12820
|
break;
|
|
@@ -12527,6 +12829,7 @@ exports.CPUInfo = {
|
|
|
12527
12829
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12528
12830
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12529
12831
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12832
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12530
12833
|
};
|
|
12531
12834
|
},
|
|
12532
12835
|
toJSON(message) {
|
|
@@ -12543,6 +12846,9 @@ exports.CPUInfo = {
|
|
|
12543
12846
|
if (message.guestportQueueLoad !== 0) {
|
|
12544
12847
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12545
12848
|
}
|
|
12849
|
+
if (message.commQueueLoad !== 0) {
|
|
12850
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12851
|
+
}
|
|
12546
12852
|
return obj;
|
|
12547
12853
|
},
|
|
12548
12854
|
create(base) {
|
|
@@ -12554,6 +12860,126 @@ exports.CPUInfo = {
|
|
|
12554
12860
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12555
12861
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12556
12862
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12863
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12864
|
+
return message;
|
|
12865
|
+
},
|
|
12866
|
+
};
|
|
12867
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
12868
|
+
return { status: 0, level: 0 };
|
|
12869
|
+
}
|
|
12870
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
12871
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12872
|
+
if (message.status !== 0) {
|
|
12873
|
+
writer.uint32(8).int32(message.status);
|
|
12874
|
+
}
|
|
12875
|
+
if (message.level !== 0) {
|
|
12876
|
+
writer.uint32(21).float(message.level);
|
|
12877
|
+
}
|
|
12878
|
+
return writer;
|
|
12879
|
+
},
|
|
12880
|
+
decode(input, length) {
|
|
12881
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12882
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12883
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12884
|
+
while (reader.pos < end) {
|
|
12885
|
+
const tag = reader.uint32();
|
|
12886
|
+
switch (tag >>> 3) {
|
|
12887
|
+
case 1: {
|
|
12888
|
+
if (tag !== 8) {
|
|
12889
|
+
break;
|
|
12890
|
+
}
|
|
12891
|
+
message.status = reader.int32();
|
|
12892
|
+
continue;
|
|
12893
|
+
}
|
|
12894
|
+
case 2: {
|
|
12895
|
+
if (tag !== 21) {
|
|
12896
|
+
break;
|
|
12897
|
+
}
|
|
12898
|
+
message.level = reader.float();
|
|
12899
|
+
continue;
|
|
12900
|
+
}
|
|
12901
|
+
}
|
|
12902
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12903
|
+
break;
|
|
12904
|
+
}
|
|
12905
|
+
reader.skip(tag & 7);
|
|
12906
|
+
}
|
|
12907
|
+
return message;
|
|
12908
|
+
},
|
|
12909
|
+
fromJSON(object) {
|
|
12910
|
+
return {
|
|
12911
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
12912
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
12913
|
+
};
|
|
12914
|
+
},
|
|
12915
|
+
toJSON(message) {
|
|
12916
|
+
const obj = {};
|
|
12917
|
+
if (message.status !== 0) {
|
|
12918
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
12919
|
+
}
|
|
12920
|
+
if (message.level !== 0) {
|
|
12921
|
+
obj.level = message.level;
|
|
12922
|
+
}
|
|
12923
|
+
return obj;
|
|
12924
|
+
},
|
|
12925
|
+
create(base) {
|
|
12926
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
12927
|
+
},
|
|
12928
|
+
fromPartial(object) {
|
|
12929
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12930
|
+
message.status = object.status ?? 0;
|
|
12931
|
+
message.level = object.level ?? 0;
|
|
12932
|
+
return message;
|
|
12933
|
+
},
|
|
12934
|
+
};
|
|
12935
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
12936
|
+
return { version: "" };
|
|
12937
|
+
}
|
|
12938
|
+
exports.SurfaceUnitVersionInfo = {
|
|
12939
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12940
|
+
if (message.version !== "") {
|
|
12941
|
+
writer.uint32(10).string(message.version);
|
|
12942
|
+
}
|
|
12943
|
+
return writer;
|
|
12944
|
+
},
|
|
12945
|
+
decode(input, length) {
|
|
12946
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12947
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12948
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12949
|
+
while (reader.pos < end) {
|
|
12950
|
+
const tag = reader.uint32();
|
|
12951
|
+
switch (tag >>> 3) {
|
|
12952
|
+
case 1: {
|
|
12953
|
+
if (tag !== 10) {
|
|
12954
|
+
break;
|
|
12955
|
+
}
|
|
12956
|
+
message.version = reader.string();
|
|
12957
|
+
continue;
|
|
12958
|
+
}
|
|
12959
|
+
}
|
|
12960
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12961
|
+
break;
|
|
12962
|
+
}
|
|
12963
|
+
reader.skip(tag & 7);
|
|
12964
|
+
}
|
|
12965
|
+
return message;
|
|
12966
|
+
},
|
|
12967
|
+
fromJSON(object) {
|
|
12968
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
12969
|
+
},
|
|
12970
|
+
toJSON(message) {
|
|
12971
|
+
const obj = {};
|
|
12972
|
+
if (message.version !== "") {
|
|
12973
|
+
obj.version = message.version;
|
|
12974
|
+
}
|
|
12975
|
+
return obj;
|
|
12976
|
+
},
|
|
12977
|
+
create(base) {
|
|
12978
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
12979
|
+
},
|
|
12980
|
+
fromPartial(object) {
|
|
12981
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12982
|
+
message.version = object.version ?? "";
|
|
12557
12983
|
return message;
|
|
12558
12984
|
},
|
|
12559
12985
|
};
|
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;
|