@blueyerobotics/protocol-definitions 3.2.0-0f78a956 → 3.2.0-13a0ac0d
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 +51 -2
- package/dist/control.js +371 -16
- 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 +486 -15
- package/dist/message_formats.js +3008 -124
- package/dist/mission_planning.d.ts +54 -0
- package/dist/mission_planning.js +244 -2
- package/dist/req_rep.d.ts +32 -0
- package/dist/req_rep.js +280 -2
- package/dist/telemetry.d.ts +83 -2
- package/dist/telemetry.js +564 -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.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.SotState_State = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CvModelInfo_ModelType = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.ThermalZoneId = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.RecordingCodec = 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.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 = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = void 0;
|
|
10
|
+
exports.SotState = exports.OperatorInfo = exports.CameraPanTiltZoom = exports.FilterMessage = exports.ModelDetections = exports.ObjectDetection = exports.SegmentationMask = exports.BoundingBox = exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.SystemPerformanceInfo = exports.VideoCodecInfo = exports.ThermalZone = exports.MemoryInfo = exports.DlaInfo = exports.GpuInfo = exports.CpuCoreLoad = 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 = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.CvModelInfo = exports.TiltVelocity = 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,10 @@ 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;
|
|
39
|
+
exports.recordingCodecFromJSON = recordingCodecFromJSON;
|
|
40
|
+
exports.recordingCodecToJSON = recordingCodecToJSON;
|
|
35
41
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
42
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
43
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -54,8 +60,12 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
60
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
61
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
62
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
63
|
+
exports.thermalZoneIdFromJSON = thermalZoneIdFromJSON;
|
|
64
|
+
exports.thermalZoneIdToJSON = thermalZoneIdToJSON;
|
|
57
65
|
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
58
66
|
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
67
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
68
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
59
69
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
60
70
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
61
71
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -64,10 +74,16 @@ exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFro
|
|
|
64
74
|
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
65
75
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
66
76
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
77
|
+
exports.cvModelInfo_ModelTypeFromJSON = cvModelInfo_ModelTypeFromJSON;
|
|
78
|
+
exports.cvModelInfo_ModelTypeToJSON = cvModelInfo_ModelTypeToJSON;
|
|
67
79
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
68
80
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
69
81
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
70
82
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
83
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
84
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
85
|
+
exports.sotState_StateFromJSON = sotState_StateFromJSON;
|
|
86
|
+
exports.sotState_StateToJSON = sotState_StateToJSON;
|
|
71
87
|
/* eslint-disable */
|
|
72
88
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
73
89
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -589,6 +605,51 @@ function notificationLevelToJSON(object) {
|
|
|
589
605
|
return "UNRECOGNIZED";
|
|
590
606
|
}
|
|
591
607
|
}
|
|
608
|
+
/**
|
|
609
|
+
* Storage location.
|
|
610
|
+
*
|
|
611
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
612
|
+
*/
|
|
613
|
+
var StorageLocation;
|
|
614
|
+
(function (StorageLocation) {
|
|
615
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
616
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
617
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
618
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
619
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
620
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
621
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
622
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
623
|
+
function storageLocationFromJSON(object) {
|
|
624
|
+
switch (object) {
|
|
625
|
+
case 0:
|
|
626
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
627
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
628
|
+
case 1:
|
|
629
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
630
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
631
|
+
case 2:
|
|
632
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
633
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
634
|
+
case -1:
|
|
635
|
+
case "UNRECOGNIZED":
|
|
636
|
+
default:
|
|
637
|
+
return StorageLocation.UNRECOGNIZED;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
function storageLocationToJSON(object) {
|
|
641
|
+
switch (object) {
|
|
642
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
643
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
644
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
645
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
646
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
647
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
648
|
+
case StorageLocation.UNRECOGNIZED:
|
|
649
|
+
default:
|
|
650
|
+
return "UNRECOGNIZED";
|
|
651
|
+
}
|
|
652
|
+
}
|
|
592
653
|
/** Drone models produced by Blueye. */
|
|
593
654
|
var Model;
|
|
594
655
|
(function (Model) {
|
|
@@ -604,6 +665,8 @@ var Model;
|
|
|
604
665
|
Model[Model["MODEL_X3"] = 3] = "MODEL_X3";
|
|
605
666
|
/** MODEL_X3_ULTRA - Blueye X3 Ultra. */
|
|
606
667
|
Model[Model["MODEL_X3_ULTRA"] = 6] = "MODEL_X3_ULTRA";
|
|
668
|
+
/** MODEL_X7 - Blueye X7. */
|
|
669
|
+
Model[Model["MODEL_X7"] = 7] = "MODEL_X7";
|
|
607
670
|
/** MODEL_NEXT - Blueye ? */
|
|
608
671
|
Model[Model["MODEL_NEXT"] = 5] = "MODEL_NEXT";
|
|
609
672
|
Model[Model["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
@@ -628,6 +691,9 @@ function modelFromJSON(object) {
|
|
|
628
691
|
case 6:
|
|
629
692
|
case "MODEL_X3_ULTRA":
|
|
630
693
|
return Model.MODEL_X3_ULTRA;
|
|
694
|
+
case 7:
|
|
695
|
+
case "MODEL_X7":
|
|
696
|
+
return Model.MODEL_X7;
|
|
631
697
|
case 5:
|
|
632
698
|
case "MODEL_NEXT":
|
|
633
699
|
return Model.MODEL_NEXT;
|
|
@@ -651,6 +717,8 @@ function modelToJSON(object) {
|
|
|
651
717
|
return "MODEL_X3";
|
|
652
718
|
case Model.MODEL_X3_ULTRA:
|
|
653
719
|
return "MODEL_X3_ULTRA";
|
|
720
|
+
case Model.MODEL_X7:
|
|
721
|
+
return "MODEL_X7";
|
|
654
722
|
case Model.MODEL_NEXT:
|
|
655
723
|
return "MODEL_NEXT";
|
|
656
724
|
case Model.UNRECOGNIZED:
|
|
@@ -718,12 +786,16 @@ var Resolution;
|
|
|
718
786
|
(function (Resolution) {
|
|
719
787
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
720
788
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
721
|
-
/**
|
|
722
|
-
Resolution[Resolution["
|
|
723
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
789
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
790
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
791
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
724
792
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
725
|
-
/**
|
|
793
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
794
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
795
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
726
796
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
797
|
+
/** RESOLUTION_QHD_2K - 2K QHD (2560x1440, Only supported on X3 Ultra). */
|
|
798
|
+
Resolution[Resolution["RESOLUTION_QHD_2K"] = 5] = "RESOLUTION_QHD_2K";
|
|
727
799
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
728
800
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
729
801
|
function resolutionFromJSON(object) {
|
|
@@ -731,15 +803,21 @@ function resolutionFromJSON(object) {
|
|
|
731
803
|
case 0:
|
|
732
804
|
case "RESOLUTION_UNSPECIFIED":
|
|
733
805
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
734
|
-
case
|
|
735
|
-
case "
|
|
736
|
-
return Resolution.
|
|
806
|
+
case 4:
|
|
807
|
+
case "RESOLUTION_VGA_480P":
|
|
808
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
737
809
|
case 2:
|
|
738
810
|
case "RESOLUTION_HD_720P":
|
|
739
811
|
return Resolution.RESOLUTION_HD_720P;
|
|
812
|
+
case 1:
|
|
813
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
814
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
740
815
|
case 3:
|
|
741
816
|
case "RESOLUTION_UHD_4K":
|
|
742
817
|
return Resolution.RESOLUTION_UHD_4K;
|
|
818
|
+
case 5:
|
|
819
|
+
case "RESOLUTION_QHD_2K":
|
|
820
|
+
return Resolution.RESOLUTION_QHD_2K;
|
|
743
821
|
case -1:
|
|
744
822
|
case "UNRECOGNIZED":
|
|
745
823
|
default:
|
|
@@ -750,26 +828,37 @@ function resolutionToJSON(object) {
|
|
|
750
828
|
switch (object) {
|
|
751
829
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
752
830
|
return "RESOLUTION_UNSPECIFIED";
|
|
753
|
-
case Resolution.
|
|
754
|
-
return "
|
|
831
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
832
|
+
return "RESOLUTION_VGA_480P";
|
|
755
833
|
case Resolution.RESOLUTION_HD_720P:
|
|
756
834
|
return "RESOLUTION_HD_720P";
|
|
835
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
836
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
757
837
|
case Resolution.RESOLUTION_UHD_4K:
|
|
758
838
|
return "RESOLUTION_UHD_4K";
|
|
839
|
+
case Resolution.RESOLUTION_QHD_2K:
|
|
840
|
+
return "RESOLUTION_QHD_2K";
|
|
759
841
|
case Resolution.UNRECOGNIZED:
|
|
760
842
|
default:
|
|
761
843
|
return "UNRECOGNIZED";
|
|
762
844
|
}
|
|
763
845
|
}
|
|
764
|
-
/**
|
|
846
|
+
/**
|
|
847
|
+
* Available camera frame rates.
|
|
848
|
+
*
|
|
849
|
+
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
850
|
+
* the frame rate will be reduced while the resolution is respected.
|
|
851
|
+
*/
|
|
765
852
|
var Framerate;
|
|
766
853
|
(function (Framerate) {
|
|
767
854
|
/** FRAMERATE_UNSPECIFIED - Framerate not specified. */
|
|
768
855
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
769
856
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
770
857
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
771
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
858
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
772
859
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
860
|
+
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
861
|
+
Framerate[Framerate["FRAMERATE_FPS_60"] = 3] = "FRAMERATE_FPS_60";
|
|
773
862
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
774
863
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
775
864
|
function framerateFromJSON(object) {
|
|
@@ -783,6 +872,9 @@ function framerateFromJSON(object) {
|
|
|
783
872
|
case 2:
|
|
784
873
|
case "FRAMERATE_FPS_25":
|
|
785
874
|
return Framerate.FRAMERATE_FPS_25;
|
|
875
|
+
case 3:
|
|
876
|
+
case "FRAMERATE_FPS_60":
|
|
877
|
+
return Framerate.FRAMERATE_FPS_60;
|
|
786
878
|
case -1:
|
|
787
879
|
case "UNRECOGNIZED":
|
|
788
880
|
default:
|
|
@@ -797,6 +889,8 @@ function framerateToJSON(object) {
|
|
|
797
889
|
return "FRAMERATE_FPS_30";
|
|
798
890
|
case Framerate.FRAMERATE_FPS_25:
|
|
799
891
|
return "FRAMERATE_FPS_25";
|
|
892
|
+
case Framerate.FRAMERATE_FPS_60:
|
|
893
|
+
return "FRAMERATE_FPS_60";
|
|
800
894
|
case Framerate.UNRECOGNIZED:
|
|
801
895
|
default:
|
|
802
896
|
return "UNRECOGNIZED";
|
|
@@ -843,6 +937,87 @@ function cameraToJSON(object) {
|
|
|
843
937
|
return "UNRECOGNIZED";
|
|
844
938
|
}
|
|
845
939
|
}
|
|
940
|
+
var StreamingProtocol;
|
|
941
|
+
(function (StreamingProtocol) {
|
|
942
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
943
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
944
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
945
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
946
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
947
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
948
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
949
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
950
|
+
function streamingProtocolFromJSON(object) {
|
|
951
|
+
switch (object) {
|
|
952
|
+
case 0:
|
|
953
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
954
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
955
|
+
case 1:
|
|
956
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
957
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
958
|
+
case 2:
|
|
959
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
960
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
961
|
+
case -1:
|
|
962
|
+
case "UNRECOGNIZED":
|
|
963
|
+
default:
|
|
964
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
function streamingProtocolToJSON(object) {
|
|
968
|
+
switch (object) {
|
|
969
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
970
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
971
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
972
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
973
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
974
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
975
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
976
|
+
default:
|
|
977
|
+
return "UNRECOGNIZED";
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
/** Recording video codec. */
|
|
981
|
+
var RecordingCodec;
|
|
982
|
+
(function (RecordingCodec) {
|
|
983
|
+
/** RECORDING_CODEC_UNSPECIFIED - Use platform default (H.264). */
|
|
984
|
+
RecordingCodec[RecordingCodec["RECORDING_CODEC_UNSPECIFIED"] = 0] = "RECORDING_CODEC_UNSPECIFIED";
|
|
985
|
+
/** RECORDING_CODEC_H264 - H.264/AVC codec. Wider compatibility with players/editors. */
|
|
986
|
+
RecordingCodec[RecordingCodec["RECORDING_CODEC_H264"] = 1] = "RECORDING_CODEC_H264";
|
|
987
|
+
/** RECORDING_CODEC_H265 - H.265/HEVC codec. Better compression, limited compatibility. Ultra only. */
|
|
988
|
+
RecordingCodec[RecordingCodec["RECORDING_CODEC_H265"] = 2] = "RECORDING_CODEC_H265";
|
|
989
|
+
RecordingCodec[RecordingCodec["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
990
|
+
})(RecordingCodec || (exports.RecordingCodec = RecordingCodec = {}));
|
|
991
|
+
function recordingCodecFromJSON(object) {
|
|
992
|
+
switch (object) {
|
|
993
|
+
case 0:
|
|
994
|
+
case "RECORDING_CODEC_UNSPECIFIED":
|
|
995
|
+
return RecordingCodec.RECORDING_CODEC_UNSPECIFIED;
|
|
996
|
+
case 1:
|
|
997
|
+
case "RECORDING_CODEC_H264":
|
|
998
|
+
return RecordingCodec.RECORDING_CODEC_H264;
|
|
999
|
+
case 2:
|
|
1000
|
+
case "RECORDING_CODEC_H265":
|
|
1001
|
+
return RecordingCodec.RECORDING_CODEC_H265;
|
|
1002
|
+
case -1:
|
|
1003
|
+
case "UNRECOGNIZED":
|
|
1004
|
+
default:
|
|
1005
|
+
return RecordingCodec.UNRECOGNIZED;
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
function recordingCodecToJSON(object) {
|
|
1009
|
+
switch (object) {
|
|
1010
|
+
case RecordingCodec.RECORDING_CODEC_UNSPECIFIED:
|
|
1011
|
+
return "RECORDING_CODEC_UNSPECIFIED";
|
|
1012
|
+
case RecordingCodec.RECORDING_CODEC_H264:
|
|
1013
|
+
return "RECORDING_CODEC_H264";
|
|
1014
|
+
case RecordingCodec.RECORDING_CODEC_H265:
|
|
1015
|
+
return "RECORDING_CODEC_H265";
|
|
1016
|
+
case RecordingCodec.UNRECOGNIZED:
|
|
1017
|
+
default:
|
|
1018
|
+
return "UNRECOGNIZED";
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
846
1021
|
/** Available temperature units. */
|
|
847
1022
|
var TemperatureUnit;
|
|
848
1023
|
(function (TemperatureUnit) {
|
|
@@ -1031,6 +1206,8 @@ var FontSize;
|
|
|
1031
1206
|
FontSize[FontSize["FONT_SIZE_PX35"] = 5] = "FONT_SIZE_PX35";
|
|
1032
1207
|
/** FONT_SIZE_PX40 - 40 px. */
|
|
1033
1208
|
FontSize[FontSize["FONT_SIZE_PX40"] = 6] = "FONT_SIZE_PX40";
|
|
1209
|
+
/** FONT_SIZE_PX50 - 50 px. */
|
|
1210
|
+
FontSize[FontSize["FONT_SIZE_PX50"] = 7] = "FONT_SIZE_PX50";
|
|
1034
1211
|
FontSize[FontSize["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1035
1212
|
})(FontSize || (exports.FontSize = FontSize = {}));
|
|
1036
1213
|
function fontSizeFromJSON(object) {
|
|
@@ -1056,6 +1233,9 @@ function fontSizeFromJSON(object) {
|
|
|
1056
1233
|
case 6:
|
|
1057
1234
|
case "FONT_SIZE_PX40":
|
|
1058
1235
|
return FontSize.FONT_SIZE_PX40;
|
|
1236
|
+
case 7:
|
|
1237
|
+
case "FONT_SIZE_PX50":
|
|
1238
|
+
return FontSize.FONT_SIZE_PX50;
|
|
1059
1239
|
case -1:
|
|
1060
1240
|
case "UNRECOGNIZED":
|
|
1061
1241
|
default:
|
|
@@ -1078,6 +1258,8 @@ function fontSizeToJSON(object) {
|
|
|
1078
1258
|
return "FONT_SIZE_PX35";
|
|
1079
1259
|
case FontSize.FONT_SIZE_PX40:
|
|
1080
1260
|
return "FONT_SIZE_PX40";
|
|
1261
|
+
case FontSize.FONT_SIZE_PX50:
|
|
1262
|
+
return "FONT_SIZE_PX50";
|
|
1081
1263
|
case FontSize.UNRECOGNIZED:
|
|
1082
1264
|
default:
|
|
1083
1265
|
return "UNRECOGNIZED";
|
|
@@ -1176,6 +1358,14 @@ var GuestPortDeviceID;
|
|
|
1176
1358
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1177
1359
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1178
1360
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1361
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1362
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1363
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1364
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1365
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
1366
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1367
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER - Blueye Scaling Laser. */
|
|
1368
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER"] = 48] = "GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER";
|
|
1179
1369
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1180
1370
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1181
1371
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1315,6 +1505,18 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1315
1505
|
case 44:
|
|
1316
1506
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1317
1507
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1508
|
+
case 45:
|
|
1509
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1510
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1511
|
+
case 46:
|
|
1512
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1513
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1514
|
+
case 47:
|
|
1515
|
+
case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
|
|
1516
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
|
|
1517
|
+
case 48:
|
|
1518
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER":
|
|
1519
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER;
|
|
1318
1520
|
case -1:
|
|
1319
1521
|
case "UNRECOGNIZED":
|
|
1320
1522
|
default:
|
|
@@ -1413,6 +1615,14 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1413
1615
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1414
1616
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1415
1617
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1618
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1619
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1620
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1621
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1622
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
|
|
1623
|
+
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1624
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER:
|
|
1625
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER";
|
|
1416
1626
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1417
1627
|
default:
|
|
1418
1628
|
return "UNRECOGNIZED";
|
|
@@ -1689,6 +1899,47 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1689
1899
|
return "UNRECOGNIZED";
|
|
1690
1900
|
}
|
|
1691
1901
|
}
|
|
1902
|
+
/** Thermal zone identifiers. */
|
|
1903
|
+
var ThermalZoneId;
|
|
1904
|
+
(function (ThermalZoneId) {
|
|
1905
|
+
/** THERMAL_ZONE_ID_UNSPECIFIED - Unspecified thermal zone. */
|
|
1906
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_UNSPECIFIED"] = 0] = "THERMAL_ZONE_ID_UNSPECIFIED";
|
|
1907
|
+
/** THERMAL_ZONE_ID_TJ - Junction temperature (Tj). */
|
|
1908
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_TJ"] = 1] = "THERMAL_ZONE_ID_TJ";
|
|
1909
|
+
/** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
|
|
1910
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_CANISTER"] = 2] = "THERMAL_ZONE_ID_CANISTER";
|
|
1911
|
+
ThermalZoneId[ThermalZoneId["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1912
|
+
})(ThermalZoneId || (exports.ThermalZoneId = ThermalZoneId = {}));
|
|
1913
|
+
function thermalZoneIdFromJSON(object) {
|
|
1914
|
+
switch (object) {
|
|
1915
|
+
case 0:
|
|
1916
|
+
case "THERMAL_ZONE_ID_UNSPECIFIED":
|
|
1917
|
+
return ThermalZoneId.THERMAL_ZONE_ID_UNSPECIFIED;
|
|
1918
|
+
case 1:
|
|
1919
|
+
case "THERMAL_ZONE_ID_TJ":
|
|
1920
|
+
return ThermalZoneId.THERMAL_ZONE_ID_TJ;
|
|
1921
|
+
case 2:
|
|
1922
|
+
case "THERMAL_ZONE_ID_CANISTER":
|
|
1923
|
+
return ThermalZoneId.THERMAL_ZONE_ID_CANISTER;
|
|
1924
|
+
case -1:
|
|
1925
|
+
case "UNRECOGNIZED":
|
|
1926
|
+
default:
|
|
1927
|
+
return ThermalZoneId.UNRECOGNIZED;
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
function thermalZoneIdToJSON(object) {
|
|
1931
|
+
switch (object) {
|
|
1932
|
+
case ThermalZoneId.THERMAL_ZONE_ID_UNSPECIFIED:
|
|
1933
|
+
return "THERMAL_ZONE_ID_UNSPECIFIED";
|
|
1934
|
+
case ThermalZoneId.THERMAL_ZONE_ID_TJ:
|
|
1935
|
+
return "THERMAL_ZONE_ID_TJ";
|
|
1936
|
+
case ThermalZoneId.THERMAL_ZONE_ID_CANISTER:
|
|
1937
|
+
return "THERMAL_ZONE_ID_CANISTER";
|
|
1938
|
+
case ThermalZoneId.UNRECOGNIZED:
|
|
1939
|
+
default:
|
|
1940
|
+
return "UNRECOGNIZED";
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1692
1943
|
var LogEntry_LogLevel;
|
|
1693
1944
|
(function (LogEntry_LogLevel) {
|
|
1694
1945
|
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
@@ -1757,6 +2008,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1757
2008
|
return "UNRECOGNIZED";
|
|
1758
2009
|
}
|
|
1759
2010
|
}
|
|
2011
|
+
/** Kernel log level. */
|
|
2012
|
+
var KernelLogEntry_KernelLogLevel;
|
|
2013
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
2014
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
2015
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
2016
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
2017
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
2018
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
2019
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
2020
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
2021
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
2022
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
2023
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
2024
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
2025
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
2026
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
2027
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
2028
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
2029
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
2030
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
2031
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
2032
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2033
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
2034
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
2035
|
+
switch (object) {
|
|
2036
|
+
case 0:
|
|
2037
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
2038
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
2039
|
+
case 1:
|
|
2040
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
2041
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
2042
|
+
case 2:
|
|
2043
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
2044
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
2045
|
+
case 3:
|
|
2046
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
2047
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
2048
|
+
case 4:
|
|
2049
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
2050
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
2051
|
+
case 5:
|
|
2052
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
2053
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
2054
|
+
case 6:
|
|
2055
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
2056
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
2057
|
+
case 7:
|
|
2058
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
2059
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
2060
|
+
case 8:
|
|
2061
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
2062
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
2063
|
+
case -1:
|
|
2064
|
+
case "UNRECOGNIZED":
|
|
2065
|
+
default:
|
|
2066
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
2067
|
+
}
|
|
2068
|
+
}
|
|
2069
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
2070
|
+
switch (object) {
|
|
2071
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
2072
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
2073
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
2074
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
2075
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
2076
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
2077
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
2078
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
2079
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
2080
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
2081
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
2082
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
2083
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
2084
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
2085
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
2086
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
2087
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
2088
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
2089
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
2090
|
+
default:
|
|
2091
|
+
return "UNRECOGNIZED";
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
1760
2094
|
var PingerConfiguration_MountingDirection;
|
|
1761
2095
|
(function (PingerConfiguration_MountingDirection) {
|
|
1762
2096
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1878,10 +2212,12 @@ var RemovableStorageDevice_Status;
|
|
|
1878
2212
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1879
2213
|
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1880
2214
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1881
|
-
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
2215
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
1882
2216
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1883
2217
|
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1884
2218
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
2219
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
2220
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
|
|
1885
2221
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1886
2222
|
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1887
2223
|
function removableStorageDevice_StatusFromJSON(object) {
|
|
@@ -1898,6 +2234,9 @@ function removableStorageDevice_StatusFromJSON(object) {
|
|
|
1898
2234
|
case 3:
|
|
1899
2235
|
case "STATUS_ERROR":
|
|
1900
2236
|
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2237
|
+
case 4:
|
|
2238
|
+
case "STATUS_UNPLUGGED":
|
|
2239
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
1901
2240
|
case -1:
|
|
1902
2241
|
case "UNRECOGNIZED":
|
|
1903
2242
|
default:
|
|
@@ -1914,6 +2253,8 @@ function removableStorageDevice_StatusToJSON(object) {
|
|
|
1914
2253
|
return "STATUS_FORMATTING";
|
|
1915
2254
|
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
1916
2255
|
return "STATUS_ERROR";
|
|
2256
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2257
|
+
return "STATUS_UNPLUGGED";
|
|
1917
2258
|
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
1918
2259
|
default:
|
|
1919
2260
|
return "UNRECOGNIZED";
|
|
@@ -2013,6 +2354,43 @@ function calibrationState_StatusToJSON(object) {
|
|
|
2013
2354
|
return "UNRECOGNIZED";
|
|
2014
2355
|
}
|
|
2015
2356
|
}
|
|
2357
|
+
var CvModelInfo_ModelType;
|
|
2358
|
+
(function (CvModelInfo_ModelType) {
|
|
2359
|
+
CvModelInfo_ModelType[CvModelInfo_ModelType["MODEL_TYPE_UNSPECIFIED"] = 0] = "MODEL_TYPE_UNSPECIFIED";
|
|
2360
|
+
CvModelInfo_ModelType[CvModelInfo_ModelType["MODEL_TYPE_DETECTION"] = 1] = "MODEL_TYPE_DETECTION";
|
|
2361
|
+
CvModelInfo_ModelType[CvModelInfo_ModelType["MODEL_TYPE_SOT"] = 2] = "MODEL_TYPE_SOT";
|
|
2362
|
+
CvModelInfo_ModelType[CvModelInfo_ModelType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2363
|
+
})(CvModelInfo_ModelType || (exports.CvModelInfo_ModelType = CvModelInfo_ModelType = {}));
|
|
2364
|
+
function cvModelInfo_ModelTypeFromJSON(object) {
|
|
2365
|
+
switch (object) {
|
|
2366
|
+
case 0:
|
|
2367
|
+
case "MODEL_TYPE_UNSPECIFIED":
|
|
2368
|
+
return CvModelInfo_ModelType.MODEL_TYPE_UNSPECIFIED;
|
|
2369
|
+
case 1:
|
|
2370
|
+
case "MODEL_TYPE_DETECTION":
|
|
2371
|
+
return CvModelInfo_ModelType.MODEL_TYPE_DETECTION;
|
|
2372
|
+
case 2:
|
|
2373
|
+
case "MODEL_TYPE_SOT":
|
|
2374
|
+
return CvModelInfo_ModelType.MODEL_TYPE_SOT;
|
|
2375
|
+
case -1:
|
|
2376
|
+
case "UNRECOGNIZED":
|
|
2377
|
+
default:
|
|
2378
|
+
return CvModelInfo_ModelType.UNRECOGNIZED;
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
function cvModelInfo_ModelTypeToJSON(object) {
|
|
2382
|
+
switch (object) {
|
|
2383
|
+
case CvModelInfo_ModelType.MODEL_TYPE_UNSPECIFIED:
|
|
2384
|
+
return "MODEL_TYPE_UNSPECIFIED";
|
|
2385
|
+
case CvModelInfo_ModelType.MODEL_TYPE_DETECTION:
|
|
2386
|
+
return "MODEL_TYPE_DETECTION";
|
|
2387
|
+
case CvModelInfo_ModelType.MODEL_TYPE_SOT:
|
|
2388
|
+
return "MODEL_TYPE_SOT";
|
|
2389
|
+
case CvModelInfo_ModelType.UNRECOGNIZED:
|
|
2390
|
+
default:
|
|
2391
|
+
return "UNRECOGNIZED";
|
|
2392
|
+
}
|
|
2393
|
+
}
|
|
2016
2394
|
/** Defines the desired ping rate to use when capturing sonar data. */
|
|
2017
2395
|
var MultibeamConfig_PingRate;
|
|
2018
2396
|
(function (MultibeamConfig_PingRate) {
|
|
@@ -2135,6 +2513,97 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2135
2513
|
return "UNRECOGNIZED";
|
|
2136
2514
|
}
|
|
2137
2515
|
}
|
|
2516
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2517
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2518
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2519
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2520
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2521
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2522
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2523
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2524
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2525
|
+
switch (object) {
|
|
2526
|
+
case 0:
|
|
2527
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2528
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2529
|
+
case 1:
|
|
2530
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2531
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2532
|
+
case 2:
|
|
2533
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2534
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2535
|
+
case 3:
|
|
2536
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2537
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2538
|
+
case -1:
|
|
2539
|
+
case "UNRECOGNIZED":
|
|
2540
|
+
default:
|
|
2541
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2542
|
+
}
|
|
2543
|
+
}
|
|
2544
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2545
|
+
switch (object) {
|
|
2546
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2547
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2548
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2549
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2550
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2551
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2552
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2553
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2554
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2555
|
+
default:
|
|
2556
|
+
return "UNRECOGNIZED";
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
/** Current state of the SOT tracker. */
|
|
2560
|
+
var SotState_State;
|
|
2561
|
+
(function (SotState_State) {
|
|
2562
|
+
/** STATE_UNSPECIFIED - Unspecified state. */
|
|
2563
|
+
SotState_State[SotState_State["STATE_UNSPECIFIED"] = 0] = "STATE_UNSPECIFIED";
|
|
2564
|
+
/** STATE_IDLE - No target selected, waiting for a target bounding box. */
|
|
2565
|
+
SotState_State[SotState_State["STATE_IDLE"] = 1] = "STATE_IDLE";
|
|
2566
|
+
/** STATE_TRACKING - Actively tracking a target. */
|
|
2567
|
+
SotState_State[SotState_State["STATE_TRACKING"] = 2] = "STATE_TRACKING";
|
|
2568
|
+
/** STATE_LOST - Target was lost (tracker failed to follow the object). */
|
|
2569
|
+
SotState_State[SotState_State["STATE_LOST"] = 3] = "STATE_LOST";
|
|
2570
|
+
SotState_State[SotState_State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2571
|
+
})(SotState_State || (exports.SotState_State = SotState_State = {}));
|
|
2572
|
+
function sotState_StateFromJSON(object) {
|
|
2573
|
+
switch (object) {
|
|
2574
|
+
case 0:
|
|
2575
|
+
case "STATE_UNSPECIFIED":
|
|
2576
|
+
return SotState_State.STATE_UNSPECIFIED;
|
|
2577
|
+
case 1:
|
|
2578
|
+
case "STATE_IDLE":
|
|
2579
|
+
return SotState_State.STATE_IDLE;
|
|
2580
|
+
case 2:
|
|
2581
|
+
case "STATE_TRACKING":
|
|
2582
|
+
return SotState_State.STATE_TRACKING;
|
|
2583
|
+
case 3:
|
|
2584
|
+
case "STATE_LOST":
|
|
2585
|
+
return SotState_State.STATE_LOST;
|
|
2586
|
+
case -1:
|
|
2587
|
+
case "UNRECOGNIZED":
|
|
2588
|
+
default:
|
|
2589
|
+
return SotState_State.UNRECOGNIZED;
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
function sotState_StateToJSON(object) {
|
|
2593
|
+
switch (object) {
|
|
2594
|
+
case SotState_State.STATE_UNSPECIFIED:
|
|
2595
|
+
return "STATE_UNSPECIFIED";
|
|
2596
|
+
case SotState_State.STATE_IDLE:
|
|
2597
|
+
return "STATE_IDLE";
|
|
2598
|
+
case SotState_State.STATE_TRACKING:
|
|
2599
|
+
return "STATE_TRACKING";
|
|
2600
|
+
case SotState_State.STATE_LOST:
|
|
2601
|
+
return "STATE_LOST";
|
|
2602
|
+
case SotState_State.UNRECOGNIZED:
|
|
2603
|
+
default:
|
|
2604
|
+
return "UNRECOGNIZED";
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2138
2607
|
function createBaseBinlogRecord() {
|
|
2139
2608
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2140
2609
|
}
|
|
@@ -2363,98 +2832,68 @@ exports.LogEntry = {
|
|
|
2363
2832
|
return message;
|
|
2364
2833
|
},
|
|
2365
2834
|
};
|
|
2366
|
-
function
|
|
2367
|
-
return {
|
|
2835
|
+
function createBaseKernelLogEntry() {
|
|
2836
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2368
2837
|
}
|
|
2369
|
-
exports.
|
|
2838
|
+
exports.KernelLogEntry = {
|
|
2370
2839
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2371
|
-
if (message.
|
|
2372
|
-
writer.uint32(
|
|
2373
|
-
}
|
|
2374
|
-
if (message.sway !== 0) {
|
|
2375
|
-
writer.uint32(21).float(message.sway);
|
|
2376
|
-
}
|
|
2377
|
-
if (message.heave !== 0) {
|
|
2378
|
-
writer.uint32(29).float(message.heave);
|
|
2379
|
-
}
|
|
2380
|
-
if (message.roll !== 0) {
|
|
2381
|
-
writer.uint32(61).float(message.roll);
|
|
2840
|
+
if (message.level !== 0) {
|
|
2841
|
+
writer.uint32(8).int32(message.level);
|
|
2382
2842
|
}
|
|
2383
|
-
if (message.
|
|
2384
|
-
writer.uint32(
|
|
2843
|
+
if (message.seqnum !== 0) {
|
|
2844
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2385
2845
|
}
|
|
2386
|
-
if (message.
|
|
2387
|
-
writer.uint32(
|
|
2846
|
+
if (message.timestamp !== undefined) {
|
|
2847
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2388
2848
|
}
|
|
2389
|
-
|
|
2390
|
-
writer.uint32(
|
|
2849
|
+
for (const v of message.messages) {
|
|
2850
|
+
writer.uint32(34).string(v);
|
|
2391
2851
|
}
|
|
2392
|
-
|
|
2393
|
-
writer.uint32(
|
|
2852
|
+
for (const v of message.fields) {
|
|
2853
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2394
2854
|
}
|
|
2395
2855
|
return writer;
|
|
2396
2856
|
},
|
|
2397
2857
|
decode(input, length) {
|
|
2398
2858
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2399
2859
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2400
|
-
const message =
|
|
2860
|
+
const message = createBaseKernelLogEntry();
|
|
2401
2861
|
while (reader.pos < end) {
|
|
2402
2862
|
const tag = reader.uint32();
|
|
2403
2863
|
switch (tag >>> 3) {
|
|
2404
2864
|
case 1: {
|
|
2405
|
-
if (tag !==
|
|
2865
|
+
if (tag !== 8) {
|
|
2406
2866
|
break;
|
|
2407
2867
|
}
|
|
2408
|
-
message.
|
|
2868
|
+
message.level = reader.int32();
|
|
2409
2869
|
continue;
|
|
2410
2870
|
}
|
|
2411
2871
|
case 2: {
|
|
2412
|
-
if (tag !==
|
|
2872
|
+
if (tag !== 16) {
|
|
2413
2873
|
break;
|
|
2414
2874
|
}
|
|
2415
|
-
message.
|
|
2875
|
+
message.seqnum = reader.uint32();
|
|
2416
2876
|
continue;
|
|
2417
2877
|
}
|
|
2418
2878
|
case 3: {
|
|
2419
|
-
if (tag !==
|
|
2420
|
-
break;
|
|
2421
|
-
}
|
|
2422
|
-
message.heave = reader.float();
|
|
2423
|
-
continue;
|
|
2424
|
-
}
|
|
2425
|
-
case 7: {
|
|
2426
|
-
if (tag !== 61) {
|
|
2427
|
-
break;
|
|
2428
|
-
}
|
|
2429
|
-
message.roll = reader.float();
|
|
2430
|
-
continue;
|
|
2431
|
-
}
|
|
2432
|
-
case 8: {
|
|
2433
|
-
if (tag !== 69) {
|
|
2879
|
+
if (tag !== 26) {
|
|
2434
2880
|
break;
|
|
2435
2881
|
}
|
|
2436
|
-
message.
|
|
2882
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2437
2883
|
continue;
|
|
2438
2884
|
}
|
|
2439
2885
|
case 4: {
|
|
2440
|
-
if (tag !==
|
|
2886
|
+
if (tag !== 34) {
|
|
2441
2887
|
break;
|
|
2442
2888
|
}
|
|
2443
|
-
message.
|
|
2889
|
+
message.messages.push(reader.string());
|
|
2444
2890
|
continue;
|
|
2445
2891
|
}
|
|
2446
2892
|
case 5: {
|
|
2447
|
-
if (tag !==
|
|
2448
|
-
break;
|
|
2449
|
-
}
|
|
2450
|
-
message.slow = reader.float();
|
|
2451
|
-
continue;
|
|
2452
|
-
}
|
|
2453
|
-
case 6: {
|
|
2454
|
-
if (tag !== 53) {
|
|
2893
|
+
if (tag !== 42) {
|
|
2455
2894
|
break;
|
|
2456
2895
|
}
|
|
2457
|
-
message.
|
|
2896
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2458
2897
|
continue;
|
|
2459
2898
|
}
|
|
2460
2899
|
}
|
|
@@ -2467,67 +2906,280 @@ exports.MotionInput = {
|
|
|
2467
2906
|
},
|
|
2468
2907
|
fromJSON(object) {
|
|
2469
2908
|
return {
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
boost: isSet(object.boost) ? gt.Number(object.boost) : 0,
|
|
2909
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2910
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2911
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2912
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2913
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2914
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2915
|
+
: [],
|
|
2478
2916
|
};
|
|
2479
2917
|
},
|
|
2480
2918
|
toJSON(message) {
|
|
2481
2919
|
const obj = {};
|
|
2482
|
-
if (message.
|
|
2483
|
-
obj.
|
|
2484
|
-
}
|
|
2485
|
-
if (message.sway !== 0) {
|
|
2486
|
-
obj.sway = message.sway;
|
|
2487
|
-
}
|
|
2488
|
-
if (message.heave !== 0) {
|
|
2489
|
-
obj.heave = message.heave;
|
|
2490
|
-
}
|
|
2491
|
-
if (message.roll !== 0) {
|
|
2492
|
-
obj.roll = message.roll;
|
|
2920
|
+
if (message.level !== 0) {
|
|
2921
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2493
2922
|
}
|
|
2494
|
-
if (message.
|
|
2495
|
-
obj.
|
|
2923
|
+
if (message.seqnum !== 0) {
|
|
2924
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2496
2925
|
}
|
|
2497
|
-
if (message.
|
|
2498
|
-
obj.
|
|
2926
|
+
if (message.timestamp !== undefined) {
|
|
2927
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2499
2928
|
}
|
|
2500
|
-
if (message.
|
|
2501
|
-
obj.
|
|
2929
|
+
if (message.messages?.length) {
|
|
2930
|
+
obj.messages = message.messages;
|
|
2502
2931
|
}
|
|
2503
|
-
if (message.
|
|
2504
|
-
obj.
|
|
2932
|
+
if (message.fields?.length) {
|
|
2933
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2505
2934
|
}
|
|
2506
2935
|
return obj;
|
|
2507
2936
|
},
|
|
2508
2937
|
create(base) {
|
|
2509
|
-
return exports.
|
|
2938
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2510
2939
|
},
|
|
2511
2940
|
fromPartial(object) {
|
|
2512
|
-
const message =
|
|
2513
|
-
message.
|
|
2514
|
-
message.
|
|
2515
|
-
message.
|
|
2516
|
-
message.
|
|
2517
|
-
message.
|
|
2518
|
-
message.yaw = object.yaw ?? 0;
|
|
2519
|
-
message.slow = object.slow ?? 0;
|
|
2520
|
-
message.boost = object.boost ?? 0;
|
|
2941
|
+
const message = createBaseKernelLogEntry();
|
|
2942
|
+
message.level = object.level ?? 0;
|
|
2943
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2944
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2945
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2946
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2521
2947
|
return message;
|
|
2522
2948
|
},
|
|
2523
2949
|
};
|
|
2524
|
-
function
|
|
2525
|
-
return { value:
|
|
2950
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2951
|
+
return { key: "", value: "" };
|
|
2526
2952
|
}
|
|
2527
|
-
exports.
|
|
2953
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2528
2954
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2529
|
-
if (message.
|
|
2530
|
-
writer.uint32(
|
|
2955
|
+
if (message.key !== "") {
|
|
2956
|
+
writer.uint32(10).string(message.key);
|
|
2957
|
+
}
|
|
2958
|
+
if (message.value !== "") {
|
|
2959
|
+
writer.uint32(18).string(message.value);
|
|
2960
|
+
}
|
|
2961
|
+
return writer;
|
|
2962
|
+
},
|
|
2963
|
+
decode(input, length) {
|
|
2964
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2965
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2966
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2967
|
+
while (reader.pos < end) {
|
|
2968
|
+
const tag = reader.uint32();
|
|
2969
|
+
switch (tag >>> 3) {
|
|
2970
|
+
case 1: {
|
|
2971
|
+
if (tag !== 10) {
|
|
2972
|
+
break;
|
|
2973
|
+
}
|
|
2974
|
+
message.key = reader.string();
|
|
2975
|
+
continue;
|
|
2976
|
+
}
|
|
2977
|
+
case 2: {
|
|
2978
|
+
if (tag !== 18) {
|
|
2979
|
+
break;
|
|
2980
|
+
}
|
|
2981
|
+
message.value = reader.string();
|
|
2982
|
+
continue;
|
|
2983
|
+
}
|
|
2984
|
+
}
|
|
2985
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2986
|
+
break;
|
|
2987
|
+
}
|
|
2988
|
+
reader.skip(tag & 7);
|
|
2989
|
+
}
|
|
2990
|
+
return message;
|
|
2991
|
+
},
|
|
2992
|
+
fromJSON(object) {
|
|
2993
|
+
return {
|
|
2994
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2995
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2996
|
+
};
|
|
2997
|
+
},
|
|
2998
|
+
toJSON(message) {
|
|
2999
|
+
const obj = {};
|
|
3000
|
+
if (message.key !== "") {
|
|
3001
|
+
obj.key = message.key;
|
|
3002
|
+
}
|
|
3003
|
+
if (message.value !== "") {
|
|
3004
|
+
obj.value = message.value;
|
|
3005
|
+
}
|
|
3006
|
+
return obj;
|
|
3007
|
+
},
|
|
3008
|
+
create(base) {
|
|
3009
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
3010
|
+
},
|
|
3011
|
+
fromPartial(object) {
|
|
3012
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
3013
|
+
message.key = object.key ?? "";
|
|
3014
|
+
message.value = object.value ?? "";
|
|
3015
|
+
return message;
|
|
3016
|
+
},
|
|
3017
|
+
};
|
|
3018
|
+
function createBaseMotionInput() {
|
|
3019
|
+
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
3020
|
+
}
|
|
3021
|
+
exports.MotionInput = {
|
|
3022
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3023
|
+
if (message.surge !== 0) {
|
|
3024
|
+
writer.uint32(13).float(message.surge);
|
|
3025
|
+
}
|
|
3026
|
+
if (message.sway !== 0) {
|
|
3027
|
+
writer.uint32(21).float(message.sway);
|
|
3028
|
+
}
|
|
3029
|
+
if (message.heave !== 0) {
|
|
3030
|
+
writer.uint32(29).float(message.heave);
|
|
3031
|
+
}
|
|
3032
|
+
if (message.roll !== 0) {
|
|
3033
|
+
writer.uint32(61).float(message.roll);
|
|
3034
|
+
}
|
|
3035
|
+
if (message.pitch !== 0) {
|
|
3036
|
+
writer.uint32(69).float(message.pitch);
|
|
3037
|
+
}
|
|
3038
|
+
if (message.yaw !== 0) {
|
|
3039
|
+
writer.uint32(37).float(message.yaw);
|
|
3040
|
+
}
|
|
3041
|
+
if (message.slow !== 0) {
|
|
3042
|
+
writer.uint32(45).float(message.slow);
|
|
3043
|
+
}
|
|
3044
|
+
if (message.boost !== 0) {
|
|
3045
|
+
writer.uint32(53).float(message.boost);
|
|
3046
|
+
}
|
|
3047
|
+
return writer;
|
|
3048
|
+
},
|
|
3049
|
+
decode(input, length) {
|
|
3050
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3051
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3052
|
+
const message = createBaseMotionInput();
|
|
3053
|
+
while (reader.pos < end) {
|
|
3054
|
+
const tag = reader.uint32();
|
|
3055
|
+
switch (tag >>> 3) {
|
|
3056
|
+
case 1: {
|
|
3057
|
+
if (tag !== 13) {
|
|
3058
|
+
break;
|
|
3059
|
+
}
|
|
3060
|
+
message.surge = reader.float();
|
|
3061
|
+
continue;
|
|
3062
|
+
}
|
|
3063
|
+
case 2: {
|
|
3064
|
+
if (tag !== 21) {
|
|
3065
|
+
break;
|
|
3066
|
+
}
|
|
3067
|
+
message.sway = reader.float();
|
|
3068
|
+
continue;
|
|
3069
|
+
}
|
|
3070
|
+
case 3: {
|
|
3071
|
+
if (tag !== 29) {
|
|
3072
|
+
break;
|
|
3073
|
+
}
|
|
3074
|
+
message.heave = reader.float();
|
|
3075
|
+
continue;
|
|
3076
|
+
}
|
|
3077
|
+
case 7: {
|
|
3078
|
+
if (tag !== 61) {
|
|
3079
|
+
break;
|
|
3080
|
+
}
|
|
3081
|
+
message.roll = reader.float();
|
|
3082
|
+
continue;
|
|
3083
|
+
}
|
|
3084
|
+
case 8: {
|
|
3085
|
+
if (tag !== 69) {
|
|
3086
|
+
break;
|
|
3087
|
+
}
|
|
3088
|
+
message.pitch = reader.float();
|
|
3089
|
+
continue;
|
|
3090
|
+
}
|
|
3091
|
+
case 4: {
|
|
3092
|
+
if (tag !== 37) {
|
|
3093
|
+
break;
|
|
3094
|
+
}
|
|
3095
|
+
message.yaw = reader.float();
|
|
3096
|
+
continue;
|
|
3097
|
+
}
|
|
3098
|
+
case 5: {
|
|
3099
|
+
if (tag !== 45) {
|
|
3100
|
+
break;
|
|
3101
|
+
}
|
|
3102
|
+
message.slow = reader.float();
|
|
3103
|
+
continue;
|
|
3104
|
+
}
|
|
3105
|
+
case 6: {
|
|
3106
|
+
if (tag !== 53) {
|
|
3107
|
+
break;
|
|
3108
|
+
}
|
|
3109
|
+
message.boost = reader.float();
|
|
3110
|
+
continue;
|
|
3111
|
+
}
|
|
3112
|
+
}
|
|
3113
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3114
|
+
break;
|
|
3115
|
+
}
|
|
3116
|
+
reader.skip(tag & 7);
|
|
3117
|
+
}
|
|
3118
|
+
return message;
|
|
3119
|
+
},
|
|
3120
|
+
fromJSON(object) {
|
|
3121
|
+
return {
|
|
3122
|
+
surge: isSet(object.surge) ? gt.Number(object.surge) : 0,
|
|
3123
|
+
sway: isSet(object.sway) ? gt.Number(object.sway) : 0,
|
|
3124
|
+
heave: isSet(object.heave) ? gt.Number(object.heave) : 0,
|
|
3125
|
+
roll: isSet(object.roll) ? gt.Number(object.roll) : 0,
|
|
3126
|
+
pitch: isSet(object.pitch) ? gt.Number(object.pitch) : 0,
|
|
3127
|
+
yaw: isSet(object.yaw) ? gt.Number(object.yaw) : 0,
|
|
3128
|
+
slow: isSet(object.slow) ? gt.Number(object.slow) : 0,
|
|
3129
|
+
boost: isSet(object.boost) ? gt.Number(object.boost) : 0,
|
|
3130
|
+
};
|
|
3131
|
+
},
|
|
3132
|
+
toJSON(message) {
|
|
3133
|
+
const obj = {};
|
|
3134
|
+
if (message.surge !== 0) {
|
|
3135
|
+
obj.surge = message.surge;
|
|
3136
|
+
}
|
|
3137
|
+
if (message.sway !== 0) {
|
|
3138
|
+
obj.sway = message.sway;
|
|
3139
|
+
}
|
|
3140
|
+
if (message.heave !== 0) {
|
|
3141
|
+
obj.heave = message.heave;
|
|
3142
|
+
}
|
|
3143
|
+
if (message.roll !== 0) {
|
|
3144
|
+
obj.roll = message.roll;
|
|
3145
|
+
}
|
|
3146
|
+
if (message.pitch !== 0) {
|
|
3147
|
+
obj.pitch = message.pitch;
|
|
3148
|
+
}
|
|
3149
|
+
if (message.yaw !== 0) {
|
|
3150
|
+
obj.yaw = message.yaw;
|
|
3151
|
+
}
|
|
3152
|
+
if (message.slow !== 0) {
|
|
3153
|
+
obj.slow = message.slow;
|
|
3154
|
+
}
|
|
3155
|
+
if (message.boost !== 0) {
|
|
3156
|
+
obj.boost = message.boost;
|
|
3157
|
+
}
|
|
3158
|
+
return obj;
|
|
3159
|
+
},
|
|
3160
|
+
create(base) {
|
|
3161
|
+
return exports.MotionInput.fromPartial(base ?? {});
|
|
3162
|
+
},
|
|
3163
|
+
fromPartial(object) {
|
|
3164
|
+
const message = createBaseMotionInput();
|
|
3165
|
+
message.surge = object.surge ?? 0;
|
|
3166
|
+
message.sway = object.sway ?? 0;
|
|
3167
|
+
message.heave = object.heave ?? 0;
|
|
3168
|
+
message.roll = object.roll ?? 0;
|
|
3169
|
+
message.pitch = object.pitch ?? 0;
|
|
3170
|
+
message.yaw = object.yaw ?? 0;
|
|
3171
|
+
message.slow = object.slow ?? 0;
|
|
3172
|
+
message.boost = object.boost ?? 0;
|
|
3173
|
+
return message;
|
|
3174
|
+
},
|
|
3175
|
+
};
|
|
3176
|
+
function createBaseLights() {
|
|
3177
|
+
return { value: 0 };
|
|
3178
|
+
}
|
|
3179
|
+
exports.Lights = {
|
|
3180
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3181
|
+
if (message.value !== 0) {
|
|
3182
|
+
writer.uint32(13).float(message.value);
|
|
2531
3183
|
}
|
|
2532
3184
|
return writer;
|
|
2533
3185
|
},
|
|
@@ -3644,6 +4296,9 @@ function createBaseRecordState() {
|
|
|
3644
4296
|
multibeamIsRecording: false,
|
|
3645
4297
|
multibeamSeconds: 0,
|
|
3646
4298
|
multibeamFps: 0,
|
|
4299
|
+
mainStorageLocation: 0,
|
|
4300
|
+
guestportStorageLocation: 0,
|
|
4301
|
+
multibeamStorageLocation: 0,
|
|
3647
4302
|
};
|
|
3648
4303
|
}
|
|
3649
4304
|
exports.RecordState = {
|
|
@@ -3675,6 +4330,15 @@ exports.RecordState = {
|
|
|
3675
4330
|
if (message.multibeamFps !== 0) {
|
|
3676
4331
|
writer.uint32(77).float(message.multibeamFps);
|
|
3677
4332
|
}
|
|
4333
|
+
if (message.mainStorageLocation !== 0) {
|
|
4334
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
4335
|
+
}
|
|
4336
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4337
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
4338
|
+
}
|
|
4339
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4340
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
4341
|
+
}
|
|
3678
4342
|
return writer;
|
|
3679
4343
|
},
|
|
3680
4344
|
decode(input, length) {
|
|
@@ -3747,6 +4411,27 @@ exports.RecordState = {
|
|
|
3747
4411
|
message.multibeamFps = reader.float();
|
|
3748
4412
|
continue;
|
|
3749
4413
|
}
|
|
4414
|
+
case 10: {
|
|
4415
|
+
if (tag !== 80) {
|
|
4416
|
+
break;
|
|
4417
|
+
}
|
|
4418
|
+
message.mainStorageLocation = reader.int32();
|
|
4419
|
+
continue;
|
|
4420
|
+
}
|
|
4421
|
+
case 11: {
|
|
4422
|
+
if (tag !== 88) {
|
|
4423
|
+
break;
|
|
4424
|
+
}
|
|
4425
|
+
message.guestportStorageLocation = reader.int32();
|
|
4426
|
+
continue;
|
|
4427
|
+
}
|
|
4428
|
+
case 12: {
|
|
4429
|
+
if (tag !== 96) {
|
|
4430
|
+
break;
|
|
4431
|
+
}
|
|
4432
|
+
message.multibeamStorageLocation = reader.int32();
|
|
4433
|
+
continue;
|
|
4434
|
+
}
|
|
3750
4435
|
}
|
|
3751
4436
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3752
4437
|
break;
|
|
@@ -3766,6 +4451,13 @@ exports.RecordState = {
|
|
|
3766
4451
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3767
4452
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3768
4453
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4454
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
4455
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
4456
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
4457
|
+
: 0,
|
|
4458
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
4459
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
4460
|
+
: 0,
|
|
3769
4461
|
};
|
|
3770
4462
|
},
|
|
3771
4463
|
toJSON(message) {
|
|
@@ -3797,6 +4489,15 @@ exports.RecordState = {
|
|
|
3797
4489
|
if (message.multibeamFps !== 0) {
|
|
3798
4490
|
obj.multibeamFps = message.multibeamFps;
|
|
3799
4491
|
}
|
|
4492
|
+
if (message.mainStorageLocation !== 0) {
|
|
4493
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
4494
|
+
}
|
|
4495
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4496
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
4497
|
+
}
|
|
4498
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4499
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
4500
|
+
}
|
|
3800
4501
|
return obj;
|
|
3801
4502
|
},
|
|
3802
4503
|
create(base) {
|
|
@@ -3813,6 +4514,9 @@ exports.RecordState = {
|
|
|
3813
4514
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3814
4515
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3815
4516
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4517
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4518
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4519
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
3816
4520
|
return message;
|
|
3817
4521
|
},
|
|
3818
4522
|
};
|
|
@@ -7720,7 +8424,7 @@ exports.StorageSpace = {
|
|
|
7720
8424
|
},
|
|
7721
8425
|
};
|
|
7722
8426
|
function createBaseStoragePartition() {
|
|
7723
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8427
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7724
8428
|
}
|
|
7725
8429
|
exports.StoragePartition = {
|
|
7726
8430
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7736,6 +8440,9 @@ exports.StoragePartition = {
|
|
|
7736
8440
|
if (message.mountPath !== "") {
|
|
7737
8441
|
writer.uint32(34).string(message.mountPath);
|
|
7738
8442
|
}
|
|
8443
|
+
if (message.label !== "") {
|
|
8444
|
+
writer.uint32(42).string(message.label);
|
|
8445
|
+
}
|
|
7739
8446
|
return writer;
|
|
7740
8447
|
},
|
|
7741
8448
|
decode(input, length) {
|
|
@@ -7773,6 +8480,13 @@ exports.StoragePartition = {
|
|
|
7773
8480
|
message.mountPath = reader.string();
|
|
7774
8481
|
continue;
|
|
7775
8482
|
}
|
|
8483
|
+
case 5: {
|
|
8484
|
+
if (tag !== 42) {
|
|
8485
|
+
break;
|
|
8486
|
+
}
|
|
8487
|
+
message.label = reader.string();
|
|
8488
|
+
continue;
|
|
8489
|
+
}
|
|
7776
8490
|
}
|
|
7777
8491
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7778
8492
|
break;
|
|
@@ -7787,6 +8501,7 @@ exports.StoragePartition = {
|
|
|
7787
8501
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7788
8502
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7789
8503
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8504
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7790
8505
|
};
|
|
7791
8506
|
},
|
|
7792
8507
|
toJSON(message) {
|
|
@@ -7803,6 +8518,9 @@ exports.StoragePartition = {
|
|
|
7803
8518
|
if (message.mountPath !== "") {
|
|
7804
8519
|
obj.mountPath = message.mountPath;
|
|
7805
8520
|
}
|
|
8521
|
+
if (message.label !== "") {
|
|
8522
|
+
obj.label = message.label;
|
|
8523
|
+
}
|
|
7806
8524
|
return obj;
|
|
7807
8525
|
},
|
|
7808
8526
|
create(base) {
|
|
@@ -7816,6 +8534,7 @@ exports.StoragePartition = {
|
|
|
7816
8534
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7817
8535
|
message.devicePath = object.devicePath ?? "";
|
|
7818
8536
|
message.mountPath = object.mountPath ?? "";
|
|
8537
|
+
message.label = object.label ?? "";
|
|
7819
8538
|
return message;
|
|
7820
8539
|
},
|
|
7821
8540
|
};
|
|
@@ -8493,19 +9212,148 @@ exports.TiltVelocity = {
|
|
|
8493
9212
|
return message;
|
|
8494
9213
|
},
|
|
8495
9214
|
};
|
|
8496
|
-
function
|
|
8497
|
-
return {
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
9215
|
+
function createBaseCvModelInfo() {
|
|
9216
|
+
return { name: "", type: 0, running: false, device: "", packageId: "", labels: [] };
|
|
9217
|
+
}
|
|
9218
|
+
exports.CvModelInfo = {
|
|
9219
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
9220
|
+
if (message.name !== "") {
|
|
9221
|
+
writer.uint32(10).string(message.name);
|
|
9222
|
+
}
|
|
9223
|
+
if (message.type !== 0) {
|
|
9224
|
+
writer.uint32(16).int32(message.type);
|
|
9225
|
+
}
|
|
9226
|
+
if (message.running !== false) {
|
|
9227
|
+
writer.uint32(24).bool(message.running);
|
|
9228
|
+
}
|
|
9229
|
+
if (message.device !== "") {
|
|
9230
|
+
writer.uint32(34).string(message.device);
|
|
9231
|
+
}
|
|
9232
|
+
if (message.packageId !== "") {
|
|
9233
|
+
writer.uint32(42).string(message.packageId);
|
|
9234
|
+
}
|
|
9235
|
+
for (const v of message.labels) {
|
|
9236
|
+
writer.uint32(50).string(v);
|
|
9237
|
+
}
|
|
9238
|
+
return writer;
|
|
9239
|
+
},
|
|
9240
|
+
decode(input, length) {
|
|
9241
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9242
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9243
|
+
const message = createBaseCvModelInfo();
|
|
9244
|
+
while (reader.pos < end) {
|
|
9245
|
+
const tag = reader.uint32();
|
|
9246
|
+
switch (tag >>> 3) {
|
|
9247
|
+
case 1: {
|
|
9248
|
+
if (tag !== 10) {
|
|
9249
|
+
break;
|
|
9250
|
+
}
|
|
9251
|
+
message.name = reader.string();
|
|
9252
|
+
continue;
|
|
9253
|
+
}
|
|
9254
|
+
case 2: {
|
|
9255
|
+
if (tag !== 16) {
|
|
9256
|
+
break;
|
|
9257
|
+
}
|
|
9258
|
+
message.type = reader.int32();
|
|
9259
|
+
continue;
|
|
9260
|
+
}
|
|
9261
|
+
case 3: {
|
|
9262
|
+
if (tag !== 24) {
|
|
9263
|
+
break;
|
|
9264
|
+
}
|
|
9265
|
+
message.running = reader.bool();
|
|
9266
|
+
continue;
|
|
9267
|
+
}
|
|
9268
|
+
case 4: {
|
|
9269
|
+
if (tag !== 34) {
|
|
9270
|
+
break;
|
|
9271
|
+
}
|
|
9272
|
+
message.device = reader.string();
|
|
9273
|
+
continue;
|
|
9274
|
+
}
|
|
9275
|
+
case 5: {
|
|
9276
|
+
if (tag !== 42) {
|
|
9277
|
+
break;
|
|
9278
|
+
}
|
|
9279
|
+
message.packageId = reader.string();
|
|
9280
|
+
continue;
|
|
9281
|
+
}
|
|
9282
|
+
case 6: {
|
|
9283
|
+
if (tag !== 50) {
|
|
9284
|
+
break;
|
|
9285
|
+
}
|
|
9286
|
+
message.labels.push(reader.string());
|
|
9287
|
+
continue;
|
|
9288
|
+
}
|
|
9289
|
+
}
|
|
9290
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
9291
|
+
break;
|
|
9292
|
+
}
|
|
9293
|
+
reader.skip(tag & 7);
|
|
9294
|
+
}
|
|
9295
|
+
return message;
|
|
9296
|
+
},
|
|
9297
|
+
fromJSON(object) {
|
|
9298
|
+
return {
|
|
9299
|
+
name: isSet(object.name) ? gt.String(object.name) : "",
|
|
9300
|
+
type: isSet(object.type) ? cvModelInfo_ModelTypeFromJSON(object.type) : 0,
|
|
9301
|
+
running: isSet(object.running) ? gt.Boolean(object.running) : false,
|
|
9302
|
+
device: isSet(object.device) ? gt.String(object.device) : "",
|
|
9303
|
+
packageId: isSet(object.packageId) ? gt.String(object.packageId) : "",
|
|
9304
|
+
labels: gt.Array.isArray(object?.labels) ? object.labels.map((e) => gt.String(e)) : [],
|
|
9305
|
+
};
|
|
9306
|
+
},
|
|
9307
|
+
toJSON(message) {
|
|
9308
|
+
const obj = {};
|
|
9309
|
+
if (message.name !== "") {
|
|
9310
|
+
obj.name = message.name;
|
|
9311
|
+
}
|
|
9312
|
+
if (message.type !== 0) {
|
|
9313
|
+
obj.type = cvModelInfo_ModelTypeToJSON(message.type);
|
|
9314
|
+
}
|
|
9315
|
+
if (message.running !== false) {
|
|
9316
|
+
obj.running = message.running;
|
|
9317
|
+
}
|
|
9318
|
+
if (message.device !== "") {
|
|
9319
|
+
obj.device = message.device;
|
|
9320
|
+
}
|
|
9321
|
+
if (message.packageId !== "") {
|
|
9322
|
+
obj.packageId = message.packageId;
|
|
9323
|
+
}
|
|
9324
|
+
if (message.labels?.length) {
|
|
9325
|
+
obj.labels = message.labels;
|
|
9326
|
+
}
|
|
9327
|
+
return obj;
|
|
9328
|
+
},
|
|
9329
|
+
create(base) {
|
|
9330
|
+
return exports.CvModelInfo.fromPartial(base ?? {});
|
|
9331
|
+
},
|
|
9332
|
+
fromPartial(object) {
|
|
9333
|
+
const message = createBaseCvModelInfo();
|
|
9334
|
+
message.name = object.name ?? "";
|
|
9335
|
+
message.type = object.type ?? 0;
|
|
9336
|
+
message.running = object.running ?? false;
|
|
9337
|
+
message.device = object.device ?? "";
|
|
9338
|
+
message.packageId = object.packageId ?? "";
|
|
9339
|
+
message.labels = object.labels?.map((e) => e) || [];
|
|
9340
|
+
return message;
|
|
9341
|
+
},
|
|
9342
|
+
};
|
|
9343
|
+
function createBaseDroneInfo() {
|
|
9344
|
+
return {
|
|
9345
|
+
blunuxVersion: "",
|
|
9346
|
+
serialNumber: new Uint8Array(0),
|
|
9347
|
+
hardwareId: new Uint8Array(0),
|
|
9348
|
+
model: 0,
|
|
9349
|
+
mbSerial: new Uint8Array(0),
|
|
9350
|
+
bbSerial: new Uint8Array(0),
|
|
9351
|
+
dsSerial: new Uint8Array(0),
|
|
9352
|
+
mbUid: new Uint8Array(0),
|
|
8506
9353
|
bbUid: new Uint8Array(0),
|
|
8507
9354
|
gp: undefined,
|
|
8508
9355
|
depthSensor: 0,
|
|
9356
|
+
cvModels: [],
|
|
8509
9357
|
};
|
|
8510
9358
|
}
|
|
8511
9359
|
exports.DroneInfo = {
|
|
@@ -8543,6 +9391,9 @@ exports.DroneInfo = {
|
|
|
8543
9391
|
if (message.depthSensor !== 0) {
|
|
8544
9392
|
writer.uint32(88).int32(message.depthSensor);
|
|
8545
9393
|
}
|
|
9394
|
+
for (const v of message.cvModels) {
|
|
9395
|
+
exports.CvModelInfo.encode(v, writer.uint32(98).fork()).join();
|
|
9396
|
+
}
|
|
8546
9397
|
return writer;
|
|
8547
9398
|
},
|
|
8548
9399
|
decode(input, length) {
|
|
@@ -8629,6 +9480,13 @@ exports.DroneInfo = {
|
|
|
8629
9480
|
message.depthSensor = reader.int32();
|
|
8630
9481
|
continue;
|
|
8631
9482
|
}
|
|
9483
|
+
case 12: {
|
|
9484
|
+
if (tag !== 98) {
|
|
9485
|
+
break;
|
|
9486
|
+
}
|
|
9487
|
+
message.cvModels.push(exports.CvModelInfo.decode(reader, reader.uint32()));
|
|
9488
|
+
continue;
|
|
9489
|
+
}
|
|
8632
9490
|
}
|
|
8633
9491
|
if ((tag & 7) === 4 || tag === 0) {
|
|
8634
9492
|
break;
|
|
@@ -8650,6 +9508,7 @@ exports.DroneInfo = {
|
|
|
8650
9508
|
bbUid: isSet(object.bbUid) ? bytesFromBase64(object.bbUid) : new Uint8Array(0),
|
|
8651
9509
|
gp: isSet(object.gp) ? exports.GuestPortInfo.fromJSON(object.gp) : undefined,
|
|
8652
9510
|
depthSensor: isSet(object.depthSensor) ? pressureSensorTypeFromJSON(object.depthSensor) : 0,
|
|
9511
|
+
cvModels: gt.Array.isArray(object?.cvModels) ? object.cvModels.map((e) => exports.CvModelInfo.fromJSON(e)) : [],
|
|
8653
9512
|
};
|
|
8654
9513
|
},
|
|
8655
9514
|
toJSON(message) {
|
|
@@ -8687,6 +9546,9 @@ exports.DroneInfo = {
|
|
|
8687
9546
|
if (message.depthSensor !== 0) {
|
|
8688
9547
|
obj.depthSensor = pressureSensorTypeToJSON(message.depthSensor);
|
|
8689
9548
|
}
|
|
9549
|
+
if (message.cvModels?.length) {
|
|
9550
|
+
obj.cvModels = message.cvModels.map((e) => exports.CvModelInfo.toJSON(e));
|
|
9551
|
+
}
|
|
8690
9552
|
return obj;
|
|
8691
9553
|
},
|
|
8692
9554
|
create(base) {
|
|
@@ -8705,6 +9567,7 @@ exports.DroneInfo = {
|
|
|
8705
9567
|
message.bbUid = object.bbUid ?? new Uint8Array(0);
|
|
8706
9568
|
message.gp = (object.gp !== undefined && object.gp !== null) ? exports.GuestPortInfo.fromPartial(object.gp) : undefined;
|
|
8707
9569
|
message.depthSensor = object.depthSensor ?? 0;
|
|
9570
|
+
message.cvModels = object.cvModels?.map((e) => exports.CvModelInfo.fromPartial(e)) || [];
|
|
8708
9571
|
return message;
|
|
8709
9572
|
},
|
|
8710
9573
|
};
|
|
@@ -9513,11 +10376,25 @@ function createBaseCameraParameters() {
|
|
|
9513
10376
|
whiteBalance: 0,
|
|
9514
10377
|
hue: 0,
|
|
9515
10378
|
gain: 0,
|
|
10379
|
+
brightness: 0,
|
|
10380
|
+
contrast: 0,
|
|
10381
|
+
saturation: 0,
|
|
10382
|
+
gamma: 0,
|
|
10383
|
+
sharpness: 0,
|
|
10384
|
+
backlightCompensation: 0,
|
|
10385
|
+
denoise: 0,
|
|
10386
|
+
ehdrEnabled: false,
|
|
10387
|
+
ehdrExposureMinNumber: 0,
|
|
10388
|
+
ehdrExposureMaxNumber: 0,
|
|
9516
10389
|
resolution: 0,
|
|
9517
10390
|
streamResolution: 0,
|
|
9518
10391
|
recordingResolution: 0,
|
|
10392
|
+
streamingProtocol: 0,
|
|
9519
10393
|
framerate: 0,
|
|
9520
10394
|
camera: 0,
|
|
10395
|
+
mtuSize: 0,
|
|
10396
|
+
recordingCodec: 0,
|
|
10397
|
+
recordingBitrate: 0,
|
|
9521
10398
|
};
|
|
9522
10399
|
}
|
|
9523
10400
|
exports.CameraParameters = {
|
|
@@ -9540,6 +10417,36 @@ exports.CameraParameters = {
|
|
|
9540
10417
|
if (message.gain !== 0) {
|
|
9541
10418
|
writer.uint32(77).float(message.gain);
|
|
9542
10419
|
}
|
|
10420
|
+
if (message.brightness !== 0) {
|
|
10421
|
+
writer.uint32(96).int32(message.brightness);
|
|
10422
|
+
}
|
|
10423
|
+
if (message.contrast !== 0) {
|
|
10424
|
+
writer.uint32(104).int32(message.contrast);
|
|
10425
|
+
}
|
|
10426
|
+
if (message.saturation !== 0) {
|
|
10427
|
+
writer.uint32(112).int32(message.saturation);
|
|
10428
|
+
}
|
|
10429
|
+
if (message.gamma !== 0) {
|
|
10430
|
+
writer.uint32(120).int32(message.gamma);
|
|
10431
|
+
}
|
|
10432
|
+
if (message.sharpness !== 0) {
|
|
10433
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10434
|
+
}
|
|
10435
|
+
if (message.backlightCompensation !== 0) {
|
|
10436
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10437
|
+
}
|
|
10438
|
+
if (message.denoise !== 0) {
|
|
10439
|
+
writer.uint32(144).int32(message.denoise);
|
|
10440
|
+
}
|
|
10441
|
+
if (message.ehdrEnabled !== false) {
|
|
10442
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10443
|
+
}
|
|
10444
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10445
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10446
|
+
}
|
|
10447
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10448
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10449
|
+
}
|
|
9543
10450
|
if (message.resolution !== 0) {
|
|
9544
10451
|
writer.uint32(48).int32(message.resolution);
|
|
9545
10452
|
}
|
|
@@ -9549,12 +10456,24 @@ exports.CameraParameters = {
|
|
|
9549
10456
|
if (message.recordingResolution !== 0) {
|
|
9550
10457
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9551
10458
|
}
|
|
10459
|
+
if (message.streamingProtocol !== 0) {
|
|
10460
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10461
|
+
}
|
|
9552
10462
|
if (message.framerate !== 0) {
|
|
9553
10463
|
writer.uint32(56).int32(message.framerate);
|
|
9554
10464
|
}
|
|
9555
10465
|
if (message.camera !== 0) {
|
|
9556
10466
|
writer.uint32(64).int32(message.camera);
|
|
9557
10467
|
}
|
|
10468
|
+
if (message.mtuSize !== 0) {
|
|
10469
|
+
writer.uint32(192).uint32(message.mtuSize);
|
|
10470
|
+
}
|
|
10471
|
+
if (message.recordingCodec !== 0) {
|
|
10472
|
+
writer.uint32(200).int32(message.recordingCodec);
|
|
10473
|
+
}
|
|
10474
|
+
if (message.recordingBitrate !== 0) {
|
|
10475
|
+
writer.uint32(208).int32(message.recordingBitrate);
|
|
10476
|
+
}
|
|
9558
10477
|
return writer;
|
|
9559
10478
|
},
|
|
9560
10479
|
decode(input, length) {
|
|
@@ -9606,6 +10525,76 @@ exports.CameraParameters = {
|
|
|
9606
10525
|
message.gain = reader.float();
|
|
9607
10526
|
continue;
|
|
9608
10527
|
}
|
|
10528
|
+
case 12: {
|
|
10529
|
+
if (tag !== 96) {
|
|
10530
|
+
break;
|
|
10531
|
+
}
|
|
10532
|
+
message.brightness = reader.int32();
|
|
10533
|
+
continue;
|
|
10534
|
+
}
|
|
10535
|
+
case 13: {
|
|
10536
|
+
if (tag !== 104) {
|
|
10537
|
+
break;
|
|
10538
|
+
}
|
|
10539
|
+
message.contrast = reader.int32();
|
|
10540
|
+
continue;
|
|
10541
|
+
}
|
|
10542
|
+
case 14: {
|
|
10543
|
+
if (tag !== 112) {
|
|
10544
|
+
break;
|
|
10545
|
+
}
|
|
10546
|
+
message.saturation = reader.int32();
|
|
10547
|
+
continue;
|
|
10548
|
+
}
|
|
10549
|
+
case 15: {
|
|
10550
|
+
if (tag !== 120) {
|
|
10551
|
+
break;
|
|
10552
|
+
}
|
|
10553
|
+
message.gamma = reader.int32();
|
|
10554
|
+
continue;
|
|
10555
|
+
}
|
|
10556
|
+
case 16: {
|
|
10557
|
+
if (tag !== 128) {
|
|
10558
|
+
break;
|
|
10559
|
+
}
|
|
10560
|
+
message.sharpness = reader.int32();
|
|
10561
|
+
continue;
|
|
10562
|
+
}
|
|
10563
|
+
case 17: {
|
|
10564
|
+
if (tag !== 136) {
|
|
10565
|
+
break;
|
|
10566
|
+
}
|
|
10567
|
+
message.backlightCompensation = reader.int32();
|
|
10568
|
+
continue;
|
|
10569
|
+
}
|
|
10570
|
+
case 18: {
|
|
10571
|
+
if (tag !== 144) {
|
|
10572
|
+
break;
|
|
10573
|
+
}
|
|
10574
|
+
message.denoise = reader.int32();
|
|
10575
|
+
continue;
|
|
10576
|
+
}
|
|
10577
|
+
case 21: {
|
|
10578
|
+
if (tag !== 168) {
|
|
10579
|
+
break;
|
|
10580
|
+
}
|
|
10581
|
+
message.ehdrEnabled = reader.bool();
|
|
10582
|
+
continue;
|
|
10583
|
+
}
|
|
10584
|
+
case 22: {
|
|
10585
|
+
if (tag !== 176) {
|
|
10586
|
+
break;
|
|
10587
|
+
}
|
|
10588
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10589
|
+
continue;
|
|
10590
|
+
}
|
|
10591
|
+
case 23: {
|
|
10592
|
+
if (tag !== 184) {
|
|
10593
|
+
break;
|
|
10594
|
+
}
|
|
10595
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10596
|
+
continue;
|
|
10597
|
+
}
|
|
9609
10598
|
case 6: {
|
|
9610
10599
|
if (tag !== 48) {
|
|
9611
10600
|
break;
|
|
@@ -9627,6 +10616,13 @@ exports.CameraParameters = {
|
|
|
9627
10616
|
message.recordingResolution = reader.int32();
|
|
9628
10617
|
continue;
|
|
9629
10618
|
}
|
|
10619
|
+
case 20: {
|
|
10620
|
+
if (tag !== 160) {
|
|
10621
|
+
break;
|
|
10622
|
+
}
|
|
10623
|
+
message.streamingProtocol = reader.int32();
|
|
10624
|
+
continue;
|
|
10625
|
+
}
|
|
9630
10626
|
case 7: {
|
|
9631
10627
|
if (tag !== 56) {
|
|
9632
10628
|
break;
|
|
@@ -9641,6 +10637,27 @@ exports.CameraParameters = {
|
|
|
9641
10637
|
message.camera = reader.int32();
|
|
9642
10638
|
continue;
|
|
9643
10639
|
}
|
|
10640
|
+
case 24: {
|
|
10641
|
+
if (tag !== 192) {
|
|
10642
|
+
break;
|
|
10643
|
+
}
|
|
10644
|
+
message.mtuSize = reader.uint32();
|
|
10645
|
+
continue;
|
|
10646
|
+
}
|
|
10647
|
+
case 25: {
|
|
10648
|
+
if (tag !== 200) {
|
|
10649
|
+
break;
|
|
10650
|
+
}
|
|
10651
|
+
message.recordingCodec = reader.int32();
|
|
10652
|
+
continue;
|
|
10653
|
+
}
|
|
10654
|
+
case 26: {
|
|
10655
|
+
if (tag !== 208) {
|
|
10656
|
+
break;
|
|
10657
|
+
}
|
|
10658
|
+
message.recordingBitrate = reader.int32();
|
|
10659
|
+
continue;
|
|
10660
|
+
}
|
|
9644
10661
|
}
|
|
9645
10662
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9646
10663
|
break;
|
|
@@ -9657,11 +10674,25 @@ exports.CameraParameters = {
|
|
|
9657
10674
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9658
10675
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9659
10676
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10677
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10678
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10679
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10680
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10681
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10682
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10683
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10684
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10685
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10686
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9660
10687
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9661
10688
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9662
10689
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10690
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9663
10691
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9664
10692
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
10693
|
+
mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
|
|
10694
|
+
recordingCodec: isSet(object.recordingCodec) ? recordingCodecFromJSON(object.recordingCodec) : 0,
|
|
10695
|
+
recordingBitrate: isSet(object.recordingBitrate) ? gt.Number(object.recordingBitrate) : 0,
|
|
9665
10696
|
};
|
|
9666
10697
|
},
|
|
9667
10698
|
toJSON(message) {
|
|
@@ -9684,6 +10715,36 @@ exports.CameraParameters = {
|
|
|
9684
10715
|
if (message.gain !== 0) {
|
|
9685
10716
|
obj.gain = message.gain;
|
|
9686
10717
|
}
|
|
10718
|
+
if (message.brightness !== 0) {
|
|
10719
|
+
obj.brightness = Math.round(message.brightness);
|
|
10720
|
+
}
|
|
10721
|
+
if (message.contrast !== 0) {
|
|
10722
|
+
obj.contrast = Math.round(message.contrast);
|
|
10723
|
+
}
|
|
10724
|
+
if (message.saturation !== 0) {
|
|
10725
|
+
obj.saturation = Math.round(message.saturation);
|
|
10726
|
+
}
|
|
10727
|
+
if (message.gamma !== 0) {
|
|
10728
|
+
obj.gamma = Math.round(message.gamma);
|
|
10729
|
+
}
|
|
10730
|
+
if (message.sharpness !== 0) {
|
|
10731
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10732
|
+
}
|
|
10733
|
+
if (message.backlightCompensation !== 0) {
|
|
10734
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10735
|
+
}
|
|
10736
|
+
if (message.denoise !== 0) {
|
|
10737
|
+
obj.denoise = Math.round(message.denoise);
|
|
10738
|
+
}
|
|
10739
|
+
if (message.ehdrEnabled !== false) {
|
|
10740
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10741
|
+
}
|
|
10742
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10743
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10744
|
+
}
|
|
10745
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10746
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10747
|
+
}
|
|
9687
10748
|
if (message.resolution !== 0) {
|
|
9688
10749
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9689
10750
|
}
|
|
@@ -9693,12 +10754,24 @@ exports.CameraParameters = {
|
|
|
9693
10754
|
if (message.recordingResolution !== 0) {
|
|
9694
10755
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9695
10756
|
}
|
|
10757
|
+
if (message.streamingProtocol !== 0) {
|
|
10758
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10759
|
+
}
|
|
9696
10760
|
if (message.framerate !== 0) {
|
|
9697
10761
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9698
10762
|
}
|
|
9699
10763
|
if (message.camera !== 0) {
|
|
9700
10764
|
obj.camera = cameraToJSON(message.camera);
|
|
9701
10765
|
}
|
|
10766
|
+
if (message.mtuSize !== 0) {
|
|
10767
|
+
obj.mtuSize = Math.round(message.mtuSize);
|
|
10768
|
+
}
|
|
10769
|
+
if (message.recordingCodec !== 0) {
|
|
10770
|
+
obj.recordingCodec = recordingCodecToJSON(message.recordingCodec);
|
|
10771
|
+
}
|
|
10772
|
+
if (message.recordingBitrate !== 0) {
|
|
10773
|
+
obj.recordingBitrate = Math.round(message.recordingBitrate);
|
|
10774
|
+
}
|
|
9702
10775
|
return obj;
|
|
9703
10776
|
},
|
|
9704
10777
|
create(base) {
|
|
@@ -9712,11 +10785,25 @@ exports.CameraParameters = {
|
|
|
9712
10785
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9713
10786
|
message.hue = object.hue ?? 0;
|
|
9714
10787
|
message.gain = object.gain ?? 0;
|
|
10788
|
+
message.brightness = object.brightness ?? 0;
|
|
10789
|
+
message.contrast = object.contrast ?? 0;
|
|
10790
|
+
message.saturation = object.saturation ?? 0;
|
|
10791
|
+
message.gamma = object.gamma ?? 0;
|
|
10792
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10793
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10794
|
+
message.denoise = object.denoise ?? 0;
|
|
10795
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10796
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10797
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9715
10798
|
message.resolution = object.resolution ?? 0;
|
|
9716
10799
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9717
10800
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10801
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9718
10802
|
message.framerate = object.framerate ?? 0;
|
|
9719
10803
|
message.camera = object.camera ?? 0;
|
|
10804
|
+
message.mtuSize = object.mtuSize ?? 0;
|
|
10805
|
+
message.recordingCodec = object.recordingCodec ?? 0;
|
|
10806
|
+
message.recordingBitrate = object.recordingBitrate ?? 0;
|
|
9720
10807
|
return message;
|
|
9721
10808
|
},
|
|
9722
10809
|
};
|
|
@@ -12460,7 +13547,7 @@ exports.PersistentStorageSettings = {
|
|
|
12460
13547
|
},
|
|
12461
13548
|
};
|
|
12462
13549
|
function createBaseCPUInfo() {
|
|
12463
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13550
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12464
13551
|
}
|
|
12465
13552
|
exports.CPUInfo = {
|
|
12466
13553
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12476,6 +13563,9 @@ exports.CPUInfo = {
|
|
|
12476
13563
|
if (message.guestportQueueLoad !== 0) {
|
|
12477
13564
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12478
13565
|
}
|
|
13566
|
+
if (message.commQueueLoad !== 0) {
|
|
13567
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13568
|
+
}
|
|
12479
13569
|
return writer;
|
|
12480
13570
|
},
|
|
12481
13571
|
decode(input, length) {
|
|
@@ -12513,6 +13603,13 @@ exports.CPUInfo = {
|
|
|
12513
13603
|
message.guestportQueueLoad = reader.float();
|
|
12514
13604
|
continue;
|
|
12515
13605
|
}
|
|
13606
|
+
case 5: {
|
|
13607
|
+
if (tag !== 45) {
|
|
13608
|
+
break;
|
|
13609
|
+
}
|
|
13610
|
+
message.commQueueLoad = reader.float();
|
|
13611
|
+
continue;
|
|
13612
|
+
}
|
|
12516
13613
|
}
|
|
12517
13614
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12518
13615
|
break;
|
|
@@ -12527,6 +13624,7 @@ exports.CPUInfo = {
|
|
|
12527
13624
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12528
13625
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12529
13626
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13627
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12530
13628
|
};
|
|
12531
13629
|
},
|
|
12532
13630
|
toJSON(message) {
|
|
@@ -12543,6 +13641,9 @@ exports.CPUInfo = {
|
|
|
12543
13641
|
if (message.guestportQueueLoad !== 0) {
|
|
12544
13642
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12545
13643
|
}
|
|
13644
|
+
if (message.commQueueLoad !== 0) {
|
|
13645
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13646
|
+
}
|
|
12546
13647
|
return obj;
|
|
12547
13648
|
},
|
|
12548
13649
|
create(base) {
|
|
@@ -12554,6 +13655,1789 @@ exports.CPUInfo = {
|
|
|
12554
13655
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12555
13656
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12556
13657
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13658
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13659
|
+
return message;
|
|
13660
|
+
},
|
|
13661
|
+
};
|
|
13662
|
+
function createBaseCpuCoreLoad() {
|
|
13663
|
+
return { coreIndex: 0, load: 0, frequencyMhz: 0 };
|
|
13664
|
+
}
|
|
13665
|
+
exports.CpuCoreLoad = {
|
|
13666
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13667
|
+
if (message.coreIndex !== 0) {
|
|
13668
|
+
writer.uint32(8).uint32(message.coreIndex);
|
|
13669
|
+
}
|
|
13670
|
+
if (message.load !== 0) {
|
|
13671
|
+
writer.uint32(21).float(message.load);
|
|
13672
|
+
}
|
|
13673
|
+
if (message.frequencyMhz !== 0) {
|
|
13674
|
+
writer.uint32(29).float(message.frequencyMhz);
|
|
13675
|
+
}
|
|
13676
|
+
return writer;
|
|
13677
|
+
},
|
|
13678
|
+
decode(input, length) {
|
|
13679
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13680
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13681
|
+
const message = createBaseCpuCoreLoad();
|
|
13682
|
+
while (reader.pos < end) {
|
|
13683
|
+
const tag = reader.uint32();
|
|
13684
|
+
switch (tag >>> 3) {
|
|
13685
|
+
case 1: {
|
|
13686
|
+
if (tag !== 8) {
|
|
13687
|
+
break;
|
|
13688
|
+
}
|
|
13689
|
+
message.coreIndex = reader.uint32();
|
|
13690
|
+
continue;
|
|
13691
|
+
}
|
|
13692
|
+
case 2: {
|
|
13693
|
+
if (tag !== 21) {
|
|
13694
|
+
break;
|
|
13695
|
+
}
|
|
13696
|
+
message.load = reader.float();
|
|
13697
|
+
continue;
|
|
13698
|
+
}
|
|
13699
|
+
case 3: {
|
|
13700
|
+
if (tag !== 29) {
|
|
13701
|
+
break;
|
|
13702
|
+
}
|
|
13703
|
+
message.frequencyMhz = reader.float();
|
|
13704
|
+
continue;
|
|
13705
|
+
}
|
|
13706
|
+
}
|
|
13707
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13708
|
+
break;
|
|
13709
|
+
}
|
|
13710
|
+
reader.skip(tag & 7);
|
|
13711
|
+
}
|
|
13712
|
+
return message;
|
|
13713
|
+
},
|
|
13714
|
+
fromJSON(object) {
|
|
13715
|
+
return {
|
|
13716
|
+
coreIndex: isSet(object.coreIndex) ? gt.Number(object.coreIndex) : 0,
|
|
13717
|
+
load: isSet(object.load) ? gt.Number(object.load) : 0,
|
|
13718
|
+
frequencyMhz: isSet(object.frequencyMhz) ? gt.Number(object.frequencyMhz) : 0,
|
|
13719
|
+
};
|
|
13720
|
+
},
|
|
13721
|
+
toJSON(message) {
|
|
13722
|
+
const obj = {};
|
|
13723
|
+
if (message.coreIndex !== 0) {
|
|
13724
|
+
obj.coreIndex = Math.round(message.coreIndex);
|
|
13725
|
+
}
|
|
13726
|
+
if (message.load !== 0) {
|
|
13727
|
+
obj.load = message.load;
|
|
13728
|
+
}
|
|
13729
|
+
if (message.frequencyMhz !== 0) {
|
|
13730
|
+
obj.frequencyMhz = message.frequencyMhz;
|
|
13731
|
+
}
|
|
13732
|
+
return obj;
|
|
13733
|
+
},
|
|
13734
|
+
create(base) {
|
|
13735
|
+
return exports.CpuCoreLoad.fromPartial(base ?? {});
|
|
13736
|
+
},
|
|
13737
|
+
fromPartial(object) {
|
|
13738
|
+
const message = createBaseCpuCoreLoad();
|
|
13739
|
+
message.coreIndex = object.coreIndex ?? 0;
|
|
13740
|
+
message.load = object.load ?? 0;
|
|
13741
|
+
message.frequencyMhz = object.frequencyMhz ?? 0;
|
|
13742
|
+
return message;
|
|
13743
|
+
},
|
|
13744
|
+
};
|
|
13745
|
+
function createBaseGpuInfo() {
|
|
13746
|
+
return { load: 0, frequencyMhz: 0 };
|
|
13747
|
+
}
|
|
13748
|
+
exports.GpuInfo = {
|
|
13749
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13750
|
+
if (message.load !== 0) {
|
|
13751
|
+
writer.uint32(13).float(message.load);
|
|
13752
|
+
}
|
|
13753
|
+
if (message.frequencyMhz !== 0) {
|
|
13754
|
+
writer.uint32(21).float(message.frequencyMhz);
|
|
13755
|
+
}
|
|
13756
|
+
return writer;
|
|
13757
|
+
},
|
|
13758
|
+
decode(input, length) {
|
|
13759
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13760
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13761
|
+
const message = createBaseGpuInfo();
|
|
13762
|
+
while (reader.pos < end) {
|
|
13763
|
+
const tag = reader.uint32();
|
|
13764
|
+
switch (tag >>> 3) {
|
|
13765
|
+
case 1: {
|
|
13766
|
+
if (tag !== 13) {
|
|
13767
|
+
break;
|
|
13768
|
+
}
|
|
13769
|
+
message.load = reader.float();
|
|
13770
|
+
continue;
|
|
13771
|
+
}
|
|
13772
|
+
case 2: {
|
|
13773
|
+
if (tag !== 21) {
|
|
13774
|
+
break;
|
|
13775
|
+
}
|
|
13776
|
+
message.frequencyMhz = reader.float();
|
|
13777
|
+
continue;
|
|
13778
|
+
}
|
|
13779
|
+
}
|
|
13780
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13781
|
+
break;
|
|
13782
|
+
}
|
|
13783
|
+
reader.skip(tag & 7);
|
|
13784
|
+
}
|
|
13785
|
+
return message;
|
|
13786
|
+
},
|
|
13787
|
+
fromJSON(object) {
|
|
13788
|
+
return {
|
|
13789
|
+
load: isSet(object.load) ? gt.Number(object.load) : 0,
|
|
13790
|
+
frequencyMhz: isSet(object.frequencyMhz) ? gt.Number(object.frequencyMhz) : 0,
|
|
13791
|
+
};
|
|
13792
|
+
},
|
|
13793
|
+
toJSON(message) {
|
|
13794
|
+
const obj = {};
|
|
13795
|
+
if (message.load !== 0) {
|
|
13796
|
+
obj.load = message.load;
|
|
13797
|
+
}
|
|
13798
|
+
if (message.frequencyMhz !== 0) {
|
|
13799
|
+
obj.frequencyMhz = message.frequencyMhz;
|
|
13800
|
+
}
|
|
13801
|
+
return obj;
|
|
13802
|
+
},
|
|
13803
|
+
create(base) {
|
|
13804
|
+
return exports.GpuInfo.fromPartial(base ?? {});
|
|
13805
|
+
},
|
|
13806
|
+
fromPartial(object) {
|
|
13807
|
+
const message = createBaseGpuInfo();
|
|
13808
|
+
message.load = object.load ?? 0;
|
|
13809
|
+
message.frequencyMhz = object.frequencyMhz ?? 0;
|
|
13810
|
+
return message;
|
|
13811
|
+
},
|
|
13812
|
+
};
|
|
13813
|
+
function createBaseDlaInfo() {
|
|
13814
|
+
return { engineIndex: 0, load: 0, frequencyMhz: 0, enabled: false, falconFrequencyMhz: 0 };
|
|
13815
|
+
}
|
|
13816
|
+
exports.DlaInfo = {
|
|
13817
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13818
|
+
if (message.engineIndex !== 0) {
|
|
13819
|
+
writer.uint32(8).uint32(message.engineIndex);
|
|
13820
|
+
}
|
|
13821
|
+
if (message.load !== 0) {
|
|
13822
|
+
writer.uint32(21).float(message.load);
|
|
13823
|
+
}
|
|
13824
|
+
if (message.frequencyMhz !== 0) {
|
|
13825
|
+
writer.uint32(29).float(message.frequencyMhz);
|
|
13826
|
+
}
|
|
13827
|
+
if (message.enabled !== false) {
|
|
13828
|
+
writer.uint32(32).bool(message.enabled);
|
|
13829
|
+
}
|
|
13830
|
+
if (message.falconFrequencyMhz !== 0) {
|
|
13831
|
+
writer.uint32(45).float(message.falconFrequencyMhz);
|
|
13832
|
+
}
|
|
13833
|
+
return writer;
|
|
13834
|
+
},
|
|
13835
|
+
decode(input, length) {
|
|
13836
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13837
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13838
|
+
const message = createBaseDlaInfo();
|
|
13839
|
+
while (reader.pos < end) {
|
|
13840
|
+
const tag = reader.uint32();
|
|
13841
|
+
switch (tag >>> 3) {
|
|
13842
|
+
case 1: {
|
|
13843
|
+
if (tag !== 8) {
|
|
13844
|
+
break;
|
|
13845
|
+
}
|
|
13846
|
+
message.engineIndex = reader.uint32();
|
|
13847
|
+
continue;
|
|
13848
|
+
}
|
|
13849
|
+
case 2: {
|
|
13850
|
+
if (tag !== 21) {
|
|
13851
|
+
break;
|
|
13852
|
+
}
|
|
13853
|
+
message.load = reader.float();
|
|
13854
|
+
continue;
|
|
13855
|
+
}
|
|
13856
|
+
case 3: {
|
|
13857
|
+
if (tag !== 29) {
|
|
13858
|
+
break;
|
|
13859
|
+
}
|
|
13860
|
+
message.frequencyMhz = reader.float();
|
|
13861
|
+
continue;
|
|
13862
|
+
}
|
|
13863
|
+
case 4: {
|
|
13864
|
+
if (tag !== 32) {
|
|
13865
|
+
break;
|
|
13866
|
+
}
|
|
13867
|
+
message.enabled = reader.bool();
|
|
13868
|
+
continue;
|
|
13869
|
+
}
|
|
13870
|
+
case 5: {
|
|
13871
|
+
if (tag !== 45) {
|
|
13872
|
+
break;
|
|
13873
|
+
}
|
|
13874
|
+
message.falconFrequencyMhz = reader.float();
|
|
13875
|
+
continue;
|
|
13876
|
+
}
|
|
13877
|
+
}
|
|
13878
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13879
|
+
break;
|
|
13880
|
+
}
|
|
13881
|
+
reader.skip(tag & 7);
|
|
13882
|
+
}
|
|
13883
|
+
return message;
|
|
13884
|
+
},
|
|
13885
|
+
fromJSON(object) {
|
|
13886
|
+
return {
|
|
13887
|
+
engineIndex: isSet(object.engineIndex) ? gt.Number(object.engineIndex) : 0,
|
|
13888
|
+
load: isSet(object.load) ? gt.Number(object.load) : 0,
|
|
13889
|
+
frequencyMhz: isSet(object.frequencyMhz) ? gt.Number(object.frequencyMhz) : 0,
|
|
13890
|
+
enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false,
|
|
13891
|
+
falconFrequencyMhz: isSet(object.falconFrequencyMhz) ? gt.Number(object.falconFrequencyMhz) : 0,
|
|
13892
|
+
};
|
|
13893
|
+
},
|
|
13894
|
+
toJSON(message) {
|
|
13895
|
+
const obj = {};
|
|
13896
|
+
if (message.engineIndex !== 0) {
|
|
13897
|
+
obj.engineIndex = Math.round(message.engineIndex);
|
|
13898
|
+
}
|
|
13899
|
+
if (message.load !== 0) {
|
|
13900
|
+
obj.load = message.load;
|
|
13901
|
+
}
|
|
13902
|
+
if (message.frequencyMhz !== 0) {
|
|
13903
|
+
obj.frequencyMhz = message.frequencyMhz;
|
|
13904
|
+
}
|
|
13905
|
+
if (message.enabled !== false) {
|
|
13906
|
+
obj.enabled = message.enabled;
|
|
13907
|
+
}
|
|
13908
|
+
if (message.falconFrequencyMhz !== 0) {
|
|
13909
|
+
obj.falconFrequencyMhz = message.falconFrequencyMhz;
|
|
13910
|
+
}
|
|
13911
|
+
return obj;
|
|
13912
|
+
},
|
|
13913
|
+
create(base) {
|
|
13914
|
+
return exports.DlaInfo.fromPartial(base ?? {});
|
|
13915
|
+
},
|
|
13916
|
+
fromPartial(object) {
|
|
13917
|
+
const message = createBaseDlaInfo();
|
|
13918
|
+
message.engineIndex = object.engineIndex ?? 0;
|
|
13919
|
+
message.load = object.load ?? 0;
|
|
13920
|
+
message.frequencyMhz = object.frequencyMhz ?? 0;
|
|
13921
|
+
message.enabled = object.enabled ?? false;
|
|
13922
|
+
message.falconFrequencyMhz = object.falconFrequencyMhz ?? 0;
|
|
13923
|
+
return message;
|
|
13924
|
+
},
|
|
13925
|
+
};
|
|
13926
|
+
function createBaseMemoryInfo() {
|
|
13927
|
+
return { totalBytes: 0, usedBytes: 0, cachedBytes: 0, busLoad: 0 };
|
|
13928
|
+
}
|
|
13929
|
+
exports.MemoryInfo = {
|
|
13930
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13931
|
+
if (message.totalBytes !== 0) {
|
|
13932
|
+
writer.uint32(8).uint64(message.totalBytes);
|
|
13933
|
+
}
|
|
13934
|
+
if (message.usedBytes !== 0) {
|
|
13935
|
+
writer.uint32(16).uint64(message.usedBytes);
|
|
13936
|
+
}
|
|
13937
|
+
if (message.cachedBytes !== 0) {
|
|
13938
|
+
writer.uint32(24).uint64(message.cachedBytes);
|
|
13939
|
+
}
|
|
13940
|
+
if (message.busLoad !== 0) {
|
|
13941
|
+
writer.uint32(37).float(message.busLoad);
|
|
13942
|
+
}
|
|
13943
|
+
return writer;
|
|
13944
|
+
},
|
|
13945
|
+
decode(input, length) {
|
|
13946
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13947
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13948
|
+
const message = createBaseMemoryInfo();
|
|
13949
|
+
while (reader.pos < end) {
|
|
13950
|
+
const tag = reader.uint32();
|
|
13951
|
+
switch (tag >>> 3) {
|
|
13952
|
+
case 1: {
|
|
13953
|
+
if (tag !== 8) {
|
|
13954
|
+
break;
|
|
13955
|
+
}
|
|
13956
|
+
message.totalBytes = longToNumber(reader.uint64());
|
|
13957
|
+
continue;
|
|
13958
|
+
}
|
|
13959
|
+
case 2: {
|
|
13960
|
+
if (tag !== 16) {
|
|
13961
|
+
break;
|
|
13962
|
+
}
|
|
13963
|
+
message.usedBytes = longToNumber(reader.uint64());
|
|
13964
|
+
continue;
|
|
13965
|
+
}
|
|
13966
|
+
case 3: {
|
|
13967
|
+
if (tag !== 24) {
|
|
13968
|
+
break;
|
|
13969
|
+
}
|
|
13970
|
+
message.cachedBytes = longToNumber(reader.uint64());
|
|
13971
|
+
continue;
|
|
13972
|
+
}
|
|
13973
|
+
case 4: {
|
|
13974
|
+
if (tag !== 37) {
|
|
13975
|
+
break;
|
|
13976
|
+
}
|
|
13977
|
+
message.busLoad = reader.float();
|
|
13978
|
+
continue;
|
|
13979
|
+
}
|
|
13980
|
+
}
|
|
13981
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13982
|
+
break;
|
|
13983
|
+
}
|
|
13984
|
+
reader.skip(tag & 7);
|
|
13985
|
+
}
|
|
13986
|
+
return message;
|
|
13987
|
+
},
|
|
13988
|
+
fromJSON(object) {
|
|
13989
|
+
return {
|
|
13990
|
+
totalBytes: isSet(object.totalBytes) ? gt.Number(object.totalBytes) : 0,
|
|
13991
|
+
usedBytes: isSet(object.usedBytes) ? gt.Number(object.usedBytes) : 0,
|
|
13992
|
+
cachedBytes: isSet(object.cachedBytes) ? gt.Number(object.cachedBytes) : 0,
|
|
13993
|
+
busLoad: isSet(object.busLoad) ? gt.Number(object.busLoad) : 0,
|
|
13994
|
+
};
|
|
13995
|
+
},
|
|
13996
|
+
toJSON(message) {
|
|
13997
|
+
const obj = {};
|
|
13998
|
+
if (message.totalBytes !== 0) {
|
|
13999
|
+
obj.totalBytes = Math.round(message.totalBytes);
|
|
14000
|
+
}
|
|
14001
|
+
if (message.usedBytes !== 0) {
|
|
14002
|
+
obj.usedBytes = Math.round(message.usedBytes);
|
|
14003
|
+
}
|
|
14004
|
+
if (message.cachedBytes !== 0) {
|
|
14005
|
+
obj.cachedBytes = Math.round(message.cachedBytes);
|
|
14006
|
+
}
|
|
14007
|
+
if (message.busLoad !== 0) {
|
|
14008
|
+
obj.busLoad = message.busLoad;
|
|
14009
|
+
}
|
|
14010
|
+
return obj;
|
|
14011
|
+
},
|
|
14012
|
+
create(base) {
|
|
14013
|
+
return exports.MemoryInfo.fromPartial(base ?? {});
|
|
14014
|
+
},
|
|
14015
|
+
fromPartial(object) {
|
|
14016
|
+
const message = createBaseMemoryInfo();
|
|
14017
|
+
message.totalBytes = object.totalBytes ?? 0;
|
|
14018
|
+
message.usedBytes = object.usedBytes ?? 0;
|
|
14019
|
+
message.cachedBytes = object.cachedBytes ?? 0;
|
|
14020
|
+
message.busLoad = object.busLoad ?? 0;
|
|
14021
|
+
return message;
|
|
14022
|
+
},
|
|
14023
|
+
};
|
|
14024
|
+
function createBaseThermalZone() {
|
|
14025
|
+
return { zone: 0, temperature: 0 };
|
|
14026
|
+
}
|
|
14027
|
+
exports.ThermalZone = {
|
|
14028
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
14029
|
+
if (message.zone !== 0) {
|
|
14030
|
+
writer.uint32(8).int32(message.zone);
|
|
14031
|
+
}
|
|
14032
|
+
if (message.temperature !== 0) {
|
|
14033
|
+
writer.uint32(21).float(message.temperature);
|
|
14034
|
+
}
|
|
14035
|
+
return writer;
|
|
14036
|
+
},
|
|
14037
|
+
decode(input, length) {
|
|
14038
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14039
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14040
|
+
const message = createBaseThermalZone();
|
|
14041
|
+
while (reader.pos < end) {
|
|
14042
|
+
const tag = reader.uint32();
|
|
14043
|
+
switch (tag >>> 3) {
|
|
14044
|
+
case 1: {
|
|
14045
|
+
if (tag !== 8) {
|
|
14046
|
+
break;
|
|
14047
|
+
}
|
|
14048
|
+
message.zone = reader.int32();
|
|
14049
|
+
continue;
|
|
14050
|
+
}
|
|
14051
|
+
case 2: {
|
|
14052
|
+
if (tag !== 21) {
|
|
14053
|
+
break;
|
|
14054
|
+
}
|
|
14055
|
+
message.temperature = reader.float();
|
|
14056
|
+
continue;
|
|
14057
|
+
}
|
|
14058
|
+
}
|
|
14059
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
14060
|
+
break;
|
|
14061
|
+
}
|
|
14062
|
+
reader.skip(tag & 7);
|
|
14063
|
+
}
|
|
14064
|
+
return message;
|
|
14065
|
+
},
|
|
14066
|
+
fromJSON(object) {
|
|
14067
|
+
return {
|
|
14068
|
+
zone: isSet(object.zone) ? thermalZoneIdFromJSON(object.zone) : 0,
|
|
14069
|
+
temperature: isSet(object.temperature) ? gt.Number(object.temperature) : 0,
|
|
14070
|
+
};
|
|
14071
|
+
},
|
|
14072
|
+
toJSON(message) {
|
|
14073
|
+
const obj = {};
|
|
14074
|
+
if (message.zone !== 0) {
|
|
14075
|
+
obj.zone = thermalZoneIdToJSON(message.zone);
|
|
14076
|
+
}
|
|
14077
|
+
if (message.temperature !== 0) {
|
|
14078
|
+
obj.temperature = message.temperature;
|
|
14079
|
+
}
|
|
14080
|
+
return obj;
|
|
14081
|
+
},
|
|
14082
|
+
create(base) {
|
|
14083
|
+
return exports.ThermalZone.fromPartial(base ?? {});
|
|
14084
|
+
},
|
|
14085
|
+
fromPartial(object) {
|
|
14086
|
+
const message = createBaseThermalZone();
|
|
14087
|
+
message.zone = object.zone ?? 0;
|
|
14088
|
+
message.temperature = object.temperature ?? 0;
|
|
14089
|
+
return message;
|
|
14090
|
+
},
|
|
14091
|
+
};
|
|
14092
|
+
function createBaseVideoCodecInfo() {
|
|
14093
|
+
return {
|
|
14094
|
+
encoderActive: false,
|
|
14095
|
+
encoderFrequencyMhz: 0,
|
|
14096
|
+
decoderActive: false,
|
|
14097
|
+
decoderFrequencyMhz: 0,
|
|
14098
|
+
nvjpgActive: false,
|
|
14099
|
+
nvjpgFrequencyMhz: 0,
|
|
14100
|
+
vicActive: false,
|
|
14101
|
+
vicFrequencyMhz: 0,
|
|
14102
|
+
vpuActive: false,
|
|
14103
|
+
vpuFrequencyMhz: 0,
|
|
14104
|
+
vpuCodecIrqCount: 0,
|
|
14105
|
+
vpuJpgIrqCount: 0,
|
|
14106
|
+
};
|
|
14107
|
+
}
|
|
14108
|
+
exports.VideoCodecInfo = {
|
|
14109
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
14110
|
+
if (message.encoderActive !== false) {
|
|
14111
|
+
writer.uint32(8).bool(message.encoderActive);
|
|
14112
|
+
}
|
|
14113
|
+
if (message.encoderFrequencyMhz !== 0) {
|
|
14114
|
+
writer.uint32(21).float(message.encoderFrequencyMhz);
|
|
14115
|
+
}
|
|
14116
|
+
if (message.decoderActive !== false) {
|
|
14117
|
+
writer.uint32(24).bool(message.decoderActive);
|
|
14118
|
+
}
|
|
14119
|
+
if (message.decoderFrequencyMhz !== 0) {
|
|
14120
|
+
writer.uint32(37).float(message.decoderFrequencyMhz);
|
|
14121
|
+
}
|
|
14122
|
+
if (message.nvjpgActive !== false) {
|
|
14123
|
+
writer.uint32(40).bool(message.nvjpgActive);
|
|
14124
|
+
}
|
|
14125
|
+
if (message.nvjpgFrequencyMhz !== 0) {
|
|
14126
|
+
writer.uint32(53).float(message.nvjpgFrequencyMhz);
|
|
14127
|
+
}
|
|
14128
|
+
if (message.vicActive !== false) {
|
|
14129
|
+
writer.uint32(56).bool(message.vicActive);
|
|
14130
|
+
}
|
|
14131
|
+
if (message.vicFrequencyMhz !== 0) {
|
|
14132
|
+
writer.uint32(69).float(message.vicFrequencyMhz);
|
|
14133
|
+
}
|
|
14134
|
+
if (message.vpuActive !== false) {
|
|
14135
|
+
writer.uint32(72).bool(message.vpuActive);
|
|
14136
|
+
}
|
|
14137
|
+
if (message.vpuFrequencyMhz !== 0) {
|
|
14138
|
+
writer.uint32(85).float(message.vpuFrequencyMhz);
|
|
14139
|
+
}
|
|
14140
|
+
if (message.vpuCodecIrqCount !== 0) {
|
|
14141
|
+
writer.uint32(88).uint32(message.vpuCodecIrqCount);
|
|
14142
|
+
}
|
|
14143
|
+
if (message.vpuJpgIrqCount !== 0) {
|
|
14144
|
+
writer.uint32(96).uint32(message.vpuJpgIrqCount);
|
|
14145
|
+
}
|
|
14146
|
+
return writer;
|
|
14147
|
+
},
|
|
14148
|
+
decode(input, length) {
|
|
14149
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14150
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14151
|
+
const message = createBaseVideoCodecInfo();
|
|
14152
|
+
while (reader.pos < end) {
|
|
14153
|
+
const tag = reader.uint32();
|
|
14154
|
+
switch (tag >>> 3) {
|
|
14155
|
+
case 1: {
|
|
14156
|
+
if (tag !== 8) {
|
|
14157
|
+
break;
|
|
14158
|
+
}
|
|
14159
|
+
message.encoderActive = reader.bool();
|
|
14160
|
+
continue;
|
|
14161
|
+
}
|
|
14162
|
+
case 2: {
|
|
14163
|
+
if (tag !== 21) {
|
|
14164
|
+
break;
|
|
14165
|
+
}
|
|
14166
|
+
message.encoderFrequencyMhz = reader.float();
|
|
14167
|
+
continue;
|
|
14168
|
+
}
|
|
14169
|
+
case 3: {
|
|
14170
|
+
if (tag !== 24) {
|
|
14171
|
+
break;
|
|
14172
|
+
}
|
|
14173
|
+
message.decoderActive = reader.bool();
|
|
14174
|
+
continue;
|
|
14175
|
+
}
|
|
14176
|
+
case 4: {
|
|
14177
|
+
if (tag !== 37) {
|
|
14178
|
+
break;
|
|
14179
|
+
}
|
|
14180
|
+
message.decoderFrequencyMhz = reader.float();
|
|
14181
|
+
continue;
|
|
14182
|
+
}
|
|
14183
|
+
case 5: {
|
|
14184
|
+
if (tag !== 40) {
|
|
14185
|
+
break;
|
|
14186
|
+
}
|
|
14187
|
+
message.nvjpgActive = reader.bool();
|
|
14188
|
+
continue;
|
|
14189
|
+
}
|
|
14190
|
+
case 6: {
|
|
14191
|
+
if (tag !== 53) {
|
|
14192
|
+
break;
|
|
14193
|
+
}
|
|
14194
|
+
message.nvjpgFrequencyMhz = reader.float();
|
|
14195
|
+
continue;
|
|
14196
|
+
}
|
|
14197
|
+
case 7: {
|
|
14198
|
+
if (tag !== 56) {
|
|
14199
|
+
break;
|
|
14200
|
+
}
|
|
14201
|
+
message.vicActive = reader.bool();
|
|
14202
|
+
continue;
|
|
14203
|
+
}
|
|
14204
|
+
case 8: {
|
|
14205
|
+
if (tag !== 69) {
|
|
14206
|
+
break;
|
|
14207
|
+
}
|
|
14208
|
+
message.vicFrequencyMhz = reader.float();
|
|
14209
|
+
continue;
|
|
14210
|
+
}
|
|
14211
|
+
case 9: {
|
|
14212
|
+
if (tag !== 72) {
|
|
14213
|
+
break;
|
|
14214
|
+
}
|
|
14215
|
+
message.vpuActive = reader.bool();
|
|
14216
|
+
continue;
|
|
14217
|
+
}
|
|
14218
|
+
case 10: {
|
|
14219
|
+
if (tag !== 85) {
|
|
14220
|
+
break;
|
|
14221
|
+
}
|
|
14222
|
+
message.vpuFrequencyMhz = reader.float();
|
|
14223
|
+
continue;
|
|
14224
|
+
}
|
|
14225
|
+
case 11: {
|
|
14226
|
+
if (tag !== 88) {
|
|
14227
|
+
break;
|
|
14228
|
+
}
|
|
14229
|
+
message.vpuCodecIrqCount = reader.uint32();
|
|
14230
|
+
continue;
|
|
14231
|
+
}
|
|
14232
|
+
case 12: {
|
|
14233
|
+
if (tag !== 96) {
|
|
14234
|
+
break;
|
|
14235
|
+
}
|
|
14236
|
+
message.vpuJpgIrqCount = reader.uint32();
|
|
14237
|
+
continue;
|
|
14238
|
+
}
|
|
14239
|
+
}
|
|
14240
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
14241
|
+
break;
|
|
14242
|
+
}
|
|
14243
|
+
reader.skip(tag & 7);
|
|
14244
|
+
}
|
|
14245
|
+
return message;
|
|
14246
|
+
},
|
|
14247
|
+
fromJSON(object) {
|
|
14248
|
+
return {
|
|
14249
|
+
encoderActive: isSet(object.encoderActive) ? gt.Boolean(object.encoderActive) : false,
|
|
14250
|
+
encoderFrequencyMhz: isSet(object.encoderFrequencyMhz) ? gt.Number(object.encoderFrequencyMhz) : 0,
|
|
14251
|
+
decoderActive: isSet(object.decoderActive) ? gt.Boolean(object.decoderActive) : false,
|
|
14252
|
+
decoderFrequencyMhz: isSet(object.decoderFrequencyMhz) ? gt.Number(object.decoderFrequencyMhz) : 0,
|
|
14253
|
+
nvjpgActive: isSet(object.nvjpgActive) ? gt.Boolean(object.nvjpgActive) : false,
|
|
14254
|
+
nvjpgFrequencyMhz: isSet(object.nvjpgFrequencyMhz) ? gt.Number(object.nvjpgFrequencyMhz) : 0,
|
|
14255
|
+
vicActive: isSet(object.vicActive) ? gt.Boolean(object.vicActive) : false,
|
|
14256
|
+
vicFrequencyMhz: isSet(object.vicFrequencyMhz) ? gt.Number(object.vicFrequencyMhz) : 0,
|
|
14257
|
+
vpuActive: isSet(object.vpuActive) ? gt.Boolean(object.vpuActive) : false,
|
|
14258
|
+
vpuFrequencyMhz: isSet(object.vpuFrequencyMhz) ? gt.Number(object.vpuFrequencyMhz) : 0,
|
|
14259
|
+
vpuCodecIrqCount: isSet(object.vpuCodecIrqCount) ? gt.Number(object.vpuCodecIrqCount) : 0,
|
|
14260
|
+
vpuJpgIrqCount: isSet(object.vpuJpgIrqCount) ? gt.Number(object.vpuJpgIrqCount) : 0,
|
|
14261
|
+
};
|
|
14262
|
+
},
|
|
14263
|
+
toJSON(message) {
|
|
14264
|
+
const obj = {};
|
|
14265
|
+
if (message.encoderActive !== false) {
|
|
14266
|
+
obj.encoderActive = message.encoderActive;
|
|
14267
|
+
}
|
|
14268
|
+
if (message.encoderFrequencyMhz !== 0) {
|
|
14269
|
+
obj.encoderFrequencyMhz = message.encoderFrequencyMhz;
|
|
14270
|
+
}
|
|
14271
|
+
if (message.decoderActive !== false) {
|
|
14272
|
+
obj.decoderActive = message.decoderActive;
|
|
14273
|
+
}
|
|
14274
|
+
if (message.decoderFrequencyMhz !== 0) {
|
|
14275
|
+
obj.decoderFrequencyMhz = message.decoderFrequencyMhz;
|
|
14276
|
+
}
|
|
14277
|
+
if (message.nvjpgActive !== false) {
|
|
14278
|
+
obj.nvjpgActive = message.nvjpgActive;
|
|
14279
|
+
}
|
|
14280
|
+
if (message.nvjpgFrequencyMhz !== 0) {
|
|
14281
|
+
obj.nvjpgFrequencyMhz = message.nvjpgFrequencyMhz;
|
|
14282
|
+
}
|
|
14283
|
+
if (message.vicActive !== false) {
|
|
14284
|
+
obj.vicActive = message.vicActive;
|
|
14285
|
+
}
|
|
14286
|
+
if (message.vicFrequencyMhz !== 0) {
|
|
14287
|
+
obj.vicFrequencyMhz = message.vicFrequencyMhz;
|
|
14288
|
+
}
|
|
14289
|
+
if (message.vpuActive !== false) {
|
|
14290
|
+
obj.vpuActive = message.vpuActive;
|
|
14291
|
+
}
|
|
14292
|
+
if (message.vpuFrequencyMhz !== 0) {
|
|
14293
|
+
obj.vpuFrequencyMhz = message.vpuFrequencyMhz;
|
|
14294
|
+
}
|
|
14295
|
+
if (message.vpuCodecIrqCount !== 0) {
|
|
14296
|
+
obj.vpuCodecIrqCount = Math.round(message.vpuCodecIrqCount);
|
|
14297
|
+
}
|
|
14298
|
+
if (message.vpuJpgIrqCount !== 0) {
|
|
14299
|
+
obj.vpuJpgIrqCount = Math.round(message.vpuJpgIrqCount);
|
|
14300
|
+
}
|
|
14301
|
+
return obj;
|
|
14302
|
+
},
|
|
14303
|
+
create(base) {
|
|
14304
|
+
return exports.VideoCodecInfo.fromPartial(base ?? {});
|
|
14305
|
+
},
|
|
14306
|
+
fromPartial(object) {
|
|
14307
|
+
const message = createBaseVideoCodecInfo();
|
|
14308
|
+
message.encoderActive = object.encoderActive ?? false;
|
|
14309
|
+
message.encoderFrequencyMhz = object.encoderFrequencyMhz ?? 0;
|
|
14310
|
+
message.decoderActive = object.decoderActive ?? false;
|
|
14311
|
+
message.decoderFrequencyMhz = object.decoderFrequencyMhz ?? 0;
|
|
14312
|
+
message.nvjpgActive = object.nvjpgActive ?? false;
|
|
14313
|
+
message.nvjpgFrequencyMhz = object.nvjpgFrequencyMhz ?? 0;
|
|
14314
|
+
message.vicActive = object.vicActive ?? false;
|
|
14315
|
+
message.vicFrequencyMhz = object.vicFrequencyMhz ?? 0;
|
|
14316
|
+
message.vpuActive = object.vpuActive ?? false;
|
|
14317
|
+
message.vpuFrequencyMhz = object.vpuFrequencyMhz ?? 0;
|
|
14318
|
+
message.vpuCodecIrqCount = object.vpuCodecIrqCount ?? 0;
|
|
14319
|
+
message.vpuJpgIrqCount = object.vpuJpgIrqCount ?? 0;
|
|
14320
|
+
return message;
|
|
14321
|
+
},
|
|
14322
|
+
};
|
|
14323
|
+
function createBaseSystemPerformanceInfo() {
|
|
14324
|
+
return {
|
|
14325
|
+
cpuCores: [],
|
|
14326
|
+
cpuUtilization: 0,
|
|
14327
|
+
gpu: undefined,
|
|
14328
|
+
dlaEngines: [],
|
|
14329
|
+
memory: undefined,
|
|
14330
|
+
thermalZones: [],
|
|
14331
|
+
videoCodec: undefined,
|
|
14332
|
+
mainQueueLoad: 0,
|
|
14333
|
+
guestportQueueLoad: 0,
|
|
14334
|
+
commQueueLoad: 0,
|
|
14335
|
+
cameraQueueLoad: 0,
|
|
14336
|
+
overlayQueueLoad: 0,
|
|
14337
|
+
positionObserverQueueLoad: 0,
|
|
14338
|
+
};
|
|
14339
|
+
}
|
|
14340
|
+
exports.SystemPerformanceInfo = {
|
|
14341
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
14342
|
+
for (const v of message.cpuCores) {
|
|
14343
|
+
exports.CpuCoreLoad.encode(v, writer.uint32(10).fork()).join();
|
|
14344
|
+
}
|
|
14345
|
+
if (message.cpuUtilization !== 0) {
|
|
14346
|
+
writer.uint32(21).float(message.cpuUtilization);
|
|
14347
|
+
}
|
|
14348
|
+
if (message.gpu !== undefined) {
|
|
14349
|
+
exports.GpuInfo.encode(message.gpu, writer.uint32(26).fork()).join();
|
|
14350
|
+
}
|
|
14351
|
+
for (const v of message.dlaEngines) {
|
|
14352
|
+
exports.DlaInfo.encode(v, writer.uint32(34).fork()).join();
|
|
14353
|
+
}
|
|
14354
|
+
if (message.memory !== undefined) {
|
|
14355
|
+
exports.MemoryInfo.encode(message.memory, writer.uint32(42).fork()).join();
|
|
14356
|
+
}
|
|
14357
|
+
for (const v of message.thermalZones) {
|
|
14358
|
+
exports.ThermalZone.encode(v, writer.uint32(50).fork()).join();
|
|
14359
|
+
}
|
|
14360
|
+
if (message.videoCodec !== undefined) {
|
|
14361
|
+
exports.VideoCodecInfo.encode(message.videoCodec, writer.uint32(58).fork()).join();
|
|
14362
|
+
}
|
|
14363
|
+
if (message.mainQueueLoad !== 0) {
|
|
14364
|
+
writer.uint32(69).float(message.mainQueueLoad);
|
|
14365
|
+
}
|
|
14366
|
+
if (message.guestportQueueLoad !== 0) {
|
|
14367
|
+
writer.uint32(77).float(message.guestportQueueLoad);
|
|
14368
|
+
}
|
|
14369
|
+
if (message.commQueueLoad !== 0) {
|
|
14370
|
+
writer.uint32(85).float(message.commQueueLoad);
|
|
14371
|
+
}
|
|
14372
|
+
if (message.cameraQueueLoad !== 0) {
|
|
14373
|
+
writer.uint32(93).float(message.cameraQueueLoad);
|
|
14374
|
+
}
|
|
14375
|
+
if (message.overlayQueueLoad !== 0) {
|
|
14376
|
+
writer.uint32(101).float(message.overlayQueueLoad);
|
|
14377
|
+
}
|
|
14378
|
+
if (message.positionObserverQueueLoad !== 0) {
|
|
14379
|
+
writer.uint32(109).float(message.positionObserverQueueLoad);
|
|
14380
|
+
}
|
|
14381
|
+
return writer;
|
|
14382
|
+
},
|
|
14383
|
+
decode(input, length) {
|
|
14384
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14385
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14386
|
+
const message = createBaseSystemPerformanceInfo();
|
|
14387
|
+
while (reader.pos < end) {
|
|
14388
|
+
const tag = reader.uint32();
|
|
14389
|
+
switch (tag >>> 3) {
|
|
14390
|
+
case 1: {
|
|
14391
|
+
if (tag !== 10) {
|
|
14392
|
+
break;
|
|
14393
|
+
}
|
|
14394
|
+
message.cpuCores.push(exports.CpuCoreLoad.decode(reader, reader.uint32()));
|
|
14395
|
+
continue;
|
|
14396
|
+
}
|
|
14397
|
+
case 2: {
|
|
14398
|
+
if (tag !== 21) {
|
|
14399
|
+
break;
|
|
14400
|
+
}
|
|
14401
|
+
message.cpuUtilization = reader.float();
|
|
14402
|
+
continue;
|
|
14403
|
+
}
|
|
14404
|
+
case 3: {
|
|
14405
|
+
if (tag !== 26) {
|
|
14406
|
+
break;
|
|
14407
|
+
}
|
|
14408
|
+
message.gpu = exports.GpuInfo.decode(reader, reader.uint32());
|
|
14409
|
+
continue;
|
|
14410
|
+
}
|
|
14411
|
+
case 4: {
|
|
14412
|
+
if (tag !== 34) {
|
|
14413
|
+
break;
|
|
14414
|
+
}
|
|
14415
|
+
message.dlaEngines.push(exports.DlaInfo.decode(reader, reader.uint32()));
|
|
14416
|
+
continue;
|
|
14417
|
+
}
|
|
14418
|
+
case 5: {
|
|
14419
|
+
if (tag !== 42) {
|
|
14420
|
+
break;
|
|
14421
|
+
}
|
|
14422
|
+
message.memory = exports.MemoryInfo.decode(reader, reader.uint32());
|
|
14423
|
+
continue;
|
|
14424
|
+
}
|
|
14425
|
+
case 6: {
|
|
14426
|
+
if (tag !== 50) {
|
|
14427
|
+
break;
|
|
14428
|
+
}
|
|
14429
|
+
message.thermalZones.push(exports.ThermalZone.decode(reader, reader.uint32()));
|
|
14430
|
+
continue;
|
|
14431
|
+
}
|
|
14432
|
+
case 7: {
|
|
14433
|
+
if (tag !== 58) {
|
|
14434
|
+
break;
|
|
14435
|
+
}
|
|
14436
|
+
message.videoCodec = exports.VideoCodecInfo.decode(reader, reader.uint32());
|
|
14437
|
+
continue;
|
|
14438
|
+
}
|
|
14439
|
+
case 8: {
|
|
14440
|
+
if (tag !== 69) {
|
|
14441
|
+
break;
|
|
14442
|
+
}
|
|
14443
|
+
message.mainQueueLoad = reader.float();
|
|
14444
|
+
continue;
|
|
14445
|
+
}
|
|
14446
|
+
case 9: {
|
|
14447
|
+
if (tag !== 77) {
|
|
14448
|
+
break;
|
|
14449
|
+
}
|
|
14450
|
+
message.guestportQueueLoad = reader.float();
|
|
14451
|
+
continue;
|
|
14452
|
+
}
|
|
14453
|
+
case 10: {
|
|
14454
|
+
if (tag !== 85) {
|
|
14455
|
+
break;
|
|
14456
|
+
}
|
|
14457
|
+
message.commQueueLoad = reader.float();
|
|
14458
|
+
continue;
|
|
14459
|
+
}
|
|
14460
|
+
case 11: {
|
|
14461
|
+
if (tag !== 93) {
|
|
14462
|
+
break;
|
|
14463
|
+
}
|
|
14464
|
+
message.cameraQueueLoad = reader.float();
|
|
14465
|
+
continue;
|
|
14466
|
+
}
|
|
14467
|
+
case 12: {
|
|
14468
|
+
if (tag !== 101) {
|
|
14469
|
+
break;
|
|
14470
|
+
}
|
|
14471
|
+
message.overlayQueueLoad = reader.float();
|
|
14472
|
+
continue;
|
|
14473
|
+
}
|
|
14474
|
+
case 13: {
|
|
14475
|
+
if (tag !== 109) {
|
|
14476
|
+
break;
|
|
14477
|
+
}
|
|
14478
|
+
message.positionObserverQueueLoad = reader.float();
|
|
14479
|
+
continue;
|
|
14480
|
+
}
|
|
14481
|
+
}
|
|
14482
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
14483
|
+
break;
|
|
14484
|
+
}
|
|
14485
|
+
reader.skip(tag & 7);
|
|
14486
|
+
}
|
|
14487
|
+
return message;
|
|
14488
|
+
},
|
|
14489
|
+
fromJSON(object) {
|
|
14490
|
+
return {
|
|
14491
|
+
cpuCores: gt.Array.isArray(object?.cpuCores) ? object.cpuCores.map((e) => exports.CpuCoreLoad.fromJSON(e)) : [],
|
|
14492
|
+
cpuUtilization: isSet(object.cpuUtilization) ? gt.Number(object.cpuUtilization) : 0,
|
|
14493
|
+
gpu: isSet(object.gpu) ? exports.GpuInfo.fromJSON(object.gpu) : undefined,
|
|
14494
|
+
dlaEngines: gt.Array.isArray(object?.dlaEngines) ? object.dlaEngines.map((e) => exports.DlaInfo.fromJSON(e)) : [],
|
|
14495
|
+
memory: isSet(object.memory) ? exports.MemoryInfo.fromJSON(object.memory) : undefined,
|
|
14496
|
+
thermalZones: gt.Array.isArray(object?.thermalZones)
|
|
14497
|
+
? object.thermalZones.map((e) => exports.ThermalZone.fromJSON(e))
|
|
14498
|
+
: [],
|
|
14499
|
+
videoCodec: isSet(object.videoCodec) ? exports.VideoCodecInfo.fromJSON(object.videoCodec) : undefined,
|
|
14500
|
+
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
14501
|
+
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
14502
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
14503
|
+
cameraQueueLoad: isSet(object.cameraQueueLoad) ? gt.Number(object.cameraQueueLoad) : 0,
|
|
14504
|
+
overlayQueueLoad: isSet(object.overlayQueueLoad) ? gt.Number(object.overlayQueueLoad) : 0,
|
|
14505
|
+
positionObserverQueueLoad: isSet(object.positionObserverQueueLoad)
|
|
14506
|
+
? gt.Number(object.positionObserverQueueLoad)
|
|
14507
|
+
: 0,
|
|
14508
|
+
};
|
|
14509
|
+
},
|
|
14510
|
+
toJSON(message) {
|
|
14511
|
+
const obj = {};
|
|
14512
|
+
if (message.cpuCores?.length) {
|
|
14513
|
+
obj.cpuCores = message.cpuCores.map((e) => exports.CpuCoreLoad.toJSON(e));
|
|
14514
|
+
}
|
|
14515
|
+
if (message.cpuUtilization !== 0) {
|
|
14516
|
+
obj.cpuUtilization = message.cpuUtilization;
|
|
14517
|
+
}
|
|
14518
|
+
if (message.gpu !== undefined) {
|
|
14519
|
+
obj.gpu = exports.GpuInfo.toJSON(message.gpu);
|
|
14520
|
+
}
|
|
14521
|
+
if (message.dlaEngines?.length) {
|
|
14522
|
+
obj.dlaEngines = message.dlaEngines.map((e) => exports.DlaInfo.toJSON(e));
|
|
14523
|
+
}
|
|
14524
|
+
if (message.memory !== undefined) {
|
|
14525
|
+
obj.memory = exports.MemoryInfo.toJSON(message.memory);
|
|
14526
|
+
}
|
|
14527
|
+
if (message.thermalZones?.length) {
|
|
14528
|
+
obj.thermalZones = message.thermalZones.map((e) => exports.ThermalZone.toJSON(e));
|
|
14529
|
+
}
|
|
14530
|
+
if (message.videoCodec !== undefined) {
|
|
14531
|
+
obj.videoCodec = exports.VideoCodecInfo.toJSON(message.videoCodec);
|
|
14532
|
+
}
|
|
14533
|
+
if (message.mainQueueLoad !== 0) {
|
|
14534
|
+
obj.mainQueueLoad = message.mainQueueLoad;
|
|
14535
|
+
}
|
|
14536
|
+
if (message.guestportQueueLoad !== 0) {
|
|
14537
|
+
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
14538
|
+
}
|
|
14539
|
+
if (message.commQueueLoad !== 0) {
|
|
14540
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
14541
|
+
}
|
|
14542
|
+
if (message.cameraQueueLoad !== 0) {
|
|
14543
|
+
obj.cameraQueueLoad = message.cameraQueueLoad;
|
|
14544
|
+
}
|
|
14545
|
+
if (message.overlayQueueLoad !== 0) {
|
|
14546
|
+
obj.overlayQueueLoad = message.overlayQueueLoad;
|
|
14547
|
+
}
|
|
14548
|
+
if (message.positionObserverQueueLoad !== 0) {
|
|
14549
|
+
obj.positionObserverQueueLoad = message.positionObserverQueueLoad;
|
|
14550
|
+
}
|
|
14551
|
+
return obj;
|
|
14552
|
+
},
|
|
14553
|
+
create(base) {
|
|
14554
|
+
return exports.SystemPerformanceInfo.fromPartial(base ?? {});
|
|
14555
|
+
},
|
|
14556
|
+
fromPartial(object) {
|
|
14557
|
+
const message = createBaseSystemPerformanceInfo();
|
|
14558
|
+
message.cpuCores = object.cpuCores?.map((e) => exports.CpuCoreLoad.fromPartial(e)) || [];
|
|
14559
|
+
message.cpuUtilization = object.cpuUtilization ?? 0;
|
|
14560
|
+
message.gpu = (object.gpu !== undefined && object.gpu !== null) ? exports.GpuInfo.fromPartial(object.gpu) : undefined;
|
|
14561
|
+
message.dlaEngines = object.dlaEngines?.map((e) => exports.DlaInfo.fromPartial(e)) || [];
|
|
14562
|
+
message.memory = (object.memory !== undefined && object.memory !== null)
|
|
14563
|
+
? exports.MemoryInfo.fromPartial(object.memory)
|
|
14564
|
+
: undefined;
|
|
14565
|
+
message.thermalZones = object.thermalZones?.map((e) => exports.ThermalZone.fromPartial(e)) || [];
|
|
14566
|
+
message.videoCodec = (object.videoCodec !== undefined && object.videoCodec !== null)
|
|
14567
|
+
? exports.VideoCodecInfo.fromPartial(object.videoCodec)
|
|
14568
|
+
: undefined;
|
|
14569
|
+
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
14570
|
+
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
14571
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
14572
|
+
message.cameraQueueLoad = object.cameraQueueLoad ?? 0;
|
|
14573
|
+
message.overlayQueueLoad = object.overlayQueueLoad ?? 0;
|
|
14574
|
+
message.positionObserverQueueLoad = object.positionObserverQueueLoad ?? 0;
|
|
14575
|
+
return message;
|
|
14576
|
+
},
|
|
14577
|
+
};
|
|
14578
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
14579
|
+
return { status: 0, level: 0 };
|
|
14580
|
+
}
|
|
14581
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
14582
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
14583
|
+
if (message.status !== 0) {
|
|
14584
|
+
writer.uint32(8).int32(message.status);
|
|
14585
|
+
}
|
|
14586
|
+
if (message.level !== 0) {
|
|
14587
|
+
writer.uint32(21).float(message.level);
|
|
14588
|
+
}
|
|
14589
|
+
return writer;
|
|
14590
|
+
},
|
|
14591
|
+
decode(input, length) {
|
|
14592
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14593
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14594
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
14595
|
+
while (reader.pos < end) {
|
|
14596
|
+
const tag = reader.uint32();
|
|
14597
|
+
switch (tag >>> 3) {
|
|
14598
|
+
case 1: {
|
|
14599
|
+
if (tag !== 8) {
|
|
14600
|
+
break;
|
|
14601
|
+
}
|
|
14602
|
+
message.status = reader.int32();
|
|
14603
|
+
continue;
|
|
14604
|
+
}
|
|
14605
|
+
case 2: {
|
|
14606
|
+
if (tag !== 21) {
|
|
14607
|
+
break;
|
|
14608
|
+
}
|
|
14609
|
+
message.level = reader.float();
|
|
14610
|
+
continue;
|
|
14611
|
+
}
|
|
14612
|
+
}
|
|
14613
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
14614
|
+
break;
|
|
14615
|
+
}
|
|
14616
|
+
reader.skip(tag & 7);
|
|
14617
|
+
}
|
|
14618
|
+
return message;
|
|
14619
|
+
},
|
|
14620
|
+
fromJSON(object) {
|
|
14621
|
+
return {
|
|
14622
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
14623
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
14624
|
+
};
|
|
14625
|
+
},
|
|
14626
|
+
toJSON(message) {
|
|
14627
|
+
const obj = {};
|
|
14628
|
+
if (message.status !== 0) {
|
|
14629
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
14630
|
+
}
|
|
14631
|
+
if (message.level !== 0) {
|
|
14632
|
+
obj.level = message.level;
|
|
14633
|
+
}
|
|
14634
|
+
return obj;
|
|
14635
|
+
},
|
|
14636
|
+
create(base) {
|
|
14637
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
14638
|
+
},
|
|
14639
|
+
fromPartial(object) {
|
|
14640
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
14641
|
+
message.status = object.status ?? 0;
|
|
14642
|
+
message.level = object.level ?? 0;
|
|
14643
|
+
return message;
|
|
14644
|
+
},
|
|
14645
|
+
};
|
|
14646
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
14647
|
+
return { version: "" };
|
|
14648
|
+
}
|
|
14649
|
+
exports.SurfaceUnitVersionInfo = {
|
|
14650
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
14651
|
+
if (message.version !== "") {
|
|
14652
|
+
writer.uint32(10).string(message.version);
|
|
14653
|
+
}
|
|
14654
|
+
return writer;
|
|
14655
|
+
},
|
|
14656
|
+
decode(input, length) {
|
|
14657
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14658
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14659
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
14660
|
+
while (reader.pos < end) {
|
|
14661
|
+
const tag = reader.uint32();
|
|
14662
|
+
switch (tag >>> 3) {
|
|
14663
|
+
case 1: {
|
|
14664
|
+
if (tag !== 10) {
|
|
14665
|
+
break;
|
|
14666
|
+
}
|
|
14667
|
+
message.version = reader.string();
|
|
14668
|
+
continue;
|
|
14669
|
+
}
|
|
14670
|
+
}
|
|
14671
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
14672
|
+
break;
|
|
14673
|
+
}
|
|
14674
|
+
reader.skip(tag & 7);
|
|
14675
|
+
}
|
|
14676
|
+
return message;
|
|
14677
|
+
},
|
|
14678
|
+
fromJSON(object) {
|
|
14679
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
14680
|
+
},
|
|
14681
|
+
toJSON(message) {
|
|
14682
|
+
const obj = {};
|
|
14683
|
+
if (message.version !== "") {
|
|
14684
|
+
obj.version = message.version;
|
|
14685
|
+
}
|
|
14686
|
+
return obj;
|
|
14687
|
+
},
|
|
14688
|
+
create(base) {
|
|
14689
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
14690
|
+
},
|
|
14691
|
+
fromPartial(object) {
|
|
14692
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
14693
|
+
message.version = object.version ?? "";
|
|
14694
|
+
return message;
|
|
14695
|
+
},
|
|
14696
|
+
};
|
|
14697
|
+
function createBaseBoundingBox() {
|
|
14698
|
+
return { x: 0, y: 0, width: 0, height: 0 };
|
|
14699
|
+
}
|
|
14700
|
+
exports.BoundingBox = {
|
|
14701
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
14702
|
+
if (message.x !== 0) {
|
|
14703
|
+
writer.uint32(8).uint32(message.x);
|
|
14704
|
+
}
|
|
14705
|
+
if (message.y !== 0) {
|
|
14706
|
+
writer.uint32(16).uint32(message.y);
|
|
14707
|
+
}
|
|
14708
|
+
if (message.width !== 0) {
|
|
14709
|
+
writer.uint32(24).uint32(message.width);
|
|
14710
|
+
}
|
|
14711
|
+
if (message.height !== 0) {
|
|
14712
|
+
writer.uint32(32).uint32(message.height);
|
|
14713
|
+
}
|
|
14714
|
+
return writer;
|
|
14715
|
+
},
|
|
14716
|
+
decode(input, length) {
|
|
14717
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14718
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14719
|
+
const message = createBaseBoundingBox();
|
|
14720
|
+
while (reader.pos < end) {
|
|
14721
|
+
const tag = reader.uint32();
|
|
14722
|
+
switch (tag >>> 3) {
|
|
14723
|
+
case 1: {
|
|
14724
|
+
if (tag !== 8) {
|
|
14725
|
+
break;
|
|
14726
|
+
}
|
|
14727
|
+
message.x = reader.uint32();
|
|
14728
|
+
continue;
|
|
14729
|
+
}
|
|
14730
|
+
case 2: {
|
|
14731
|
+
if (tag !== 16) {
|
|
14732
|
+
break;
|
|
14733
|
+
}
|
|
14734
|
+
message.y = reader.uint32();
|
|
14735
|
+
continue;
|
|
14736
|
+
}
|
|
14737
|
+
case 3: {
|
|
14738
|
+
if (tag !== 24) {
|
|
14739
|
+
break;
|
|
14740
|
+
}
|
|
14741
|
+
message.width = reader.uint32();
|
|
14742
|
+
continue;
|
|
14743
|
+
}
|
|
14744
|
+
case 4: {
|
|
14745
|
+
if (tag !== 32) {
|
|
14746
|
+
break;
|
|
14747
|
+
}
|
|
14748
|
+
message.height = reader.uint32();
|
|
14749
|
+
continue;
|
|
14750
|
+
}
|
|
14751
|
+
}
|
|
14752
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
14753
|
+
break;
|
|
14754
|
+
}
|
|
14755
|
+
reader.skip(tag & 7);
|
|
14756
|
+
}
|
|
14757
|
+
return message;
|
|
14758
|
+
},
|
|
14759
|
+
fromJSON(object) {
|
|
14760
|
+
return {
|
|
14761
|
+
x: isSet(object.x) ? gt.Number(object.x) : 0,
|
|
14762
|
+
y: isSet(object.y) ? gt.Number(object.y) : 0,
|
|
14763
|
+
width: isSet(object.width) ? gt.Number(object.width) : 0,
|
|
14764
|
+
height: isSet(object.height) ? gt.Number(object.height) : 0,
|
|
14765
|
+
};
|
|
14766
|
+
},
|
|
14767
|
+
toJSON(message) {
|
|
14768
|
+
const obj = {};
|
|
14769
|
+
if (message.x !== 0) {
|
|
14770
|
+
obj.x = Math.round(message.x);
|
|
14771
|
+
}
|
|
14772
|
+
if (message.y !== 0) {
|
|
14773
|
+
obj.y = Math.round(message.y);
|
|
14774
|
+
}
|
|
14775
|
+
if (message.width !== 0) {
|
|
14776
|
+
obj.width = Math.round(message.width);
|
|
14777
|
+
}
|
|
14778
|
+
if (message.height !== 0) {
|
|
14779
|
+
obj.height = Math.round(message.height);
|
|
14780
|
+
}
|
|
14781
|
+
return obj;
|
|
14782
|
+
},
|
|
14783
|
+
create(base) {
|
|
14784
|
+
return exports.BoundingBox.fromPartial(base ?? {});
|
|
14785
|
+
},
|
|
14786
|
+
fromPartial(object) {
|
|
14787
|
+
const message = createBaseBoundingBox();
|
|
14788
|
+
message.x = object.x ?? 0;
|
|
14789
|
+
message.y = object.y ?? 0;
|
|
14790
|
+
message.width = object.width ?? 0;
|
|
14791
|
+
message.height = object.height ?? 0;
|
|
14792
|
+
return message;
|
|
14793
|
+
},
|
|
14794
|
+
};
|
|
14795
|
+
function createBaseSegmentationMask() {
|
|
14796
|
+
return { maskWidth: 0, maskHeight: 0, counts: new Uint8Array(0) };
|
|
14797
|
+
}
|
|
14798
|
+
exports.SegmentationMask = {
|
|
14799
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
14800
|
+
if (message.maskWidth !== 0) {
|
|
14801
|
+
writer.uint32(8).uint32(message.maskWidth);
|
|
14802
|
+
}
|
|
14803
|
+
if (message.maskHeight !== 0) {
|
|
14804
|
+
writer.uint32(16).uint32(message.maskHeight);
|
|
14805
|
+
}
|
|
14806
|
+
if (message.counts.length !== 0) {
|
|
14807
|
+
writer.uint32(26).bytes(message.counts);
|
|
14808
|
+
}
|
|
14809
|
+
return writer;
|
|
14810
|
+
},
|
|
14811
|
+
decode(input, length) {
|
|
14812
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14813
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14814
|
+
const message = createBaseSegmentationMask();
|
|
14815
|
+
while (reader.pos < end) {
|
|
14816
|
+
const tag = reader.uint32();
|
|
14817
|
+
switch (tag >>> 3) {
|
|
14818
|
+
case 1: {
|
|
14819
|
+
if (tag !== 8) {
|
|
14820
|
+
break;
|
|
14821
|
+
}
|
|
14822
|
+
message.maskWidth = reader.uint32();
|
|
14823
|
+
continue;
|
|
14824
|
+
}
|
|
14825
|
+
case 2: {
|
|
14826
|
+
if (tag !== 16) {
|
|
14827
|
+
break;
|
|
14828
|
+
}
|
|
14829
|
+
message.maskHeight = reader.uint32();
|
|
14830
|
+
continue;
|
|
14831
|
+
}
|
|
14832
|
+
case 3: {
|
|
14833
|
+
if (tag !== 26) {
|
|
14834
|
+
break;
|
|
14835
|
+
}
|
|
14836
|
+
message.counts = reader.bytes();
|
|
14837
|
+
continue;
|
|
14838
|
+
}
|
|
14839
|
+
}
|
|
14840
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
14841
|
+
break;
|
|
14842
|
+
}
|
|
14843
|
+
reader.skip(tag & 7);
|
|
14844
|
+
}
|
|
14845
|
+
return message;
|
|
14846
|
+
},
|
|
14847
|
+
fromJSON(object) {
|
|
14848
|
+
return {
|
|
14849
|
+
maskWidth: isSet(object.maskWidth) ? gt.Number(object.maskWidth) : 0,
|
|
14850
|
+
maskHeight: isSet(object.maskHeight) ? gt.Number(object.maskHeight) : 0,
|
|
14851
|
+
counts: isSet(object.counts) ? bytesFromBase64(object.counts) : new Uint8Array(0),
|
|
14852
|
+
};
|
|
14853
|
+
},
|
|
14854
|
+
toJSON(message) {
|
|
14855
|
+
const obj = {};
|
|
14856
|
+
if (message.maskWidth !== 0) {
|
|
14857
|
+
obj.maskWidth = Math.round(message.maskWidth);
|
|
14858
|
+
}
|
|
14859
|
+
if (message.maskHeight !== 0) {
|
|
14860
|
+
obj.maskHeight = Math.round(message.maskHeight);
|
|
14861
|
+
}
|
|
14862
|
+
if (message.counts.length !== 0) {
|
|
14863
|
+
obj.counts = base64FromBytes(message.counts);
|
|
14864
|
+
}
|
|
14865
|
+
return obj;
|
|
14866
|
+
},
|
|
14867
|
+
create(base) {
|
|
14868
|
+
return exports.SegmentationMask.fromPartial(base ?? {});
|
|
14869
|
+
},
|
|
14870
|
+
fromPartial(object) {
|
|
14871
|
+
const message = createBaseSegmentationMask();
|
|
14872
|
+
message.maskWidth = object.maskWidth ?? 0;
|
|
14873
|
+
message.maskHeight = object.maskHeight ?? 0;
|
|
14874
|
+
message.counts = object.counts ?? new Uint8Array(0);
|
|
14875
|
+
return message;
|
|
14876
|
+
},
|
|
14877
|
+
};
|
|
14878
|
+
function createBaseObjectDetection() {
|
|
14879
|
+
return { boundingBox: undefined, confidence: 0, classId: 0, className: "", trackingId: 0, mask: undefined };
|
|
14880
|
+
}
|
|
14881
|
+
exports.ObjectDetection = {
|
|
14882
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
14883
|
+
if (message.boundingBox !== undefined) {
|
|
14884
|
+
exports.BoundingBox.encode(message.boundingBox, writer.uint32(10).fork()).join();
|
|
14885
|
+
}
|
|
14886
|
+
if (message.confidence !== 0) {
|
|
14887
|
+
writer.uint32(21).float(message.confidence);
|
|
14888
|
+
}
|
|
14889
|
+
if (message.classId !== 0) {
|
|
14890
|
+
writer.uint32(24).uint32(message.classId);
|
|
14891
|
+
}
|
|
14892
|
+
if (message.className !== "") {
|
|
14893
|
+
writer.uint32(34).string(message.className);
|
|
14894
|
+
}
|
|
14895
|
+
if (message.trackingId !== 0) {
|
|
14896
|
+
writer.uint32(40).uint32(message.trackingId);
|
|
14897
|
+
}
|
|
14898
|
+
if (message.mask !== undefined) {
|
|
14899
|
+
exports.SegmentationMask.encode(message.mask, writer.uint32(50).fork()).join();
|
|
14900
|
+
}
|
|
14901
|
+
return writer;
|
|
14902
|
+
},
|
|
14903
|
+
decode(input, length) {
|
|
14904
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14905
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14906
|
+
const message = createBaseObjectDetection();
|
|
14907
|
+
while (reader.pos < end) {
|
|
14908
|
+
const tag = reader.uint32();
|
|
14909
|
+
switch (tag >>> 3) {
|
|
14910
|
+
case 1: {
|
|
14911
|
+
if (tag !== 10) {
|
|
14912
|
+
break;
|
|
14913
|
+
}
|
|
14914
|
+
message.boundingBox = exports.BoundingBox.decode(reader, reader.uint32());
|
|
14915
|
+
continue;
|
|
14916
|
+
}
|
|
14917
|
+
case 2: {
|
|
14918
|
+
if (tag !== 21) {
|
|
14919
|
+
break;
|
|
14920
|
+
}
|
|
14921
|
+
message.confidence = reader.float();
|
|
14922
|
+
continue;
|
|
14923
|
+
}
|
|
14924
|
+
case 3: {
|
|
14925
|
+
if (tag !== 24) {
|
|
14926
|
+
break;
|
|
14927
|
+
}
|
|
14928
|
+
message.classId = reader.uint32();
|
|
14929
|
+
continue;
|
|
14930
|
+
}
|
|
14931
|
+
case 4: {
|
|
14932
|
+
if (tag !== 34) {
|
|
14933
|
+
break;
|
|
14934
|
+
}
|
|
14935
|
+
message.className = reader.string();
|
|
14936
|
+
continue;
|
|
14937
|
+
}
|
|
14938
|
+
case 5: {
|
|
14939
|
+
if (tag !== 40) {
|
|
14940
|
+
break;
|
|
14941
|
+
}
|
|
14942
|
+
message.trackingId = reader.uint32();
|
|
14943
|
+
continue;
|
|
14944
|
+
}
|
|
14945
|
+
case 6: {
|
|
14946
|
+
if (tag !== 50) {
|
|
14947
|
+
break;
|
|
14948
|
+
}
|
|
14949
|
+
message.mask = exports.SegmentationMask.decode(reader, reader.uint32());
|
|
14950
|
+
continue;
|
|
14951
|
+
}
|
|
14952
|
+
}
|
|
14953
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
14954
|
+
break;
|
|
14955
|
+
}
|
|
14956
|
+
reader.skip(tag & 7);
|
|
14957
|
+
}
|
|
14958
|
+
return message;
|
|
14959
|
+
},
|
|
14960
|
+
fromJSON(object) {
|
|
14961
|
+
return {
|
|
14962
|
+
boundingBox: isSet(object.boundingBox) ? exports.BoundingBox.fromJSON(object.boundingBox) : undefined,
|
|
14963
|
+
confidence: isSet(object.confidence) ? gt.Number(object.confidence) : 0,
|
|
14964
|
+
classId: isSet(object.classId) ? gt.Number(object.classId) : 0,
|
|
14965
|
+
className: isSet(object.className) ? gt.String(object.className) : "",
|
|
14966
|
+
trackingId: isSet(object.trackingId) ? gt.Number(object.trackingId) : 0,
|
|
14967
|
+
mask: isSet(object.mask) ? exports.SegmentationMask.fromJSON(object.mask) : undefined,
|
|
14968
|
+
};
|
|
14969
|
+
},
|
|
14970
|
+
toJSON(message) {
|
|
14971
|
+
const obj = {};
|
|
14972
|
+
if (message.boundingBox !== undefined) {
|
|
14973
|
+
obj.boundingBox = exports.BoundingBox.toJSON(message.boundingBox);
|
|
14974
|
+
}
|
|
14975
|
+
if (message.confidence !== 0) {
|
|
14976
|
+
obj.confidence = message.confidence;
|
|
14977
|
+
}
|
|
14978
|
+
if (message.classId !== 0) {
|
|
14979
|
+
obj.classId = Math.round(message.classId);
|
|
14980
|
+
}
|
|
14981
|
+
if (message.className !== "") {
|
|
14982
|
+
obj.className = message.className;
|
|
14983
|
+
}
|
|
14984
|
+
if (message.trackingId !== 0) {
|
|
14985
|
+
obj.trackingId = Math.round(message.trackingId);
|
|
14986
|
+
}
|
|
14987
|
+
if (message.mask !== undefined) {
|
|
14988
|
+
obj.mask = exports.SegmentationMask.toJSON(message.mask);
|
|
14989
|
+
}
|
|
14990
|
+
return obj;
|
|
14991
|
+
},
|
|
14992
|
+
create(base) {
|
|
14993
|
+
return exports.ObjectDetection.fromPartial(base ?? {});
|
|
14994
|
+
},
|
|
14995
|
+
fromPartial(object) {
|
|
14996
|
+
const message = createBaseObjectDetection();
|
|
14997
|
+
message.boundingBox = (object.boundingBox !== undefined && object.boundingBox !== null)
|
|
14998
|
+
? exports.BoundingBox.fromPartial(object.boundingBox)
|
|
14999
|
+
: undefined;
|
|
15000
|
+
message.confidence = object.confidence ?? 0;
|
|
15001
|
+
message.classId = object.classId ?? 0;
|
|
15002
|
+
message.className = object.className ?? "";
|
|
15003
|
+
message.trackingId = object.trackingId ?? 0;
|
|
15004
|
+
message.mask = (object.mask !== undefined && object.mask !== null)
|
|
15005
|
+
? exports.SegmentationMask.fromPartial(object.mask)
|
|
15006
|
+
: undefined;
|
|
15007
|
+
return message;
|
|
15008
|
+
},
|
|
15009
|
+
};
|
|
15010
|
+
function createBaseModelDetections() {
|
|
15011
|
+
return { detections: [], camera: 0, imageWidth: 0, imageHeight: 0, modelName: "" };
|
|
15012
|
+
}
|
|
15013
|
+
exports.ModelDetections = {
|
|
15014
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
15015
|
+
for (const v of message.detections) {
|
|
15016
|
+
exports.ObjectDetection.encode(v, writer.uint32(10).fork()).join();
|
|
15017
|
+
}
|
|
15018
|
+
if (message.camera !== 0) {
|
|
15019
|
+
writer.uint32(16).int32(message.camera);
|
|
15020
|
+
}
|
|
15021
|
+
if (message.imageWidth !== 0) {
|
|
15022
|
+
writer.uint32(24).uint32(message.imageWidth);
|
|
15023
|
+
}
|
|
15024
|
+
if (message.imageHeight !== 0) {
|
|
15025
|
+
writer.uint32(32).uint32(message.imageHeight);
|
|
15026
|
+
}
|
|
15027
|
+
if (message.modelName !== "") {
|
|
15028
|
+
writer.uint32(42).string(message.modelName);
|
|
15029
|
+
}
|
|
15030
|
+
return writer;
|
|
15031
|
+
},
|
|
15032
|
+
decode(input, length) {
|
|
15033
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15034
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15035
|
+
const message = createBaseModelDetections();
|
|
15036
|
+
while (reader.pos < end) {
|
|
15037
|
+
const tag = reader.uint32();
|
|
15038
|
+
switch (tag >>> 3) {
|
|
15039
|
+
case 1: {
|
|
15040
|
+
if (tag !== 10) {
|
|
15041
|
+
break;
|
|
15042
|
+
}
|
|
15043
|
+
message.detections.push(exports.ObjectDetection.decode(reader, reader.uint32()));
|
|
15044
|
+
continue;
|
|
15045
|
+
}
|
|
15046
|
+
case 2: {
|
|
15047
|
+
if (tag !== 16) {
|
|
15048
|
+
break;
|
|
15049
|
+
}
|
|
15050
|
+
message.camera = reader.int32();
|
|
15051
|
+
continue;
|
|
15052
|
+
}
|
|
15053
|
+
case 3: {
|
|
15054
|
+
if (tag !== 24) {
|
|
15055
|
+
break;
|
|
15056
|
+
}
|
|
15057
|
+
message.imageWidth = reader.uint32();
|
|
15058
|
+
continue;
|
|
15059
|
+
}
|
|
15060
|
+
case 4: {
|
|
15061
|
+
if (tag !== 32) {
|
|
15062
|
+
break;
|
|
15063
|
+
}
|
|
15064
|
+
message.imageHeight = reader.uint32();
|
|
15065
|
+
continue;
|
|
15066
|
+
}
|
|
15067
|
+
case 5: {
|
|
15068
|
+
if (tag !== 42) {
|
|
15069
|
+
break;
|
|
15070
|
+
}
|
|
15071
|
+
message.modelName = reader.string();
|
|
15072
|
+
continue;
|
|
15073
|
+
}
|
|
15074
|
+
}
|
|
15075
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15076
|
+
break;
|
|
15077
|
+
}
|
|
15078
|
+
reader.skip(tag & 7);
|
|
15079
|
+
}
|
|
15080
|
+
return message;
|
|
15081
|
+
},
|
|
15082
|
+
fromJSON(object) {
|
|
15083
|
+
return {
|
|
15084
|
+
detections: gt.Array.isArray(object?.detections)
|
|
15085
|
+
? object.detections.map((e) => exports.ObjectDetection.fromJSON(e))
|
|
15086
|
+
: [],
|
|
15087
|
+
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
15088
|
+
imageWidth: isSet(object.imageWidth) ? gt.Number(object.imageWidth) : 0,
|
|
15089
|
+
imageHeight: isSet(object.imageHeight) ? gt.Number(object.imageHeight) : 0,
|
|
15090
|
+
modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
|
|
15091
|
+
};
|
|
15092
|
+
},
|
|
15093
|
+
toJSON(message) {
|
|
15094
|
+
const obj = {};
|
|
15095
|
+
if (message.detections?.length) {
|
|
15096
|
+
obj.detections = message.detections.map((e) => exports.ObjectDetection.toJSON(e));
|
|
15097
|
+
}
|
|
15098
|
+
if (message.camera !== 0) {
|
|
15099
|
+
obj.camera = cameraToJSON(message.camera);
|
|
15100
|
+
}
|
|
15101
|
+
if (message.imageWidth !== 0) {
|
|
15102
|
+
obj.imageWidth = Math.round(message.imageWidth);
|
|
15103
|
+
}
|
|
15104
|
+
if (message.imageHeight !== 0) {
|
|
15105
|
+
obj.imageHeight = Math.round(message.imageHeight);
|
|
15106
|
+
}
|
|
15107
|
+
if (message.modelName !== "") {
|
|
15108
|
+
obj.modelName = message.modelName;
|
|
15109
|
+
}
|
|
15110
|
+
return obj;
|
|
15111
|
+
},
|
|
15112
|
+
create(base) {
|
|
15113
|
+
return exports.ModelDetections.fromPartial(base ?? {});
|
|
15114
|
+
},
|
|
15115
|
+
fromPartial(object) {
|
|
15116
|
+
const message = createBaseModelDetections();
|
|
15117
|
+
message.detections = object.detections?.map((e) => exports.ObjectDetection.fromPartial(e)) || [];
|
|
15118
|
+
message.camera = object.camera ?? 0;
|
|
15119
|
+
message.imageWidth = object.imageWidth ?? 0;
|
|
15120
|
+
message.imageHeight = object.imageHeight ?? 0;
|
|
15121
|
+
message.modelName = object.modelName ?? "";
|
|
15122
|
+
return message;
|
|
15123
|
+
},
|
|
15124
|
+
};
|
|
15125
|
+
function createBaseFilterMessage() {
|
|
15126
|
+
return { enabled: false, intensity: 0 };
|
|
15127
|
+
}
|
|
15128
|
+
exports.FilterMessage = {
|
|
15129
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
15130
|
+
if (message.enabled !== false) {
|
|
15131
|
+
writer.uint32(8).bool(message.enabled);
|
|
15132
|
+
}
|
|
15133
|
+
if (message.intensity !== 0) {
|
|
15134
|
+
writer.uint32(21).float(message.intensity);
|
|
15135
|
+
}
|
|
15136
|
+
return writer;
|
|
15137
|
+
},
|
|
15138
|
+
decode(input, length) {
|
|
15139
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15140
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15141
|
+
const message = createBaseFilterMessage();
|
|
15142
|
+
while (reader.pos < end) {
|
|
15143
|
+
const tag = reader.uint32();
|
|
15144
|
+
switch (tag >>> 3) {
|
|
15145
|
+
case 1: {
|
|
15146
|
+
if (tag !== 8) {
|
|
15147
|
+
break;
|
|
15148
|
+
}
|
|
15149
|
+
message.enabled = reader.bool();
|
|
15150
|
+
continue;
|
|
15151
|
+
}
|
|
15152
|
+
case 2: {
|
|
15153
|
+
if (tag !== 21) {
|
|
15154
|
+
break;
|
|
15155
|
+
}
|
|
15156
|
+
message.intensity = reader.float();
|
|
15157
|
+
continue;
|
|
15158
|
+
}
|
|
15159
|
+
}
|
|
15160
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15161
|
+
break;
|
|
15162
|
+
}
|
|
15163
|
+
reader.skip(tag & 7);
|
|
15164
|
+
}
|
|
15165
|
+
return message;
|
|
15166
|
+
},
|
|
15167
|
+
fromJSON(object) {
|
|
15168
|
+
return {
|
|
15169
|
+
enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false,
|
|
15170
|
+
intensity: isSet(object.intensity) ? gt.Number(object.intensity) : 0,
|
|
15171
|
+
};
|
|
15172
|
+
},
|
|
15173
|
+
toJSON(message) {
|
|
15174
|
+
const obj = {};
|
|
15175
|
+
if (message.enabled !== false) {
|
|
15176
|
+
obj.enabled = message.enabled;
|
|
15177
|
+
}
|
|
15178
|
+
if (message.intensity !== 0) {
|
|
15179
|
+
obj.intensity = message.intensity;
|
|
15180
|
+
}
|
|
15181
|
+
return obj;
|
|
15182
|
+
},
|
|
15183
|
+
create(base) {
|
|
15184
|
+
return exports.FilterMessage.fromPartial(base ?? {});
|
|
15185
|
+
},
|
|
15186
|
+
fromPartial(object) {
|
|
15187
|
+
const message = createBaseFilterMessage();
|
|
15188
|
+
message.enabled = object.enabled ?? false;
|
|
15189
|
+
message.intensity = object.intensity ?? 0;
|
|
15190
|
+
return message;
|
|
15191
|
+
},
|
|
15192
|
+
};
|
|
15193
|
+
function createBaseCameraPanTiltZoom() {
|
|
15194
|
+
return { pan: 0, tilt: 0, zoom: 0 };
|
|
15195
|
+
}
|
|
15196
|
+
exports.CameraPanTiltZoom = {
|
|
15197
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
15198
|
+
if (message.pan !== 0) {
|
|
15199
|
+
writer.uint32(13).float(message.pan);
|
|
15200
|
+
}
|
|
15201
|
+
if (message.tilt !== 0) {
|
|
15202
|
+
writer.uint32(21).float(message.tilt);
|
|
15203
|
+
}
|
|
15204
|
+
if (message.zoom !== 0) {
|
|
15205
|
+
writer.uint32(29).float(message.zoom);
|
|
15206
|
+
}
|
|
15207
|
+
return writer;
|
|
15208
|
+
},
|
|
15209
|
+
decode(input, length) {
|
|
15210
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15211
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15212
|
+
const message = createBaseCameraPanTiltZoom();
|
|
15213
|
+
while (reader.pos < end) {
|
|
15214
|
+
const tag = reader.uint32();
|
|
15215
|
+
switch (tag >>> 3) {
|
|
15216
|
+
case 1: {
|
|
15217
|
+
if (tag !== 13) {
|
|
15218
|
+
break;
|
|
15219
|
+
}
|
|
15220
|
+
message.pan = reader.float();
|
|
15221
|
+
continue;
|
|
15222
|
+
}
|
|
15223
|
+
case 2: {
|
|
15224
|
+
if (tag !== 21) {
|
|
15225
|
+
break;
|
|
15226
|
+
}
|
|
15227
|
+
message.tilt = reader.float();
|
|
15228
|
+
continue;
|
|
15229
|
+
}
|
|
15230
|
+
case 3: {
|
|
15231
|
+
if (tag !== 29) {
|
|
15232
|
+
break;
|
|
15233
|
+
}
|
|
15234
|
+
message.zoom = reader.float();
|
|
15235
|
+
continue;
|
|
15236
|
+
}
|
|
15237
|
+
}
|
|
15238
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15239
|
+
break;
|
|
15240
|
+
}
|
|
15241
|
+
reader.skip(tag & 7);
|
|
15242
|
+
}
|
|
15243
|
+
return message;
|
|
15244
|
+
},
|
|
15245
|
+
fromJSON(object) {
|
|
15246
|
+
return {
|
|
15247
|
+
pan: isSet(object.pan) ? gt.Number(object.pan) : 0,
|
|
15248
|
+
tilt: isSet(object.tilt) ? gt.Number(object.tilt) : 0,
|
|
15249
|
+
zoom: isSet(object.zoom) ? gt.Number(object.zoom) : 0,
|
|
15250
|
+
};
|
|
15251
|
+
},
|
|
15252
|
+
toJSON(message) {
|
|
15253
|
+
const obj = {};
|
|
15254
|
+
if (message.pan !== 0) {
|
|
15255
|
+
obj.pan = message.pan;
|
|
15256
|
+
}
|
|
15257
|
+
if (message.tilt !== 0) {
|
|
15258
|
+
obj.tilt = message.tilt;
|
|
15259
|
+
}
|
|
15260
|
+
if (message.zoom !== 0) {
|
|
15261
|
+
obj.zoom = message.zoom;
|
|
15262
|
+
}
|
|
15263
|
+
return obj;
|
|
15264
|
+
},
|
|
15265
|
+
create(base) {
|
|
15266
|
+
return exports.CameraPanTiltZoom.fromPartial(base ?? {});
|
|
15267
|
+
},
|
|
15268
|
+
fromPartial(object) {
|
|
15269
|
+
const message = createBaseCameraPanTiltZoom();
|
|
15270
|
+
message.pan = object.pan ?? 0;
|
|
15271
|
+
message.tilt = object.tilt ?? 0;
|
|
15272
|
+
message.zoom = object.zoom ?? 0;
|
|
15273
|
+
return message;
|
|
15274
|
+
},
|
|
15275
|
+
};
|
|
15276
|
+
function createBaseOperatorInfo() {
|
|
15277
|
+
return { name: "", email: "" };
|
|
15278
|
+
}
|
|
15279
|
+
exports.OperatorInfo = {
|
|
15280
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
15281
|
+
if (message.name !== "") {
|
|
15282
|
+
writer.uint32(10).string(message.name);
|
|
15283
|
+
}
|
|
15284
|
+
if (message.email !== "") {
|
|
15285
|
+
writer.uint32(18).string(message.email);
|
|
15286
|
+
}
|
|
15287
|
+
return writer;
|
|
15288
|
+
},
|
|
15289
|
+
decode(input, length) {
|
|
15290
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15291
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15292
|
+
const message = createBaseOperatorInfo();
|
|
15293
|
+
while (reader.pos < end) {
|
|
15294
|
+
const tag = reader.uint32();
|
|
15295
|
+
switch (tag >>> 3) {
|
|
15296
|
+
case 1: {
|
|
15297
|
+
if (tag !== 10) {
|
|
15298
|
+
break;
|
|
15299
|
+
}
|
|
15300
|
+
message.name = reader.string();
|
|
15301
|
+
continue;
|
|
15302
|
+
}
|
|
15303
|
+
case 2: {
|
|
15304
|
+
if (tag !== 18) {
|
|
15305
|
+
break;
|
|
15306
|
+
}
|
|
15307
|
+
message.email = reader.string();
|
|
15308
|
+
continue;
|
|
15309
|
+
}
|
|
15310
|
+
}
|
|
15311
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15312
|
+
break;
|
|
15313
|
+
}
|
|
15314
|
+
reader.skip(tag & 7);
|
|
15315
|
+
}
|
|
15316
|
+
return message;
|
|
15317
|
+
},
|
|
15318
|
+
fromJSON(object) {
|
|
15319
|
+
return {
|
|
15320
|
+
name: isSet(object.name) ? gt.String(object.name) : "",
|
|
15321
|
+
email: isSet(object.email) ? gt.String(object.email) : "",
|
|
15322
|
+
};
|
|
15323
|
+
},
|
|
15324
|
+
toJSON(message) {
|
|
15325
|
+
const obj = {};
|
|
15326
|
+
if (message.name !== "") {
|
|
15327
|
+
obj.name = message.name;
|
|
15328
|
+
}
|
|
15329
|
+
if (message.email !== "") {
|
|
15330
|
+
obj.email = message.email;
|
|
15331
|
+
}
|
|
15332
|
+
return obj;
|
|
15333
|
+
},
|
|
15334
|
+
create(base) {
|
|
15335
|
+
return exports.OperatorInfo.fromPartial(base ?? {});
|
|
15336
|
+
},
|
|
15337
|
+
fromPartial(object) {
|
|
15338
|
+
const message = createBaseOperatorInfo();
|
|
15339
|
+
message.name = object.name ?? "";
|
|
15340
|
+
message.email = object.email ?? "";
|
|
15341
|
+
return message;
|
|
15342
|
+
},
|
|
15343
|
+
};
|
|
15344
|
+
function createBaseSotState() {
|
|
15345
|
+
return { state: 0, boundingBox: undefined, imageWidth: 0, imageHeight: 0 };
|
|
15346
|
+
}
|
|
15347
|
+
exports.SotState = {
|
|
15348
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
15349
|
+
if (message.state !== 0) {
|
|
15350
|
+
writer.uint32(8).int32(message.state);
|
|
15351
|
+
}
|
|
15352
|
+
if (message.boundingBox !== undefined) {
|
|
15353
|
+
exports.BoundingBox.encode(message.boundingBox, writer.uint32(18).fork()).join();
|
|
15354
|
+
}
|
|
15355
|
+
if (message.imageWidth !== 0) {
|
|
15356
|
+
writer.uint32(24).uint32(message.imageWidth);
|
|
15357
|
+
}
|
|
15358
|
+
if (message.imageHeight !== 0) {
|
|
15359
|
+
writer.uint32(32).uint32(message.imageHeight);
|
|
15360
|
+
}
|
|
15361
|
+
return writer;
|
|
15362
|
+
},
|
|
15363
|
+
decode(input, length) {
|
|
15364
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15365
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15366
|
+
const message = createBaseSotState();
|
|
15367
|
+
while (reader.pos < end) {
|
|
15368
|
+
const tag = reader.uint32();
|
|
15369
|
+
switch (tag >>> 3) {
|
|
15370
|
+
case 1: {
|
|
15371
|
+
if (tag !== 8) {
|
|
15372
|
+
break;
|
|
15373
|
+
}
|
|
15374
|
+
message.state = reader.int32();
|
|
15375
|
+
continue;
|
|
15376
|
+
}
|
|
15377
|
+
case 2: {
|
|
15378
|
+
if (tag !== 18) {
|
|
15379
|
+
break;
|
|
15380
|
+
}
|
|
15381
|
+
message.boundingBox = exports.BoundingBox.decode(reader, reader.uint32());
|
|
15382
|
+
continue;
|
|
15383
|
+
}
|
|
15384
|
+
case 3: {
|
|
15385
|
+
if (tag !== 24) {
|
|
15386
|
+
break;
|
|
15387
|
+
}
|
|
15388
|
+
message.imageWidth = reader.uint32();
|
|
15389
|
+
continue;
|
|
15390
|
+
}
|
|
15391
|
+
case 4: {
|
|
15392
|
+
if (tag !== 32) {
|
|
15393
|
+
break;
|
|
15394
|
+
}
|
|
15395
|
+
message.imageHeight = reader.uint32();
|
|
15396
|
+
continue;
|
|
15397
|
+
}
|
|
15398
|
+
}
|
|
15399
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
15400
|
+
break;
|
|
15401
|
+
}
|
|
15402
|
+
reader.skip(tag & 7);
|
|
15403
|
+
}
|
|
15404
|
+
return message;
|
|
15405
|
+
},
|
|
15406
|
+
fromJSON(object) {
|
|
15407
|
+
return {
|
|
15408
|
+
state: isSet(object.state) ? sotState_StateFromJSON(object.state) : 0,
|
|
15409
|
+
boundingBox: isSet(object.boundingBox) ? exports.BoundingBox.fromJSON(object.boundingBox) : undefined,
|
|
15410
|
+
imageWidth: isSet(object.imageWidth) ? gt.Number(object.imageWidth) : 0,
|
|
15411
|
+
imageHeight: isSet(object.imageHeight) ? gt.Number(object.imageHeight) : 0,
|
|
15412
|
+
};
|
|
15413
|
+
},
|
|
15414
|
+
toJSON(message) {
|
|
15415
|
+
const obj = {};
|
|
15416
|
+
if (message.state !== 0) {
|
|
15417
|
+
obj.state = sotState_StateToJSON(message.state);
|
|
15418
|
+
}
|
|
15419
|
+
if (message.boundingBox !== undefined) {
|
|
15420
|
+
obj.boundingBox = exports.BoundingBox.toJSON(message.boundingBox);
|
|
15421
|
+
}
|
|
15422
|
+
if (message.imageWidth !== 0) {
|
|
15423
|
+
obj.imageWidth = Math.round(message.imageWidth);
|
|
15424
|
+
}
|
|
15425
|
+
if (message.imageHeight !== 0) {
|
|
15426
|
+
obj.imageHeight = Math.round(message.imageHeight);
|
|
15427
|
+
}
|
|
15428
|
+
return obj;
|
|
15429
|
+
},
|
|
15430
|
+
create(base) {
|
|
15431
|
+
return exports.SotState.fromPartial(base ?? {});
|
|
15432
|
+
},
|
|
15433
|
+
fromPartial(object) {
|
|
15434
|
+
const message = createBaseSotState();
|
|
15435
|
+
message.state = object.state ?? 0;
|
|
15436
|
+
message.boundingBox = (object.boundingBox !== undefined && object.boundingBox !== null)
|
|
15437
|
+
? exports.BoundingBox.fromPartial(object.boundingBox)
|
|
15438
|
+
: undefined;
|
|
15439
|
+
message.imageWidth = object.imageWidth ?? 0;
|
|
15440
|
+
message.imageHeight = object.imageHeight ?? 0;
|
|
12557
15441
|
return message;
|
|
12558
15442
|
},
|
|
12559
15443
|
};
|