@blueyerobotics/protocol-definitions 3.2.0-b032513b → 3.2.0-b371a87f
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 +22 -2
- package/dist/control.js +153 -10
- 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 +195 -14
- package/dist/message_formats.js +1007 -22
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +54 -1
- package/dist/telemetry.js +398 -6
- 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 = exports.ThicknessGauge = exports.GuestPortRestartInfo = void 0;
|
|
8
|
+
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.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = 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.KernelLogEntry_KernelLogLevel = 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.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 = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
|
|
10
|
+
exports.CameraPanTiltZoom = exports.FilterMessage = 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 = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = 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;
|
|
@@ -56,6 +60,8 @@ exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
57
61
|
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
58
62
|
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
59
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
60
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
61
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -68,6 +74,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
68
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
69
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
70
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
71
79
|
/* eslint-disable */
|
|
72
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
73
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -589,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
589
597
|
return "UNRECOGNIZED";
|
|
590
598
|
}
|
|
591
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Storage location.
|
|
602
|
+
*
|
|
603
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
604
|
+
*/
|
|
605
|
+
var StorageLocation;
|
|
606
|
+
(function (StorageLocation) {
|
|
607
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
609
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
611
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
612
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
613
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
614
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
615
|
+
function storageLocationFromJSON(object) {
|
|
616
|
+
switch (object) {
|
|
617
|
+
case 0:
|
|
618
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
619
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
620
|
+
case 1:
|
|
621
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
622
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
623
|
+
case 2:
|
|
624
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
625
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
626
|
+
case -1:
|
|
627
|
+
case "UNRECOGNIZED":
|
|
628
|
+
default:
|
|
629
|
+
return StorageLocation.UNRECOGNIZED;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
function storageLocationToJSON(object) {
|
|
633
|
+
switch (object) {
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
635
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
637
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
638
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
639
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
640
|
+
case StorageLocation.UNRECOGNIZED:
|
|
641
|
+
default:
|
|
642
|
+
return "UNRECOGNIZED";
|
|
643
|
+
}
|
|
644
|
+
}
|
|
592
645
|
/** Drone models produced by Blueye. */
|
|
593
646
|
var Model;
|
|
594
647
|
(function (Model) {
|
|
@@ -604,6 +657,8 @@ var Model;
|
|
|
604
657
|
Model[Model["MODEL_X3"] = 3] = "MODEL_X3";
|
|
605
658
|
/** MODEL_X3_ULTRA - Blueye X3 Ultra. */
|
|
606
659
|
Model[Model["MODEL_X3_ULTRA"] = 6] = "MODEL_X3_ULTRA";
|
|
660
|
+
/** MODEL_X7 - Blueye X7. */
|
|
661
|
+
Model[Model["MODEL_X7"] = 7] = "MODEL_X7";
|
|
607
662
|
/** MODEL_NEXT - Blueye ? */
|
|
608
663
|
Model[Model["MODEL_NEXT"] = 5] = "MODEL_NEXT";
|
|
609
664
|
Model[Model["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
@@ -628,6 +683,9 @@ function modelFromJSON(object) {
|
|
|
628
683
|
case 6:
|
|
629
684
|
case "MODEL_X3_ULTRA":
|
|
630
685
|
return Model.MODEL_X3_ULTRA;
|
|
686
|
+
case 7:
|
|
687
|
+
case "MODEL_X7":
|
|
688
|
+
return Model.MODEL_X7;
|
|
631
689
|
case 5:
|
|
632
690
|
case "MODEL_NEXT":
|
|
633
691
|
return Model.MODEL_NEXT;
|
|
@@ -651,6 +709,8 @@ function modelToJSON(object) {
|
|
|
651
709
|
return "MODEL_X3";
|
|
652
710
|
case Model.MODEL_X3_ULTRA:
|
|
653
711
|
return "MODEL_X3_ULTRA";
|
|
712
|
+
case Model.MODEL_X7:
|
|
713
|
+
return "MODEL_X7";
|
|
654
714
|
case Model.MODEL_NEXT:
|
|
655
715
|
return "MODEL_NEXT";
|
|
656
716
|
case Model.UNRECOGNIZED:
|
|
@@ -718,12 +778,16 @@ var Resolution;
|
|
|
718
778
|
(function (Resolution) {
|
|
719
779
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
720
780
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
721
|
-
/**
|
|
722
|
-
Resolution[Resolution["
|
|
723
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
781
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
782
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
783
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
724
784
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
725
|
-
/**
|
|
785
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
786
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
787
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
726
788
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
789
|
+
/** RESOLUTION_QHD_2K - 2K QHD (2560x1440, Only supported on X3 Ultra). */
|
|
790
|
+
Resolution[Resolution["RESOLUTION_QHD_2K"] = 5] = "RESOLUTION_QHD_2K";
|
|
727
791
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
728
792
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
729
793
|
function resolutionFromJSON(object) {
|
|
@@ -731,15 +795,21 @@ function resolutionFromJSON(object) {
|
|
|
731
795
|
case 0:
|
|
732
796
|
case "RESOLUTION_UNSPECIFIED":
|
|
733
797
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
734
|
-
case
|
|
735
|
-
case "
|
|
736
|
-
return Resolution.
|
|
798
|
+
case 4:
|
|
799
|
+
case "RESOLUTION_VGA_480P":
|
|
800
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
737
801
|
case 2:
|
|
738
802
|
case "RESOLUTION_HD_720P":
|
|
739
803
|
return Resolution.RESOLUTION_HD_720P;
|
|
804
|
+
case 1:
|
|
805
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
806
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
740
807
|
case 3:
|
|
741
808
|
case "RESOLUTION_UHD_4K":
|
|
742
809
|
return Resolution.RESOLUTION_UHD_4K;
|
|
810
|
+
case 5:
|
|
811
|
+
case "RESOLUTION_QHD_2K":
|
|
812
|
+
return Resolution.RESOLUTION_QHD_2K;
|
|
743
813
|
case -1:
|
|
744
814
|
case "UNRECOGNIZED":
|
|
745
815
|
default:
|
|
@@ -750,26 +820,37 @@ function resolutionToJSON(object) {
|
|
|
750
820
|
switch (object) {
|
|
751
821
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
752
822
|
return "RESOLUTION_UNSPECIFIED";
|
|
753
|
-
case Resolution.
|
|
754
|
-
return "
|
|
823
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
824
|
+
return "RESOLUTION_VGA_480P";
|
|
755
825
|
case Resolution.RESOLUTION_HD_720P:
|
|
756
826
|
return "RESOLUTION_HD_720P";
|
|
827
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
828
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
757
829
|
case Resolution.RESOLUTION_UHD_4K:
|
|
758
830
|
return "RESOLUTION_UHD_4K";
|
|
831
|
+
case Resolution.RESOLUTION_QHD_2K:
|
|
832
|
+
return "RESOLUTION_QHD_2K";
|
|
759
833
|
case Resolution.UNRECOGNIZED:
|
|
760
834
|
default:
|
|
761
835
|
return "UNRECOGNIZED";
|
|
762
836
|
}
|
|
763
837
|
}
|
|
764
|
-
/**
|
|
838
|
+
/**
|
|
839
|
+
* Available camera frame rates.
|
|
840
|
+
*
|
|
841
|
+
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
842
|
+
* the frame rate will be reduced while the resolution is respected.
|
|
843
|
+
*/
|
|
765
844
|
var Framerate;
|
|
766
845
|
(function (Framerate) {
|
|
767
846
|
/** FRAMERATE_UNSPECIFIED - Framerate not specified. */
|
|
768
847
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
769
848
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
770
849
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
771
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
850
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
772
851
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
852
|
+
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
853
|
+
Framerate[Framerate["FRAMERATE_FPS_60"] = 3] = "FRAMERATE_FPS_60";
|
|
773
854
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
774
855
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
775
856
|
function framerateFromJSON(object) {
|
|
@@ -783,6 +864,9 @@ function framerateFromJSON(object) {
|
|
|
783
864
|
case 2:
|
|
784
865
|
case "FRAMERATE_FPS_25":
|
|
785
866
|
return Framerate.FRAMERATE_FPS_25;
|
|
867
|
+
case 3:
|
|
868
|
+
case "FRAMERATE_FPS_60":
|
|
869
|
+
return Framerate.FRAMERATE_FPS_60;
|
|
786
870
|
case -1:
|
|
787
871
|
case "UNRECOGNIZED":
|
|
788
872
|
default:
|
|
@@ -797,6 +881,8 @@ function framerateToJSON(object) {
|
|
|
797
881
|
return "FRAMERATE_FPS_30";
|
|
798
882
|
case Framerate.FRAMERATE_FPS_25:
|
|
799
883
|
return "FRAMERATE_FPS_25";
|
|
884
|
+
case Framerate.FRAMERATE_FPS_60:
|
|
885
|
+
return "FRAMERATE_FPS_60";
|
|
800
886
|
case Framerate.UNRECOGNIZED:
|
|
801
887
|
default:
|
|
802
888
|
return "UNRECOGNIZED";
|
|
@@ -843,6 +929,46 @@ function cameraToJSON(object) {
|
|
|
843
929
|
return "UNRECOGNIZED";
|
|
844
930
|
}
|
|
845
931
|
}
|
|
932
|
+
var StreamingProtocol;
|
|
933
|
+
(function (StreamingProtocol) {
|
|
934
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
935
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
936
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
937
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
938
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
939
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
940
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
941
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
942
|
+
function streamingProtocolFromJSON(object) {
|
|
943
|
+
switch (object) {
|
|
944
|
+
case 0:
|
|
945
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
946
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
947
|
+
case 1:
|
|
948
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
949
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
950
|
+
case 2:
|
|
951
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
952
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
953
|
+
case -1:
|
|
954
|
+
case "UNRECOGNIZED":
|
|
955
|
+
default:
|
|
956
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
function streamingProtocolToJSON(object) {
|
|
960
|
+
switch (object) {
|
|
961
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
962
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
963
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
964
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
965
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
966
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
967
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
968
|
+
default:
|
|
969
|
+
return "UNRECOGNIZED";
|
|
970
|
+
}
|
|
971
|
+
}
|
|
846
972
|
/** Available temperature units. */
|
|
847
973
|
var TemperatureUnit;
|
|
848
974
|
(function (TemperatureUnit) {
|
|
@@ -1176,8 +1302,12 @@ var GuestPortDeviceID;
|
|
|
1176
1302
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1177
1303
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1178
1304
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1179
|
-
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1305
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1180
1306
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1307
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1308
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1309
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
1310
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1181
1311
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1182
1312
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1183
1313
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1320,6 +1450,12 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1320
1450
|
case 45:
|
|
1321
1451
|
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1322
1452
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1453
|
+
case 46:
|
|
1454
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1455
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1456
|
+
case 47:
|
|
1457
|
+
case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
|
|
1458
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
|
|
1323
1459
|
case -1:
|
|
1324
1460
|
case "UNRECOGNIZED":
|
|
1325
1461
|
default:
|
|
@@ -1420,6 +1556,10 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1420
1556
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1421
1557
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1422
1558
|
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1559
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1560
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1561
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
|
|
1562
|
+
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1423
1563
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1424
1564
|
default:
|
|
1425
1565
|
return "UNRECOGNIZED";
|
|
@@ -1764,6 +1904,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1764
1904
|
return "UNRECOGNIZED";
|
|
1765
1905
|
}
|
|
1766
1906
|
}
|
|
1907
|
+
/** Kernel log level. */
|
|
1908
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1909
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1910
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1911
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1912
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1913
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1914
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1915
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1916
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1917
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1918
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1919
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1920
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1921
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1922
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1923
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1924
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1925
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1926
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1927
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1928
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1929
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1930
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1931
|
+
switch (object) {
|
|
1932
|
+
case 0:
|
|
1933
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1934
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1935
|
+
case 1:
|
|
1936
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1937
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1938
|
+
case 2:
|
|
1939
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1940
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1941
|
+
case 3:
|
|
1942
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1943
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1944
|
+
case 4:
|
|
1945
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1946
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1947
|
+
case 5:
|
|
1948
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1949
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1950
|
+
case 6:
|
|
1951
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1952
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1953
|
+
case 7:
|
|
1954
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1955
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1956
|
+
case 8:
|
|
1957
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1958
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1959
|
+
case -1:
|
|
1960
|
+
case "UNRECOGNIZED":
|
|
1961
|
+
default:
|
|
1962
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1966
|
+
switch (object) {
|
|
1967
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1968
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1969
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1970
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1971
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1972
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1973
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1974
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1975
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1976
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1977
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1978
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1979
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1980
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1981
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1982
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1983
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1984
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1985
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1986
|
+
default:
|
|
1987
|
+
return "UNRECOGNIZED";
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1767
1990
|
var PingerConfiguration_MountingDirection;
|
|
1768
1991
|
(function (PingerConfiguration_MountingDirection) {
|
|
1769
1992
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1885,10 +2108,12 @@ var RemovableStorageDevice_Status;
|
|
|
1885
2108
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1886
2109
|
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1887
2110
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1888
|
-
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
2111
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
1889
2112
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1890
2113
|
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1891
2114
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
2115
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
2116
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
|
|
1892
2117
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1893
2118
|
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1894
2119
|
function removableStorageDevice_StatusFromJSON(object) {
|
|
@@ -1905,6 +2130,9 @@ function removableStorageDevice_StatusFromJSON(object) {
|
|
|
1905
2130
|
case 3:
|
|
1906
2131
|
case "STATUS_ERROR":
|
|
1907
2132
|
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2133
|
+
case 4:
|
|
2134
|
+
case "STATUS_UNPLUGGED":
|
|
2135
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
1908
2136
|
case -1:
|
|
1909
2137
|
case "UNRECOGNIZED":
|
|
1910
2138
|
default:
|
|
@@ -1921,6 +2149,8 @@ function removableStorageDevice_StatusToJSON(object) {
|
|
|
1921
2149
|
return "STATUS_FORMATTING";
|
|
1922
2150
|
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
1923
2151
|
return "STATUS_ERROR";
|
|
2152
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2153
|
+
return "STATUS_UNPLUGGED";
|
|
1924
2154
|
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
1925
2155
|
default:
|
|
1926
2156
|
return "UNRECOGNIZED";
|
|
@@ -2142,6 +2372,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2142
2372
|
return "UNRECOGNIZED";
|
|
2143
2373
|
}
|
|
2144
2374
|
}
|
|
2375
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2376
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2377
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2378
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2379
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2380
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2381
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2382
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2383
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2384
|
+
switch (object) {
|
|
2385
|
+
case 0:
|
|
2386
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2387
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2388
|
+
case 1:
|
|
2389
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2390
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2391
|
+
case 2:
|
|
2392
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2393
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2394
|
+
case 3:
|
|
2395
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2396
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2397
|
+
case -1:
|
|
2398
|
+
case "UNRECOGNIZED":
|
|
2399
|
+
default:
|
|
2400
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2404
|
+
switch (object) {
|
|
2405
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2406
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2407
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2408
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2409
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2410
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2411
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2412
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2413
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2414
|
+
default:
|
|
2415
|
+
return "UNRECOGNIZED";
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2145
2418
|
function createBaseBinlogRecord() {
|
|
2146
2419
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2147
2420
|
}
|
|
@@ -2370,6 +2643,189 @@ exports.LogEntry = {
|
|
|
2370
2643
|
return message;
|
|
2371
2644
|
},
|
|
2372
2645
|
};
|
|
2646
|
+
function createBaseKernelLogEntry() {
|
|
2647
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2648
|
+
}
|
|
2649
|
+
exports.KernelLogEntry = {
|
|
2650
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2651
|
+
if (message.level !== 0) {
|
|
2652
|
+
writer.uint32(8).int32(message.level);
|
|
2653
|
+
}
|
|
2654
|
+
if (message.seqnum !== 0) {
|
|
2655
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2656
|
+
}
|
|
2657
|
+
if (message.timestamp !== undefined) {
|
|
2658
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2659
|
+
}
|
|
2660
|
+
for (const v of message.messages) {
|
|
2661
|
+
writer.uint32(34).string(v);
|
|
2662
|
+
}
|
|
2663
|
+
for (const v of message.fields) {
|
|
2664
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2665
|
+
}
|
|
2666
|
+
return writer;
|
|
2667
|
+
},
|
|
2668
|
+
decode(input, length) {
|
|
2669
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2670
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2671
|
+
const message = createBaseKernelLogEntry();
|
|
2672
|
+
while (reader.pos < end) {
|
|
2673
|
+
const tag = reader.uint32();
|
|
2674
|
+
switch (tag >>> 3) {
|
|
2675
|
+
case 1: {
|
|
2676
|
+
if (tag !== 8) {
|
|
2677
|
+
break;
|
|
2678
|
+
}
|
|
2679
|
+
message.level = reader.int32();
|
|
2680
|
+
continue;
|
|
2681
|
+
}
|
|
2682
|
+
case 2: {
|
|
2683
|
+
if (tag !== 16) {
|
|
2684
|
+
break;
|
|
2685
|
+
}
|
|
2686
|
+
message.seqnum = reader.uint32();
|
|
2687
|
+
continue;
|
|
2688
|
+
}
|
|
2689
|
+
case 3: {
|
|
2690
|
+
if (tag !== 26) {
|
|
2691
|
+
break;
|
|
2692
|
+
}
|
|
2693
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2694
|
+
continue;
|
|
2695
|
+
}
|
|
2696
|
+
case 4: {
|
|
2697
|
+
if (tag !== 34) {
|
|
2698
|
+
break;
|
|
2699
|
+
}
|
|
2700
|
+
message.messages.push(reader.string());
|
|
2701
|
+
continue;
|
|
2702
|
+
}
|
|
2703
|
+
case 5: {
|
|
2704
|
+
if (tag !== 42) {
|
|
2705
|
+
break;
|
|
2706
|
+
}
|
|
2707
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2708
|
+
continue;
|
|
2709
|
+
}
|
|
2710
|
+
}
|
|
2711
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2712
|
+
break;
|
|
2713
|
+
}
|
|
2714
|
+
reader.skip(tag & 7);
|
|
2715
|
+
}
|
|
2716
|
+
return message;
|
|
2717
|
+
},
|
|
2718
|
+
fromJSON(object) {
|
|
2719
|
+
return {
|
|
2720
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2721
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2722
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2723
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2724
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2725
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2726
|
+
: [],
|
|
2727
|
+
};
|
|
2728
|
+
},
|
|
2729
|
+
toJSON(message) {
|
|
2730
|
+
const obj = {};
|
|
2731
|
+
if (message.level !== 0) {
|
|
2732
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2733
|
+
}
|
|
2734
|
+
if (message.seqnum !== 0) {
|
|
2735
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2736
|
+
}
|
|
2737
|
+
if (message.timestamp !== undefined) {
|
|
2738
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2739
|
+
}
|
|
2740
|
+
if (message.messages?.length) {
|
|
2741
|
+
obj.messages = message.messages;
|
|
2742
|
+
}
|
|
2743
|
+
if (message.fields?.length) {
|
|
2744
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2745
|
+
}
|
|
2746
|
+
return obj;
|
|
2747
|
+
},
|
|
2748
|
+
create(base) {
|
|
2749
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2750
|
+
},
|
|
2751
|
+
fromPartial(object) {
|
|
2752
|
+
const message = createBaseKernelLogEntry();
|
|
2753
|
+
message.level = object.level ?? 0;
|
|
2754
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2755
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2756
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2757
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2758
|
+
return message;
|
|
2759
|
+
},
|
|
2760
|
+
};
|
|
2761
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2762
|
+
return { key: "", value: "" };
|
|
2763
|
+
}
|
|
2764
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2765
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2766
|
+
if (message.key !== "") {
|
|
2767
|
+
writer.uint32(10).string(message.key);
|
|
2768
|
+
}
|
|
2769
|
+
if (message.value !== "") {
|
|
2770
|
+
writer.uint32(18).string(message.value);
|
|
2771
|
+
}
|
|
2772
|
+
return writer;
|
|
2773
|
+
},
|
|
2774
|
+
decode(input, length) {
|
|
2775
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2776
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2777
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2778
|
+
while (reader.pos < end) {
|
|
2779
|
+
const tag = reader.uint32();
|
|
2780
|
+
switch (tag >>> 3) {
|
|
2781
|
+
case 1: {
|
|
2782
|
+
if (tag !== 10) {
|
|
2783
|
+
break;
|
|
2784
|
+
}
|
|
2785
|
+
message.key = reader.string();
|
|
2786
|
+
continue;
|
|
2787
|
+
}
|
|
2788
|
+
case 2: {
|
|
2789
|
+
if (tag !== 18) {
|
|
2790
|
+
break;
|
|
2791
|
+
}
|
|
2792
|
+
message.value = reader.string();
|
|
2793
|
+
continue;
|
|
2794
|
+
}
|
|
2795
|
+
}
|
|
2796
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2797
|
+
break;
|
|
2798
|
+
}
|
|
2799
|
+
reader.skip(tag & 7);
|
|
2800
|
+
}
|
|
2801
|
+
return message;
|
|
2802
|
+
},
|
|
2803
|
+
fromJSON(object) {
|
|
2804
|
+
return {
|
|
2805
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2806
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2807
|
+
};
|
|
2808
|
+
},
|
|
2809
|
+
toJSON(message) {
|
|
2810
|
+
const obj = {};
|
|
2811
|
+
if (message.key !== "") {
|
|
2812
|
+
obj.key = message.key;
|
|
2813
|
+
}
|
|
2814
|
+
if (message.value !== "") {
|
|
2815
|
+
obj.value = message.value;
|
|
2816
|
+
}
|
|
2817
|
+
return obj;
|
|
2818
|
+
},
|
|
2819
|
+
create(base) {
|
|
2820
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2821
|
+
},
|
|
2822
|
+
fromPartial(object) {
|
|
2823
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2824
|
+
message.key = object.key ?? "";
|
|
2825
|
+
message.value = object.value ?? "";
|
|
2826
|
+
return message;
|
|
2827
|
+
},
|
|
2828
|
+
};
|
|
2373
2829
|
function createBaseMotionInput() {
|
|
2374
2830
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2375
2831
|
}
|
|
@@ -3651,6 +4107,9 @@ function createBaseRecordState() {
|
|
|
3651
4107
|
multibeamIsRecording: false,
|
|
3652
4108
|
multibeamSeconds: 0,
|
|
3653
4109
|
multibeamFps: 0,
|
|
4110
|
+
mainStorageLocation: 0,
|
|
4111
|
+
guestportStorageLocation: 0,
|
|
4112
|
+
multibeamStorageLocation: 0,
|
|
3654
4113
|
};
|
|
3655
4114
|
}
|
|
3656
4115
|
exports.RecordState = {
|
|
@@ -3682,6 +4141,15 @@ exports.RecordState = {
|
|
|
3682
4141
|
if (message.multibeamFps !== 0) {
|
|
3683
4142
|
writer.uint32(77).float(message.multibeamFps);
|
|
3684
4143
|
}
|
|
4144
|
+
if (message.mainStorageLocation !== 0) {
|
|
4145
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
4146
|
+
}
|
|
4147
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4148
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
4149
|
+
}
|
|
4150
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4151
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
4152
|
+
}
|
|
3685
4153
|
return writer;
|
|
3686
4154
|
},
|
|
3687
4155
|
decode(input, length) {
|
|
@@ -3754,6 +4222,27 @@ exports.RecordState = {
|
|
|
3754
4222
|
message.multibeamFps = reader.float();
|
|
3755
4223
|
continue;
|
|
3756
4224
|
}
|
|
4225
|
+
case 10: {
|
|
4226
|
+
if (tag !== 80) {
|
|
4227
|
+
break;
|
|
4228
|
+
}
|
|
4229
|
+
message.mainStorageLocation = reader.int32();
|
|
4230
|
+
continue;
|
|
4231
|
+
}
|
|
4232
|
+
case 11: {
|
|
4233
|
+
if (tag !== 88) {
|
|
4234
|
+
break;
|
|
4235
|
+
}
|
|
4236
|
+
message.guestportStorageLocation = reader.int32();
|
|
4237
|
+
continue;
|
|
4238
|
+
}
|
|
4239
|
+
case 12: {
|
|
4240
|
+
if (tag !== 96) {
|
|
4241
|
+
break;
|
|
4242
|
+
}
|
|
4243
|
+
message.multibeamStorageLocation = reader.int32();
|
|
4244
|
+
continue;
|
|
4245
|
+
}
|
|
3757
4246
|
}
|
|
3758
4247
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3759
4248
|
break;
|
|
@@ -3773,6 +4262,13 @@ exports.RecordState = {
|
|
|
3773
4262
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3774
4263
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3775
4264
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4265
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
4266
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
4267
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
4268
|
+
: 0,
|
|
4269
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
4270
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
4271
|
+
: 0,
|
|
3776
4272
|
};
|
|
3777
4273
|
},
|
|
3778
4274
|
toJSON(message) {
|
|
@@ -3804,6 +4300,15 @@ exports.RecordState = {
|
|
|
3804
4300
|
if (message.multibeamFps !== 0) {
|
|
3805
4301
|
obj.multibeamFps = message.multibeamFps;
|
|
3806
4302
|
}
|
|
4303
|
+
if (message.mainStorageLocation !== 0) {
|
|
4304
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
4305
|
+
}
|
|
4306
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4307
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
4308
|
+
}
|
|
4309
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4310
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
4311
|
+
}
|
|
3807
4312
|
return obj;
|
|
3808
4313
|
},
|
|
3809
4314
|
create(base) {
|
|
@@ -3820,6 +4325,9 @@ exports.RecordState = {
|
|
|
3820
4325
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3821
4326
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3822
4327
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4328
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4329
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4330
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
3823
4331
|
return message;
|
|
3824
4332
|
},
|
|
3825
4333
|
};
|
|
@@ -7727,7 +8235,7 @@ exports.StorageSpace = {
|
|
|
7727
8235
|
},
|
|
7728
8236
|
};
|
|
7729
8237
|
function createBaseStoragePartition() {
|
|
7730
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8238
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7731
8239
|
}
|
|
7732
8240
|
exports.StoragePartition = {
|
|
7733
8241
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7743,6 +8251,9 @@ exports.StoragePartition = {
|
|
|
7743
8251
|
if (message.mountPath !== "") {
|
|
7744
8252
|
writer.uint32(34).string(message.mountPath);
|
|
7745
8253
|
}
|
|
8254
|
+
if (message.label !== "") {
|
|
8255
|
+
writer.uint32(42).string(message.label);
|
|
8256
|
+
}
|
|
7746
8257
|
return writer;
|
|
7747
8258
|
},
|
|
7748
8259
|
decode(input, length) {
|
|
@@ -7780,6 +8291,13 @@ exports.StoragePartition = {
|
|
|
7780
8291
|
message.mountPath = reader.string();
|
|
7781
8292
|
continue;
|
|
7782
8293
|
}
|
|
8294
|
+
case 5: {
|
|
8295
|
+
if (tag !== 42) {
|
|
8296
|
+
break;
|
|
8297
|
+
}
|
|
8298
|
+
message.label = reader.string();
|
|
8299
|
+
continue;
|
|
8300
|
+
}
|
|
7783
8301
|
}
|
|
7784
8302
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7785
8303
|
break;
|
|
@@ -7794,6 +8312,7 @@ exports.StoragePartition = {
|
|
|
7794
8312
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7795
8313
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7796
8314
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8315
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7797
8316
|
};
|
|
7798
8317
|
},
|
|
7799
8318
|
toJSON(message) {
|
|
@@ -7810,6 +8329,9 @@ exports.StoragePartition = {
|
|
|
7810
8329
|
if (message.mountPath !== "") {
|
|
7811
8330
|
obj.mountPath = message.mountPath;
|
|
7812
8331
|
}
|
|
8332
|
+
if (message.label !== "") {
|
|
8333
|
+
obj.label = message.label;
|
|
8334
|
+
}
|
|
7813
8335
|
return obj;
|
|
7814
8336
|
},
|
|
7815
8337
|
create(base) {
|
|
@@ -7823,6 +8345,7 @@ exports.StoragePartition = {
|
|
|
7823
8345
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7824
8346
|
message.devicePath = object.devicePath ?? "";
|
|
7825
8347
|
message.mountPath = object.mountPath ?? "";
|
|
8348
|
+
message.label = object.label ?? "";
|
|
7826
8349
|
return message;
|
|
7827
8350
|
},
|
|
7828
8351
|
};
|
|
@@ -9520,11 +10043,23 @@ function createBaseCameraParameters() {
|
|
|
9520
10043
|
whiteBalance: 0,
|
|
9521
10044
|
hue: 0,
|
|
9522
10045
|
gain: 0,
|
|
10046
|
+
brightness: 0,
|
|
10047
|
+
contrast: 0,
|
|
10048
|
+
saturation: 0,
|
|
10049
|
+
gamma: 0,
|
|
10050
|
+
sharpness: 0,
|
|
10051
|
+
backlightCompensation: 0,
|
|
10052
|
+
denoise: 0,
|
|
10053
|
+
ehdrEnabled: false,
|
|
10054
|
+
ehdrExposureMinNumber: 0,
|
|
10055
|
+
ehdrExposureMaxNumber: 0,
|
|
9523
10056
|
resolution: 0,
|
|
9524
10057
|
streamResolution: 0,
|
|
9525
10058
|
recordingResolution: 0,
|
|
10059
|
+
streamingProtocol: 0,
|
|
9526
10060
|
framerate: 0,
|
|
9527
10061
|
camera: 0,
|
|
10062
|
+
mtuSize: 0,
|
|
9528
10063
|
};
|
|
9529
10064
|
}
|
|
9530
10065
|
exports.CameraParameters = {
|
|
@@ -9547,21 +10082,57 @@ exports.CameraParameters = {
|
|
|
9547
10082
|
if (message.gain !== 0) {
|
|
9548
10083
|
writer.uint32(77).float(message.gain);
|
|
9549
10084
|
}
|
|
9550
|
-
if (message.
|
|
9551
|
-
writer.uint32(
|
|
10085
|
+
if (message.brightness !== 0) {
|
|
10086
|
+
writer.uint32(96).int32(message.brightness);
|
|
9552
10087
|
}
|
|
9553
|
-
if (message.
|
|
9554
|
-
writer.uint32(
|
|
10088
|
+
if (message.contrast !== 0) {
|
|
10089
|
+
writer.uint32(104).int32(message.contrast);
|
|
10090
|
+
}
|
|
10091
|
+
if (message.saturation !== 0) {
|
|
10092
|
+
writer.uint32(112).int32(message.saturation);
|
|
10093
|
+
}
|
|
10094
|
+
if (message.gamma !== 0) {
|
|
10095
|
+
writer.uint32(120).int32(message.gamma);
|
|
10096
|
+
}
|
|
10097
|
+
if (message.sharpness !== 0) {
|
|
10098
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10099
|
+
}
|
|
10100
|
+
if (message.backlightCompensation !== 0) {
|
|
10101
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10102
|
+
}
|
|
10103
|
+
if (message.denoise !== 0) {
|
|
10104
|
+
writer.uint32(144).int32(message.denoise);
|
|
10105
|
+
}
|
|
10106
|
+
if (message.ehdrEnabled !== false) {
|
|
10107
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10108
|
+
}
|
|
10109
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10110
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10111
|
+
}
|
|
10112
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10113
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10114
|
+
}
|
|
10115
|
+
if (message.resolution !== 0) {
|
|
10116
|
+
writer.uint32(48).int32(message.resolution);
|
|
10117
|
+
}
|
|
10118
|
+
if (message.streamResolution !== 0) {
|
|
10119
|
+
writer.uint32(80).int32(message.streamResolution);
|
|
9555
10120
|
}
|
|
9556
10121
|
if (message.recordingResolution !== 0) {
|
|
9557
10122
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9558
10123
|
}
|
|
10124
|
+
if (message.streamingProtocol !== 0) {
|
|
10125
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10126
|
+
}
|
|
9559
10127
|
if (message.framerate !== 0) {
|
|
9560
10128
|
writer.uint32(56).int32(message.framerate);
|
|
9561
10129
|
}
|
|
9562
10130
|
if (message.camera !== 0) {
|
|
9563
10131
|
writer.uint32(64).int32(message.camera);
|
|
9564
10132
|
}
|
|
10133
|
+
if (message.mtuSize !== 0) {
|
|
10134
|
+
writer.uint32(192).uint32(message.mtuSize);
|
|
10135
|
+
}
|
|
9565
10136
|
return writer;
|
|
9566
10137
|
},
|
|
9567
10138
|
decode(input, length) {
|
|
@@ -9613,6 +10184,76 @@ exports.CameraParameters = {
|
|
|
9613
10184
|
message.gain = reader.float();
|
|
9614
10185
|
continue;
|
|
9615
10186
|
}
|
|
10187
|
+
case 12: {
|
|
10188
|
+
if (tag !== 96) {
|
|
10189
|
+
break;
|
|
10190
|
+
}
|
|
10191
|
+
message.brightness = reader.int32();
|
|
10192
|
+
continue;
|
|
10193
|
+
}
|
|
10194
|
+
case 13: {
|
|
10195
|
+
if (tag !== 104) {
|
|
10196
|
+
break;
|
|
10197
|
+
}
|
|
10198
|
+
message.contrast = reader.int32();
|
|
10199
|
+
continue;
|
|
10200
|
+
}
|
|
10201
|
+
case 14: {
|
|
10202
|
+
if (tag !== 112) {
|
|
10203
|
+
break;
|
|
10204
|
+
}
|
|
10205
|
+
message.saturation = reader.int32();
|
|
10206
|
+
continue;
|
|
10207
|
+
}
|
|
10208
|
+
case 15: {
|
|
10209
|
+
if (tag !== 120) {
|
|
10210
|
+
break;
|
|
10211
|
+
}
|
|
10212
|
+
message.gamma = reader.int32();
|
|
10213
|
+
continue;
|
|
10214
|
+
}
|
|
10215
|
+
case 16: {
|
|
10216
|
+
if (tag !== 128) {
|
|
10217
|
+
break;
|
|
10218
|
+
}
|
|
10219
|
+
message.sharpness = reader.int32();
|
|
10220
|
+
continue;
|
|
10221
|
+
}
|
|
10222
|
+
case 17: {
|
|
10223
|
+
if (tag !== 136) {
|
|
10224
|
+
break;
|
|
10225
|
+
}
|
|
10226
|
+
message.backlightCompensation = reader.int32();
|
|
10227
|
+
continue;
|
|
10228
|
+
}
|
|
10229
|
+
case 18: {
|
|
10230
|
+
if (tag !== 144) {
|
|
10231
|
+
break;
|
|
10232
|
+
}
|
|
10233
|
+
message.denoise = reader.int32();
|
|
10234
|
+
continue;
|
|
10235
|
+
}
|
|
10236
|
+
case 21: {
|
|
10237
|
+
if (tag !== 168) {
|
|
10238
|
+
break;
|
|
10239
|
+
}
|
|
10240
|
+
message.ehdrEnabled = reader.bool();
|
|
10241
|
+
continue;
|
|
10242
|
+
}
|
|
10243
|
+
case 22: {
|
|
10244
|
+
if (tag !== 176) {
|
|
10245
|
+
break;
|
|
10246
|
+
}
|
|
10247
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10248
|
+
continue;
|
|
10249
|
+
}
|
|
10250
|
+
case 23: {
|
|
10251
|
+
if (tag !== 184) {
|
|
10252
|
+
break;
|
|
10253
|
+
}
|
|
10254
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10255
|
+
continue;
|
|
10256
|
+
}
|
|
9616
10257
|
case 6: {
|
|
9617
10258
|
if (tag !== 48) {
|
|
9618
10259
|
break;
|
|
@@ -9634,6 +10275,13 @@ exports.CameraParameters = {
|
|
|
9634
10275
|
message.recordingResolution = reader.int32();
|
|
9635
10276
|
continue;
|
|
9636
10277
|
}
|
|
10278
|
+
case 20: {
|
|
10279
|
+
if (tag !== 160) {
|
|
10280
|
+
break;
|
|
10281
|
+
}
|
|
10282
|
+
message.streamingProtocol = reader.int32();
|
|
10283
|
+
continue;
|
|
10284
|
+
}
|
|
9637
10285
|
case 7: {
|
|
9638
10286
|
if (tag !== 56) {
|
|
9639
10287
|
break;
|
|
@@ -9648,6 +10296,13 @@ exports.CameraParameters = {
|
|
|
9648
10296
|
message.camera = reader.int32();
|
|
9649
10297
|
continue;
|
|
9650
10298
|
}
|
|
10299
|
+
case 24: {
|
|
10300
|
+
if (tag !== 192) {
|
|
10301
|
+
break;
|
|
10302
|
+
}
|
|
10303
|
+
message.mtuSize = reader.uint32();
|
|
10304
|
+
continue;
|
|
10305
|
+
}
|
|
9651
10306
|
}
|
|
9652
10307
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9653
10308
|
break;
|
|
@@ -9664,11 +10319,23 @@ exports.CameraParameters = {
|
|
|
9664
10319
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9665
10320
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9666
10321
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10322
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10323
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10324
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10325
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10326
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10327
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10328
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10329
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10330
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10331
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9667
10332
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9668
10333
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9669
10334
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10335
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9670
10336
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9671
10337
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
10338
|
+
mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
|
|
9672
10339
|
};
|
|
9673
10340
|
},
|
|
9674
10341
|
toJSON(message) {
|
|
@@ -9691,6 +10358,36 @@ exports.CameraParameters = {
|
|
|
9691
10358
|
if (message.gain !== 0) {
|
|
9692
10359
|
obj.gain = message.gain;
|
|
9693
10360
|
}
|
|
10361
|
+
if (message.brightness !== 0) {
|
|
10362
|
+
obj.brightness = Math.round(message.brightness);
|
|
10363
|
+
}
|
|
10364
|
+
if (message.contrast !== 0) {
|
|
10365
|
+
obj.contrast = Math.round(message.contrast);
|
|
10366
|
+
}
|
|
10367
|
+
if (message.saturation !== 0) {
|
|
10368
|
+
obj.saturation = Math.round(message.saturation);
|
|
10369
|
+
}
|
|
10370
|
+
if (message.gamma !== 0) {
|
|
10371
|
+
obj.gamma = Math.round(message.gamma);
|
|
10372
|
+
}
|
|
10373
|
+
if (message.sharpness !== 0) {
|
|
10374
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10375
|
+
}
|
|
10376
|
+
if (message.backlightCompensation !== 0) {
|
|
10377
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10378
|
+
}
|
|
10379
|
+
if (message.denoise !== 0) {
|
|
10380
|
+
obj.denoise = Math.round(message.denoise);
|
|
10381
|
+
}
|
|
10382
|
+
if (message.ehdrEnabled !== false) {
|
|
10383
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10384
|
+
}
|
|
10385
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10386
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10387
|
+
}
|
|
10388
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10389
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10390
|
+
}
|
|
9694
10391
|
if (message.resolution !== 0) {
|
|
9695
10392
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9696
10393
|
}
|
|
@@ -9700,12 +10397,18 @@ exports.CameraParameters = {
|
|
|
9700
10397
|
if (message.recordingResolution !== 0) {
|
|
9701
10398
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9702
10399
|
}
|
|
10400
|
+
if (message.streamingProtocol !== 0) {
|
|
10401
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10402
|
+
}
|
|
9703
10403
|
if (message.framerate !== 0) {
|
|
9704
10404
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9705
10405
|
}
|
|
9706
10406
|
if (message.camera !== 0) {
|
|
9707
10407
|
obj.camera = cameraToJSON(message.camera);
|
|
9708
10408
|
}
|
|
10409
|
+
if (message.mtuSize !== 0) {
|
|
10410
|
+
obj.mtuSize = Math.round(message.mtuSize);
|
|
10411
|
+
}
|
|
9709
10412
|
return obj;
|
|
9710
10413
|
},
|
|
9711
10414
|
create(base) {
|
|
@@ -9719,11 +10422,23 @@ exports.CameraParameters = {
|
|
|
9719
10422
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9720
10423
|
message.hue = object.hue ?? 0;
|
|
9721
10424
|
message.gain = object.gain ?? 0;
|
|
10425
|
+
message.brightness = object.brightness ?? 0;
|
|
10426
|
+
message.contrast = object.contrast ?? 0;
|
|
10427
|
+
message.saturation = object.saturation ?? 0;
|
|
10428
|
+
message.gamma = object.gamma ?? 0;
|
|
10429
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10430
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10431
|
+
message.denoise = object.denoise ?? 0;
|
|
10432
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10433
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10434
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9722
10435
|
message.resolution = object.resolution ?? 0;
|
|
9723
10436
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9724
10437
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10438
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9725
10439
|
message.framerate = object.framerate ?? 0;
|
|
9726
10440
|
message.camera = object.camera ?? 0;
|
|
10441
|
+
message.mtuSize = object.mtuSize ?? 0;
|
|
9727
10442
|
return message;
|
|
9728
10443
|
},
|
|
9729
10444
|
};
|
|
@@ -12579,6 +13294,276 @@ exports.CPUInfo = {
|
|
|
12579
13294
|
return message;
|
|
12580
13295
|
},
|
|
12581
13296
|
};
|
|
13297
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13298
|
+
return { status: 0, level: 0 };
|
|
13299
|
+
}
|
|
13300
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13301
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13302
|
+
if (message.status !== 0) {
|
|
13303
|
+
writer.uint32(8).int32(message.status);
|
|
13304
|
+
}
|
|
13305
|
+
if (message.level !== 0) {
|
|
13306
|
+
writer.uint32(21).float(message.level);
|
|
13307
|
+
}
|
|
13308
|
+
return writer;
|
|
13309
|
+
},
|
|
13310
|
+
decode(input, length) {
|
|
13311
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13312
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13313
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13314
|
+
while (reader.pos < end) {
|
|
13315
|
+
const tag = reader.uint32();
|
|
13316
|
+
switch (tag >>> 3) {
|
|
13317
|
+
case 1: {
|
|
13318
|
+
if (tag !== 8) {
|
|
13319
|
+
break;
|
|
13320
|
+
}
|
|
13321
|
+
message.status = reader.int32();
|
|
13322
|
+
continue;
|
|
13323
|
+
}
|
|
13324
|
+
case 2: {
|
|
13325
|
+
if (tag !== 21) {
|
|
13326
|
+
break;
|
|
13327
|
+
}
|
|
13328
|
+
message.level = reader.float();
|
|
13329
|
+
continue;
|
|
13330
|
+
}
|
|
13331
|
+
}
|
|
13332
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13333
|
+
break;
|
|
13334
|
+
}
|
|
13335
|
+
reader.skip(tag & 7);
|
|
13336
|
+
}
|
|
13337
|
+
return message;
|
|
13338
|
+
},
|
|
13339
|
+
fromJSON(object) {
|
|
13340
|
+
return {
|
|
13341
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13342
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13343
|
+
};
|
|
13344
|
+
},
|
|
13345
|
+
toJSON(message) {
|
|
13346
|
+
const obj = {};
|
|
13347
|
+
if (message.status !== 0) {
|
|
13348
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13349
|
+
}
|
|
13350
|
+
if (message.level !== 0) {
|
|
13351
|
+
obj.level = message.level;
|
|
13352
|
+
}
|
|
13353
|
+
return obj;
|
|
13354
|
+
},
|
|
13355
|
+
create(base) {
|
|
13356
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13357
|
+
},
|
|
13358
|
+
fromPartial(object) {
|
|
13359
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13360
|
+
message.status = object.status ?? 0;
|
|
13361
|
+
message.level = object.level ?? 0;
|
|
13362
|
+
return message;
|
|
13363
|
+
},
|
|
13364
|
+
};
|
|
13365
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13366
|
+
return { version: "" };
|
|
13367
|
+
}
|
|
13368
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13369
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13370
|
+
if (message.version !== "") {
|
|
13371
|
+
writer.uint32(10).string(message.version);
|
|
13372
|
+
}
|
|
13373
|
+
return writer;
|
|
13374
|
+
},
|
|
13375
|
+
decode(input, length) {
|
|
13376
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13377
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13378
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13379
|
+
while (reader.pos < end) {
|
|
13380
|
+
const tag = reader.uint32();
|
|
13381
|
+
switch (tag >>> 3) {
|
|
13382
|
+
case 1: {
|
|
13383
|
+
if (tag !== 10) {
|
|
13384
|
+
break;
|
|
13385
|
+
}
|
|
13386
|
+
message.version = reader.string();
|
|
13387
|
+
continue;
|
|
13388
|
+
}
|
|
13389
|
+
}
|
|
13390
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13391
|
+
break;
|
|
13392
|
+
}
|
|
13393
|
+
reader.skip(tag & 7);
|
|
13394
|
+
}
|
|
13395
|
+
return message;
|
|
13396
|
+
},
|
|
13397
|
+
fromJSON(object) {
|
|
13398
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13399
|
+
},
|
|
13400
|
+
toJSON(message) {
|
|
13401
|
+
const obj = {};
|
|
13402
|
+
if (message.version !== "") {
|
|
13403
|
+
obj.version = message.version;
|
|
13404
|
+
}
|
|
13405
|
+
return obj;
|
|
13406
|
+
},
|
|
13407
|
+
create(base) {
|
|
13408
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13409
|
+
},
|
|
13410
|
+
fromPartial(object) {
|
|
13411
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13412
|
+
message.version = object.version ?? "";
|
|
13413
|
+
return message;
|
|
13414
|
+
},
|
|
13415
|
+
};
|
|
13416
|
+
function createBaseFilterMessage() {
|
|
13417
|
+
return { enabled: false, intensity: 0 };
|
|
13418
|
+
}
|
|
13419
|
+
exports.FilterMessage = {
|
|
13420
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13421
|
+
if (message.enabled !== false) {
|
|
13422
|
+
writer.uint32(8).bool(message.enabled);
|
|
13423
|
+
}
|
|
13424
|
+
if (message.intensity !== 0) {
|
|
13425
|
+
writer.uint32(21).float(message.intensity);
|
|
13426
|
+
}
|
|
13427
|
+
return writer;
|
|
13428
|
+
},
|
|
13429
|
+
decode(input, length) {
|
|
13430
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13431
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13432
|
+
const message = createBaseFilterMessage();
|
|
13433
|
+
while (reader.pos < end) {
|
|
13434
|
+
const tag = reader.uint32();
|
|
13435
|
+
switch (tag >>> 3) {
|
|
13436
|
+
case 1: {
|
|
13437
|
+
if (tag !== 8) {
|
|
13438
|
+
break;
|
|
13439
|
+
}
|
|
13440
|
+
message.enabled = reader.bool();
|
|
13441
|
+
continue;
|
|
13442
|
+
}
|
|
13443
|
+
case 2: {
|
|
13444
|
+
if (tag !== 21) {
|
|
13445
|
+
break;
|
|
13446
|
+
}
|
|
13447
|
+
message.intensity = reader.float();
|
|
13448
|
+
continue;
|
|
13449
|
+
}
|
|
13450
|
+
}
|
|
13451
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13452
|
+
break;
|
|
13453
|
+
}
|
|
13454
|
+
reader.skip(tag & 7);
|
|
13455
|
+
}
|
|
13456
|
+
return message;
|
|
13457
|
+
},
|
|
13458
|
+
fromJSON(object) {
|
|
13459
|
+
return {
|
|
13460
|
+
enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false,
|
|
13461
|
+
intensity: isSet(object.intensity) ? gt.Number(object.intensity) : 0,
|
|
13462
|
+
};
|
|
13463
|
+
},
|
|
13464
|
+
toJSON(message) {
|
|
13465
|
+
const obj = {};
|
|
13466
|
+
if (message.enabled !== false) {
|
|
13467
|
+
obj.enabled = message.enabled;
|
|
13468
|
+
}
|
|
13469
|
+
if (message.intensity !== 0) {
|
|
13470
|
+
obj.intensity = message.intensity;
|
|
13471
|
+
}
|
|
13472
|
+
return obj;
|
|
13473
|
+
},
|
|
13474
|
+
create(base) {
|
|
13475
|
+
return exports.FilterMessage.fromPartial(base ?? {});
|
|
13476
|
+
},
|
|
13477
|
+
fromPartial(object) {
|
|
13478
|
+
const message = createBaseFilterMessage();
|
|
13479
|
+
message.enabled = object.enabled ?? false;
|
|
13480
|
+
message.intensity = object.intensity ?? 0;
|
|
13481
|
+
return message;
|
|
13482
|
+
},
|
|
13483
|
+
};
|
|
13484
|
+
function createBaseCameraPanTiltZoom() {
|
|
13485
|
+
return { pan: 0, tilt: 0, zoom: 0 };
|
|
13486
|
+
}
|
|
13487
|
+
exports.CameraPanTiltZoom = {
|
|
13488
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13489
|
+
if (message.pan !== 0) {
|
|
13490
|
+
writer.uint32(13).float(message.pan);
|
|
13491
|
+
}
|
|
13492
|
+
if (message.tilt !== 0) {
|
|
13493
|
+
writer.uint32(21).float(message.tilt);
|
|
13494
|
+
}
|
|
13495
|
+
if (message.zoom !== 0) {
|
|
13496
|
+
writer.uint32(29).float(message.zoom);
|
|
13497
|
+
}
|
|
13498
|
+
return writer;
|
|
13499
|
+
},
|
|
13500
|
+
decode(input, length) {
|
|
13501
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13502
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13503
|
+
const message = createBaseCameraPanTiltZoom();
|
|
13504
|
+
while (reader.pos < end) {
|
|
13505
|
+
const tag = reader.uint32();
|
|
13506
|
+
switch (tag >>> 3) {
|
|
13507
|
+
case 1: {
|
|
13508
|
+
if (tag !== 13) {
|
|
13509
|
+
break;
|
|
13510
|
+
}
|
|
13511
|
+
message.pan = reader.float();
|
|
13512
|
+
continue;
|
|
13513
|
+
}
|
|
13514
|
+
case 2: {
|
|
13515
|
+
if (tag !== 21) {
|
|
13516
|
+
break;
|
|
13517
|
+
}
|
|
13518
|
+
message.tilt = reader.float();
|
|
13519
|
+
continue;
|
|
13520
|
+
}
|
|
13521
|
+
case 3: {
|
|
13522
|
+
if (tag !== 29) {
|
|
13523
|
+
break;
|
|
13524
|
+
}
|
|
13525
|
+
message.zoom = reader.float();
|
|
13526
|
+
continue;
|
|
13527
|
+
}
|
|
13528
|
+
}
|
|
13529
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13530
|
+
break;
|
|
13531
|
+
}
|
|
13532
|
+
reader.skip(tag & 7);
|
|
13533
|
+
}
|
|
13534
|
+
return message;
|
|
13535
|
+
},
|
|
13536
|
+
fromJSON(object) {
|
|
13537
|
+
return {
|
|
13538
|
+
pan: isSet(object.pan) ? gt.Number(object.pan) : 0,
|
|
13539
|
+
tilt: isSet(object.tilt) ? gt.Number(object.tilt) : 0,
|
|
13540
|
+
zoom: isSet(object.zoom) ? gt.Number(object.zoom) : 0,
|
|
13541
|
+
};
|
|
13542
|
+
},
|
|
13543
|
+
toJSON(message) {
|
|
13544
|
+
const obj = {};
|
|
13545
|
+
if (message.pan !== 0) {
|
|
13546
|
+
obj.pan = message.pan;
|
|
13547
|
+
}
|
|
13548
|
+
if (message.tilt !== 0) {
|
|
13549
|
+
obj.tilt = message.tilt;
|
|
13550
|
+
}
|
|
13551
|
+
if (message.zoom !== 0) {
|
|
13552
|
+
obj.zoom = message.zoom;
|
|
13553
|
+
}
|
|
13554
|
+
return obj;
|
|
13555
|
+
},
|
|
13556
|
+
create(base) {
|
|
13557
|
+
return exports.CameraPanTiltZoom.fromPartial(base ?? {});
|
|
13558
|
+
},
|
|
13559
|
+
fromPartial(object) {
|
|
13560
|
+
const message = createBaseCameraPanTiltZoom();
|
|
13561
|
+
message.pan = object.pan ?? 0;
|
|
13562
|
+
message.tilt = object.tilt ?? 0;
|
|
13563
|
+
message.zoom = object.zoom ?? 0;
|
|
13564
|
+
return message;
|
|
13565
|
+
},
|
|
13566
|
+
};
|
|
12582
13567
|
const gt = (() => {
|
|
12583
13568
|
if (typeof globalThis !== "undefined") {
|
|
12584
13569
|
return globalThis;
|