@blueyerobotics/protocol-definitions 3.2.0-5739a6ac → 3.2.0-6025f25a
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/LICENSE +165 -0
- package/README.npm.md +40 -0
- 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 +140 -9
- package/dist/message_formats.js +702 -15
- 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 +8 -6
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 = 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;
|
|
@@ -54,6 +58,8 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
58
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
59
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
61
|
+
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
62
|
+
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
57
63
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
64
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
65
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -66,6 +72,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
66
72
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
67
73
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
68
74
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
75
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
76
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
69
77
|
/* eslint-disable */
|
|
70
78
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
71
79
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -587,6 +595,51 @@ function notificationLevelToJSON(object) {
|
|
|
587
595
|
return "UNRECOGNIZED";
|
|
588
596
|
}
|
|
589
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
|
+
}
|
|
590
643
|
/** Drone models produced by Blueye. */
|
|
591
644
|
var Model;
|
|
592
645
|
(function (Model) {
|
|
@@ -716,11 +769,13 @@ var Resolution;
|
|
|
716
769
|
(function (Resolution) {
|
|
717
770
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
718
771
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
719
|
-
/**
|
|
720
|
-
Resolution[Resolution["
|
|
721
|
-
/** 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). */
|
|
722
775
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
723
|
-
/**
|
|
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, Only supported on X3 Ultra). */
|
|
724
779
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
725
780
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
726
781
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -729,12 +784,15 @@ function resolutionFromJSON(object) {
|
|
|
729
784
|
case 0:
|
|
730
785
|
case "RESOLUTION_UNSPECIFIED":
|
|
731
786
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
732
|
-
case
|
|
733
|
-
case "
|
|
734
|
-
return Resolution.
|
|
787
|
+
case 4:
|
|
788
|
+
case "RESOLUTION_VGA_480P":
|
|
789
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
735
790
|
case 2:
|
|
736
791
|
case "RESOLUTION_HD_720P":
|
|
737
792
|
return Resolution.RESOLUTION_HD_720P;
|
|
793
|
+
case 1:
|
|
794
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
795
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
738
796
|
case 3:
|
|
739
797
|
case "RESOLUTION_UHD_4K":
|
|
740
798
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -748,10 +806,12 @@ function resolutionToJSON(object) {
|
|
|
748
806
|
switch (object) {
|
|
749
807
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
750
808
|
return "RESOLUTION_UNSPECIFIED";
|
|
751
|
-
case Resolution.
|
|
752
|
-
return "
|
|
809
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
810
|
+
return "RESOLUTION_VGA_480P";
|
|
753
811
|
case Resolution.RESOLUTION_HD_720P:
|
|
754
812
|
return "RESOLUTION_HD_720P";
|
|
813
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
814
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
755
815
|
case Resolution.RESOLUTION_UHD_4K:
|
|
756
816
|
return "RESOLUTION_UHD_4K";
|
|
757
817
|
case Resolution.UNRECOGNIZED:
|
|
@@ -766,7 +826,7 @@ var Framerate;
|
|
|
766
826
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
767
827
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
768
828
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
769
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
829
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
770
830
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
771
831
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
772
832
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -841,6 +901,46 @@ function cameraToJSON(object) {
|
|
|
841
901
|
return "UNRECOGNIZED";
|
|
842
902
|
}
|
|
843
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. No recording when activated. */
|
|
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
|
+
}
|
|
844
944
|
/** Available temperature units. */
|
|
845
945
|
var TemperatureUnit;
|
|
846
946
|
(function (TemperatureUnit) {
|
|
@@ -1174,6 +1274,8 @@ var GuestPortDeviceID;
|
|
|
1174
1274
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1175
1275
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1176
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";
|
|
1177
1279
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1178
1280
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1179
1281
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1313,6 +1415,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1313
1415
|
case 44:
|
|
1314
1416
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1315
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;
|
|
1316
1421
|
case -1:
|
|
1317
1422
|
case "UNRECOGNIZED":
|
|
1318
1423
|
default:
|
|
@@ -1411,6 +1516,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1411
1516
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1412
1517
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1413
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";
|
|
1414
1521
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1415
1522
|
default:
|
|
1416
1523
|
return "UNRECOGNIZED";
|
|
@@ -1687,6 +1794,74 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1687
1794
|
return "UNRECOGNIZED";
|
|
1688
1795
|
}
|
|
1689
1796
|
}
|
|
1797
|
+
var LogEntry_LogLevel;
|
|
1798
|
+
(function (LogEntry_LogLevel) {
|
|
1799
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1800
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1801
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1802
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1803
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1804
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1805
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1806
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1807
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1808
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1809
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1810
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1811
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1812
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1813
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1814
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1815
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1816
|
+
switch (object) {
|
|
1817
|
+
case 0:
|
|
1818
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1819
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1820
|
+
case 1:
|
|
1821
|
+
case "LOG_LEVEL_TRACE":
|
|
1822
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1823
|
+
case 2:
|
|
1824
|
+
case "LOG_LEVEL_DEBUG":
|
|
1825
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1826
|
+
case 3:
|
|
1827
|
+
case "LOG_LEVEL_INFO":
|
|
1828
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1829
|
+
case 4:
|
|
1830
|
+
case "LOG_LEVEL_WARNING":
|
|
1831
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1832
|
+
case 5:
|
|
1833
|
+
case "LOG_LEVEL_ERROR":
|
|
1834
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1835
|
+
case 6:
|
|
1836
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1837
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1838
|
+
case -1:
|
|
1839
|
+
case "UNRECOGNIZED":
|
|
1840
|
+
default:
|
|
1841
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1845
|
+
switch (object) {
|
|
1846
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1847
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1848
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1849
|
+
return "LOG_LEVEL_TRACE";
|
|
1850
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1851
|
+
return "LOG_LEVEL_DEBUG";
|
|
1852
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1853
|
+
return "LOG_LEVEL_INFO";
|
|
1854
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1855
|
+
return "LOG_LEVEL_WARNING";
|
|
1856
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1857
|
+
return "LOG_LEVEL_ERROR";
|
|
1858
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1859
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1860
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1861
|
+
default:
|
|
1862
|
+
return "UNRECOGNIZED";
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1690
1865
|
var PingerConfiguration_MountingDirection;
|
|
1691
1866
|
(function (PingerConfiguration_MountingDirection) {
|
|
1692
1867
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -2065,6 +2240,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2065
2240
|
return "UNRECOGNIZED";
|
|
2066
2241
|
}
|
|
2067
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
|
+
}
|
|
2068
2286
|
function createBaseBinlogRecord() {
|
|
2069
2287
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2070
2288
|
}
|
|
@@ -2150,6 +2368,149 @@ exports.BinlogRecord = {
|
|
|
2150
2368
|
return message;
|
|
2151
2369
|
},
|
|
2152
2370
|
};
|
|
2371
|
+
function createBaseLogEntry() {
|
|
2372
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2373
|
+
}
|
|
2374
|
+
exports.LogEntry = {
|
|
2375
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2376
|
+
if (message.timestamp !== undefined) {
|
|
2377
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2378
|
+
}
|
|
2379
|
+
if (message.processName !== "") {
|
|
2380
|
+
writer.uint32(18).string(message.processName);
|
|
2381
|
+
}
|
|
2382
|
+
if (message.processId !== 0) {
|
|
2383
|
+
writer.uint32(24).uint64(message.processId);
|
|
2384
|
+
}
|
|
2385
|
+
if (message.threadId !== 0) {
|
|
2386
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2387
|
+
}
|
|
2388
|
+
if (message.source !== "") {
|
|
2389
|
+
writer.uint32(42).string(message.source);
|
|
2390
|
+
}
|
|
2391
|
+
if (message.level !== 0) {
|
|
2392
|
+
writer.uint32(48).int32(message.level);
|
|
2393
|
+
}
|
|
2394
|
+
if (message.message !== "") {
|
|
2395
|
+
writer.uint32(58).string(message.message);
|
|
2396
|
+
}
|
|
2397
|
+
return writer;
|
|
2398
|
+
},
|
|
2399
|
+
decode(input, length) {
|
|
2400
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2401
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2402
|
+
const message = createBaseLogEntry();
|
|
2403
|
+
while (reader.pos < end) {
|
|
2404
|
+
const tag = reader.uint32();
|
|
2405
|
+
switch (tag >>> 3) {
|
|
2406
|
+
case 1: {
|
|
2407
|
+
if (tag !== 10) {
|
|
2408
|
+
break;
|
|
2409
|
+
}
|
|
2410
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2411
|
+
continue;
|
|
2412
|
+
}
|
|
2413
|
+
case 2: {
|
|
2414
|
+
if (tag !== 18) {
|
|
2415
|
+
break;
|
|
2416
|
+
}
|
|
2417
|
+
message.processName = reader.string();
|
|
2418
|
+
continue;
|
|
2419
|
+
}
|
|
2420
|
+
case 3: {
|
|
2421
|
+
if (tag !== 24) {
|
|
2422
|
+
break;
|
|
2423
|
+
}
|
|
2424
|
+
message.processId = longToNumber(reader.uint64());
|
|
2425
|
+
continue;
|
|
2426
|
+
}
|
|
2427
|
+
case 4: {
|
|
2428
|
+
if (tag !== 32) {
|
|
2429
|
+
break;
|
|
2430
|
+
}
|
|
2431
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2432
|
+
continue;
|
|
2433
|
+
}
|
|
2434
|
+
case 5: {
|
|
2435
|
+
if (tag !== 42) {
|
|
2436
|
+
break;
|
|
2437
|
+
}
|
|
2438
|
+
message.source = reader.string();
|
|
2439
|
+
continue;
|
|
2440
|
+
}
|
|
2441
|
+
case 6: {
|
|
2442
|
+
if (tag !== 48) {
|
|
2443
|
+
break;
|
|
2444
|
+
}
|
|
2445
|
+
message.level = reader.int32();
|
|
2446
|
+
continue;
|
|
2447
|
+
}
|
|
2448
|
+
case 7: {
|
|
2449
|
+
if (tag !== 58) {
|
|
2450
|
+
break;
|
|
2451
|
+
}
|
|
2452
|
+
message.message = reader.string();
|
|
2453
|
+
continue;
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2457
|
+
break;
|
|
2458
|
+
}
|
|
2459
|
+
reader.skip(tag & 7);
|
|
2460
|
+
}
|
|
2461
|
+
return message;
|
|
2462
|
+
},
|
|
2463
|
+
fromJSON(object) {
|
|
2464
|
+
return {
|
|
2465
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2466
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2467
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2468
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2469
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2470
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2471
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2472
|
+
};
|
|
2473
|
+
},
|
|
2474
|
+
toJSON(message) {
|
|
2475
|
+
const obj = {};
|
|
2476
|
+
if (message.timestamp !== undefined) {
|
|
2477
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2478
|
+
}
|
|
2479
|
+
if (message.processName !== "") {
|
|
2480
|
+
obj.processName = message.processName;
|
|
2481
|
+
}
|
|
2482
|
+
if (message.processId !== 0) {
|
|
2483
|
+
obj.processId = Math.round(message.processId);
|
|
2484
|
+
}
|
|
2485
|
+
if (message.threadId !== 0) {
|
|
2486
|
+
obj.threadId = Math.round(message.threadId);
|
|
2487
|
+
}
|
|
2488
|
+
if (message.source !== "") {
|
|
2489
|
+
obj.source = message.source;
|
|
2490
|
+
}
|
|
2491
|
+
if (message.level !== 0) {
|
|
2492
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2493
|
+
}
|
|
2494
|
+
if (message.message !== "") {
|
|
2495
|
+
obj.message = message.message;
|
|
2496
|
+
}
|
|
2497
|
+
return obj;
|
|
2498
|
+
},
|
|
2499
|
+
create(base) {
|
|
2500
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2501
|
+
},
|
|
2502
|
+
fromPartial(object) {
|
|
2503
|
+
const message = createBaseLogEntry();
|
|
2504
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2505
|
+
message.processName = object.processName ?? "";
|
|
2506
|
+
message.processId = object.processId ?? 0;
|
|
2507
|
+
message.threadId = object.threadId ?? 0;
|
|
2508
|
+
message.source = object.source ?? "";
|
|
2509
|
+
message.level = object.level ?? 0;
|
|
2510
|
+
message.message = object.message ?? "";
|
|
2511
|
+
return message;
|
|
2512
|
+
},
|
|
2513
|
+
};
|
|
2153
2514
|
function createBaseMotionInput() {
|
|
2154
2515
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2155
2516
|
}
|
|
@@ -3431,6 +3792,7 @@ function createBaseRecordState() {
|
|
|
3431
3792
|
multibeamIsRecording: false,
|
|
3432
3793
|
multibeamSeconds: 0,
|
|
3433
3794
|
multibeamFps: 0,
|
|
3795
|
+
storageLocation: 0,
|
|
3434
3796
|
};
|
|
3435
3797
|
}
|
|
3436
3798
|
exports.RecordState = {
|
|
@@ -3462,6 +3824,9 @@ exports.RecordState = {
|
|
|
3462
3824
|
if (message.multibeamFps !== 0) {
|
|
3463
3825
|
writer.uint32(77).float(message.multibeamFps);
|
|
3464
3826
|
}
|
|
3827
|
+
if (message.storageLocation !== 0) {
|
|
3828
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
3829
|
+
}
|
|
3465
3830
|
return writer;
|
|
3466
3831
|
},
|
|
3467
3832
|
decode(input, length) {
|
|
@@ -3534,6 +3899,13 @@ exports.RecordState = {
|
|
|
3534
3899
|
message.multibeamFps = reader.float();
|
|
3535
3900
|
continue;
|
|
3536
3901
|
}
|
|
3902
|
+
case 10: {
|
|
3903
|
+
if (tag !== 80) {
|
|
3904
|
+
break;
|
|
3905
|
+
}
|
|
3906
|
+
message.storageLocation = reader.int32();
|
|
3907
|
+
continue;
|
|
3908
|
+
}
|
|
3537
3909
|
}
|
|
3538
3910
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3539
3911
|
break;
|
|
@@ -3553,6 +3925,7 @@ exports.RecordState = {
|
|
|
3553
3925
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3554
3926
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3555
3927
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
3928
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3556
3929
|
};
|
|
3557
3930
|
},
|
|
3558
3931
|
toJSON(message) {
|
|
@@ -3584,6 +3957,9 @@ exports.RecordState = {
|
|
|
3584
3957
|
if (message.multibeamFps !== 0) {
|
|
3585
3958
|
obj.multibeamFps = message.multibeamFps;
|
|
3586
3959
|
}
|
|
3960
|
+
if (message.storageLocation !== 0) {
|
|
3961
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
3962
|
+
}
|
|
3587
3963
|
return obj;
|
|
3588
3964
|
},
|
|
3589
3965
|
create(base) {
|
|
@@ -3600,6 +3976,7 @@ exports.RecordState = {
|
|
|
3600
3976
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3601
3977
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3602
3978
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
3979
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3603
3980
|
return message;
|
|
3604
3981
|
},
|
|
3605
3982
|
};
|
|
@@ -9300,9 +9677,20 @@ function createBaseCameraParameters() {
|
|
|
9300
9677
|
whiteBalance: 0,
|
|
9301
9678
|
hue: 0,
|
|
9302
9679
|
gain: 0,
|
|
9680
|
+
brightness: 0,
|
|
9681
|
+
contrast: 0,
|
|
9682
|
+
saturation: 0,
|
|
9683
|
+
gamma: 0,
|
|
9684
|
+
sharpness: 0,
|
|
9685
|
+
backlightCompensation: 0,
|
|
9686
|
+
denoise: 0,
|
|
9687
|
+
ehdrEnabled: false,
|
|
9688
|
+
ehdrExposureMinNumber: 0,
|
|
9689
|
+
ehdrExposureMaxNumber: 0,
|
|
9303
9690
|
resolution: 0,
|
|
9304
9691
|
streamResolution: 0,
|
|
9305
9692
|
recordingResolution: 0,
|
|
9693
|
+
streamingProtocol: 0,
|
|
9306
9694
|
framerate: 0,
|
|
9307
9695
|
camera: 0,
|
|
9308
9696
|
};
|
|
@@ -9327,6 +9715,36 @@ exports.CameraParameters = {
|
|
|
9327
9715
|
if (message.gain !== 0) {
|
|
9328
9716
|
writer.uint32(77).float(message.gain);
|
|
9329
9717
|
}
|
|
9718
|
+
if (message.brightness !== 0) {
|
|
9719
|
+
writer.uint32(96).int32(message.brightness);
|
|
9720
|
+
}
|
|
9721
|
+
if (message.contrast !== 0) {
|
|
9722
|
+
writer.uint32(104).int32(message.contrast);
|
|
9723
|
+
}
|
|
9724
|
+
if (message.saturation !== 0) {
|
|
9725
|
+
writer.uint32(112).int32(message.saturation);
|
|
9726
|
+
}
|
|
9727
|
+
if (message.gamma !== 0) {
|
|
9728
|
+
writer.uint32(120).int32(message.gamma);
|
|
9729
|
+
}
|
|
9730
|
+
if (message.sharpness !== 0) {
|
|
9731
|
+
writer.uint32(128).int32(message.sharpness);
|
|
9732
|
+
}
|
|
9733
|
+
if (message.backlightCompensation !== 0) {
|
|
9734
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
9735
|
+
}
|
|
9736
|
+
if (message.denoise !== 0) {
|
|
9737
|
+
writer.uint32(144).int32(message.denoise);
|
|
9738
|
+
}
|
|
9739
|
+
if (message.ehdrEnabled !== false) {
|
|
9740
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
9741
|
+
}
|
|
9742
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
9743
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
9744
|
+
}
|
|
9745
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
9746
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
9747
|
+
}
|
|
9330
9748
|
if (message.resolution !== 0) {
|
|
9331
9749
|
writer.uint32(48).int32(message.resolution);
|
|
9332
9750
|
}
|
|
@@ -9336,6 +9754,9 @@ exports.CameraParameters = {
|
|
|
9336
9754
|
if (message.recordingResolution !== 0) {
|
|
9337
9755
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9338
9756
|
}
|
|
9757
|
+
if (message.streamingProtocol !== 0) {
|
|
9758
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
9759
|
+
}
|
|
9339
9760
|
if (message.framerate !== 0) {
|
|
9340
9761
|
writer.uint32(56).int32(message.framerate);
|
|
9341
9762
|
}
|
|
@@ -9393,6 +9814,76 @@ exports.CameraParameters = {
|
|
|
9393
9814
|
message.gain = reader.float();
|
|
9394
9815
|
continue;
|
|
9395
9816
|
}
|
|
9817
|
+
case 12: {
|
|
9818
|
+
if (tag !== 96) {
|
|
9819
|
+
break;
|
|
9820
|
+
}
|
|
9821
|
+
message.brightness = reader.int32();
|
|
9822
|
+
continue;
|
|
9823
|
+
}
|
|
9824
|
+
case 13: {
|
|
9825
|
+
if (tag !== 104) {
|
|
9826
|
+
break;
|
|
9827
|
+
}
|
|
9828
|
+
message.contrast = reader.int32();
|
|
9829
|
+
continue;
|
|
9830
|
+
}
|
|
9831
|
+
case 14: {
|
|
9832
|
+
if (tag !== 112) {
|
|
9833
|
+
break;
|
|
9834
|
+
}
|
|
9835
|
+
message.saturation = reader.int32();
|
|
9836
|
+
continue;
|
|
9837
|
+
}
|
|
9838
|
+
case 15: {
|
|
9839
|
+
if (tag !== 120) {
|
|
9840
|
+
break;
|
|
9841
|
+
}
|
|
9842
|
+
message.gamma = reader.int32();
|
|
9843
|
+
continue;
|
|
9844
|
+
}
|
|
9845
|
+
case 16: {
|
|
9846
|
+
if (tag !== 128) {
|
|
9847
|
+
break;
|
|
9848
|
+
}
|
|
9849
|
+
message.sharpness = reader.int32();
|
|
9850
|
+
continue;
|
|
9851
|
+
}
|
|
9852
|
+
case 17: {
|
|
9853
|
+
if (tag !== 136) {
|
|
9854
|
+
break;
|
|
9855
|
+
}
|
|
9856
|
+
message.backlightCompensation = reader.int32();
|
|
9857
|
+
continue;
|
|
9858
|
+
}
|
|
9859
|
+
case 18: {
|
|
9860
|
+
if (tag !== 144) {
|
|
9861
|
+
break;
|
|
9862
|
+
}
|
|
9863
|
+
message.denoise = reader.int32();
|
|
9864
|
+
continue;
|
|
9865
|
+
}
|
|
9866
|
+
case 21: {
|
|
9867
|
+
if (tag !== 168) {
|
|
9868
|
+
break;
|
|
9869
|
+
}
|
|
9870
|
+
message.ehdrEnabled = reader.bool();
|
|
9871
|
+
continue;
|
|
9872
|
+
}
|
|
9873
|
+
case 22: {
|
|
9874
|
+
if (tag !== 176) {
|
|
9875
|
+
break;
|
|
9876
|
+
}
|
|
9877
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
9878
|
+
continue;
|
|
9879
|
+
}
|
|
9880
|
+
case 23: {
|
|
9881
|
+
if (tag !== 184) {
|
|
9882
|
+
break;
|
|
9883
|
+
}
|
|
9884
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
9885
|
+
continue;
|
|
9886
|
+
}
|
|
9396
9887
|
case 6: {
|
|
9397
9888
|
if (tag !== 48) {
|
|
9398
9889
|
break;
|
|
@@ -9414,6 +9905,13 @@ exports.CameraParameters = {
|
|
|
9414
9905
|
message.recordingResolution = reader.int32();
|
|
9415
9906
|
continue;
|
|
9416
9907
|
}
|
|
9908
|
+
case 20: {
|
|
9909
|
+
if (tag !== 160) {
|
|
9910
|
+
break;
|
|
9911
|
+
}
|
|
9912
|
+
message.streamingProtocol = reader.int32();
|
|
9913
|
+
continue;
|
|
9914
|
+
}
|
|
9417
9915
|
case 7: {
|
|
9418
9916
|
if (tag !== 56) {
|
|
9419
9917
|
break;
|
|
@@ -9444,9 +9942,20 @@ exports.CameraParameters = {
|
|
|
9444
9942
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9445
9943
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9446
9944
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
9945
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
9946
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
9947
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
9948
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
9949
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
9950
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
9951
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
9952
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
9953
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
9954
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9447
9955
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9448
9956
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9449
9957
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
9958
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9450
9959
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9451
9960
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9452
9961
|
};
|
|
@@ -9471,6 +9980,36 @@ exports.CameraParameters = {
|
|
|
9471
9980
|
if (message.gain !== 0) {
|
|
9472
9981
|
obj.gain = message.gain;
|
|
9473
9982
|
}
|
|
9983
|
+
if (message.brightness !== 0) {
|
|
9984
|
+
obj.brightness = Math.round(message.brightness);
|
|
9985
|
+
}
|
|
9986
|
+
if (message.contrast !== 0) {
|
|
9987
|
+
obj.contrast = Math.round(message.contrast);
|
|
9988
|
+
}
|
|
9989
|
+
if (message.saturation !== 0) {
|
|
9990
|
+
obj.saturation = Math.round(message.saturation);
|
|
9991
|
+
}
|
|
9992
|
+
if (message.gamma !== 0) {
|
|
9993
|
+
obj.gamma = Math.round(message.gamma);
|
|
9994
|
+
}
|
|
9995
|
+
if (message.sharpness !== 0) {
|
|
9996
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
9997
|
+
}
|
|
9998
|
+
if (message.backlightCompensation !== 0) {
|
|
9999
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10000
|
+
}
|
|
10001
|
+
if (message.denoise !== 0) {
|
|
10002
|
+
obj.denoise = Math.round(message.denoise);
|
|
10003
|
+
}
|
|
10004
|
+
if (message.ehdrEnabled !== false) {
|
|
10005
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10006
|
+
}
|
|
10007
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10008
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10009
|
+
}
|
|
10010
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10011
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10012
|
+
}
|
|
9474
10013
|
if (message.resolution !== 0) {
|
|
9475
10014
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9476
10015
|
}
|
|
@@ -9480,6 +10019,9 @@ exports.CameraParameters = {
|
|
|
9480
10019
|
if (message.recordingResolution !== 0) {
|
|
9481
10020
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9482
10021
|
}
|
|
10022
|
+
if (message.streamingProtocol !== 0) {
|
|
10023
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10024
|
+
}
|
|
9483
10025
|
if (message.framerate !== 0) {
|
|
9484
10026
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9485
10027
|
}
|
|
@@ -9499,9 +10041,20 @@ exports.CameraParameters = {
|
|
|
9499
10041
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9500
10042
|
message.hue = object.hue ?? 0;
|
|
9501
10043
|
message.gain = object.gain ?? 0;
|
|
10044
|
+
message.brightness = object.brightness ?? 0;
|
|
10045
|
+
message.contrast = object.contrast ?? 0;
|
|
10046
|
+
message.saturation = object.saturation ?? 0;
|
|
10047
|
+
message.gamma = object.gamma ?? 0;
|
|
10048
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10049
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10050
|
+
message.denoise = object.denoise ?? 0;
|
|
10051
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10052
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10053
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9502
10054
|
message.resolution = object.resolution ?? 0;
|
|
9503
10055
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9504
10056
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10057
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9505
10058
|
message.framerate = object.framerate ?? 0;
|
|
9506
10059
|
message.camera = object.camera ?? 0;
|
|
9507
10060
|
return message;
|
|
@@ -12247,7 +12800,7 @@ exports.PersistentStorageSettings = {
|
|
|
12247
12800
|
},
|
|
12248
12801
|
};
|
|
12249
12802
|
function createBaseCPUInfo() {
|
|
12250
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12803
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12251
12804
|
}
|
|
12252
12805
|
exports.CPUInfo = {
|
|
12253
12806
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12263,6 +12816,9 @@ exports.CPUInfo = {
|
|
|
12263
12816
|
if (message.guestportQueueLoad !== 0) {
|
|
12264
12817
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12265
12818
|
}
|
|
12819
|
+
if (message.commQueueLoad !== 0) {
|
|
12820
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12821
|
+
}
|
|
12266
12822
|
return writer;
|
|
12267
12823
|
},
|
|
12268
12824
|
decode(input, length) {
|
|
@@ -12300,6 +12856,13 @@ exports.CPUInfo = {
|
|
|
12300
12856
|
message.guestportQueueLoad = reader.float();
|
|
12301
12857
|
continue;
|
|
12302
12858
|
}
|
|
12859
|
+
case 5: {
|
|
12860
|
+
if (tag !== 45) {
|
|
12861
|
+
break;
|
|
12862
|
+
}
|
|
12863
|
+
message.commQueueLoad = reader.float();
|
|
12864
|
+
continue;
|
|
12865
|
+
}
|
|
12303
12866
|
}
|
|
12304
12867
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12305
12868
|
break;
|
|
@@ -12314,6 +12877,7 @@ exports.CPUInfo = {
|
|
|
12314
12877
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12315
12878
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12316
12879
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12880
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12317
12881
|
};
|
|
12318
12882
|
},
|
|
12319
12883
|
toJSON(message) {
|
|
@@ -12330,6 +12894,9 @@ exports.CPUInfo = {
|
|
|
12330
12894
|
if (message.guestportQueueLoad !== 0) {
|
|
12331
12895
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12332
12896
|
}
|
|
12897
|
+
if (message.commQueueLoad !== 0) {
|
|
12898
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12899
|
+
}
|
|
12333
12900
|
return obj;
|
|
12334
12901
|
},
|
|
12335
12902
|
create(base) {
|
|
@@ -12341,6 +12908,126 @@ exports.CPUInfo = {
|
|
|
12341
12908
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12342
12909
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12343
12910
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12911
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12912
|
+
return message;
|
|
12913
|
+
},
|
|
12914
|
+
};
|
|
12915
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
12916
|
+
return { status: 0, level: 0 };
|
|
12917
|
+
}
|
|
12918
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
12919
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12920
|
+
if (message.status !== 0) {
|
|
12921
|
+
writer.uint32(8).int32(message.status);
|
|
12922
|
+
}
|
|
12923
|
+
if (message.level !== 0) {
|
|
12924
|
+
writer.uint32(21).float(message.level);
|
|
12925
|
+
}
|
|
12926
|
+
return writer;
|
|
12927
|
+
},
|
|
12928
|
+
decode(input, length) {
|
|
12929
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12930
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12931
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12932
|
+
while (reader.pos < end) {
|
|
12933
|
+
const tag = reader.uint32();
|
|
12934
|
+
switch (tag >>> 3) {
|
|
12935
|
+
case 1: {
|
|
12936
|
+
if (tag !== 8) {
|
|
12937
|
+
break;
|
|
12938
|
+
}
|
|
12939
|
+
message.status = reader.int32();
|
|
12940
|
+
continue;
|
|
12941
|
+
}
|
|
12942
|
+
case 2: {
|
|
12943
|
+
if (tag !== 21) {
|
|
12944
|
+
break;
|
|
12945
|
+
}
|
|
12946
|
+
message.level = reader.float();
|
|
12947
|
+
continue;
|
|
12948
|
+
}
|
|
12949
|
+
}
|
|
12950
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12951
|
+
break;
|
|
12952
|
+
}
|
|
12953
|
+
reader.skip(tag & 7);
|
|
12954
|
+
}
|
|
12955
|
+
return message;
|
|
12956
|
+
},
|
|
12957
|
+
fromJSON(object) {
|
|
12958
|
+
return {
|
|
12959
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
12960
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
12961
|
+
};
|
|
12962
|
+
},
|
|
12963
|
+
toJSON(message) {
|
|
12964
|
+
const obj = {};
|
|
12965
|
+
if (message.status !== 0) {
|
|
12966
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
12967
|
+
}
|
|
12968
|
+
if (message.level !== 0) {
|
|
12969
|
+
obj.level = message.level;
|
|
12970
|
+
}
|
|
12971
|
+
return obj;
|
|
12972
|
+
},
|
|
12973
|
+
create(base) {
|
|
12974
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
12975
|
+
},
|
|
12976
|
+
fromPartial(object) {
|
|
12977
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12978
|
+
message.status = object.status ?? 0;
|
|
12979
|
+
message.level = object.level ?? 0;
|
|
12980
|
+
return message;
|
|
12981
|
+
},
|
|
12982
|
+
};
|
|
12983
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
12984
|
+
return { version: "" };
|
|
12985
|
+
}
|
|
12986
|
+
exports.SurfaceUnitVersionInfo = {
|
|
12987
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12988
|
+
if (message.version !== "") {
|
|
12989
|
+
writer.uint32(10).string(message.version);
|
|
12990
|
+
}
|
|
12991
|
+
return writer;
|
|
12992
|
+
},
|
|
12993
|
+
decode(input, length) {
|
|
12994
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12995
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12996
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12997
|
+
while (reader.pos < end) {
|
|
12998
|
+
const tag = reader.uint32();
|
|
12999
|
+
switch (tag >>> 3) {
|
|
13000
|
+
case 1: {
|
|
13001
|
+
if (tag !== 10) {
|
|
13002
|
+
break;
|
|
13003
|
+
}
|
|
13004
|
+
message.version = reader.string();
|
|
13005
|
+
continue;
|
|
13006
|
+
}
|
|
13007
|
+
}
|
|
13008
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13009
|
+
break;
|
|
13010
|
+
}
|
|
13011
|
+
reader.skip(tag & 7);
|
|
13012
|
+
}
|
|
13013
|
+
return message;
|
|
13014
|
+
},
|
|
13015
|
+
fromJSON(object) {
|
|
13016
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13017
|
+
},
|
|
13018
|
+
toJSON(message) {
|
|
13019
|
+
const obj = {};
|
|
13020
|
+
if (message.version !== "") {
|
|
13021
|
+
obj.version = message.version;
|
|
13022
|
+
}
|
|
13023
|
+
return obj;
|
|
13024
|
+
},
|
|
13025
|
+
create(base) {
|
|
13026
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13027
|
+
},
|
|
13028
|
+
fromPartial(object) {
|
|
13029
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13030
|
+
message.version = object.version ?? "";
|
|
12344
13031
|
return message;
|
|
12345
13032
|
},
|
|
12346
13033
|
};
|