@blueyerobotics/protocol-definitions 3.2.0-c785049b → 3.2.0-f9c8c50d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aquatroll.js +1 -1
- package/dist/control.js +1 -1
- 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 +77 -7
- package/dist/message_formats.js +400 -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.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: 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;
|
|
@@ -194,11 +194,15 @@ export declare function pressureSensorTypeToJSON(object: PressureSensorType): st
|
|
|
194
194
|
export declare enum Resolution {
|
|
195
195
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
196
196
|
RESOLUTION_UNSPECIFIED = 0,
|
|
197
|
-
/**
|
|
198
|
-
|
|
199
|
-
/**
|
|
197
|
+
/** RESOLUTION_VGA - VGA (640x480). */
|
|
198
|
+
RESOLUTION_VGA = 4,
|
|
199
|
+
/** RESOLUTION_SVGA - SVGA (800x600). */
|
|
200
|
+
RESOLUTION_SVGA = 5,
|
|
201
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
200
202
|
RESOLUTION_HD_720P = 2,
|
|
201
|
-
/**
|
|
203
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
204
|
+
RESOLUTION_FULLHD_1080P = 1,
|
|
205
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
|
|
202
206
|
RESOLUTION_UHD_4K = 3,
|
|
203
207
|
UNRECOGNIZED = -1
|
|
204
208
|
}
|
|
@@ -228,6 +232,17 @@ export declare enum Camera {
|
|
|
228
232
|
}
|
|
229
233
|
export declare function cameraFromJSON(object: any): Camera;
|
|
230
234
|
export declare function cameraToJSON(object: Camera): string;
|
|
235
|
+
export declare enum StreamingProtocol {
|
|
236
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
237
|
+
STREAMING_PROTOCOL_UNSPECIFIED = 0,
|
|
238
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
239
|
+
STREAMING_PROTOCOL_RTSP_H264 = 1,
|
|
240
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
|
|
241
|
+
STREAMING_PROTOCOL_RTSP_MJPEG = 2,
|
|
242
|
+
UNRECOGNIZED = -1
|
|
243
|
+
}
|
|
244
|
+
export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
|
|
245
|
+
export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
|
|
231
246
|
/** Available temperature units. */
|
|
232
247
|
export declare enum TemperatureUnit {
|
|
233
248
|
/** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
|
|
@@ -390,6 +405,8 @@ export declare enum GuestPortDeviceID {
|
|
|
390
405
|
GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
|
|
391
406
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
392
407
|
GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
|
|
408
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
409
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
|
|
393
410
|
UNRECOGNIZED = -1
|
|
394
411
|
}
|
|
395
412
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -1447,22 +1464,40 @@ export interface CameraParameters {
|
|
|
1447
1464
|
mjpgBitrate: number;
|
|
1448
1465
|
/** Shutter speed (1/10000 * s), -1 for automatic exposure. */
|
|
1449
1466
|
exposure: number;
|
|
1450
|
-
/** White balance
|
|
1467
|
+
/** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
|
|
1451
1468
|
whiteBalance: number;
|
|
1452
|
-
/** Hue (-40..40), 0 as default. */
|
|
1469
|
+
/** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
|
|
1453
1470
|
hue: number;
|
|
1454
|
-
/** Iso gain (0..1). */
|
|
1471
|
+
/** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
|
|
1455
1472
|
gain: number;
|
|
1473
|
+
/** Brightness (-10..10), 0 as default. Only available on Ultra */
|
|
1474
|
+
brightness: number;
|
|
1475
|
+
/** Contrast (-50..50), 0 as default. Only available on Ultra. */
|
|
1476
|
+
contrast: number;
|
|
1477
|
+
/** Saturation (-0..50), 8 as default. Only available on Ultra. */
|
|
1478
|
+
saturation: number;
|
|
1479
|
+
/** Gamma (4..79), 22 as default. Only available on Ultra. */
|
|
1480
|
+
gamma: number;
|
|
1481
|
+
/** Sharpness (-20..20), -20 as default. Only available on Ultra. */
|
|
1482
|
+
sharpness: number;
|
|
1483
|
+
/** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
|
|
1484
|
+
backlightCompensation: number;
|
|
1485
|
+
/** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
|
|
1486
|
+
denoise: number;
|
|
1456
1487
|
/** Stream, recording and image resolution (deprecated). */
|
|
1457
1488
|
resolution: Resolution;
|
|
1458
1489
|
/** Stream resolution. */
|
|
1459
1490
|
streamResolution: Resolution;
|
|
1460
1491
|
/** Recording and image resolution. */
|
|
1461
1492
|
recordingResolution: Resolution;
|
|
1493
|
+
/** Streaming protocol. */
|
|
1494
|
+
streamingProtocol: StreamingProtocol;
|
|
1462
1495
|
/** Stream and recording framerate. */
|
|
1463
1496
|
framerate: Framerate;
|
|
1464
1497
|
/** Which camera the parameters belong to. */
|
|
1465
1498
|
camera: Camera;
|
|
1499
|
+
/** Prioritize fixed frame rate over quality on Ultra. */
|
|
1500
|
+
fixedFramerate: boolean;
|
|
1466
1501
|
}
|
|
1467
1502
|
/**
|
|
1468
1503
|
* Overlay parameters.
|
|
@@ -1842,6 +1877,39 @@ export interface CPUInfo {
|
|
|
1842
1877
|
mainQueueLoad: number;
|
|
1843
1878
|
/** Guestport queue load (0..1). */
|
|
1844
1879
|
guestportQueueLoad: number;
|
|
1880
|
+
/** Communication queue load (0..1). */
|
|
1881
|
+
commQueueLoad: number;
|
|
1882
|
+
}
|
|
1883
|
+
/**
|
|
1884
|
+
* Surface Unit battery information.
|
|
1885
|
+
*
|
|
1886
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1887
|
+
* the drone over the communication protocol.
|
|
1888
|
+
*/
|
|
1889
|
+
export interface SurfaceUnitBatteryInfo {
|
|
1890
|
+
/** Battery charge status. */
|
|
1891
|
+
status: SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1892
|
+
/** Battery level (0..1). */
|
|
1893
|
+
level: number;
|
|
1894
|
+
}
|
|
1895
|
+
export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
|
|
1896
|
+
CHARGE_STATUS_UNSPECIFIED = 0,
|
|
1897
|
+
CHARGE_STATUS_DISCHARGE = 1,
|
|
1898
|
+
CHARGE_STATUS_CHARGE = 2,
|
|
1899
|
+
CHARGE_STATUS_CHARGE_ERROR = 3,
|
|
1900
|
+
UNRECOGNIZED = -1
|
|
1901
|
+
}
|
|
1902
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1903
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
|
|
1904
|
+
/**
|
|
1905
|
+
* Surface Unit version information.
|
|
1906
|
+
*
|
|
1907
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1908
|
+
* the drone over the communication protocol.
|
|
1909
|
+
*/
|
|
1910
|
+
export interface SurfaceUnitVersionInfo {
|
|
1911
|
+
/** Surface Unit firmware version (x.y.z). */
|
|
1912
|
+
version: string;
|
|
1845
1913
|
}
|
|
1846
1914
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1847
1915
|
export declare const LogEntry: MessageFns<LogEntry>;
|
|
@@ -1930,6 +1998,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
|
1930
1998
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
1931
1999
|
export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
|
|
1932
2000
|
export declare const CPUInfo: MessageFns<CPUInfo>;
|
|
2001
|
+
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2002
|
+
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
1933
2003
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1934
2004
|
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
1935
2005
|
[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.GripperVelocities = 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.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.GuestPortDeviceList = 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 = 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 = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -32,6 +32,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
32
|
exports.framerateToJSON = framerateToJSON;
|
|
33
33
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
34
|
exports.cameraToJSON = cameraToJSON;
|
|
35
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
36
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
37
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
38
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
39
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -68,6 +70,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
68
70
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
69
71
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
70
72
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
73
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
74
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
71
75
|
/* eslint-disable */
|
|
72
76
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
73
77
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -718,11 +722,15 @@ var Resolution;
|
|
|
718
722
|
(function (Resolution) {
|
|
719
723
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
720
724
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
721
|
-
/**
|
|
722
|
-
Resolution[Resolution["
|
|
723
|
-
/**
|
|
725
|
+
/** RESOLUTION_VGA - VGA (640x480). */
|
|
726
|
+
Resolution[Resolution["RESOLUTION_VGA"] = 4] = "RESOLUTION_VGA";
|
|
727
|
+
/** RESOLUTION_SVGA - SVGA (800x600). */
|
|
728
|
+
Resolution[Resolution["RESOLUTION_SVGA"] = 5] = "RESOLUTION_SVGA";
|
|
729
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
724
730
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
725
|
-
/**
|
|
731
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
732
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
733
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
|
|
726
734
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
727
735
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
728
736
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -731,12 +739,18 @@ function resolutionFromJSON(object) {
|
|
|
731
739
|
case 0:
|
|
732
740
|
case "RESOLUTION_UNSPECIFIED":
|
|
733
741
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
734
|
-
case
|
|
735
|
-
case "
|
|
736
|
-
return Resolution.
|
|
742
|
+
case 4:
|
|
743
|
+
case "RESOLUTION_VGA":
|
|
744
|
+
return Resolution.RESOLUTION_VGA;
|
|
745
|
+
case 5:
|
|
746
|
+
case "RESOLUTION_SVGA":
|
|
747
|
+
return Resolution.RESOLUTION_SVGA;
|
|
737
748
|
case 2:
|
|
738
749
|
case "RESOLUTION_HD_720P":
|
|
739
750
|
return Resolution.RESOLUTION_HD_720P;
|
|
751
|
+
case 1:
|
|
752
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
753
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
740
754
|
case 3:
|
|
741
755
|
case "RESOLUTION_UHD_4K":
|
|
742
756
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -750,10 +764,14 @@ function resolutionToJSON(object) {
|
|
|
750
764
|
switch (object) {
|
|
751
765
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
752
766
|
return "RESOLUTION_UNSPECIFIED";
|
|
753
|
-
case Resolution.
|
|
754
|
-
return "
|
|
767
|
+
case Resolution.RESOLUTION_VGA:
|
|
768
|
+
return "RESOLUTION_VGA";
|
|
769
|
+
case Resolution.RESOLUTION_SVGA:
|
|
770
|
+
return "RESOLUTION_SVGA";
|
|
755
771
|
case Resolution.RESOLUTION_HD_720P:
|
|
756
772
|
return "RESOLUTION_HD_720P";
|
|
773
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
774
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
757
775
|
case Resolution.RESOLUTION_UHD_4K:
|
|
758
776
|
return "RESOLUTION_UHD_4K";
|
|
759
777
|
case Resolution.UNRECOGNIZED:
|
|
@@ -843,6 +861,46 @@ function cameraToJSON(object) {
|
|
|
843
861
|
return "UNRECOGNIZED";
|
|
844
862
|
}
|
|
845
863
|
}
|
|
864
|
+
var StreamingProtocol;
|
|
865
|
+
(function (StreamingProtocol) {
|
|
866
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
867
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
868
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
869
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
870
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
|
|
871
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
872
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
873
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
874
|
+
function streamingProtocolFromJSON(object) {
|
|
875
|
+
switch (object) {
|
|
876
|
+
case 0:
|
|
877
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
878
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
879
|
+
case 1:
|
|
880
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
881
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
882
|
+
case 2:
|
|
883
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
884
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
885
|
+
case -1:
|
|
886
|
+
case "UNRECOGNIZED":
|
|
887
|
+
default:
|
|
888
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
function streamingProtocolToJSON(object) {
|
|
892
|
+
switch (object) {
|
|
893
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
894
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
895
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
896
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
897
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
898
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
899
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
900
|
+
default:
|
|
901
|
+
return "UNRECOGNIZED";
|
|
902
|
+
}
|
|
903
|
+
}
|
|
846
904
|
/** Available temperature units. */
|
|
847
905
|
var TemperatureUnit;
|
|
848
906
|
(function (TemperatureUnit) {
|
|
@@ -1176,6 +1234,8 @@ var GuestPortDeviceID;
|
|
|
1176
1234
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1177
1235
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1178
1236
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1237
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1238
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1179
1239
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1180
1240
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1181
1241
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1315,6 +1375,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1315
1375
|
case 44:
|
|
1316
1376
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1317
1377
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1378
|
+
case 45:
|
|
1379
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1380
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1318
1381
|
case -1:
|
|
1319
1382
|
case "UNRECOGNIZED":
|
|
1320
1383
|
default:
|
|
@@ -1413,6 +1476,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1413
1476
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1414
1477
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1415
1478
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1479
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1480
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1416
1481
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1417
1482
|
default:
|
|
1418
1483
|
return "UNRECOGNIZED";
|
|
@@ -2135,6 +2200,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2135
2200
|
return "UNRECOGNIZED";
|
|
2136
2201
|
}
|
|
2137
2202
|
}
|
|
2203
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2204
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2205
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2206
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2207
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2208
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2209
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2210
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2211
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2212
|
+
switch (object) {
|
|
2213
|
+
case 0:
|
|
2214
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2215
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2216
|
+
case 1:
|
|
2217
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2218
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2219
|
+
case 2:
|
|
2220
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2221
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2222
|
+
case 3:
|
|
2223
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2224
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2225
|
+
case -1:
|
|
2226
|
+
case "UNRECOGNIZED":
|
|
2227
|
+
default:
|
|
2228
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2232
|
+
switch (object) {
|
|
2233
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2234
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2235
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2236
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2237
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2238
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2239
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2240
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2241
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2242
|
+
default:
|
|
2243
|
+
return "UNRECOGNIZED";
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2138
2246
|
function createBaseBinlogRecord() {
|
|
2139
2247
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2140
2248
|
}
|
|
@@ -9513,11 +9621,20 @@ function createBaseCameraParameters() {
|
|
|
9513
9621
|
whiteBalance: 0,
|
|
9514
9622
|
hue: 0,
|
|
9515
9623
|
gain: 0,
|
|
9624
|
+
brightness: 0,
|
|
9625
|
+
contrast: 0,
|
|
9626
|
+
saturation: 0,
|
|
9627
|
+
gamma: 0,
|
|
9628
|
+
sharpness: 0,
|
|
9629
|
+
backlightCompensation: 0,
|
|
9630
|
+
denoise: 0,
|
|
9516
9631
|
resolution: 0,
|
|
9517
9632
|
streamResolution: 0,
|
|
9518
9633
|
recordingResolution: 0,
|
|
9634
|
+
streamingProtocol: 0,
|
|
9519
9635
|
framerate: 0,
|
|
9520
9636
|
camera: 0,
|
|
9637
|
+
fixedFramerate: false,
|
|
9521
9638
|
};
|
|
9522
9639
|
}
|
|
9523
9640
|
exports.CameraParameters = {
|
|
@@ -9540,6 +9657,27 @@ exports.CameraParameters = {
|
|
|
9540
9657
|
if (message.gain !== 0) {
|
|
9541
9658
|
writer.uint32(77).float(message.gain);
|
|
9542
9659
|
}
|
|
9660
|
+
if (message.brightness !== 0) {
|
|
9661
|
+
writer.uint32(96).int32(message.brightness);
|
|
9662
|
+
}
|
|
9663
|
+
if (message.contrast !== 0) {
|
|
9664
|
+
writer.uint32(104).int32(message.contrast);
|
|
9665
|
+
}
|
|
9666
|
+
if (message.saturation !== 0) {
|
|
9667
|
+
writer.uint32(112).int32(message.saturation);
|
|
9668
|
+
}
|
|
9669
|
+
if (message.gamma !== 0) {
|
|
9670
|
+
writer.uint32(120).int32(message.gamma);
|
|
9671
|
+
}
|
|
9672
|
+
if (message.sharpness !== 0) {
|
|
9673
|
+
writer.uint32(128).int32(message.sharpness);
|
|
9674
|
+
}
|
|
9675
|
+
if (message.backlightCompensation !== 0) {
|
|
9676
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
9677
|
+
}
|
|
9678
|
+
if (message.denoise !== 0) {
|
|
9679
|
+
writer.uint32(144).int32(message.denoise);
|
|
9680
|
+
}
|
|
9543
9681
|
if (message.resolution !== 0) {
|
|
9544
9682
|
writer.uint32(48).int32(message.resolution);
|
|
9545
9683
|
}
|
|
@@ -9549,12 +9687,18 @@ exports.CameraParameters = {
|
|
|
9549
9687
|
if (message.recordingResolution !== 0) {
|
|
9550
9688
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9551
9689
|
}
|
|
9690
|
+
if (message.streamingProtocol !== 0) {
|
|
9691
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
9692
|
+
}
|
|
9552
9693
|
if (message.framerate !== 0) {
|
|
9553
9694
|
writer.uint32(56).int32(message.framerate);
|
|
9554
9695
|
}
|
|
9555
9696
|
if (message.camera !== 0) {
|
|
9556
9697
|
writer.uint32(64).int32(message.camera);
|
|
9557
9698
|
}
|
|
9699
|
+
if (message.fixedFramerate !== false) {
|
|
9700
|
+
writer.uint32(152).bool(message.fixedFramerate);
|
|
9701
|
+
}
|
|
9558
9702
|
return writer;
|
|
9559
9703
|
},
|
|
9560
9704
|
decode(input, length) {
|
|
@@ -9606,6 +9750,55 @@ exports.CameraParameters = {
|
|
|
9606
9750
|
message.gain = reader.float();
|
|
9607
9751
|
continue;
|
|
9608
9752
|
}
|
|
9753
|
+
case 12: {
|
|
9754
|
+
if (tag !== 96) {
|
|
9755
|
+
break;
|
|
9756
|
+
}
|
|
9757
|
+
message.brightness = reader.int32();
|
|
9758
|
+
continue;
|
|
9759
|
+
}
|
|
9760
|
+
case 13: {
|
|
9761
|
+
if (tag !== 104) {
|
|
9762
|
+
break;
|
|
9763
|
+
}
|
|
9764
|
+
message.contrast = reader.int32();
|
|
9765
|
+
continue;
|
|
9766
|
+
}
|
|
9767
|
+
case 14: {
|
|
9768
|
+
if (tag !== 112) {
|
|
9769
|
+
break;
|
|
9770
|
+
}
|
|
9771
|
+
message.saturation = reader.int32();
|
|
9772
|
+
continue;
|
|
9773
|
+
}
|
|
9774
|
+
case 15: {
|
|
9775
|
+
if (tag !== 120) {
|
|
9776
|
+
break;
|
|
9777
|
+
}
|
|
9778
|
+
message.gamma = reader.int32();
|
|
9779
|
+
continue;
|
|
9780
|
+
}
|
|
9781
|
+
case 16: {
|
|
9782
|
+
if (tag !== 128) {
|
|
9783
|
+
break;
|
|
9784
|
+
}
|
|
9785
|
+
message.sharpness = reader.int32();
|
|
9786
|
+
continue;
|
|
9787
|
+
}
|
|
9788
|
+
case 17: {
|
|
9789
|
+
if (tag !== 136) {
|
|
9790
|
+
break;
|
|
9791
|
+
}
|
|
9792
|
+
message.backlightCompensation = reader.int32();
|
|
9793
|
+
continue;
|
|
9794
|
+
}
|
|
9795
|
+
case 18: {
|
|
9796
|
+
if (tag !== 144) {
|
|
9797
|
+
break;
|
|
9798
|
+
}
|
|
9799
|
+
message.denoise = reader.int32();
|
|
9800
|
+
continue;
|
|
9801
|
+
}
|
|
9609
9802
|
case 6: {
|
|
9610
9803
|
if (tag !== 48) {
|
|
9611
9804
|
break;
|
|
@@ -9627,6 +9820,13 @@ exports.CameraParameters = {
|
|
|
9627
9820
|
message.recordingResolution = reader.int32();
|
|
9628
9821
|
continue;
|
|
9629
9822
|
}
|
|
9823
|
+
case 20: {
|
|
9824
|
+
if (tag !== 160) {
|
|
9825
|
+
break;
|
|
9826
|
+
}
|
|
9827
|
+
message.streamingProtocol = reader.int32();
|
|
9828
|
+
continue;
|
|
9829
|
+
}
|
|
9630
9830
|
case 7: {
|
|
9631
9831
|
if (tag !== 56) {
|
|
9632
9832
|
break;
|
|
@@ -9641,6 +9841,13 @@ exports.CameraParameters = {
|
|
|
9641
9841
|
message.camera = reader.int32();
|
|
9642
9842
|
continue;
|
|
9643
9843
|
}
|
|
9844
|
+
case 19: {
|
|
9845
|
+
if (tag !== 152) {
|
|
9846
|
+
break;
|
|
9847
|
+
}
|
|
9848
|
+
message.fixedFramerate = reader.bool();
|
|
9849
|
+
continue;
|
|
9850
|
+
}
|
|
9644
9851
|
}
|
|
9645
9852
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9646
9853
|
break;
|
|
@@ -9657,11 +9864,20 @@ exports.CameraParameters = {
|
|
|
9657
9864
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9658
9865
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9659
9866
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
9867
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
9868
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
9869
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
9870
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
9871
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
9872
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
9873
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
9660
9874
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9661
9875
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9662
9876
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
9877
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9663
9878
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9664
9879
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9880
|
+
fixedFramerate: isSet(object.fixedFramerate) ? gt.Boolean(object.fixedFramerate) : false,
|
|
9665
9881
|
};
|
|
9666
9882
|
},
|
|
9667
9883
|
toJSON(message) {
|
|
@@ -9684,6 +9900,27 @@ exports.CameraParameters = {
|
|
|
9684
9900
|
if (message.gain !== 0) {
|
|
9685
9901
|
obj.gain = message.gain;
|
|
9686
9902
|
}
|
|
9903
|
+
if (message.brightness !== 0) {
|
|
9904
|
+
obj.brightness = Math.round(message.brightness);
|
|
9905
|
+
}
|
|
9906
|
+
if (message.contrast !== 0) {
|
|
9907
|
+
obj.contrast = Math.round(message.contrast);
|
|
9908
|
+
}
|
|
9909
|
+
if (message.saturation !== 0) {
|
|
9910
|
+
obj.saturation = Math.round(message.saturation);
|
|
9911
|
+
}
|
|
9912
|
+
if (message.gamma !== 0) {
|
|
9913
|
+
obj.gamma = Math.round(message.gamma);
|
|
9914
|
+
}
|
|
9915
|
+
if (message.sharpness !== 0) {
|
|
9916
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
9917
|
+
}
|
|
9918
|
+
if (message.backlightCompensation !== 0) {
|
|
9919
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
9920
|
+
}
|
|
9921
|
+
if (message.denoise !== 0) {
|
|
9922
|
+
obj.denoise = Math.round(message.denoise);
|
|
9923
|
+
}
|
|
9687
9924
|
if (message.resolution !== 0) {
|
|
9688
9925
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9689
9926
|
}
|
|
@@ -9693,12 +9930,18 @@ exports.CameraParameters = {
|
|
|
9693
9930
|
if (message.recordingResolution !== 0) {
|
|
9694
9931
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9695
9932
|
}
|
|
9933
|
+
if (message.streamingProtocol !== 0) {
|
|
9934
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
9935
|
+
}
|
|
9696
9936
|
if (message.framerate !== 0) {
|
|
9697
9937
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9698
9938
|
}
|
|
9699
9939
|
if (message.camera !== 0) {
|
|
9700
9940
|
obj.camera = cameraToJSON(message.camera);
|
|
9701
9941
|
}
|
|
9942
|
+
if (message.fixedFramerate !== false) {
|
|
9943
|
+
obj.fixedFramerate = message.fixedFramerate;
|
|
9944
|
+
}
|
|
9702
9945
|
return obj;
|
|
9703
9946
|
},
|
|
9704
9947
|
create(base) {
|
|
@@ -9712,11 +9955,20 @@ exports.CameraParameters = {
|
|
|
9712
9955
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9713
9956
|
message.hue = object.hue ?? 0;
|
|
9714
9957
|
message.gain = object.gain ?? 0;
|
|
9958
|
+
message.brightness = object.brightness ?? 0;
|
|
9959
|
+
message.contrast = object.contrast ?? 0;
|
|
9960
|
+
message.saturation = object.saturation ?? 0;
|
|
9961
|
+
message.gamma = object.gamma ?? 0;
|
|
9962
|
+
message.sharpness = object.sharpness ?? 0;
|
|
9963
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
9964
|
+
message.denoise = object.denoise ?? 0;
|
|
9715
9965
|
message.resolution = object.resolution ?? 0;
|
|
9716
9966
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9717
9967
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
9968
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9718
9969
|
message.framerate = object.framerate ?? 0;
|
|
9719
9970
|
message.camera = object.camera ?? 0;
|
|
9971
|
+
message.fixedFramerate = object.fixedFramerate ?? false;
|
|
9720
9972
|
return message;
|
|
9721
9973
|
},
|
|
9722
9974
|
};
|
|
@@ -12460,7 +12712,7 @@ exports.PersistentStorageSettings = {
|
|
|
12460
12712
|
},
|
|
12461
12713
|
};
|
|
12462
12714
|
function createBaseCPUInfo() {
|
|
12463
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12715
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12464
12716
|
}
|
|
12465
12717
|
exports.CPUInfo = {
|
|
12466
12718
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12476,6 +12728,9 @@ exports.CPUInfo = {
|
|
|
12476
12728
|
if (message.guestportQueueLoad !== 0) {
|
|
12477
12729
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12478
12730
|
}
|
|
12731
|
+
if (message.commQueueLoad !== 0) {
|
|
12732
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12733
|
+
}
|
|
12479
12734
|
return writer;
|
|
12480
12735
|
},
|
|
12481
12736
|
decode(input, length) {
|
|
@@ -12513,6 +12768,13 @@ exports.CPUInfo = {
|
|
|
12513
12768
|
message.guestportQueueLoad = reader.float();
|
|
12514
12769
|
continue;
|
|
12515
12770
|
}
|
|
12771
|
+
case 5: {
|
|
12772
|
+
if (tag !== 45) {
|
|
12773
|
+
break;
|
|
12774
|
+
}
|
|
12775
|
+
message.commQueueLoad = reader.float();
|
|
12776
|
+
continue;
|
|
12777
|
+
}
|
|
12516
12778
|
}
|
|
12517
12779
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12518
12780
|
break;
|
|
@@ -12527,6 +12789,7 @@ exports.CPUInfo = {
|
|
|
12527
12789
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12528
12790
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12529
12791
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12792
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12530
12793
|
};
|
|
12531
12794
|
},
|
|
12532
12795
|
toJSON(message) {
|
|
@@ -12543,6 +12806,9 @@ exports.CPUInfo = {
|
|
|
12543
12806
|
if (message.guestportQueueLoad !== 0) {
|
|
12544
12807
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12545
12808
|
}
|
|
12809
|
+
if (message.commQueueLoad !== 0) {
|
|
12810
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12811
|
+
}
|
|
12546
12812
|
return obj;
|
|
12547
12813
|
},
|
|
12548
12814
|
create(base) {
|
|
@@ -12554,6 +12820,126 @@ exports.CPUInfo = {
|
|
|
12554
12820
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12555
12821
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12556
12822
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12823
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12824
|
+
return message;
|
|
12825
|
+
},
|
|
12826
|
+
};
|
|
12827
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
12828
|
+
return { status: 0, level: 0 };
|
|
12829
|
+
}
|
|
12830
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
12831
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12832
|
+
if (message.status !== 0) {
|
|
12833
|
+
writer.uint32(8).int32(message.status);
|
|
12834
|
+
}
|
|
12835
|
+
if (message.level !== 0) {
|
|
12836
|
+
writer.uint32(21).float(message.level);
|
|
12837
|
+
}
|
|
12838
|
+
return writer;
|
|
12839
|
+
},
|
|
12840
|
+
decode(input, length) {
|
|
12841
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12842
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12843
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12844
|
+
while (reader.pos < end) {
|
|
12845
|
+
const tag = reader.uint32();
|
|
12846
|
+
switch (tag >>> 3) {
|
|
12847
|
+
case 1: {
|
|
12848
|
+
if (tag !== 8) {
|
|
12849
|
+
break;
|
|
12850
|
+
}
|
|
12851
|
+
message.status = reader.int32();
|
|
12852
|
+
continue;
|
|
12853
|
+
}
|
|
12854
|
+
case 2: {
|
|
12855
|
+
if (tag !== 21) {
|
|
12856
|
+
break;
|
|
12857
|
+
}
|
|
12858
|
+
message.level = reader.float();
|
|
12859
|
+
continue;
|
|
12860
|
+
}
|
|
12861
|
+
}
|
|
12862
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12863
|
+
break;
|
|
12864
|
+
}
|
|
12865
|
+
reader.skip(tag & 7);
|
|
12866
|
+
}
|
|
12867
|
+
return message;
|
|
12868
|
+
},
|
|
12869
|
+
fromJSON(object) {
|
|
12870
|
+
return {
|
|
12871
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
12872
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
12873
|
+
};
|
|
12874
|
+
},
|
|
12875
|
+
toJSON(message) {
|
|
12876
|
+
const obj = {};
|
|
12877
|
+
if (message.status !== 0) {
|
|
12878
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
12879
|
+
}
|
|
12880
|
+
if (message.level !== 0) {
|
|
12881
|
+
obj.level = message.level;
|
|
12882
|
+
}
|
|
12883
|
+
return obj;
|
|
12884
|
+
},
|
|
12885
|
+
create(base) {
|
|
12886
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
12887
|
+
},
|
|
12888
|
+
fromPartial(object) {
|
|
12889
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12890
|
+
message.status = object.status ?? 0;
|
|
12891
|
+
message.level = object.level ?? 0;
|
|
12892
|
+
return message;
|
|
12893
|
+
},
|
|
12894
|
+
};
|
|
12895
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
12896
|
+
return { version: "" };
|
|
12897
|
+
}
|
|
12898
|
+
exports.SurfaceUnitVersionInfo = {
|
|
12899
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12900
|
+
if (message.version !== "") {
|
|
12901
|
+
writer.uint32(10).string(message.version);
|
|
12902
|
+
}
|
|
12903
|
+
return writer;
|
|
12904
|
+
},
|
|
12905
|
+
decode(input, length) {
|
|
12906
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12907
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12908
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12909
|
+
while (reader.pos < end) {
|
|
12910
|
+
const tag = reader.uint32();
|
|
12911
|
+
switch (tag >>> 3) {
|
|
12912
|
+
case 1: {
|
|
12913
|
+
if (tag !== 10) {
|
|
12914
|
+
break;
|
|
12915
|
+
}
|
|
12916
|
+
message.version = reader.string();
|
|
12917
|
+
continue;
|
|
12918
|
+
}
|
|
12919
|
+
}
|
|
12920
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12921
|
+
break;
|
|
12922
|
+
}
|
|
12923
|
+
reader.skip(tag & 7);
|
|
12924
|
+
}
|
|
12925
|
+
return message;
|
|
12926
|
+
},
|
|
12927
|
+
fromJSON(object) {
|
|
12928
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
12929
|
+
},
|
|
12930
|
+
toJSON(message) {
|
|
12931
|
+
const obj = {};
|
|
12932
|
+
if (message.version !== "") {
|
|
12933
|
+
obj.version = message.version;
|
|
12934
|
+
}
|
|
12935
|
+
return obj;
|
|
12936
|
+
},
|
|
12937
|
+
create(base) {
|
|
12938
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
12939
|
+
},
|
|
12940
|
+
fromPartial(object) {
|
|
12941
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12942
|
+
message.version = object.version ?? "";
|
|
12557
12943
|
return message;
|
|
12558
12944
|
},
|
|
12559
12945
|
};
|
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;
|