@blueyerobotics/protocol-definitions 3.2.0-fcf0b829 → 3.3.0-991d560c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/control.d.ts +73 -2
- package/dist/control.js +325 -1
- package/dist/message_formats.d.ts +577 -9
- package/dist/message_formats.js +3489 -165
- package/dist/req_rep.d.ts +45 -1
- package/dist/req_rep.js +329 -1
- package/dist/telemetry.d.ts +53 -2
- package/dist/telemetry.js +228 -7
- package/package.json +1 -1
package/dist/message_formats.js
CHANGED
|
@@ -5,9 +5,10 @@
|
|
|
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.
|
|
8
|
+
exports.Point2D = 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_State = exports.CvModelInfo_ModelType = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.AnnotationSource = exports.ThermalZoneId = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortCapability = 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.PowerSource = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
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.VisionTrackingState = exports.OrbitState = exports.ActiveTrackState = exports.SpotlightState = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.LaserDetection = void 0;
|
|
10
|
+
exports.BoundingBox = exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.SystemPerformanceInfo = exports.NvmeInfo = 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.CameraCalibration = exports.CvModelInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = void 0;
|
|
11
|
+
exports.Annotation = exports.SotState = exports.OperatorInfo = exports.CameraPanTiltZoom = exports.FilterMessage = exports.ModelDetections = exports.ObjectDetection = exports.SegmentationMask = void 0;
|
|
11
12
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
13
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
14
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -28,6 +29,8 @@ exports.modelFromJSON = modelFromJSON;
|
|
|
28
29
|
exports.modelToJSON = modelToJSON;
|
|
29
30
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
30
31
|
exports.pressureSensorTypeToJSON = pressureSensorTypeToJSON;
|
|
32
|
+
exports.powerSourceFromJSON = powerSourceFromJSON;
|
|
33
|
+
exports.powerSourceToJSON = powerSourceToJSON;
|
|
31
34
|
exports.resolutionFromJSON = resolutionFromJSON;
|
|
32
35
|
exports.resolutionToJSON = resolutionToJSON;
|
|
33
36
|
exports.framerateFromJSON = framerateFromJSON;
|
|
@@ -52,6 +55,8 @@ exports.guestPortDeviceIDFromJSON = guestPortDeviceIDFromJSON;
|
|
|
52
55
|
exports.guestPortDeviceIDToJSON = guestPortDeviceIDToJSON;
|
|
53
56
|
exports.guestPortNumberFromJSON = guestPortNumberFromJSON;
|
|
54
57
|
exports.guestPortNumberToJSON = guestPortNumberToJSON;
|
|
58
|
+
exports.guestPortCapabilityFromJSON = guestPortCapabilityFromJSON;
|
|
59
|
+
exports.guestPortCapabilityToJSON = guestPortCapabilityToJSON;
|
|
55
60
|
exports.navigationSensorIDFromJSON = navigationSensorIDFromJSON;
|
|
56
61
|
exports.navigationSensorIDToJSON = navigationSensorIDToJSON;
|
|
57
62
|
exports.guestPortDetachStatusFromJSON = guestPortDetachStatusFromJSON;
|
|
@@ -62,6 +67,8 @@ exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
|
62
67
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
63
68
|
exports.thermalZoneIdFromJSON = thermalZoneIdFromJSON;
|
|
64
69
|
exports.thermalZoneIdToJSON = thermalZoneIdToJSON;
|
|
70
|
+
exports.annotationSourceFromJSON = annotationSourceFromJSON;
|
|
71
|
+
exports.annotationSourceToJSON = annotationSourceToJSON;
|
|
65
72
|
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
66
73
|
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
67
74
|
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
@@ -74,12 +81,18 @@ exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFro
|
|
|
74
81
|
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
75
82
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
76
83
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
84
|
+
exports.cvModelInfo_ModelTypeFromJSON = cvModelInfo_ModelTypeFromJSON;
|
|
85
|
+
exports.cvModelInfo_ModelTypeToJSON = cvModelInfo_ModelTypeToJSON;
|
|
86
|
+
exports.cvModelInfo_StateFromJSON = cvModelInfo_StateFromJSON;
|
|
87
|
+
exports.cvModelInfo_StateToJSON = cvModelInfo_StateToJSON;
|
|
77
88
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
78
89
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
79
90
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
80
91
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
81
92
|
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
82
93
|
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
94
|
+
exports.sotState_StateFromJSON = sotState_StateFromJSON;
|
|
95
|
+
exports.sotState_StateToJSON = sotState_StateToJSON;
|
|
83
96
|
/* eslint-disable */
|
|
84
97
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
85
98
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -371,6 +384,8 @@ var NotificationType;
|
|
|
371
384
|
NotificationType[NotificationType["NOTIFICATION_TYPE_DVL_HIGH_TEMPERATURE_DETECTED"] = 31] = "NOTIFICATION_TYPE_DVL_HIGH_TEMPERATURE_DETECTED";
|
|
372
385
|
/** NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED - DVL thermal protection mode detected. */
|
|
373
386
|
NotificationType[NotificationType["NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED"] = 32] = "NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED";
|
|
387
|
+
/** NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED - Video partition not mounted. */
|
|
388
|
+
NotificationType[NotificationType["NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED"] = 33] = "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED";
|
|
374
389
|
NotificationType[NotificationType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
375
390
|
})(NotificationType || (exports.NotificationType = NotificationType = {}));
|
|
376
391
|
function notificationTypeFromJSON(object) {
|
|
@@ -474,6 +489,9 @@ function notificationTypeFromJSON(object) {
|
|
|
474
489
|
case 32:
|
|
475
490
|
case "NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED":
|
|
476
491
|
return NotificationType.NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED;
|
|
492
|
+
case 33:
|
|
493
|
+
case "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED":
|
|
494
|
+
return NotificationType.NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED;
|
|
477
495
|
case -1:
|
|
478
496
|
case "UNRECOGNIZED":
|
|
479
497
|
default:
|
|
@@ -548,6 +566,8 @@ function notificationTypeToJSON(object) {
|
|
|
548
566
|
return "NOTIFICATION_TYPE_DVL_HIGH_TEMPERATURE_DETECTED";
|
|
549
567
|
case NotificationType.NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED:
|
|
550
568
|
return "NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED";
|
|
569
|
+
case NotificationType.NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED:
|
|
570
|
+
return "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED";
|
|
551
571
|
case NotificationType.UNRECOGNIZED:
|
|
552
572
|
default:
|
|
553
573
|
return "UNRECOGNIZED";
|
|
@@ -777,6 +797,53 @@ function pressureSensorTypeToJSON(object) {
|
|
|
777
797
|
return "UNRECOGNIZED";
|
|
778
798
|
}
|
|
779
799
|
}
|
|
800
|
+
/**
|
|
801
|
+
* How the drone is powered.
|
|
802
|
+
*
|
|
803
|
+
* Lets clients determine the power configuration (e.g. parallel batteries on the
|
|
804
|
+
* X7) directly from DroneInfo, without waiting for telemetry. May be extended in
|
|
805
|
+
* the future, e.g. with topside power.
|
|
806
|
+
*/
|
|
807
|
+
var PowerSource;
|
|
808
|
+
(function (PowerSource) {
|
|
809
|
+
/** POWER_SOURCE_UNSPECIFIED - Power source unknown / not determined. */
|
|
810
|
+
PowerSource[PowerSource["POWER_SOURCE_UNSPECIFIED"] = 0] = "POWER_SOURCE_UNSPECIFIED";
|
|
811
|
+
/** POWER_SOURCE_SINGLE_BATTERY - A single battery. */
|
|
812
|
+
PowerSource[PowerSource["POWER_SOURCE_SINGLE_BATTERY"] = 1] = "POWER_SOURCE_SINGLE_BATTERY";
|
|
813
|
+
/** POWER_SOURCE_PARALLEL_BATTERIES - Two batteries running in parallel (e.g. X7). */
|
|
814
|
+
PowerSource[PowerSource["POWER_SOURCE_PARALLEL_BATTERIES"] = 2] = "POWER_SOURCE_PARALLEL_BATTERIES";
|
|
815
|
+
PowerSource[PowerSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
816
|
+
})(PowerSource || (exports.PowerSource = PowerSource = {}));
|
|
817
|
+
function powerSourceFromJSON(object) {
|
|
818
|
+
switch (object) {
|
|
819
|
+
case 0:
|
|
820
|
+
case "POWER_SOURCE_UNSPECIFIED":
|
|
821
|
+
return PowerSource.POWER_SOURCE_UNSPECIFIED;
|
|
822
|
+
case 1:
|
|
823
|
+
case "POWER_SOURCE_SINGLE_BATTERY":
|
|
824
|
+
return PowerSource.POWER_SOURCE_SINGLE_BATTERY;
|
|
825
|
+
case 2:
|
|
826
|
+
case "POWER_SOURCE_PARALLEL_BATTERIES":
|
|
827
|
+
return PowerSource.POWER_SOURCE_PARALLEL_BATTERIES;
|
|
828
|
+
case -1:
|
|
829
|
+
case "UNRECOGNIZED":
|
|
830
|
+
default:
|
|
831
|
+
return PowerSource.UNRECOGNIZED;
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
function powerSourceToJSON(object) {
|
|
835
|
+
switch (object) {
|
|
836
|
+
case PowerSource.POWER_SOURCE_UNSPECIFIED:
|
|
837
|
+
return "POWER_SOURCE_UNSPECIFIED";
|
|
838
|
+
case PowerSource.POWER_SOURCE_SINGLE_BATTERY:
|
|
839
|
+
return "POWER_SOURCE_SINGLE_BATTERY";
|
|
840
|
+
case PowerSource.POWER_SOURCE_PARALLEL_BATTERIES:
|
|
841
|
+
return "POWER_SOURCE_PARALLEL_BATTERIES";
|
|
842
|
+
case PowerSource.UNRECOGNIZED:
|
|
843
|
+
default:
|
|
844
|
+
return "UNRECOGNIZED";
|
|
845
|
+
}
|
|
846
|
+
}
|
|
780
847
|
/** Available camera resolutions. */
|
|
781
848
|
var Resolution;
|
|
782
849
|
(function (Resolution) {
|
|
@@ -1202,6 +1269,8 @@ var FontSize;
|
|
|
1202
1269
|
FontSize[FontSize["FONT_SIZE_PX35"] = 5] = "FONT_SIZE_PX35";
|
|
1203
1270
|
/** FONT_SIZE_PX40 - 40 px. */
|
|
1204
1271
|
FontSize[FontSize["FONT_SIZE_PX40"] = 6] = "FONT_SIZE_PX40";
|
|
1272
|
+
/** FONT_SIZE_PX50 - 50 px. */
|
|
1273
|
+
FontSize[FontSize["FONT_SIZE_PX50"] = 7] = "FONT_SIZE_PX50";
|
|
1205
1274
|
FontSize[FontSize["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1206
1275
|
})(FontSize || (exports.FontSize = FontSize = {}));
|
|
1207
1276
|
function fontSizeFromJSON(object) {
|
|
@@ -1227,6 +1296,9 @@ function fontSizeFromJSON(object) {
|
|
|
1227
1296
|
case 6:
|
|
1228
1297
|
case "FONT_SIZE_PX40":
|
|
1229
1298
|
return FontSize.FONT_SIZE_PX40;
|
|
1299
|
+
case 7:
|
|
1300
|
+
case "FONT_SIZE_PX50":
|
|
1301
|
+
return FontSize.FONT_SIZE_PX50;
|
|
1230
1302
|
case -1:
|
|
1231
1303
|
case "UNRECOGNIZED":
|
|
1232
1304
|
default:
|
|
@@ -1249,6 +1321,8 @@ function fontSizeToJSON(object) {
|
|
|
1249
1321
|
return "FONT_SIZE_PX35";
|
|
1250
1322
|
case FontSize.FONT_SIZE_PX40:
|
|
1251
1323
|
return "FONT_SIZE_PX40";
|
|
1324
|
+
case FontSize.FONT_SIZE_PX50:
|
|
1325
|
+
return "FONT_SIZE_PX50";
|
|
1252
1326
|
case FontSize.UNRECOGNIZED:
|
|
1253
1327
|
default:
|
|
1254
1328
|
return "UNRECOGNIZED";
|
|
@@ -1355,6 +1429,13 @@ var GuestPortDeviceID;
|
|
|
1355
1429
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1356
1430
|
/** GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER - Blueye Scaling Laser. */
|
|
1357
1431
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER"] = 48] = "GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER";
|
|
1432
|
+
/**
|
|
1433
|
+
* GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 - Cygnus Mini ROV Thickness Gauge on a connector that converts its RS485 to
|
|
1434
|
+
* RS232, letting it be used on drones with no RS485, such as the X7.
|
|
1435
|
+
*/
|
|
1436
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232"] = 49] = "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232";
|
|
1437
|
+
/** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
|
|
1438
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100"] = 50] = "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100";
|
|
1358
1439
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1359
1440
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1360
1441
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1506,6 +1587,12 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1506
1587
|
case 48:
|
|
1507
1588
|
case "GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER":
|
|
1508
1589
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER;
|
|
1590
|
+
case 49:
|
|
1591
|
+
case "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232":
|
|
1592
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232;
|
|
1593
|
+
case 50:
|
|
1594
|
+
case "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100":
|
|
1595
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100;
|
|
1509
1596
|
case -1:
|
|
1510
1597
|
case "UNRECOGNIZED":
|
|
1511
1598
|
default:
|
|
@@ -1612,6 +1699,10 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1612
1699
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1613
1700
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER:
|
|
1614
1701
|
return "GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER";
|
|
1702
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232:
|
|
1703
|
+
return "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232";
|
|
1704
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100:
|
|
1705
|
+
return "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100";
|
|
1615
1706
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1616
1707
|
default:
|
|
1617
1708
|
return "UNRECOGNIZED";
|
|
@@ -1628,6 +1719,12 @@ var GuestPortNumber;
|
|
|
1628
1719
|
GuestPortNumber[GuestPortNumber["GUEST_PORT_NUMBER_PORT_2"] = 2] = "GUEST_PORT_NUMBER_PORT_2";
|
|
1629
1720
|
/** GUEST_PORT_NUMBER_PORT_3 - Guest port 3. */
|
|
1630
1721
|
GuestPortNumber[GuestPortNumber["GUEST_PORT_NUMBER_PORT_3"] = 3] = "GUEST_PORT_NUMBER_PORT_3";
|
|
1722
|
+
/** GUEST_PORT_NUMBER_PORT_4 - Guest port 4. */
|
|
1723
|
+
GuestPortNumber[GuestPortNumber["GUEST_PORT_NUMBER_PORT_4"] = 4] = "GUEST_PORT_NUMBER_PORT_4";
|
|
1724
|
+
/** GUEST_PORT_NUMBER_PORT_5 - Guest port 5. */
|
|
1725
|
+
GuestPortNumber[GuestPortNumber["GUEST_PORT_NUMBER_PORT_5"] = 5] = "GUEST_PORT_NUMBER_PORT_5";
|
|
1726
|
+
/** GUEST_PORT_NUMBER_PORT_6 - Guest port 6. */
|
|
1727
|
+
GuestPortNumber[GuestPortNumber["GUEST_PORT_NUMBER_PORT_6"] = 6] = "GUEST_PORT_NUMBER_PORT_6";
|
|
1631
1728
|
GuestPortNumber[GuestPortNumber["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1632
1729
|
})(GuestPortNumber || (exports.GuestPortNumber = GuestPortNumber = {}));
|
|
1633
1730
|
function guestPortNumberFromJSON(object) {
|
|
@@ -1644,6 +1741,15 @@ function guestPortNumberFromJSON(object) {
|
|
|
1644
1741
|
case 3:
|
|
1645
1742
|
case "GUEST_PORT_NUMBER_PORT_3":
|
|
1646
1743
|
return GuestPortNumber.GUEST_PORT_NUMBER_PORT_3;
|
|
1744
|
+
case 4:
|
|
1745
|
+
case "GUEST_PORT_NUMBER_PORT_4":
|
|
1746
|
+
return GuestPortNumber.GUEST_PORT_NUMBER_PORT_4;
|
|
1747
|
+
case 5:
|
|
1748
|
+
case "GUEST_PORT_NUMBER_PORT_5":
|
|
1749
|
+
return GuestPortNumber.GUEST_PORT_NUMBER_PORT_5;
|
|
1750
|
+
case 6:
|
|
1751
|
+
case "GUEST_PORT_NUMBER_PORT_6":
|
|
1752
|
+
return GuestPortNumber.GUEST_PORT_NUMBER_PORT_6;
|
|
1647
1753
|
case -1:
|
|
1648
1754
|
case "UNRECOGNIZED":
|
|
1649
1755
|
default:
|
|
@@ -1660,11 +1766,98 @@ function guestPortNumberToJSON(object) {
|
|
|
1660
1766
|
return "GUEST_PORT_NUMBER_PORT_2";
|
|
1661
1767
|
case GuestPortNumber.GUEST_PORT_NUMBER_PORT_3:
|
|
1662
1768
|
return "GUEST_PORT_NUMBER_PORT_3";
|
|
1769
|
+
case GuestPortNumber.GUEST_PORT_NUMBER_PORT_4:
|
|
1770
|
+
return "GUEST_PORT_NUMBER_PORT_4";
|
|
1771
|
+
case GuestPortNumber.GUEST_PORT_NUMBER_PORT_5:
|
|
1772
|
+
return "GUEST_PORT_NUMBER_PORT_5";
|
|
1773
|
+
case GuestPortNumber.GUEST_PORT_NUMBER_PORT_6:
|
|
1774
|
+
return "GUEST_PORT_NUMBER_PORT_6";
|
|
1663
1775
|
case GuestPortNumber.UNRECOGNIZED:
|
|
1664
1776
|
default:
|
|
1665
1777
|
return "UNRECOGNIZED";
|
|
1666
1778
|
}
|
|
1667
1779
|
}
|
|
1780
|
+
/**
|
|
1781
|
+
* Physical interfaces a guest port can provide.
|
|
1782
|
+
*
|
|
1783
|
+
* Used both for the interfaces a port provides and for the interfaces a
|
|
1784
|
+
* device requires from the port it is connected to.
|
|
1785
|
+
*/
|
|
1786
|
+
var GuestPortCapability;
|
|
1787
|
+
(function (GuestPortCapability) {
|
|
1788
|
+
/** GUEST_PORT_CAPABILITY_UNSPECIFIED - Unspecified. */
|
|
1789
|
+
GuestPortCapability[GuestPortCapability["GUEST_PORT_CAPABILITY_UNSPECIFIED"] = 0] = "GUEST_PORT_CAPABILITY_UNSPECIFIED";
|
|
1790
|
+
/** GUEST_PORT_CAPABILITY_ETHERNET - Ethernet. */
|
|
1791
|
+
GuestPortCapability[GuestPortCapability["GUEST_PORT_CAPABILITY_ETHERNET"] = 1] = "GUEST_PORT_CAPABILITY_ETHERNET";
|
|
1792
|
+
/** GUEST_PORT_CAPABILITY_I2C - I2C. */
|
|
1793
|
+
GuestPortCapability[GuestPortCapability["GUEST_PORT_CAPABILITY_I2C"] = 2] = "GUEST_PORT_CAPABILITY_I2C";
|
|
1794
|
+
/** GUEST_PORT_CAPABILITY_RS232 - RS232 serial. */
|
|
1795
|
+
GuestPortCapability[GuestPortCapability["GUEST_PORT_CAPABILITY_RS232"] = 3] = "GUEST_PORT_CAPABILITY_RS232";
|
|
1796
|
+
/** GUEST_PORT_CAPABILITY_RS485 - RS485 serial. */
|
|
1797
|
+
GuestPortCapability[GuestPortCapability["GUEST_PORT_CAPABILITY_RS485"] = 4] = "GUEST_PORT_CAPABILITY_RS485";
|
|
1798
|
+
/** GUEST_PORT_CAPABILITY_USB2 - USB 2.0. */
|
|
1799
|
+
GuestPortCapability[GuestPortCapability["GUEST_PORT_CAPABILITY_USB2"] = 5] = "GUEST_PORT_CAPABILITY_USB2";
|
|
1800
|
+
/** GUEST_PORT_CAPABILITY_PWM - PWM. */
|
|
1801
|
+
GuestPortCapability[GuestPortCapability["GUEST_PORT_CAPABILITY_PWM"] = 6] = "GUEST_PORT_CAPABILITY_PWM";
|
|
1802
|
+
/** GUEST_PORT_CAPABILITY_ETHERNET_1G - Gigabit Ethernet. */
|
|
1803
|
+
GuestPortCapability[GuestPortCapability["GUEST_PORT_CAPABILITY_ETHERNET_1G"] = 7] = "GUEST_PORT_CAPABILITY_ETHERNET_1G";
|
|
1804
|
+
GuestPortCapability[GuestPortCapability["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1805
|
+
})(GuestPortCapability || (exports.GuestPortCapability = GuestPortCapability = {}));
|
|
1806
|
+
function guestPortCapabilityFromJSON(object) {
|
|
1807
|
+
switch (object) {
|
|
1808
|
+
case 0:
|
|
1809
|
+
case "GUEST_PORT_CAPABILITY_UNSPECIFIED":
|
|
1810
|
+
return GuestPortCapability.GUEST_PORT_CAPABILITY_UNSPECIFIED;
|
|
1811
|
+
case 1:
|
|
1812
|
+
case "GUEST_PORT_CAPABILITY_ETHERNET":
|
|
1813
|
+
return GuestPortCapability.GUEST_PORT_CAPABILITY_ETHERNET;
|
|
1814
|
+
case 2:
|
|
1815
|
+
case "GUEST_PORT_CAPABILITY_I2C":
|
|
1816
|
+
return GuestPortCapability.GUEST_PORT_CAPABILITY_I2C;
|
|
1817
|
+
case 3:
|
|
1818
|
+
case "GUEST_PORT_CAPABILITY_RS232":
|
|
1819
|
+
return GuestPortCapability.GUEST_PORT_CAPABILITY_RS232;
|
|
1820
|
+
case 4:
|
|
1821
|
+
case "GUEST_PORT_CAPABILITY_RS485":
|
|
1822
|
+
return GuestPortCapability.GUEST_PORT_CAPABILITY_RS485;
|
|
1823
|
+
case 5:
|
|
1824
|
+
case "GUEST_PORT_CAPABILITY_USB2":
|
|
1825
|
+
return GuestPortCapability.GUEST_PORT_CAPABILITY_USB2;
|
|
1826
|
+
case 6:
|
|
1827
|
+
case "GUEST_PORT_CAPABILITY_PWM":
|
|
1828
|
+
return GuestPortCapability.GUEST_PORT_CAPABILITY_PWM;
|
|
1829
|
+
case 7:
|
|
1830
|
+
case "GUEST_PORT_CAPABILITY_ETHERNET_1G":
|
|
1831
|
+
return GuestPortCapability.GUEST_PORT_CAPABILITY_ETHERNET_1G;
|
|
1832
|
+
case -1:
|
|
1833
|
+
case "UNRECOGNIZED":
|
|
1834
|
+
default:
|
|
1835
|
+
return GuestPortCapability.UNRECOGNIZED;
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
function guestPortCapabilityToJSON(object) {
|
|
1839
|
+
switch (object) {
|
|
1840
|
+
case GuestPortCapability.GUEST_PORT_CAPABILITY_UNSPECIFIED:
|
|
1841
|
+
return "GUEST_PORT_CAPABILITY_UNSPECIFIED";
|
|
1842
|
+
case GuestPortCapability.GUEST_PORT_CAPABILITY_ETHERNET:
|
|
1843
|
+
return "GUEST_PORT_CAPABILITY_ETHERNET";
|
|
1844
|
+
case GuestPortCapability.GUEST_PORT_CAPABILITY_I2C:
|
|
1845
|
+
return "GUEST_PORT_CAPABILITY_I2C";
|
|
1846
|
+
case GuestPortCapability.GUEST_PORT_CAPABILITY_RS232:
|
|
1847
|
+
return "GUEST_PORT_CAPABILITY_RS232";
|
|
1848
|
+
case GuestPortCapability.GUEST_PORT_CAPABILITY_RS485:
|
|
1849
|
+
return "GUEST_PORT_CAPABILITY_RS485";
|
|
1850
|
+
case GuestPortCapability.GUEST_PORT_CAPABILITY_USB2:
|
|
1851
|
+
return "GUEST_PORT_CAPABILITY_USB2";
|
|
1852
|
+
case GuestPortCapability.GUEST_PORT_CAPABILITY_PWM:
|
|
1853
|
+
return "GUEST_PORT_CAPABILITY_PWM";
|
|
1854
|
+
case GuestPortCapability.GUEST_PORT_CAPABILITY_ETHERNET_1G:
|
|
1855
|
+
return "GUEST_PORT_CAPABILITY_ETHERNET_1G";
|
|
1856
|
+
case GuestPortCapability.UNRECOGNIZED:
|
|
1857
|
+
default:
|
|
1858
|
+
return "UNRECOGNIZED";
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1668
1861
|
/** List of navigation sensors that can be used by the position observer. */
|
|
1669
1862
|
var NavigationSensorID;
|
|
1670
1863
|
(function (NavigationSensorID) {
|
|
@@ -1682,6 +1875,8 @@ var NavigationSensorID;
|
|
|
1682
1875
|
NavigationSensorID[NavigationSensorID["NAVIGATION_SENSOR_ID_NORTEK_DVL_NUCLEUS"] = 5] = "NAVIGATION_SENSOR_ID_NORTEK_DVL_NUCLEUS";
|
|
1683
1876
|
/** NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1684
1877
|
NavigationSensorID[NavigationSensorID["NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650"] = 6] = "NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650";
|
|
1878
|
+
/** NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100 - Water Linked DVL A100. */
|
|
1879
|
+
NavigationSensorID[NavigationSensorID["NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100"] = 7] = "NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100";
|
|
1685
1880
|
NavigationSensorID[NavigationSensorID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1686
1881
|
})(NavigationSensorID || (exports.NavigationSensorID = NavigationSensorID = {}));
|
|
1687
1882
|
function navigationSensorIDFromJSON(object) {
|
|
@@ -1707,6 +1902,9 @@ function navigationSensorIDFromJSON(object) {
|
|
|
1707
1902
|
case 6:
|
|
1708
1903
|
case "NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650":
|
|
1709
1904
|
return NavigationSensorID.NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650;
|
|
1905
|
+
case 7:
|
|
1906
|
+
case "NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100":
|
|
1907
|
+
return NavigationSensorID.NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100;
|
|
1710
1908
|
case -1:
|
|
1711
1909
|
case "UNRECOGNIZED":
|
|
1712
1910
|
default:
|
|
@@ -1729,6 +1927,8 @@ function navigationSensorIDToJSON(object) {
|
|
|
1729
1927
|
return "NAVIGATION_SENSOR_ID_NORTEK_DVL_NUCLEUS";
|
|
1730
1928
|
case NavigationSensorID.NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650:
|
|
1731
1929
|
return "NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650";
|
|
1930
|
+
case NavigationSensorID.NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100:
|
|
1931
|
+
return "NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100";
|
|
1732
1932
|
case NavigationSensorID.UNRECOGNIZED:
|
|
1733
1933
|
default:
|
|
1734
1934
|
return "UNRECOGNIZED";
|
|
@@ -1897,6 +2097,22 @@ var ThermalZoneId;
|
|
|
1897
2097
|
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_TJ"] = 1] = "THERMAL_ZONE_ID_TJ";
|
|
1898
2098
|
/** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
|
|
1899
2099
|
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_CANISTER"] = 2] = "THERMAL_ZONE_ID_CANISTER";
|
|
2100
|
+
/** THERMAL_ZONE_ID_CPU - CPU thermal zone. */
|
|
2101
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_CPU"] = 3] = "THERMAL_ZONE_ID_CPU";
|
|
2102
|
+
/** THERMAL_ZONE_ID_GPU - GPU thermal zone. */
|
|
2103
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_GPU"] = 4] = "THERMAL_ZONE_ID_GPU";
|
|
2104
|
+
/** THERMAL_ZONE_ID_CV0 - Vision accelerator 0 thermal zone. */
|
|
2105
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_CV0"] = 5] = "THERMAL_ZONE_ID_CV0";
|
|
2106
|
+
/** THERMAL_ZONE_ID_CV1 - Vision accelerator 1 thermal zone. */
|
|
2107
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_CV1"] = 6] = "THERMAL_ZONE_ID_CV1";
|
|
2108
|
+
/** THERMAL_ZONE_ID_CV2 - Vision accelerator 2 thermal zone. */
|
|
2109
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_CV2"] = 7] = "THERMAL_ZONE_ID_CV2";
|
|
2110
|
+
/** THERMAL_ZONE_ID_SOC0 - SoC 0 thermal zone. */
|
|
2111
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_SOC0"] = 8] = "THERMAL_ZONE_ID_SOC0";
|
|
2112
|
+
/** THERMAL_ZONE_ID_SOC1 - SoC 1 thermal zone. */
|
|
2113
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_SOC1"] = 9] = "THERMAL_ZONE_ID_SOC1";
|
|
2114
|
+
/** THERMAL_ZONE_ID_SOC2 - SoC 2 thermal zone. */
|
|
2115
|
+
ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_SOC2"] = 10] = "THERMAL_ZONE_ID_SOC2";
|
|
1900
2116
|
ThermalZoneId[ThermalZoneId["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1901
2117
|
})(ThermalZoneId || (exports.ThermalZoneId = ThermalZoneId = {}));
|
|
1902
2118
|
function thermalZoneIdFromJSON(object) {
|
|
@@ -1910,6 +2126,30 @@ function thermalZoneIdFromJSON(object) {
|
|
|
1910
2126
|
case 2:
|
|
1911
2127
|
case "THERMAL_ZONE_ID_CANISTER":
|
|
1912
2128
|
return ThermalZoneId.THERMAL_ZONE_ID_CANISTER;
|
|
2129
|
+
case 3:
|
|
2130
|
+
case "THERMAL_ZONE_ID_CPU":
|
|
2131
|
+
return ThermalZoneId.THERMAL_ZONE_ID_CPU;
|
|
2132
|
+
case 4:
|
|
2133
|
+
case "THERMAL_ZONE_ID_GPU":
|
|
2134
|
+
return ThermalZoneId.THERMAL_ZONE_ID_GPU;
|
|
2135
|
+
case 5:
|
|
2136
|
+
case "THERMAL_ZONE_ID_CV0":
|
|
2137
|
+
return ThermalZoneId.THERMAL_ZONE_ID_CV0;
|
|
2138
|
+
case 6:
|
|
2139
|
+
case "THERMAL_ZONE_ID_CV1":
|
|
2140
|
+
return ThermalZoneId.THERMAL_ZONE_ID_CV1;
|
|
2141
|
+
case 7:
|
|
2142
|
+
case "THERMAL_ZONE_ID_CV2":
|
|
2143
|
+
return ThermalZoneId.THERMAL_ZONE_ID_CV2;
|
|
2144
|
+
case 8:
|
|
2145
|
+
case "THERMAL_ZONE_ID_SOC0":
|
|
2146
|
+
return ThermalZoneId.THERMAL_ZONE_ID_SOC0;
|
|
2147
|
+
case 9:
|
|
2148
|
+
case "THERMAL_ZONE_ID_SOC1":
|
|
2149
|
+
return ThermalZoneId.THERMAL_ZONE_ID_SOC1;
|
|
2150
|
+
case 10:
|
|
2151
|
+
case "THERMAL_ZONE_ID_SOC2":
|
|
2152
|
+
return ThermalZoneId.THERMAL_ZONE_ID_SOC2;
|
|
1913
2153
|
case -1:
|
|
1914
2154
|
case "UNRECOGNIZED":
|
|
1915
2155
|
default:
|
|
@@ -1924,11 +2164,75 @@ function thermalZoneIdToJSON(object) {
|
|
|
1924
2164
|
return "THERMAL_ZONE_ID_TJ";
|
|
1925
2165
|
case ThermalZoneId.THERMAL_ZONE_ID_CANISTER:
|
|
1926
2166
|
return "THERMAL_ZONE_ID_CANISTER";
|
|
2167
|
+
case ThermalZoneId.THERMAL_ZONE_ID_CPU:
|
|
2168
|
+
return "THERMAL_ZONE_ID_CPU";
|
|
2169
|
+
case ThermalZoneId.THERMAL_ZONE_ID_GPU:
|
|
2170
|
+
return "THERMAL_ZONE_ID_GPU";
|
|
2171
|
+
case ThermalZoneId.THERMAL_ZONE_ID_CV0:
|
|
2172
|
+
return "THERMAL_ZONE_ID_CV0";
|
|
2173
|
+
case ThermalZoneId.THERMAL_ZONE_ID_CV1:
|
|
2174
|
+
return "THERMAL_ZONE_ID_CV1";
|
|
2175
|
+
case ThermalZoneId.THERMAL_ZONE_ID_CV2:
|
|
2176
|
+
return "THERMAL_ZONE_ID_CV2";
|
|
2177
|
+
case ThermalZoneId.THERMAL_ZONE_ID_SOC0:
|
|
2178
|
+
return "THERMAL_ZONE_ID_SOC0";
|
|
2179
|
+
case ThermalZoneId.THERMAL_ZONE_ID_SOC1:
|
|
2180
|
+
return "THERMAL_ZONE_ID_SOC1";
|
|
2181
|
+
case ThermalZoneId.THERMAL_ZONE_ID_SOC2:
|
|
2182
|
+
return "THERMAL_ZONE_ID_SOC2";
|
|
1927
2183
|
case ThermalZoneId.UNRECOGNIZED:
|
|
1928
2184
|
default:
|
|
1929
2185
|
return "UNRECOGNIZED";
|
|
1930
2186
|
}
|
|
1931
2187
|
}
|
|
2188
|
+
/** Origin of an annotation. Mirrors the AnnotationSource enum in Blueye Cloud. */
|
|
2189
|
+
var AnnotationSource;
|
|
2190
|
+
(function (AnnotationSource) {
|
|
2191
|
+
/** ANNOTATION_SOURCE_UNSPECIFIED - Origin not specified. */
|
|
2192
|
+
AnnotationSource[AnnotationSource["ANNOTATION_SOURCE_UNSPECIFIED"] = 0] = "ANNOTATION_SOURCE_UNSPECIFIED";
|
|
2193
|
+
/** ANNOTATION_SOURCE_CLOUD - Created in Blueye Cloud after the dive. */
|
|
2194
|
+
AnnotationSource[AnnotationSource["ANNOTATION_SOURCE_CLOUD"] = 1] = "ANNOTATION_SOURCE_CLOUD";
|
|
2195
|
+
/** ANNOTATION_SOURCE_APP - Created in the app during the dive. */
|
|
2196
|
+
AnnotationSource[AnnotationSource["ANNOTATION_SOURCE_APP"] = 2] = "ANNOTATION_SOURCE_APP";
|
|
2197
|
+
/** ANNOTATION_SOURCE_DRONE - Emitted by the drone itself. */
|
|
2198
|
+
AnnotationSource[AnnotationSource["ANNOTATION_SOURCE_DRONE"] = 3] = "ANNOTATION_SOURCE_DRONE";
|
|
2199
|
+
AnnotationSource[AnnotationSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2200
|
+
})(AnnotationSource || (exports.AnnotationSource = AnnotationSource = {}));
|
|
2201
|
+
function annotationSourceFromJSON(object) {
|
|
2202
|
+
switch (object) {
|
|
2203
|
+
case 0:
|
|
2204
|
+
case "ANNOTATION_SOURCE_UNSPECIFIED":
|
|
2205
|
+
return AnnotationSource.ANNOTATION_SOURCE_UNSPECIFIED;
|
|
2206
|
+
case 1:
|
|
2207
|
+
case "ANNOTATION_SOURCE_CLOUD":
|
|
2208
|
+
return AnnotationSource.ANNOTATION_SOURCE_CLOUD;
|
|
2209
|
+
case 2:
|
|
2210
|
+
case "ANNOTATION_SOURCE_APP":
|
|
2211
|
+
return AnnotationSource.ANNOTATION_SOURCE_APP;
|
|
2212
|
+
case 3:
|
|
2213
|
+
case "ANNOTATION_SOURCE_DRONE":
|
|
2214
|
+
return AnnotationSource.ANNOTATION_SOURCE_DRONE;
|
|
2215
|
+
case -1:
|
|
2216
|
+
case "UNRECOGNIZED":
|
|
2217
|
+
default:
|
|
2218
|
+
return AnnotationSource.UNRECOGNIZED;
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
function annotationSourceToJSON(object) {
|
|
2222
|
+
switch (object) {
|
|
2223
|
+
case AnnotationSource.ANNOTATION_SOURCE_UNSPECIFIED:
|
|
2224
|
+
return "ANNOTATION_SOURCE_UNSPECIFIED";
|
|
2225
|
+
case AnnotationSource.ANNOTATION_SOURCE_CLOUD:
|
|
2226
|
+
return "ANNOTATION_SOURCE_CLOUD";
|
|
2227
|
+
case AnnotationSource.ANNOTATION_SOURCE_APP:
|
|
2228
|
+
return "ANNOTATION_SOURCE_APP";
|
|
2229
|
+
case AnnotationSource.ANNOTATION_SOURCE_DRONE:
|
|
2230
|
+
return "ANNOTATION_SOURCE_DRONE";
|
|
2231
|
+
case AnnotationSource.UNRECOGNIZED:
|
|
2232
|
+
default:
|
|
2233
|
+
return "UNRECOGNIZED";
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
1932
2236
|
var LogEntry_LogLevel;
|
|
1933
2237
|
(function (LogEntry_LogLevel) {
|
|
1934
2238
|
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
@@ -2343,6 +2647,105 @@ function calibrationState_StatusToJSON(object) {
|
|
|
2343
2647
|
return "UNRECOGNIZED";
|
|
2344
2648
|
}
|
|
2345
2649
|
}
|
|
2650
|
+
var CvModelInfo_ModelType;
|
|
2651
|
+
(function (CvModelInfo_ModelType) {
|
|
2652
|
+
CvModelInfo_ModelType[CvModelInfo_ModelType["MODEL_TYPE_UNSPECIFIED"] = 0] = "MODEL_TYPE_UNSPECIFIED";
|
|
2653
|
+
CvModelInfo_ModelType[CvModelInfo_ModelType["MODEL_TYPE_DETECTION"] = 1] = "MODEL_TYPE_DETECTION";
|
|
2654
|
+
CvModelInfo_ModelType[CvModelInfo_ModelType["MODEL_TYPE_SOT"] = 2] = "MODEL_TYPE_SOT";
|
|
2655
|
+
CvModelInfo_ModelType[CvModelInfo_ModelType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2656
|
+
})(CvModelInfo_ModelType || (exports.CvModelInfo_ModelType = CvModelInfo_ModelType = {}));
|
|
2657
|
+
function cvModelInfo_ModelTypeFromJSON(object) {
|
|
2658
|
+
switch (object) {
|
|
2659
|
+
case 0:
|
|
2660
|
+
case "MODEL_TYPE_UNSPECIFIED":
|
|
2661
|
+
return CvModelInfo_ModelType.MODEL_TYPE_UNSPECIFIED;
|
|
2662
|
+
case 1:
|
|
2663
|
+
case "MODEL_TYPE_DETECTION":
|
|
2664
|
+
return CvModelInfo_ModelType.MODEL_TYPE_DETECTION;
|
|
2665
|
+
case 2:
|
|
2666
|
+
case "MODEL_TYPE_SOT":
|
|
2667
|
+
return CvModelInfo_ModelType.MODEL_TYPE_SOT;
|
|
2668
|
+
case -1:
|
|
2669
|
+
case "UNRECOGNIZED":
|
|
2670
|
+
default:
|
|
2671
|
+
return CvModelInfo_ModelType.UNRECOGNIZED;
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
function cvModelInfo_ModelTypeToJSON(object) {
|
|
2675
|
+
switch (object) {
|
|
2676
|
+
case CvModelInfo_ModelType.MODEL_TYPE_UNSPECIFIED:
|
|
2677
|
+
return "MODEL_TYPE_UNSPECIFIED";
|
|
2678
|
+
case CvModelInfo_ModelType.MODEL_TYPE_DETECTION:
|
|
2679
|
+
return "MODEL_TYPE_DETECTION";
|
|
2680
|
+
case CvModelInfo_ModelType.MODEL_TYPE_SOT:
|
|
2681
|
+
return "MODEL_TYPE_SOT";
|
|
2682
|
+
case CvModelInfo_ModelType.UNRECOGNIZED:
|
|
2683
|
+
default:
|
|
2684
|
+
return "UNRECOGNIZED";
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
/** Runtime state of a computer vision model. */
|
|
2688
|
+
var CvModelInfo_State;
|
|
2689
|
+
(function (CvModelInfo_State) {
|
|
2690
|
+
/** STATE_UNSPECIFIED - State unknown / not reported. */
|
|
2691
|
+
CvModelInfo_State[CvModelInfo_State["STATE_UNSPECIFIED"] = 0] = "STATE_UNSPECIFIED";
|
|
2692
|
+
/** STATE_STOPPED - The model is not running. */
|
|
2693
|
+
CvModelInfo_State[CvModelInfo_State["STATE_STOPPED"] = 1] = "STATE_STOPPED";
|
|
2694
|
+
/** STATE_RUNNING - The model is running (detection models). */
|
|
2695
|
+
CvModelInfo_State[CvModelInfo_State["STATE_RUNNING"] = 2] = "STATE_RUNNING";
|
|
2696
|
+
/** STATE_IDLE - The SOT model is running with no target selected. */
|
|
2697
|
+
CvModelInfo_State[CvModelInfo_State["STATE_IDLE"] = 3] = "STATE_IDLE";
|
|
2698
|
+
/** STATE_TRACKING - The SOT model is actively tracking a target. */
|
|
2699
|
+
CvModelInfo_State[CvModelInfo_State["STATE_TRACKING"] = 4] = "STATE_TRACKING";
|
|
2700
|
+
/** STATE_LOST - The SOT model lost the target it was tracking. */
|
|
2701
|
+
CvModelInfo_State[CvModelInfo_State["STATE_LOST"] = 5] = "STATE_LOST";
|
|
2702
|
+
CvModelInfo_State[CvModelInfo_State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2703
|
+
})(CvModelInfo_State || (exports.CvModelInfo_State = CvModelInfo_State = {}));
|
|
2704
|
+
function cvModelInfo_StateFromJSON(object) {
|
|
2705
|
+
switch (object) {
|
|
2706
|
+
case 0:
|
|
2707
|
+
case "STATE_UNSPECIFIED":
|
|
2708
|
+
return CvModelInfo_State.STATE_UNSPECIFIED;
|
|
2709
|
+
case 1:
|
|
2710
|
+
case "STATE_STOPPED":
|
|
2711
|
+
return CvModelInfo_State.STATE_STOPPED;
|
|
2712
|
+
case 2:
|
|
2713
|
+
case "STATE_RUNNING":
|
|
2714
|
+
return CvModelInfo_State.STATE_RUNNING;
|
|
2715
|
+
case 3:
|
|
2716
|
+
case "STATE_IDLE":
|
|
2717
|
+
return CvModelInfo_State.STATE_IDLE;
|
|
2718
|
+
case 4:
|
|
2719
|
+
case "STATE_TRACKING":
|
|
2720
|
+
return CvModelInfo_State.STATE_TRACKING;
|
|
2721
|
+
case 5:
|
|
2722
|
+
case "STATE_LOST":
|
|
2723
|
+
return CvModelInfo_State.STATE_LOST;
|
|
2724
|
+
case -1:
|
|
2725
|
+
case "UNRECOGNIZED":
|
|
2726
|
+
default:
|
|
2727
|
+
return CvModelInfo_State.UNRECOGNIZED;
|
|
2728
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
function cvModelInfo_StateToJSON(object) {
|
|
2731
|
+
switch (object) {
|
|
2732
|
+
case CvModelInfo_State.STATE_UNSPECIFIED:
|
|
2733
|
+
return "STATE_UNSPECIFIED";
|
|
2734
|
+
case CvModelInfo_State.STATE_STOPPED:
|
|
2735
|
+
return "STATE_STOPPED";
|
|
2736
|
+
case CvModelInfo_State.STATE_RUNNING:
|
|
2737
|
+
return "STATE_RUNNING";
|
|
2738
|
+
case CvModelInfo_State.STATE_IDLE:
|
|
2739
|
+
return "STATE_IDLE";
|
|
2740
|
+
case CvModelInfo_State.STATE_TRACKING:
|
|
2741
|
+
return "STATE_TRACKING";
|
|
2742
|
+
case CvModelInfo_State.STATE_LOST:
|
|
2743
|
+
return "STATE_LOST";
|
|
2744
|
+
case CvModelInfo_State.UNRECOGNIZED:
|
|
2745
|
+
default:
|
|
2746
|
+
return "UNRECOGNIZED";
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2346
2749
|
/** Defines the desired ping rate to use when capturing sonar data. */
|
|
2347
2750
|
var MultibeamConfig_PingRate;
|
|
2348
2751
|
(function (MultibeamConfig_PingRate) {
|
|
@@ -2508,6 +2911,54 @@ function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
|
2508
2911
|
return "UNRECOGNIZED";
|
|
2509
2912
|
}
|
|
2510
2913
|
}
|
|
2914
|
+
/** Current state of the SOT tracker. */
|
|
2915
|
+
var SotState_State;
|
|
2916
|
+
(function (SotState_State) {
|
|
2917
|
+
/** STATE_UNSPECIFIED - Unspecified state. */
|
|
2918
|
+
SotState_State[SotState_State["STATE_UNSPECIFIED"] = 0] = "STATE_UNSPECIFIED";
|
|
2919
|
+
/** STATE_IDLE - No target selected, waiting for a target bounding box. */
|
|
2920
|
+
SotState_State[SotState_State["STATE_IDLE"] = 1] = "STATE_IDLE";
|
|
2921
|
+
/** STATE_TRACKING - Actively tracking a target. */
|
|
2922
|
+
SotState_State[SotState_State["STATE_TRACKING"] = 2] = "STATE_TRACKING";
|
|
2923
|
+
/** STATE_LOST - Target was lost (tracker failed to follow the object). */
|
|
2924
|
+
SotState_State[SotState_State["STATE_LOST"] = 3] = "STATE_LOST";
|
|
2925
|
+
SotState_State[SotState_State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2926
|
+
})(SotState_State || (exports.SotState_State = SotState_State = {}));
|
|
2927
|
+
function sotState_StateFromJSON(object) {
|
|
2928
|
+
switch (object) {
|
|
2929
|
+
case 0:
|
|
2930
|
+
case "STATE_UNSPECIFIED":
|
|
2931
|
+
return SotState_State.STATE_UNSPECIFIED;
|
|
2932
|
+
case 1:
|
|
2933
|
+
case "STATE_IDLE":
|
|
2934
|
+
return SotState_State.STATE_IDLE;
|
|
2935
|
+
case 2:
|
|
2936
|
+
case "STATE_TRACKING":
|
|
2937
|
+
return SotState_State.STATE_TRACKING;
|
|
2938
|
+
case 3:
|
|
2939
|
+
case "STATE_LOST":
|
|
2940
|
+
return SotState_State.STATE_LOST;
|
|
2941
|
+
case -1:
|
|
2942
|
+
case "UNRECOGNIZED":
|
|
2943
|
+
default:
|
|
2944
|
+
return SotState_State.UNRECOGNIZED;
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
function sotState_StateToJSON(object) {
|
|
2948
|
+
switch (object) {
|
|
2949
|
+
case SotState_State.STATE_UNSPECIFIED:
|
|
2950
|
+
return "STATE_UNSPECIFIED";
|
|
2951
|
+
case SotState_State.STATE_IDLE:
|
|
2952
|
+
return "STATE_IDLE";
|
|
2953
|
+
case SotState_State.STATE_TRACKING:
|
|
2954
|
+
return "STATE_TRACKING";
|
|
2955
|
+
case SotState_State.STATE_LOST:
|
|
2956
|
+
return "STATE_LOST";
|
|
2957
|
+
case SotState_State.UNRECOGNIZED:
|
|
2958
|
+
default:
|
|
2959
|
+
return "UNRECOGNIZED";
|
|
2960
|
+
}
|
|
2961
|
+
}
|
|
2511
2962
|
function createBaseBinlogRecord() {
|
|
2512
2963
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2513
2964
|
}
|
|
@@ -3129,13 +3580,16 @@ exports.Lights = {
|
|
|
3129
3580
|
},
|
|
3130
3581
|
};
|
|
3131
3582
|
function createBaseLaser() {
|
|
3132
|
-
return { value: 0 };
|
|
3583
|
+
return { value: 0, modulated: false };
|
|
3133
3584
|
}
|
|
3134
3585
|
exports.Laser = {
|
|
3135
3586
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3136
3587
|
if (message.value !== 0) {
|
|
3137
3588
|
writer.uint32(13).float(message.value);
|
|
3138
3589
|
}
|
|
3590
|
+
if (message.modulated !== false) {
|
|
3591
|
+
writer.uint32(16).bool(message.modulated);
|
|
3592
|
+
}
|
|
3139
3593
|
return writer;
|
|
3140
3594
|
},
|
|
3141
3595
|
decode(input, length) {
|
|
@@ -3152,6 +3606,13 @@ exports.Laser = {
|
|
|
3152
3606
|
message.value = reader.float();
|
|
3153
3607
|
continue;
|
|
3154
3608
|
}
|
|
3609
|
+
case 2: {
|
|
3610
|
+
if (tag !== 16) {
|
|
3611
|
+
break;
|
|
3612
|
+
}
|
|
3613
|
+
message.modulated = reader.bool();
|
|
3614
|
+
continue;
|
|
3615
|
+
}
|
|
3155
3616
|
}
|
|
3156
3617
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3157
3618
|
break;
|
|
@@ -3161,13 +3622,19 @@ exports.Laser = {
|
|
|
3161
3622
|
return message;
|
|
3162
3623
|
},
|
|
3163
3624
|
fromJSON(object) {
|
|
3164
|
-
return {
|
|
3625
|
+
return {
|
|
3626
|
+
value: isSet(object.value) ? gt.Number(object.value) : 0,
|
|
3627
|
+
modulated: isSet(object.modulated) ? gt.Boolean(object.modulated) : false,
|
|
3628
|
+
};
|
|
3165
3629
|
},
|
|
3166
3630
|
toJSON(message) {
|
|
3167
3631
|
const obj = {};
|
|
3168
3632
|
if (message.value !== 0) {
|
|
3169
3633
|
obj.value = message.value;
|
|
3170
3634
|
}
|
|
3635
|
+
if (message.modulated !== false) {
|
|
3636
|
+
obj.modulated = message.modulated;
|
|
3637
|
+
}
|
|
3171
3638
|
return obj;
|
|
3172
3639
|
},
|
|
3173
3640
|
create(base) {
|
|
@@ -3176,41 +3643,42 @@ exports.Laser = {
|
|
|
3176
3643
|
fromPartial(object) {
|
|
3177
3644
|
const message = createBaseLaser();
|
|
3178
3645
|
message.value = object.value ?? 0;
|
|
3646
|
+
message.modulated = object.modulated ?? false;
|
|
3179
3647
|
return message;
|
|
3180
3648
|
},
|
|
3181
3649
|
};
|
|
3182
|
-
function
|
|
3183
|
-
return {
|
|
3650
|
+
function createBasePoint2D() {
|
|
3651
|
+
return { x: 0, y: 0 };
|
|
3184
3652
|
}
|
|
3185
|
-
exports.
|
|
3653
|
+
exports.Point2D = {
|
|
3186
3654
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3187
|
-
if (message.
|
|
3188
|
-
writer.uint32(
|
|
3655
|
+
if (message.x !== 0) {
|
|
3656
|
+
writer.uint32(13).float(message.x);
|
|
3189
3657
|
}
|
|
3190
|
-
if (message.
|
|
3191
|
-
writer.uint32(
|
|
3658
|
+
if (message.y !== 0) {
|
|
3659
|
+
writer.uint32(21).float(message.y);
|
|
3192
3660
|
}
|
|
3193
3661
|
return writer;
|
|
3194
3662
|
},
|
|
3195
3663
|
decode(input, length) {
|
|
3196
3664
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3197
3665
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3198
|
-
const message =
|
|
3666
|
+
const message = createBasePoint2D();
|
|
3199
3667
|
while (reader.pos < end) {
|
|
3200
3668
|
const tag = reader.uint32();
|
|
3201
3669
|
switch (tag >>> 3) {
|
|
3202
3670
|
case 1: {
|
|
3203
|
-
if (tag !==
|
|
3671
|
+
if (tag !== 13) {
|
|
3204
3672
|
break;
|
|
3205
3673
|
}
|
|
3206
|
-
message.
|
|
3674
|
+
message.x = reader.float();
|
|
3207
3675
|
continue;
|
|
3208
3676
|
}
|
|
3209
3677
|
case 2: {
|
|
3210
|
-
if (tag !==
|
|
3678
|
+
if (tag !== 21) {
|
|
3211
3679
|
break;
|
|
3212
3680
|
}
|
|
3213
|
-
message.
|
|
3681
|
+
message.y = reader.float();
|
|
3214
3682
|
continue;
|
|
3215
3683
|
}
|
|
3216
3684
|
}
|
|
@@ -3222,45 +3690,80 @@ exports.LatLongPosition = {
|
|
|
3222
3690
|
return message;
|
|
3223
3691
|
},
|
|
3224
3692
|
fromJSON(object) {
|
|
3225
|
-
return {
|
|
3226
|
-
latitude: isSet(object.latitude) ? gt.Number(object.latitude) : 0,
|
|
3227
|
-
longitude: isSet(object.longitude) ? gt.Number(object.longitude) : 0,
|
|
3228
|
-
};
|
|
3693
|
+
return { x: isSet(object.x) ? gt.Number(object.x) : 0, y: isSet(object.y) ? gt.Number(object.y) : 0 };
|
|
3229
3694
|
},
|
|
3230
3695
|
toJSON(message) {
|
|
3231
3696
|
const obj = {};
|
|
3232
|
-
if (message.
|
|
3233
|
-
obj.
|
|
3697
|
+
if (message.x !== 0) {
|
|
3698
|
+
obj.x = message.x;
|
|
3234
3699
|
}
|
|
3235
|
-
if (message.
|
|
3236
|
-
obj.
|
|
3700
|
+
if (message.y !== 0) {
|
|
3701
|
+
obj.y = message.y;
|
|
3237
3702
|
}
|
|
3238
3703
|
return obj;
|
|
3239
3704
|
},
|
|
3240
3705
|
create(base) {
|
|
3241
|
-
return exports.
|
|
3706
|
+
return exports.Point2D.fromPartial(base ?? {});
|
|
3242
3707
|
},
|
|
3243
3708
|
fromPartial(object) {
|
|
3244
|
-
const message =
|
|
3245
|
-
message.
|
|
3246
|
-
message.
|
|
3709
|
+
const message = createBasePoint2D();
|
|
3710
|
+
message.x = object.x ?? 0;
|
|
3711
|
+
message.y = object.y ?? 0;
|
|
3247
3712
|
return message;
|
|
3248
3713
|
},
|
|
3249
3714
|
};
|
|
3250
|
-
function
|
|
3251
|
-
return {
|
|
3715
|
+
function createBaseLaserDetection() {
|
|
3716
|
+
return {
|
|
3717
|
+
detected: false,
|
|
3718
|
+
dot1: undefined,
|
|
3719
|
+
dot2: undefined,
|
|
3720
|
+
pixelDistance: 0,
|
|
3721
|
+
confidence: 0,
|
|
3722
|
+
imageWidth: 0,
|
|
3723
|
+
imageHeight: 0,
|
|
3724
|
+
laserWidth: 0,
|
|
3725
|
+
correctedPixelDistance: 0,
|
|
3726
|
+
estimatedDistance: 0,
|
|
3727
|
+
};
|
|
3252
3728
|
}
|
|
3253
|
-
exports.
|
|
3729
|
+
exports.LaserDetection = {
|
|
3254
3730
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3255
|
-
if (message.
|
|
3256
|
-
writer.uint32(8).
|
|
3731
|
+
if (message.detected !== false) {
|
|
3732
|
+
writer.uint32(8).bool(message.detected);
|
|
3733
|
+
}
|
|
3734
|
+
if (message.dot1 !== undefined) {
|
|
3735
|
+
exports.Point2D.encode(message.dot1, writer.uint32(18).fork()).join();
|
|
3736
|
+
}
|
|
3737
|
+
if (message.dot2 !== undefined) {
|
|
3738
|
+
exports.Point2D.encode(message.dot2, writer.uint32(26).fork()).join();
|
|
3739
|
+
}
|
|
3740
|
+
if (message.pixelDistance !== 0) {
|
|
3741
|
+
writer.uint32(37).float(message.pixelDistance);
|
|
3742
|
+
}
|
|
3743
|
+
if (message.confidence !== 0) {
|
|
3744
|
+
writer.uint32(45).float(message.confidence);
|
|
3745
|
+
}
|
|
3746
|
+
if (message.imageWidth !== 0) {
|
|
3747
|
+
writer.uint32(48).uint32(message.imageWidth);
|
|
3748
|
+
}
|
|
3749
|
+
if (message.imageHeight !== 0) {
|
|
3750
|
+
writer.uint32(56).uint32(message.imageHeight);
|
|
3751
|
+
}
|
|
3752
|
+
if (message.laserWidth !== 0) {
|
|
3753
|
+
writer.uint32(69).float(message.laserWidth);
|
|
3754
|
+
}
|
|
3755
|
+
if (message.correctedPixelDistance !== 0) {
|
|
3756
|
+
writer.uint32(77).float(message.correctedPixelDistance);
|
|
3757
|
+
}
|
|
3758
|
+
if (message.estimatedDistance !== 0) {
|
|
3759
|
+
writer.uint32(85).float(message.estimatedDistance);
|
|
3257
3760
|
}
|
|
3258
3761
|
return writer;
|
|
3259
3762
|
},
|
|
3260
3763
|
decode(input, length) {
|
|
3261
3764
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3262
3765
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3263
|
-
const message =
|
|
3766
|
+
const message = createBaseLaserDetection();
|
|
3264
3767
|
while (reader.pos < end) {
|
|
3265
3768
|
const tag = reader.uint32();
|
|
3266
3769
|
switch (tag >>> 3) {
|
|
@@ -3268,7 +3771,70 @@ exports.ConnectionDuration = {
|
|
|
3268
3771
|
if (tag !== 8) {
|
|
3269
3772
|
break;
|
|
3270
3773
|
}
|
|
3271
|
-
message.
|
|
3774
|
+
message.detected = reader.bool();
|
|
3775
|
+
continue;
|
|
3776
|
+
}
|
|
3777
|
+
case 2: {
|
|
3778
|
+
if (tag !== 18) {
|
|
3779
|
+
break;
|
|
3780
|
+
}
|
|
3781
|
+
message.dot1 = exports.Point2D.decode(reader, reader.uint32());
|
|
3782
|
+
continue;
|
|
3783
|
+
}
|
|
3784
|
+
case 3: {
|
|
3785
|
+
if (tag !== 26) {
|
|
3786
|
+
break;
|
|
3787
|
+
}
|
|
3788
|
+
message.dot2 = exports.Point2D.decode(reader, reader.uint32());
|
|
3789
|
+
continue;
|
|
3790
|
+
}
|
|
3791
|
+
case 4: {
|
|
3792
|
+
if (tag !== 37) {
|
|
3793
|
+
break;
|
|
3794
|
+
}
|
|
3795
|
+
message.pixelDistance = reader.float();
|
|
3796
|
+
continue;
|
|
3797
|
+
}
|
|
3798
|
+
case 5: {
|
|
3799
|
+
if (tag !== 45) {
|
|
3800
|
+
break;
|
|
3801
|
+
}
|
|
3802
|
+
message.confidence = reader.float();
|
|
3803
|
+
continue;
|
|
3804
|
+
}
|
|
3805
|
+
case 6: {
|
|
3806
|
+
if (tag !== 48) {
|
|
3807
|
+
break;
|
|
3808
|
+
}
|
|
3809
|
+
message.imageWidth = reader.uint32();
|
|
3810
|
+
continue;
|
|
3811
|
+
}
|
|
3812
|
+
case 7: {
|
|
3813
|
+
if (tag !== 56) {
|
|
3814
|
+
break;
|
|
3815
|
+
}
|
|
3816
|
+
message.imageHeight = reader.uint32();
|
|
3817
|
+
continue;
|
|
3818
|
+
}
|
|
3819
|
+
case 8: {
|
|
3820
|
+
if (tag !== 69) {
|
|
3821
|
+
break;
|
|
3822
|
+
}
|
|
3823
|
+
message.laserWidth = reader.float();
|
|
3824
|
+
continue;
|
|
3825
|
+
}
|
|
3826
|
+
case 9: {
|
|
3827
|
+
if (tag !== 77) {
|
|
3828
|
+
break;
|
|
3829
|
+
}
|
|
3830
|
+
message.correctedPixelDistance = reader.float();
|
|
3831
|
+
continue;
|
|
3832
|
+
}
|
|
3833
|
+
case 10: {
|
|
3834
|
+
if (tag !== 85) {
|
|
3835
|
+
break;
|
|
3836
|
+
}
|
|
3837
|
+
message.estimatedDistance = reader.float();
|
|
3272
3838
|
continue;
|
|
3273
3839
|
}
|
|
3274
3840
|
}
|
|
@@ -3280,22 +3846,188 @@ exports.ConnectionDuration = {
|
|
|
3280
3846
|
return message;
|
|
3281
3847
|
},
|
|
3282
3848
|
fromJSON(object) {
|
|
3283
|
-
return {
|
|
3849
|
+
return {
|
|
3850
|
+
detected: isSet(object.detected) ? gt.Boolean(object.detected) : false,
|
|
3851
|
+
dot1: isSet(object.dot1) ? exports.Point2D.fromJSON(object.dot1) : undefined,
|
|
3852
|
+
dot2: isSet(object.dot2) ? exports.Point2D.fromJSON(object.dot2) : undefined,
|
|
3853
|
+
pixelDistance: isSet(object.pixelDistance) ? gt.Number(object.pixelDistance) : 0,
|
|
3854
|
+
confidence: isSet(object.confidence) ? gt.Number(object.confidence) : 0,
|
|
3855
|
+
imageWidth: isSet(object.imageWidth) ? gt.Number(object.imageWidth) : 0,
|
|
3856
|
+
imageHeight: isSet(object.imageHeight) ? gt.Number(object.imageHeight) : 0,
|
|
3857
|
+
laserWidth: isSet(object.laserWidth) ? gt.Number(object.laserWidth) : 0,
|
|
3858
|
+
correctedPixelDistance: isSet(object.correctedPixelDistance) ? gt.Number(object.correctedPixelDistance) : 0,
|
|
3859
|
+
estimatedDistance: isSet(object.estimatedDistance) ? gt.Number(object.estimatedDistance) : 0,
|
|
3860
|
+
};
|
|
3284
3861
|
},
|
|
3285
3862
|
toJSON(message) {
|
|
3286
3863
|
const obj = {};
|
|
3287
|
-
if (message.
|
|
3288
|
-
obj.
|
|
3864
|
+
if (message.detected !== false) {
|
|
3865
|
+
obj.detected = message.detected;
|
|
3289
3866
|
}
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3867
|
+
if (message.dot1 !== undefined) {
|
|
3868
|
+
obj.dot1 = exports.Point2D.toJSON(message.dot1);
|
|
3869
|
+
}
|
|
3870
|
+
if (message.dot2 !== undefined) {
|
|
3871
|
+
obj.dot2 = exports.Point2D.toJSON(message.dot2);
|
|
3872
|
+
}
|
|
3873
|
+
if (message.pixelDistance !== 0) {
|
|
3874
|
+
obj.pixelDistance = message.pixelDistance;
|
|
3875
|
+
}
|
|
3876
|
+
if (message.confidence !== 0) {
|
|
3877
|
+
obj.confidence = message.confidence;
|
|
3878
|
+
}
|
|
3879
|
+
if (message.imageWidth !== 0) {
|
|
3880
|
+
obj.imageWidth = Math.round(message.imageWidth);
|
|
3881
|
+
}
|
|
3882
|
+
if (message.imageHeight !== 0) {
|
|
3883
|
+
obj.imageHeight = Math.round(message.imageHeight);
|
|
3884
|
+
}
|
|
3885
|
+
if (message.laserWidth !== 0) {
|
|
3886
|
+
obj.laserWidth = message.laserWidth;
|
|
3887
|
+
}
|
|
3888
|
+
if (message.correctedPixelDistance !== 0) {
|
|
3889
|
+
obj.correctedPixelDistance = message.correctedPixelDistance;
|
|
3890
|
+
}
|
|
3891
|
+
if (message.estimatedDistance !== 0) {
|
|
3892
|
+
obj.estimatedDistance = message.estimatedDistance;
|
|
3893
|
+
}
|
|
3894
|
+
return obj;
|
|
3895
|
+
},
|
|
3896
|
+
create(base) {
|
|
3897
|
+
return exports.LaserDetection.fromPartial(base ?? {});
|
|
3898
|
+
},
|
|
3899
|
+
fromPartial(object) {
|
|
3900
|
+
const message = createBaseLaserDetection();
|
|
3901
|
+
message.detected = object.detected ?? false;
|
|
3902
|
+
message.dot1 = (object.dot1 !== undefined && object.dot1 !== null) ? exports.Point2D.fromPartial(object.dot1) : undefined;
|
|
3903
|
+
message.dot2 = (object.dot2 !== undefined && object.dot2 !== null) ? exports.Point2D.fromPartial(object.dot2) : undefined;
|
|
3904
|
+
message.pixelDistance = object.pixelDistance ?? 0;
|
|
3905
|
+
message.confidence = object.confidence ?? 0;
|
|
3906
|
+
message.imageWidth = object.imageWidth ?? 0;
|
|
3907
|
+
message.imageHeight = object.imageHeight ?? 0;
|
|
3908
|
+
message.laserWidth = object.laserWidth ?? 0;
|
|
3909
|
+
message.correctedPixelDistance = object.correctedPixelDistance ?? 0;
|
|
3910
|
+
message.estimatedDistance = object.estimatedDistance ?? 0;
|
|
3911
|
+
return message;
|
|
3912
|
+
},
|
|
3913
|
+
};
|
|
3914
|
+
function createBaseLatLongPosition() {
|
|
3915
|
+
return { latitude: 0, longitude: 0 };
|
|
3916
|
+
}
|
|
3917
|
+
exports.LatLongPosition = {
|
|
3918
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3919
|
+
if (message.latitude !== 0) {
|
|
3920
|
+
writer.uint32(9).double(message.latitude);
|
|
3921
|
+
}
|
|
3922
|
+
if (message.longitude !== 0) {
|
|
3923
|
+
writer.uint32(17).double(message.longitude);
|
|
3924
|
+
}
|
|
3925
|
+
return writer;
|
|
3926
|
+
},
|
|
3927
|
+
decode(input, length) {
|
|
3928
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3929
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3930
|
+
const message = createBaseLatLongPosition();
|
|
3931
|
+
while (reader.pos < end) {
|
|
3932
|
+
const tag = reader.uint32();
|
|
3933
|
+
switch (tag >>> 3) {
|
|
3934
|
+
case 1: {
|
|
3935
|
+
if (tag !== 9) {
|
|
3936
|
+
break;
|
|
3937
|
+
}
|
|
3938
|
+
message.latitude = reader.double();
|
|
3939
|
+
continue;
|
|
3940
|
+
}
|
|
3941
|
+
case 2: {
|
|
3942
|
+
if (tag !== 17) {
|
|
3943
|
+
break;
|
|
3944
|
+
}
|
|
3945
|
+
message.longitude = reader.double();
|
|
3946
|
+
continue;
|
|
3947
|
+
}
|
|
3948
|
+
}
|
|
3949
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3950
|
+
break;
|
|
3951
|
+
}
|
|
3952
|
+
reader.skip(tag & 7);
|
|
3953
|
+
}
|
|
3954
|
+
return message;
|
|
3955
|
+
},
|
|
3956
|
+
fromJSON(object) {
|
|
3957
|
+
return {
|
|
3958
|
+
latitude: isSet(object.latitude) ? gt.Number(object.latitude) : 0,
|
|
3959
|
+
longitude: isSet(object.longitude) ? gt.Number(object.longitude) : 0,
|
|
3960
|
+
};
|
|
3961
|
+
},
|
|
3962
|
+
toJSON(message) {
|
|
3963
|
+
const obj = {};
|
|
3964
|
+
if (message.latitude !== 0) {
|
|
3965
|
+
obj.latitude = message.latitude;
|
|
3966
|
+
}
|
|
3967
|
+
if (message.longitude !== 0) {
|
|
3968
|
+
obj.longitude = message.longitude;
|
|
3969
|
+
}
|
|
3970
|
+
return obj;
|
|
3971
|
+
},
|
|
3972
|
+
create(base) {
|
|
3973
|
+
return exports.LatLongPosition.fromPartial(base ?? {});
|
|
3974
|
+
},
|
|
3975
|
+
fromPartial(object) {
|
|
3976
|
+
const message = createBaseLatLongPosition();
|
|
3977
|
+
message.latitude = object.latitude ?? 0;
|
|
3978
|
+
message.longitude = object.longitude ?? 0;
|
|
3979
|
+
return message;
|
|
3980
|
+
},
|
|
3981
|
+
};
|
|
3982
|
+
function createBaseConnectionDuration() {
|
|
3983
|
+
return { value: 0 };
|
|
3984
|
+
}
|
|
3985
|
+
exports.ConnectionDuration = {
|
|
3986
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3987
|
+
if (message.value !== 0) {
|
|
3988
|
+
writer.uint32(8).int32(message.value);
|
|
3989
|
+
}
|
|
3990
|
+
return writer;
|
|
3991
|
+
},
|
|
3992
|
+
decode(input, length) {
|
|
3993
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3994
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3995
|
+
const message = createBaseConnectionDuration();
|
|
3996
|
+
while (reader.pos < end) {
|
|
3997
|
+
const tag = reader.uint32();
|
|
3998
|
+
switch (tag >>> 3) {
|
|
3999
|
+
case 1: {
|
|
4000
|
+
if (tag !== 8) {
|
|
4001
|
+
break;
|
|
4002
|
+
}
|
|
4003
|
+
message.value = reader.int32();
|
|
4004
|
+
continue;
|
|
4005
|
+
}
|
|
4006
|
+
}
|
|
4007
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4008
|
+
break;
|
|
4009
|
+
}
|
|
4010
|
+
reader.skip(tag & 7);
|
|
4011
|
+
}
|
|
4012
|
+
return message;
|
|
4013
|
+
},
|
|
4014
|
+
fromJSON(object) {
|
|
4015
|
+
return { value: isSet(object.value) ? gt.Number(object.value) : 0 };
|
|
4016
|
+
},
|
|
4017
|
+
toJSON(message) {
|
|
4018
|
+
const obj = {};
|
|
4019
|
+
if (message.value !== 0) {
|
|
4020
|
+
obj.value = Math.round(message.value);
|
|
4021
|
+
}
|
|
4022
|
+
return obj;
|
|
4023
|
+
},
|
|
4024
|
+
create(base) {
|
|
4025
|
+
return exports.ConnectionDuration.fromPartial(base ?? {});
|
|
4026
|
+
},
|
|
4027
|
+
fromPartial(object) {
|
|
4028
|
+
const message = createBaseConnectionDuration();
|
|
4029
|
+
message.value = object.value ?? 0;
|
|
4030
|
+
return message;
|
|
3299
4031
|
},
|
|
3300
4032
|
};
|
|
3301
4033
|
function createBaseAutoHeadingState() {
|
|
@@ -3655,6 +4387,220 @@ exports.AutoPilotHeaveState = {
|
|
|
3655
4387
|
return message;
|
|
3656
4388
|
},
|
|
3657
4389
|
};
|
|
4390
|
+
function createBaseSpotlightState() {
|
|
4391
|
+
return {};
|
|
4392
|
+
}
|
|
4393
|
+
exports.SpotlightState = {
|
|
4394
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
4395
|
+
return writer;
|
|
4396
|
+
},
|
|
4397
|
+
decode(input, length) {
|
|
4398
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4399
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4400
|
+
const message = createBaseSpotlightState();
|
|
4401
|
+
while (reader.pos < end) {
|
|
4402
|
+
const tag = reader.uint32();
|
|
4403
|
+
switch (tag >>> 3) {
|
|
4404
|
+
}
|
|
4405
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4406
|
+
break;
|
|
4407
|
+
}
|
|
4408
|
+
reader.skip(tag & 7);
|
|
4409
|
+
}
|
|
4410
|
+
return message;
|
|
4411
|
+
},
|
|
4412
|
+
fromJSON(_) {
|
|
4413
|
+
return {};
|
|
4414
|
+
},
|
|
4415
|
+
toJSON(_) {
|
|
4416
|
+
const obj = {};
|
|
4417
|
+
return obj;
|
|
4418
|
+
},
|
|
4419
|
+
create(base) {
|
|
4420
|
+
return exports.SpotlightState.fromPartial(base ?? {});
|
|
4421
|
+
},
|
|
4422
|
+
fromPartial(_) {
|
|
4423
|
+
const message = createBaseSpotlightState();
|
|
4424
|
+
return message;
|
|
4425
|
+
},
|
|
4426
|
+
};
|
|
4427
|
+
function createBaseActiveTrackState() {
|
|
4428
|
+
return {};
|
|
4429
|
+
}
|
|
4430
|
+
exports.ActiveTrackState = {
|
|
4431
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
4432
|
+
return writer;
|
|
4433
|
+
},
|
|
4434
|
+
decode(input, length) {
|
|
4435
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4436
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4437
|
+
const message = createBaseActiveTrackState();
|
|
4438
|
+
while (reader.pos < end) {
|
|
4439
|
+
const tag = reader.uint32();
|
|
4440
|
+
switch (tag >>> 3) {
|
|
4441
|
+
}
|
|
4442
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4443
|
+
break;
|
|
4444
|
+
}
|
|
4445
|
+
reader.skip(tag & 7);
|
|
4446
|
+
}
|
|
4447
|
+
return message;
|
|
4448
|
+
},
|
|
4449
|
+
fromJSON(_) {
|
|
4450
|
+
return {};
|
|
4451
|
+
},
|
|
4452
|
+
toJSON(_) {
|
|
4453
|
+
const obj = {};
|
|
4454
|
+
return obj;
|
|
4455
|
+
},
|
|
4456
|
+
create(base) {
|
|
4457
|
+
return exports.ActiveTrackState.fromPartial(base ?? {});
|
|
4458
|
+
},
|
|
4459
|
+
fromPartial(_) {
|
|
4460
|
+
const message = createBaseActiveTrackState();
|
|
4461
|
+
return message;
|
|
4462
|
+
},
|
|
4463
|
+
};
|
|
4464
|
+
function createBaseOrbitState() {
|
|
4465
|
+
return { rate: 0 };
|
|
4466
|
+
}
|
|
4467
|
+
exports.OrbitState = {
|
|
4468
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4469
|
+
if (message.rate !== 0) {
|
|
4470
|
+
writer.uint32(13).float(message.rate);
|
|
4471
|
+
}
|
|
4472
|
+
return writer;
|
|
4473
|
+
},
|
|
4474
|
+
decode(input, length) {
|
|
4475
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4476
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4477
|
+
const message = createBaseOrbitState();
|
|
4478
|
+
while (reader.pos < end) {
|
|
4479
|
+
const tag = reader.uint32();
|
|
4480
|
+
switch (tag >>> 3) {
|
|
4481
|
+
case 1: {
|
|
4482
|
+
if (tag !== 13) {
|
|
4483
|
+
break;
|
|
4484
|
+
}
|
|
4485
|
+
message.rate = reader.float();
|
|
4486
|
+
continue;
|
|
4487
|
+
}
|
|
4488
|
+
}
|
|
4489
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4490
|
+
break;
|
|
4491
|
+
}
|
|
4492
|
+
reader.skip(tag & 7);
|
|
4493
|
+
}
|
|
4494
|
+
return message;
|
|
4495
|
+
},
|
|
4496
|
+
fromJSON(object) {
|
|
4497
|
+
return { rate: isSet(object.rate) ? gt.Number(object.rate) : 0 };
|
|
4498
|
+
},
|
|
4499
|
+
toJSON(message) {
|
|
4500
|
+
const obj = {};
|
|
4501
|
+
if (message.rate !== 0) {
|
|
4502
|
+
obj.rate = message.rate;
|
|
4503
|
+
}
|
|
4504
|
+
return obj;
|
|
4505
|
+
},
|
|
4506
|
+
create(base) {
|
|
4507
|
+
return exports.OrbitState.fromPartial(base ?? {});
|
|
4508
|
+
},
|
|
4509
|
+
fromPartial(object) {
|
|
4510
|
+
const message = createBaseOrbitState();
|
|
4511
|
+
message.rate = object.rate ?? 0;
|
|
4512
|
+
return message;
|
|
4513
|
+
},
|
|
4514
|
+
};
|
|
4515
|
+
function createBaseVisionTrackingState() {
|
|
4516
|
+
return { spotlight: undefined, activeTrack: undefined, orbit: undefined };
|
|
4517
|
+
}
|
|
4518
|
+
exports.VisionTrackingState = {
|
|
4519
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4520
|
+
if (message.spotlight !== undefined) {
|
|
4521
|
+
exports.SpotlightState.encode(message.spotlight, writer.uint32(10).fork()).join();
|
|
4522
|
+
}
|
|
4523
|
+
if (message.activeTrack !== undefined) {
|
|
4524
|
+
exports.ActiveTrackState.encode(message.activeTrack, writer.uint32(18).fork()).join();
|
|
4525
|
+
}
|
|
4526
|
+
if (message.orbit !== undefined) {
|
|
4527
|
+
exports.OrbitState.encode(message.orbit, writer.uint32(26).fork()).join();
|
|
4528
|
+
}
|
|
4529
|
+
return writer;
|
|
4530
|
+
},
|
|
4531
|
+
decode(input, length) {
|
|
4532
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4533
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4534
|
+
const message = createBaseVisionTrackingState();
|
|
4535
|
+
while (reader.pos < end) {
|
|
4536
|
+
const tag = reader.uint32();
|
|
4537
|
+
switch (tag >>> 3) {
|
|
4538
|
+
case 1: {
|
|
4539
|
+
if (tag !== 10) {
|
|
4540
|
+
break;
|
|
4541
|
+
}
|
|
4542
|
+
message.spotlight = exports.SpotlightState.decode(reader, reader.uint32());
|
|
4543
|
+
continue;
|
|
4544
|
+
}
|
|
4545
|
+
case 2: {
|
|
4546
|
+
if (tag !== 18) {
|
|
4547
|
+
break;
|
|
4548
|
+
}
|
|
4549
|
+
message.activeTrack = exports.ActiveTrackState.decode(reader, reader.uint32());
|
|
4550
|
+
continue;
|
|
4551
|
+
}
|
|
4552
|
+
case 3: {
|
|
4553
|
+
if (tag !== 26) {
|
|
4554
|
+
break;
|
|
4555
|
+
}
|
|
4556
|
+
message.orbit = exports.OrbitState.decode(reader, reader.uint32());
|
|
4557
|
+
continue;
|
|
4558
|
+
}
|
|
4559
|
+
}
|
|
4560
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4561
|
+
break;
|
|
4562
|
+
}
|
|
4563
|
+
reader.skip(tag & 7);
|
|
4564
|
+
}
|
|
4565
|
+
return message;
|
|
4566
|
+
},
|
|
4567
|
+
fromJSON(object) {
|
|
4568
|
+
return {
|
|
4569
|
+
spotlight: isSet(object.spotlight) ? exports.SpotlightState.fromJSON(object.spotlight) : undefined,
|
|
4570
|
+
activeTrack: isSet(object.activeTrack) ? exports.ActiveTrackState.fromJSON(object.activeTrack) : undefined,
|
|
4571
|
+
orbit: isSet(object.orbit) ? exports.OrbitState.fromJSON(object.orbit) : undefined,
|
|
4572
|
+
};
|
|
4573
|
+
},
|
|
4574
|
+
toJSON(message) {
|
|
4575
|
+
const obj = {};
|
|
4576
|
+
if (message.spotlight !== undefined) {
|
|
4577
|
+
obj.spotlight = exports.SpotlightState.toJSON(message.spotlight);
|
|
4578
|
+
}
|
|
4579
|
+
if (message.activeTrack !== undefined) {
|
|
4580
|
+
obj.activeTrack = exports.ActiveTrackState.toJSON(message.activeTrack);
|
|
4581
|
+
}
|
|
4582
|
+
if (message.orbit !== undefined) {
|
|
4583
|
+
obj.orbit = exports.OrbitState.toJSON(message.orbit);
|
|
4584
|
+
}
|
|
4585
|
+
return obj;
|
|
4586
|
+
},
|
|
4587
|
+
create(base) {
|
|
4588
|
+
return exports.VisionTrackingState.fromPartial(base ?? {});
|
|
4589
|
+
},
|
|
4590
|
+
fromPartial(object) {
|
|
4591
|
+
const message = createBaseVisionTrackingState();
|
|
4592
|
+
message.spotlight = (object.spotlight !== undefined && object.spotlight !== null)
|
|
4593
|
+
? exports.SpotlightState.fromPartial(object.spotlight)
|
|
4594
|
+
: undefined;
|
|
4595
|
+
message.activeTrack = (object.activeTrack !== undefined && object.activeTrack !== null)
|
|
4596
|
+
? exports.ActiveTrackState.fromPartial(object.activeTrack)
|
|
4597
|
+
: undefined;
|
|
4598
|
+
message.orbit = (object.orbit !== undefined && object.orbit !== null)
|
|
4599
|
+
? exports.OrbitState.fromPartial(object.orbit)
|
|
4600
|
+
: undefined;
|
|
4601
|
+
return message;
|
|
4602
|
+
},
|
|
4603
|
+
};
|
|
3658
4604
|
function createBaseControlMode() {
|
|
3659
4605
|
return {
|
|
3660
4606
|
autoDepth: false,
|
|
@@ -3664,6 +4610,7 @@ function createBaseControlMode() {
|
|
|
3664
4610
|
weatherVaning: false,
|
|
3665
4611
|
autoPilotSurgeYaw: false,
|
|
3666
4612
|
autoPilotHeave: false,
|
|
4613
|
+
visionTracking: undefined,
|
|
3667
4614
|
};
|
|
3668
4615
|
}
|
|
3669
4616
|
exports.ControlMode = {
|
|
@@ -3689,6 +4636,9 @@ exports.ControlMode = {
|
|
|
3689
4636
|
if (message.autoPilotHeave !== false) {
|
|
3690
4637
|
writer.uint32(56).bool(message.autoPilotHeave);
|
|
3691
4638
|
}
|
|
4639
|
+
if (message.visionTracking !== undefined) {
|
|
4640
|
+
exports.VisionTrackingState.encode(message.visionTracking, writer.uint32(66).fork()).join();
|
|
4641
|
+
}
|
|
3692
4642
|
return writer;
|
|
3693
4643
|
},
|
|
3694
4644
|
decode(input, length) {
|
|
@@ -3747,6 +4697,13 @@ exports.ControlMode = {
|
|
|
3747
4697
|
message.autoPilotHeave = reader.bool();
|
|
3748
4698
|
continue;
|
|
3749
4699
|
}
|
|
4700
|
+
case 8: {
|
|
4701
|
+
if (tag !== 66) {
|
|
4702
|
+
break;
|
|
4703
|
+
}
|
|
4704
|
+
message.visionTracking = exports.VisionTrackingState.decode(reader, reader.uint32());
|
|
4705
|
+
continue;
|
|
4706
|
+
}
|
|
3750
4707
|
}
|
|
3751
4708
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3752
4709
|
break;
|
|
@@ -3764,6 +4721,7 @@ exports.ControlMode = {
|
|
|
3764
4721
|
weatherVaning: isSet(object.weatherVaning) ? gt.Boolean(object.weatherVaning) : false,
|
|
3765
4722
|
autoPilotSurgeYaw: isSet(object.autoPilotSurgeYaw) ? gt.Boolean(object.autoPilotSurgeYaw) : false,
|
|
3766
4723
|
autoPilotHeave: isSet(object.autoPilotHeave) ? gt.Boolean(object.autoPilotHeave) : false,
|
|
4724
|
+
visionTracking: isSet(object.visionTracking) ? exports.VisionTrackingState.fromJSON(object.visionTracking) : undefined,
|
|
3767
4725
|
};
|
|
3768
4726
|
},
|
|
3769
4727
|
toJSON(message) {
|
|
@@ -3789,6 +4747,9 @@ exports.ControlMode = {
|
|
|
3789
4747
|
if (message.autoPilotHeave !== false) {
|
|
3790
4748
|
obj.autoPilotHeave = message.autoPilotHeave;
|
|
3791
4749
|
}
|
|
4750
|
+
if (message.visionTracking !== undefined) {
|
|
4751
|
+
obj.visionTracking = exports.VisionTrackingState.toJSON(message.visionTracking);
|
|
4752
|
+
}
|
|
3792
4753
|
return obj;
|
|
3793
4754
|
},
|
|
3794
4755
|
create(base) {
|
|
@@ -3803,6 +4764,9 @@ exports.ControlMode = {
|
|
|
3803
4764
|
message.weatherVaning = object.weatherVaning ?? false;
|
|
3804
4765
|
message.autoPilotSurgeYaw = object.autoPilotSurgeYaw ?? false;
|
|
3805
4766
|
message.autoPilotHeave = object.autoPilotHeave ?? false;
|
|
4767
|
+
message.visionTracking = (object.visionTracking !== undefined && object.visionTracking !== null)
|
|
4768
|
+
? exports.VisionTrackingState.fromPartial(object.visionTracking)
|
|
4769
|
+
: undefined;
|
|
3806
4770
|
return message;
|
|
3807
4771
|
},
|
|
3808
4772
|
};
|
|
@@ -9086,7 +10050,280 @@ exports.TiltVelocity = {
|
|
|
9086
10050
|
if (tag !== 13) {
|
|
9087
10051
|
break;
|
|
9088
10052
|
}
|
|
9089
|
-
message.value = reader.float();
|
|
10053
|
+
message.value = reader.float();
|
|
10054
|
+
continue;
|
|
10055
|
+
}
|
|
10056
|
+
}
|
|
10057
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
10058
|
+
break;
|
|
10059
|
+
}
|
|
10060
|
+
reader.skip(tag & 7);
|
|
10061
|
+
}
|
|
10062
|
+
return message;
|
|
10063
|
+
},
|
|
10064
|
+
fromJSON(object) {
|
|
10065
|
+
return { value: isSet(object.value) ? gt.Number(object.value) : 0 };
|
|
10066
|
+
},
|
|
10067
|
+
toJSON(message) {
|
|
10068
|
+
const obj = {};
|
|
10069
|
+
if (message.value !== 0) {
|
|
10070
|
+
obj.value = message.value;
|
|
10071
|
+
}
|
|
10072
|
+
return obj;
|
|
10073
|
+
},
|
|
10074
|
+
create(base) {
|
|
10075
|
+
return exports.TiltVelocity.fromPartial(base ?? {});
|
|
10076
|
+
},
|
|
10077
|
+
fromPartial(object) {
|
|
10078
|
+
const message = createBaseTiltVelocity();
|
|
10079
|
+
message.value = object.value ?? 0;
|
|
10080
|
+
return message;
|
|
10081
|
+
},
|
|
10082
|
+
};
|
|
10083
|
+
function createBaseCvModelInfo() {
|
|
10084
|
+
return { name: "", type: 0, running: false, device: "", packageId: "", labels: [], state: 0 };
|
|
10085
|
+
}
|
|
10086
|
+
exports.CvModelInfo = {
|
|
10087
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
10088
|
+
if (message.name !== "") {
|
|
10089
|
+
writer.uint32(10).string(message.name);
|
|
10090
|
+
}
|
|
10091
|
+
if (message.type !== 0) {
|
|
10092
|
+
writer.uint32(16).int32(message.type);
|
|
10093
|
+
}
|
|
10094
|
+
if (message.running !== false) {
|
|
10095
|
+
writer.uint32(24).bool(message.running);
|
|
10096
|
+
}
|
|
10097
|
+
if (message.device !== "") {
|
|
10098
|
+
writer.uint32(34).string(message.device);
|
|
10099
|
+
}
|
|
10100
|
+
if (message.packageId !== "") {
|
|
10101
|
+
writer.uint32(42).string(message.packageId);
|
|
10102
|
+
}
|
|
10103
|
+
for (const v of message.labels) {
|
|
10104
|
+
writer.uint32(50).string(v);
|
|
10105
|
+
}
|
|
10106
|
+
if (message.state !== 0) {
|
|
10107
|
+
writer.uint32(56).int32(message.state);
|
|
10108
|
+
}
|
|
10109
|
+
return writer;
|
|
10110
|
+
},
|
|
10111
|
+
decode(input, length) {
|
|
10112
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10113
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10114
|
+
const message = createBaseCvModelInfo();
|
|
10115
|
+
while (reader.pos < end) {
|
|
10116
|
+
const tag = reader.uint32();
|
|
10117
|
+
switch (tag >>> 3) {
|
|
10118
|
+
case 1: {
|
|
10119
|
+
if (tag !== 10) {
|
|
10120
|
+
break;
|
|
10121
|
+
}
|
|
10122
|
+
message.name = reader.string();
|
|
10123
|
+
continue;
|
|
10124
|
+
}
|
|
10125
|
+
case 2: {
|
|
10126
|
+
if (tag !== 16) {
|
|
10127
|
+
break;
|
|
10128
|
+
}
|
|
10129
|
+
message.type = reader.int32();
|
|
10130
|
+
continue;
|
|
10131
|
+
}
|
|
10132
|
+
case 3: {
|
|
10133
|
+
if (tag !== 24) {
|
|
10134
|
+
break;
|
|
10135
|
+
}
|
|
10136
|
+
message.running = reader.bool();
|
|
10137
|
+
continue;
|
|
10138
|
+
}
|
|
10139
|
+
case 4: {
|
|
10140
|
+
if (tag !== 34) {
|
|
10141
|
+
break;
|
|
10142
|
+
}
|
|
10143
|
+
message.device = reader.string();
|
|
10144
|
+
continue;
|
|
10145
|
+
}
|
|
10146
|
+
case 5: {
|
|
10147
|
+
if (tag !== 42) {
|
|
10148
|
+
break;
|
|
10149
|
+
}
|
|
10150
|
+
message.packageId = reader.string();
|
|
10151
|
+
continue;
|
|
10152
|
+
}
|
|
10153
|
+
case 6: {
|
|
10154
|
+
if (tag !== 50) {
|
|
10155
|
+
break;
|
|
10156
|
+
}
|
|
10157
|
+
message.labels.push(reader.string());
|
|
10158
|
+
continue;
|
|
10159
|
+
}
|
|
10160
|
+
case 7: {
|
|
10161
|
+
if (tag !== 56) {
|
|
10162
|
+
break;
|
|
10163
|
+
}
|
|
10164
|
+
message.state = reader.int32();
|
|
10165
|
+
continue;
|
|
10166
|
+
}
|
|
10167
|
+
}
|
|
10168
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
10169
|
+
break;
|
|
10170
|
+
}
|
|
10171
|
+
reader.skip(tag & 7);
|
|
10172
|
+
}
|
|
10173
|
+
return message;
|
|
10174
|
+
},
|
|
10175
|
+
fromJSON(object) {
|
|
10176
|
+
return {
|
|
10177
|
+
name: isSet(object.name) ? gt.String(object.name) : "",
|
|
10178
|
+
type: isSet(object.type) ? cvModelInfo_ModelTypeFromJSON(object.type) : 0,
|
|
10179
|
+
running: isSet(object.running) ? gt.Boolean(object.running) : false,
|
|
10180
|
+
device: isSet(object.device) ? gt.String(object.device) : "",
|
|
10181
|
+
packageId: isSet(object.packageId) ? gt.String(object.packageId) : "",
|
|
10182
|
+
labels: gt.Array.isArray(object?.labels) ? object.labels.map((e) => gt.String(e)) : [],
|
|
10183
|
+
state: isSet(object.state) ? cvModelInfo_StateFromJSON(object.state) : 0,
|
|
10184
|
+
};
|
|
10185
|
+
},
|
|
10186
|
+
toJSON(message) {
|
|
10187
|
+
const obj = {};
|
|
10188
|
+
if (message.name !== "") {
|
|
10189
|
+
obj.name = message.name;
|
|
10190
|
+
}
|
|
10191
|
+
if (message.type !== 0) {
|
|
10192
|
+
obj.type = cvModelInfo_ModelTypeToJSON(message.type);
|
|
10193
|
+
}
|
|
10194
|
+
if (message.running !== false) {
|
|
10195
|
+
obj.running = message.running;
|
|
10196
|
+
}
|
|
10197
|
+
if (message.device !== "") {
|
|
10198
|
+
obj.device = message.device;
|
|
10199
|
+
}
|
|
10200
|
+
if (message.packageId !== "") {
|
|
10201
|
+
obj.packageId = message.packageId;
|
|
10202
|
+
}
|
|
10203
|
+
if (message.labels?.length) {
|
|
10204
|
+
obj.labels = message.labels;
|
|
10205
|
+
}
|
|
10206
|
+
if (message.state !== 0) {
|
|
10207
|
+
obj.state = cvModelInfo_StateToJSON(message.state);
|
|
10208
|
+
}
|
|
10209
|
+
return obj;
|
|
10210
|
+
},
|
|
10211
|
+
create(base) {
|
|
10212
|
+
return exports.CvModelInfo.fromPartial(base ?? {});
|
|
10213
|
+
},
|
|
10214
|
+
fromPartial(object) {
|
|
10215
|
+
const message = createBaseCvModelInfo();
|
|
10216
|
+
message.name = object.name ?? "";
|
|
10217
|
+
message.type = object.type ?? 0;
|
|
10218
|
+
message.running = object.running ?? false;
|
|
10219
|
+
message.device = object.device ?? "";
|
|
10220
|
+
message.packageId = object.packageId ?? "";
|
|
10221
|
+
message.labels = object.labels?.map((e) => e) || [];
|
|
10222
|
+
message.state = object.state ?? 0;
|
|
10223
|
+
return message;
|
|
10224
|
+
},
|
|
10225
|
+
};
|
|
10226
|
+
function createBaseCameraCalibration() {
|
|
10227
|
+
return { fx: 0, fy: 0, cx: 0, cy: 0, distortionCoefficients: [], imageWidth: 0, imageHeight: 0, isDefault: false };
|
|
10228
|
+
}
|
|
10229
|
+
exports.CameraCalibration = {
|
|
10230
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
10231
|
+
if (message.fx !== 0) {
|
|
10232
|
+
writer.uint32(13).float(message.fx);
|
|
10233
|
+
}
|
|
10234
|
+
if (message.fy !== 0) {
|
|
10235
|
+
writer.uint32(21).float(message.fy);
|
|
10236
|
+
}
|
|
10237
|
+
if (message.cx !== 0) {
|
|
10238
|
+
writer.uint32(29).float(message.cx);
|
|
10239
|
+
}
|
|
10240
|
+
if (message.cy !== 0) {
|
|
10241
|
+
writer.uint32(37).float(message.cy);
|
|
10242
|
+
}
|
|
10243
|
+
writer.uint32(42).fork();
|
|
10244
|
+
for (const v of message.distortionCoefficients) {
|
|
10245
|
+
writer.float(v);
|
|
10246
|
+
}
|
|
10247
|
+
writer.join();
|
|
10248
|
+
if (message.imageWidth !== 0) {
|
|
10249
|
+
writer.uint32(48).uint32(message.imageWidth);
|
|
10250
|
+
}
|
|
10251
|
+
if (message.imageHeight !== 0) {
|
|
10252
|
+
writer.uint32(56).uint32(message.imageHeight);
|
|
10253
|
+
}
|
|
10254
|
+
if (message.isDefault !== false) {
|
|
10255
|
+
writer.uint32(64).bool(message.isDefault);
|
|
10256
|
+
}
|
|
10257
|
+
return writer;
|
|
10258
|
+
},
|
|
10259
|
+
decode(input, length) {
|
|
10260
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10261
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10262
|
+
const message = createBaseCameraCalibration();
|
|
10263
|
+
while (reader.pos < end) {
|
|
10264
|
+
const tag = reader.uint32();
|
|
10265
|
+
switch (tag >>> 3) {
|
|
10266
|
+
case 1: {
|
|
10267
|
+
if (tag !== 13) {
|
|
10268
|
+
break;
|
|
10269
|
+
}
|
|
10270
|
+
message.fx = reader.float();
|
|
10271
|
+
continue;
|
|
10272
|
+
}
|
|
10273
|
+
case 2: {
|
|
10274
|
+
if (tag !== 21) {
|
|
10275
|
+
break;
|
|
10276
|
+
}
|
|
10277
|
+
message.fy = reader.float();
|
|
10278
|
+
continue;
|
|
10279
|
+
}
|
|
10280
|
+
case 3: {
|
|
10281
|
+
if (tag !== 29) {
|
|
10282
|
+
break;
|
|
10283
|
+
}
|
|
10284
|
+
message.cx = reader.float();
|
|
10285
|
+
continue;
|
|
10286
|
+
}
|
|
10287
|
+
case 4: {
|
|
10288
|
+
if (tag !== 37) {
|
|
10289
|
+
break;
|
|
10290
|
+
}
|
|
10291
|
+
message.cy = reader.float();
|
|
10292
|
+
continue;
|
|
10293
|
+
}
|
|
10294
|
+
case 5: {
|
|
10295
|
+
if (tag === 45) {
|
|
10296
|
+
message.distortionCoefficients.push(reader.float());
|
|
10297
|
+
continue;
|
|
10298
|
+
}
|
|
10299
|
+
if (tag === 42) {
|
|
10300
|
+
const end2 = reader.uint32() + reader.pos;
|
|
10301
|
+
while (reader.pos < end2) {
|
|
10302
|
+
message.distortionCoefficients.push(reader.float());
|
|
10303
|
+
}
|
|
10304
|
+
continue;
|
|
10305
|
+
}
|
|
10306
|
+
break;
|
|
10307
|
+
}
|
|
10308
|
+
case 6: {
|
|
10309
|
+
if (tag !== 48) {
|
|
10310
|
+
break;
|
|
10311
|
+
}
|
|
10312
|
+
message.imageWidth = reader.uint32();
|
|
10313
|
+
continue;
|
|
10314
|
+
}
|
|
10315
|
+
case 7: {
|
|
10316
|
+
if (tag !== 56) {
|
|
10317
|
+
break;
|
|
10318
|
+
}
|
|
10319
|
+
message.imageHeight = reader.uint32();
|
|
10320
|
+
continue;
|
|
10321
|
+
}
|
|
10322
|
+
case 8: {
|
|
10323
|
+
if (tag !== 64) {
|
|
10324
|
+
break;
|
|
10325
|
+
}
|
|
10326
|
+
message.isDefault = reader.bool();
|
|
9090
10327
|
continue;
|
|
9091
10328
|
}
|
|
9092
10329
|
}
|
|
@@ -9098,21 +10335,60 @@ exports.TiltVelocity = {
|
|
|
9098
10335
|
return message;
|
|
9099
10336
|
},
|
|
9100
10337
|
fromJSON(object) {
|
|
9101
|
-
return {
|
|
10338
|
+
return {
|
|
10339
|
+
fx: isSet(object.fx) ? gt.Number(object.fx) : 0,
|
|
10340
|
+
fy: isSet(object.fy) ? gt.Number(object.fy) : 0,
|
|
10341
|
+
cx: isSet(object.cx) ? gt.Number(object.cx) : 0,
|
|
10342
|
+
cy: isSet(object.cy) ? gt.Number(object.cy) : 0,
|
|
10343
|
+
distortionCoefficients: gt.Array.isArray(object?.distortionCoefficients)
|
|
10344
|
+
? object.distortionCoefficients.map((e) => gt.Number(e))
|
|
10345
|
+
: [],
|
|
10346
|
+
imageWidth: isSet(object.imageWidth) ? gt.Number(object.imageWidth) : 0,
|
|
10347
|
+
imageHeight: isSet(object.imageHeight) ? gt.Number(object.imageHeight) : 0,
|
|
10348
|
+
isDefault: isSet(object.isDefault) ? gt.Boolean(object.isDefault) : false,
|
|
10349
|
+
};
|
|
9102
10350
|
},
|
|
9103
10351
|
toJSON(message) {
|
|
9104
10352
|
const obj = {};
|
|
9105
|
-
if (message.
|
|
9106
|
-
obj.
|
|
10353
|
+
if (message.fx !== 0) {
|
|
10354
|
+
obj.fx = message.fx;
|
|
10355
|
+
}
|
|
10356
|
+
if (message.fy !== 0) {
|
|
10357
|
+
obj.fy = message.fy;
|
|
10358
|
+
}
|
|
10359
|
+
if (message.cx !== 0) {
|
|
10360
|
+
obj.cx = message.cx;
|
|
10361
|
+
}
|
|
10362
|
+
if (message.cy !== 0) {
|
|
10363
|
+
obj.cy = message.cy;
|
|
10364
|
+
}
|
|
10365
|
+
if (message.distortionCoefficients?.length) {
|
|
10366
|
+
obj.distortionCoefficients = message.distortionCoefficients;
|
|
10367
|
+
}
|
|
10368
|
+
if (message.imageWidth !== 0) {
|
|
10369
|
+
obj.imageWidth = Math.round(message.imageWidth);
|
|
10370
|
+
}
|
|
10371
|
+
if (message.imageHeight !== 0) {
|
|
10372
|
+
obj.imageHeight = Math.round(message.imageHeight);
|
|
10373
|
+
}
|
|
10374
|
+
if (message.isDefault !== false) {
|
|
10375
|
+
obj.isDefault = message.isDefault;
|
|
9107
10376
|
}
|
|
9108
10377
|
return obj;
|
|
9109
10378
|
},
|
|
9110
10379
|
create(base) {
|
|
9111
|
-
return exports.
|
|
10380
|
+
return exports.CameraCalibration.fromPartial(base ?? {});
|
|
9112
10381
|
},
|
|
9113
10382
|
fromPartial(object) {
|
|
9114
|
-
const message =
|
|
9115
|
-
message.
|
|
10383
|
+
const message = createBaseCameraCalibration();
|
|
10384
|
+
message.fx = object.fx ?? 0;
|
|
10385
|
+
message.fy = object.fy ?? 0;
|
|
10386
|
+
message.cx = object.cx ?? 0;
|
|
10387
|
+
message.cy = object.cy ?? 0;
|
|
10388
|
+
message.distortionCoefficients = object.distortionCoefficients?.map((e) => e) || [];
|
|
10389
|
+
message.imageWidth = object.imageWidth ?? 0;
|
|
10390
|
+
message.imageHeight = object.imageHeight ?? 0;
|
|
10391
|
+
message.isDefault = object.isDefault ?? false;
|
|
9116
10392
|
return message;
|
|
9117
10393
|
},
|
|
9118
10394
|
};
|
|
@@ -9129,6 +10405,9 @@ function createBaseDroneInfo() {
|
|
|
9129
10405
|
bbUid: new Uint8Array(0),
|
|
9130
10406
|
gp: undefined,
|
|
9131
10407
|
depthSensor: 0,
|
|
10408
|
+
cvModels: [],
|
|
10409
|
+
powerSource: 0,
|
|
10410
|
+
mainCameraCalibration: undefined,
|
|
9132
10411
|
};
|
|
9133
10412
|
}
|
|
9134
10413
|
exports.DroneInfo = {
|
|
@@ -9166,6 +10445,15 @@ exports.DroneInfo = {
|
|
|
9166
10445
|
if (message.depthSensor !== 0) {
|
|
9167
10446
|
writer.uint32(88).int32(message.depthSensor);
|
|
9168
10447
|
}
|
|
10448
|
+
for (const v of message.cvModels) {
|
|
10449
|
+
exports.CvModelInfo.encode(v, writer.uint32(98).fork()).join();
|
|
10450
|
+
}
|
|
10451
|
+
if (message.powerSource !== 0) {
|
|
10452
|
+
writer.uint32(104).int32(message.powerSource);
|
|
10453
|
+
}
|
|
10454
|
+
if (message.mainCameraCalibration !== undefined) {
|
|
10455
|
+
exports.CameraCalibration.encode(message.mainCameraCalibration, writer.uint32(114).fork()).join();
|
|
10456
|
+
}
|
|
9169
10457
|
return writer;
|
|
9170
10458
|
},
|
|
9171
10459
|
decode(input, length) {
|
|
@@ -9252,6 +10540,27 @@ exports.DroneInfo = {
|
|
|
9252
10540
|
message.depthSensor = reader.int32();
|
|
9253
10541
|
continue;
|
|
9254
10542
|
}
|
|
10543
|
+
case 12: {
|
|
10544
|
+
if (tag !== 98) {
|
|
10545
|
+
break;
|
|
10546
|
+
}
|
|
10547
|
+
message.cvModels.push(exports.CvModelInfo.decode(reader, reader.uint32()));
|
|
10548
|
+
continue;
|
|
10549
|
+
}
|
|
10550
|
+
case 13: {
|
|
10551
|
+
if (tag !== 104) {
|
|
10552
|
+
break;
|
|
10553
|
+
}
|
|
10554
|
+
message.powerSource = reader.int32();
|
|
10555
|
+
continue;
|
|
10556
|
+
}
|
|
10557
|
+
case 14: {
|
|
10558
|
+
if (tag !== 114) {
|
|
10559
|
+
break;
|
|
10560
|
+
}
|
|
10561
|
+
message.mainCameraCalibration = exports.CameraCalibration.decode(reader, reader.uint32());
|
|
10562
|
+
continue;
|
|
10563
|
+
}
|
|
9255
10564
|
}
|
|
9256
10565
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9257
10566
|
break;
|
|
@@ -9273,6 +10582,11 @@ exports.DroneInfo = {
|
|
|
9273
10582
|
bbUid: isSet(object.bbUid) ? bytesFromBase64(object.bbUid) : new Uint8Array(0),
|
|
9274
10583
|
gp: isSet(object.gp) ? exports.GuestPortInfo.fromJSON(object.gp) : undefined,
|
|
9275
10584
|
depthSensor: isSet(object.depthSensor) ? pressureSensorTypeFromJSON(object.depthSensor) : 0,
|
|
10585
|
+
cvModels: gt.Array.isArray(object?.cvModels) ? object.cvModels.map((e) => exports.CvModelInfo.fromJSON(e)) : [],
|
|
10586
|
+
powerSource: isSet(object.powerSource) ? powerSourceFromJSON(object.powerSource) : 0,
|
|
10587
|
+
mainCameraCalibration: isSet(object.mainCameraCalibration)
|
|
10588
|
+
? exports.CameraCalibration.fromJSON(object.mainCameraCalibration)
|
|
10589
|
+
: undefined,
|
|
9276
10590
|
};
|
|
9277
10591
|
},
|
|
9278
10592
|
toJSON(message) {
|
|
@@ -9310,6 +10624,15 @@ exports.DroneInfo = {
|
|
|
9310
10624
|
if (message.depthSensor !== 0) {
|
|
9311
10625
|
obj.depthSensor = pressureSensorTypeToJSON(message.depthSensor);
|
|
9312
10626
|
}
|
|
10627
|
+
if (message.cvModels?.length) {
|
|
10628
|
+
obj.cvModels = message.cvModels.map((e) => exports.CvModelInfo.toJSON(e));
|
|
10629
|
+
}
|
|
10630
|
+
if (message.powerSource !== 0) {
|
|
10631
|
+
obj.powerSource = powerSourceToJSON(message.powerSource);
|
|
10632
|
+
}
|
|
10633
|
+
if (message.mainCameraCalibration !== undefined) {
|
|
10634
|
+
obj.mainCameraCalibration = exports.CameraCalibration.toJSON(message.mainCameraCalibration);
|
|
10635
|
+
}
|
|
9313
10636
|
return obj;
|
|
9314
10637
|
},
|
|
9315
10638
|
create(base) {
|
|
@@ -9328,6 +10651,12 @@ exports.DroneInfo = {
|
|
|
9328
10651
|
message.bbUid = object.bbUid ?? new Uint8Array(0);
|
|
9329
10652
|
message.gp = (object.gp !== undefined && object.gp !== null) ? exports.GuestPortInfo.fromPartial(object.gp) : undefined;
|
|
9330
10653
|
message.depthSensor = object.depthSensor ?? 0;
|
|
10654
|
+
message.cvModels = object.cvModels?.map((e) => exports.CvModelInfo.fromPartial(e)) || [];
|
|
10655
|
+
message.powerSource = object.powerSource ?? 0;
|
|
10656
|
+
message.mainCameraCalibration =
|
|
10657
|
+
(object.mainCameraCalibration !== undefined && object.mainCameraCalibration !== null)
|
|
10658
|
+
? exports.CameraCalibration.fromPartial(object.mainCameraCalibration)
|
|
10659
|
+
: undefined;
|
|
9331
10660
|
return message;
|
|
9332
10661
|
},
|
|
9333
10662
|
};
|
|
@@ -9344,18 +10673,39 @@ function createBaseErrorFlags() {
|
|
|
9344
10673
|
gp1Read: false,
|
|
9345
10674
|
gp2Read: false,
|
|
9346
10675
|
gp3Read: false,
|
|
10676
|
+
gp4Read: false,
|
|
10677
|
+
gp5Read: false,
|
|
10678
|
+
gp6Read: false,
|
|
9347
10679
|
gp1NotFlashed: false,
|
|
9348
10680
|
gp2NotFlashed: false,
|
|
9349
10681
|
gp3NotFlashed: false,
|
|
10682
|
+
gp4NotFlashed: false,
|
|
10683
|
+
gp5NotFlashed: false,
|
|
10684
|
+
gp6NotFlashed: false,
|
|
9350
10685
|
gp1UnknownDevice: false,
|
|
9351
10686
|
gp2UnknownDevice: false,
|
|
9352
10687
|
gp3UnknownDevice: false,
|
|
10688
|
+
gp4UnknownDevice: false,
|
|
10689
|
+
gp5UnknownDevice: false,
|
|
10690
|
+
gp6UnknownDevice: false,
|
|
9353
10691
|
gp1DeviceConnection: false,
|
|
9354
10692
|
gp2DeviceConnection: false,
|
|
9355
10693
|
gp3DeviceConnection: false,
|
|
10694
|
+
gp4DeviceConnection: false,
|
|
10695
|
+
gp5DeviceConnection: false,
|
|
10696
|
+
gp6DeviceConnection: false,
|
|
9356
10697
|
gp1Device: false,
|
|
9357
10698
|
gp2Device: false,
|
|
9358
10699
|
gp3Device: false,
|
|
10700
|
+
gp4Device: false,
|
|
10701
|
+
gp5Device: false,
|
|
10702
|
+
gp6Device: false,
|
|
10703
|
+
gp1IncompatibleDevice: false,
|
|
10704
|
+
gp2IncompatibleDevice: false,
|
|
10705
|
+
gp3IncompatibleDevice: false,
|
|
10706
|
+
gp4IncompatibleDevice: false,
|
|
10707
|
+
gp5IncompatibleDevice: false,
|
|
10708
|
+
gp6IncompatibleDevice: false,
|
|
9359
10709
|
droneSerialNotSet: false,
|
|
9360
10710
|
droneSerial: false,
|
|
9361
10711
|
mbEepromRead: false,
|
|
@@ -9374,7 +10724,22 @@ function createBaseErrorFlags() {
|
|
|
9374
10724
|
gp1BatCurrent: false,
|
|
9375
10725
|
gp2BatCurrent: false,
|
|
9376
10726
|
gp3BatCurrent: false,
|
|
9377
|
-
|
|
10727
|
+
gp4BatCurrent: false,
|
|
10728
|
+
gp5BatCurrent: false,
|
|
10729
|
+
gp6BatCurrent: false,
|
|
10730
|
+
gp24vCurrent: false,
|
|
10731
|
+
gp124vCurrent: false,
|
|
10732
|
+
gp224vCurrent: false,
|
|
10733
|
+
gp324vCurrent: false,
|
|
10734
|
+
gp424vCurrent: false,
|
|
10735
|
+
gp524vCurrent: false,
|
|
10736
|
+
gp624vCurrent: false,
|
|
10737
|
+
gp15vCurrent: false,
|
|
10738
|
+
gp25vCurrent: false,
|
|
10739
|
+
gp35vCurrent: false,
|
|
10740
|
+
gp45vCurrent: false,
|
|
10741
|
+
gp55vCurrent: false,
|
|
10742
|
+
gp65vCurrent: false,
|
|
9378
10743
|
dvlThermalProtectionMode: false,
|
|
9379
10744
|
dvlNoPower: false,
|
|
9380
10745
|
usbDisconnect: false,
|
|
@@ -9417,6 +10782,15 @@ exports.ErrorFlags = {
|
|
|
9417
10782
|
if (message.gp3Read !== false) {
|
|
9418
10783
|
writer.uint32(88).bool(message.gp3Read);
|
|
9419
10784
|
}
|
|
10785
|
+
if (message.gp4Read !== false) {
|
|
10786
|
+
writer.uint32(384).bool(message.gp4Read);
|
|
10787
|
+
}
|
|
10788
|
+
if (message.gp5Read !== false) {
|
|
10789
|
+
writer.uint32(392).bool(message.gp5Read);
|
|
10790
|
+
}
|
|
10791
|
+
if (message.gp6Read !== false) {
|
|
10792
|
+
writer.uint32(400).bool(message.gp6Read);
|
|
10793
|
+
}
|
|
9420
10794
|
if (message.gp1NotFlashed !== false) {
|
|
9421
10795
|
writer.uint32(96).bool(message.gp1NotFlashed);
|
|
9422
10796
|
}
|
|
@@ -9426,6 +10800,15 @@ exports.ErrorFlags = {
|
|
|
9426
10800
|
if (message.gp3NotFlashed !== false) {
|
|
9427
10801
|
writer.uint32(112).bool(message.gp3NotFlashed);
|
|
9428
10802
|
}
|
|
10803
|
+
if (message.gp4NotFlashed !== false) {
|
|
10804
|
+
writer.uint32(408).bool(message.gp4NotFlashed);
|
|
10805
|
+
}
|
|
10806
|
+
if (message.gp5NotFlashed !== false) {
|
|
10807
|
+
writer.uint32(416).bool(message.gp5NotFlashed);
|
|
10808
|
+
}
|
|
10809
|
+
if (message.gp6NotFlashed !== false) {
|
|
10810
|
+
writer.uint32(424).bool(message.gp6NotFlashed);
|
|
10811
|
+
}
|
|
9429
10812
|
if (message.gp1UnknownDevice !== false) {
|
|
9430
10813
|
writer.uint32(120).bool(message.gp1UnknownDevice);
|
|
9431
10814
|
}
|
|
@@ -9435,6 +10818,15 @@ exports.ErrorFlags = {
|
|
|
9435
10818
|
if (message.gp3UnknownDevice !== false) {
|
|
9436
10819
|
writer.uint32(136).bool(message.gp3UnknownDevice);
|
|
9437
10820
|
}
|
|
10821
|
+
if (message.gp4UnknownDevice !== false) {
|
|
10822
|
+
writer.uint32(432).bool(message.gp4UnknownDevice);
|
|
10823
|
+
}
|
|
10824
|
+
if (message.gp5UnknownDevice !== false) {
|
|
10825
|
+
writer.uint32(440).bool(message.gp5UnknownDevice);
|
|
10826
|
+
}
|
|
10827
|
+
if (message.gp6UnknownDevice !== false) {
|
|
10828
|
+
writer.uint32(448).bool(message.gp6UnknownDevice);
|
|
10829
|
+
}
|
|
9438
10830
|
if (message.gp1DeviceConnection !== false) {
|
|
9439
10831
|
writer.uint32(144).bool(message.gp1DeviceConnection);
|
|
9440
10832
|
}
|
|
@@ -9444,6 +10836,15 @@ exports.ErrorFlags = {
|
|
|
9444
10836
|
if (message.gp3DeviceConnection !== false) {
|
|
9445
10837
|
writer.uint32(160).bool(message.gp3DeviceConnection);
|
|
9446
10838
|
}
|
|
10839
|
+
if (message.gp4DeviceConnection !== false) {
|
|
10840
|
+
writer.uint32(456).bool(message.gp4DeviceConnection);
|
|
10841
|
+
}
|
|
10842
|
+
if (message.gp5DeviceConnection !== false) {
|
|
10843
|
+
writer.uint32(464).bool(message.gp5DeviceConnection);
|
|
10844
|
+
}
|
|
10845
|
+
if (message.gp6DeviceConnection !== false) {
|
|
10846
|
+
writer.uint32(472).bool(message.gp6DeviceConnection);
|
|
10847
|
+
}
|
|
9447
10848
|
if (message.gp1Device !== false) {
|
|
9448
10849
|
writer.uint32(168).bool(message.gp1Device);
|
|
9449
10850
|
}
|
|
@@ -9453,6 +10854,33 @@ exports.ErrorFlags = {
|
|
|
9453
10854
|
if (message.gp3Device !== false) {
|
|
9454
10855
|
writer.uint32(184).bool(message.gp3Device);
|
|
9455
10856
|
}
|
|
10857
|
+
if (message.gp4Device !== false) {
|
|
10858
|
+
writer.uint32(480).bool(message.gp4Device);
|
|
10859
|
+
}
|
|
10860
|
+
if (message.gp5Device !== false) {
|
|
10861
|
+
writer.uint32(488).bool(message.gp5Device);
|
|
10862
|
+
}
|
|
10863
|
+
if (message.gp6Device !== false) {
|
|
10864
|
+
writer.uint32(496).bool(message.gp6Device);
|
|
10865
|
+
}
|
|
10866
|
+
if (message.gp1IncompatibleDevice !== false) {
|
|
10867
|
+
writer.uint32(624).bool(message.gp1IncompatibleDevice);
|
|
10868
|
+
}
|
|
10869
|
+
if (message.gp2IncompatibleDevice !== false) {
|
|
10870
|
+
writer.uint32(632).bool(message.gp2IncompatibleDevice);
|
|
10871
|
+
}
|
|
10872
|
+
if (message.gp3IncompatibleDevice !== false) {
|
|
10873
|
+
writer.uint32(640).bool(message.gp3IncompatibleDevice);
|
|
10874
|
+
}
|
|
10875
|
+
if (message.gp4IncompatibleDevice !== false) {
|
|
10876
|
+
writer.uint32(648).bool(message.gp4IncompatibleDevice);
|
|
10877
|
+
}
|
|
10878
|
+
if (message.gp5IncompatibleDevice !== false) {
|
|
10879
|
+
writer.uint32(656).bool(message.gp5IncompatibleDevice);
|
|
10880
|
+
}
|
|
10881
|
+
if (message.gp6IncompatibleDevice !== false) {
|
|
10882
|
+
writer.uint32(664).bool(message.gp6IncompatibleDevice);
|
|
10883
|
+
}
|
|
9456
10884
|
if (message.droneSerialNotSet !== false) {
|
|
9457
10885
|
writer.uint32(192).bool(message.droneSerialNotSet);
|
|
9458
10886
|
}
|
|
@@ -9507,8 +10935,53 @@ exports.ErrorFlags = {
|
|
|
9507
10935
|
if (message.gp3BatCurrent !== false) {
|
|
9508
10936
|
writer.uint32(328).bool(message.gp3BatCurrent);
|
|
9509
10937
|
}
|
|
9510
|
-
if (message.
|
|
9511
|
-
writer.uint32(
|
|
10938
|
+
if (message.gp4BatCurrent !== false) {
|
|
10939
|
+
writer.uint32(504).bool(message.gp4BatCurrent);
|
|
10940
|
+
}
|
|
10941
|
+
if (message.gp5BatCurrent !== false) {
|
|
10942
|
+
writer.uint32(512).bool(message.gp5BatCurrent);
|
|
10943
|
+
}
|
|
10944
|
+
if (message.gp6BatCurrent !== false) {
|
|
10945
|
+
writer.uint32(520).bool(message.gp6BatCurrent);
|
|
10946
|
+
}
|
|
10947
|
+
if (message.gp24vCurrent !== false) {
|
|
10948
|
+
writer.uint32(336).bool(message.gp24vCurrent);
|
|
10949
|
+
}
|
|
10950
|
+
if (message.gp124vCurrent !== false) {
|
|
10951
|
+
writer.uint32(528).bool(message.gp124vCurrent);
|
|
10952
|
+
}
|
|
10953
|
+
if (message.gp224vCurrent !== false) {
|
|
10954
|
+
writer.uint32(536).bool(message.gp224vCurrent);
|
|
10955
|
+
}
|
|
10956
|
+
if (message.gp324vCurrent !== false) {
|
|
10957
|
+
writer.uint32(544).bool(message.gp324vCurrent);
|
|
10958
|
+
}
|
|
10959
|
+
if (message.gp424vCurrent !== false) {
|
|
10960
|
+
writer.uint32(552).bool(message.gp424vCurrent);
|
|
10961
|
+
}
|
|
10962
|
+
if (message.gp524vCurrent !== false) {
|
|
10963
|
+
writer.uint32(560).bool(message.gp524vCurrent);
|
|
10964
|
+
}
|
|
10965
|
+
if (message.gp624vCurrent !== false) {
|
|
10966
|
+
writer.uint32(568).bool(message.gp624vCurrent);
|
|
10967
|
+
}
|
|
10968
|
+
if (message.gp15vCurrent !== false) {
|
|
10969
|
+
writer.uint32(576).bool(message.gp15vCurrent);
|
|
10970
|
+
}
|
|
10971
|
+
if (message.gp25vCurrent !== false) {
|
|
10972
|
+
writer.uint32(584).bool(message.gp25vCurrent);
|
|
10973
|
+
}
|
|
10974
|
+
if (message.gp35vCurrent !== false) {
|
|
10975
|
+
writer.uint32(592).bool(message.gp35vCurrent);
|
|
10976
|
+
}
|
|
10977
|
+
if (message.gp45vCurrent !== false) {
|
|
10978
|
+
writer.uint32(600).bool(message.gp45vCurrent);
|
|
10979
|
+
}
|
|
10980
|
+
if (message.gp55vCurrent !== false) {
|
|
10981
|
+
writer.uint32(608).bool(message.gp55vCurrent);
|
|
10982
|
+
}
|
|
10983
|
+
if (message.gp65vCurrent !== false) {
|
|
10984
|
+
writer.uint32(616).bool(message.gp65vCurrent);
|
|
9512
10985
|
}
|
|
9513
10986
|
if (message.dvlThermalProtectionMode !== false) {
|
|
9514
10987
|
writer.uint32(344).bool(message.dvlThermalProtectionMode);
|
|
@@ -9611,6 +11084,27 @@ exports.ErrorFlags = {
|
|
|
9611
11084
|
message.gp3Read = reader.bool();
|
|
9612
11085
|
continue;
|
|
9613
11086
|
}
|
|
11087
|
+
case 48: {
|
|
11088
|
+
if (tag !== 384) {
|
|
11089
|
+
break;
|
|
11090
|
+
}
|
|
11091
|
+
message.gp4Read = reader.bool();
|
|
11092
|
+
continue;
|
|
11093
|
+
}
|
|
11094
|
+
case 49: {
|
|
11095
|
+
if (tag !== 392) {
|
|
11096
|
+
break;
|
|
11097
|
+
}
|
|
11098
|
+
message.gp5Read = reader.bool();
|
|
11099
|
+
continue;
|
|
11100
|
+
}
|
|
11101
|
+
case 50: {
|
|
11102
|
+
if (tag !== 400) {
|
|
11103
|
+
break;
|
|
11104
|
+
}
|
|
11105
|
+
message.gp6Read = reader.bool();
|
|
11106
|
+
continue;
|
|
11107
|
+
}
|
|
9614
11108
|
case 12: {
|
|
9615
11109
|
if (tag !== 96) {
|
|
9616
11110
|
break;
|
|
@@ -9632,6 +11126,27 @@ exports.ErrorFlags = {
|
|
|
9632
11126
|
message.gp3NotFlashed = reader.bool();
|
|
9633
11127
|
continue;
|
|
9634
11128
|
}
|
|
11129
|
+
case 51: {
|
|
11130
|
+
if (tag !== 408) {
|
|
11131
|
+
break;
|
|
11132
|
+
}
|
|
11133
|
+
message.gp4NotFlashed = reader.bool();
|
|
11134
|
+
continue;
|
|
11135
|
+
}
|
|
11136
|
+
case 52: {
|
|
11137
|
+
if (tag !== 416) {
|
|
11138
|
+
break;
|
|
11139
|
+
}
|
|
11140
|
+
message.gp5NotFlashed = reader.bool();
|
|
11141
|
+
continue;
|
|
11142
|
+
}
|
|
11143
|
+
case 53: {
|
|
11144
|
+
if (tag !== 424) {
|
|
11145
|
+
break;
|
|
11146
|
+
}
|
|
11147
|
+
message.gp6NotFlashed = reader.bool();
|
|
11148
|
+
continue;
|
|
11149
|
+
}
|
|
9635
11150
|
case 15: {
|
|
9636
11151
|
if (tag !== 120) {
|
|
9637
11152
|
break;
|
|
@@ -9653,6 +11168,27 @@ exports.ErrorFlags = {
|
|
|
9653
11168
|
message.gp3UnknownDevice = reader.bool();
|
|
9654
11169
|
continue;
|
|
9655
11170
|
}
|
|
11171
|
+
case 54: {
|
|
11172
|
+
if (tag !== 432) {
|
|
11173
|
+
break;
|
|
11174
|
+
}
|
|
11175
|
+
message.gp4UnknownDevice = reader.bool();
|
|
11176
|
+
continue;
|
|
11177
|
+
}
|
|
11178
|
+
case 55: {
|
|
11179
|
+
if (tag !== 440) {
|
|
11180
|
+
break;
|
|
11181
|
+
}
|
|
11182
|
+
message.gp5UnknownDevice = reader.bool();
|
|
11183
|
+
continue;
|
|
11184
|
+
}
|
|
11185
|
+
case 56: {
|
|
11186
|
+
if (tag !== 448) {
|
|
11187
|
+
break;
|
|
11188
|
+
}
|
|
11189
|
+
message.gp6UnknownDevice = reader.bool();
|
|
11190
|
+
continue;
|
|
11191
|
+
}
|
|
9656
11192
|
case 18: {
|
|
9657
11193
|
if (tag !== 144) {
|
|
9658
11194
|
break;
|
|
@@ -9674,6 +11210,27 @@ exports.ErrorFlags = {
|
|
|
9674
11210
|
message.gp3DeviceConnection = reader.bool();
|
|
9675
11211
|
continue;
|
|
9676
11212
|
}
|
|
11213
|
+
case 57: {
|
|
11214
|
+
if (tag !== 456) {
|
|
11215
|
+
break;
|
|
11216
|
+
}
|
|
11217
|
+
message.gp4DeviceConnection = reader.bool();
|
|
11218
|
+
continue;
|
|
11219
|
+
}
|
|
11220
|
+
case 58: {
|
|
11221
|
+
if (tag !== 464) {
|
|
11222
|
+
break;
|
|
11223
|
+
}
|
|
11224
|
+
message.gp5DeviceConnection = reader.bool();
|
|
11225
|
+
continue;
|
|
11226
|
+
}
|
|
11227
|
+
case 59: {
|
|
11228
|
+
if (tag !== 472) {
|
|
11229
|
+
break;
|
|
11230
|
+
}
|
|
11231
|
+
message.gp6DeviceConnection = reader.bool();
|
|
11232
|
+
continue;
|
|
11233
|
+
}
|
|
9677
11234
|
case 21: {
|
|
9678
11235
|
if (tag !== 168) {
|
|
9679
11236
|
break;
|
|
@@ -9695,6 +11252,69 @@ exports.ErrorFlags = {
|
|
|
9695
11252
|
message.gp3Device = reader.bool();
|
|
9696
11253
|
continue;
|
|
9697
11254
|
}
|
|
11255
|
+
case 60: {
|
|
11256
|
+
if (tag !== 480) {
|
|
11257
|
+
break;
|
|
11258
|
+
}
|
|
11259
|
+
message.gp4Device = reader.bool();
|
|
11260
|
+
continue;
|
|
11261
|
+
}
|
|
11262
|
+
case 61: {
|
|
11263
|
+
if (tag !== 488) {
|
|
11264
|
+
break;
|
|
11265
|
+
}
|
|
11266
|
+
message.gp5Device = reader.bool();
|
|
11267
|
+
continue;
|
|
11268
|
+
}
|
|
11269
|
+
case 62: {
|
|
11270
|
+
if (tag !== 496) {
|
|
11271
|
+
break;
|
|
11272
|
+
}
|
|
11273
|
+
message.gp6Device = reader.bool();
|
|
11274
|
+
continue;
|
|
11275
|
+
}
|
|
11276
|
+
case 78: {
|
|
11277
|
+
if (tag !== 624) {
|
|
11278
|
+
break;
|
|
11279
|
+
}
|
|
11280
|
+
message.gp1IncompatibleDevice = reader.bool();
|
|
11281
|
+
continue;
|
|
11282
|
+
}
|
|
11283
|
+
case 79: {
|
|
11284
|
+
if (tag !== 632) {
|
|
11285
|
+
break;
|
|
11286
|
+
}
|
|
11287
|
+
message.gp2IncompatibleDevice = reader.bool();
|
|
11288
|
+
continue;
|
|
11289
|
+
}
|
|
11290
|
+
case 80: {
|
|
11291
|
+
if (tag !== 640) {
|
|
11292
|
+
break;
|
|
11293
|
+
}
|
|
11294
|
+
message.gp3IncompatibleDevice = reader.bool();
|
|
11295
|
+
continue;
|
|
11296
|
+
}
|
|
11297
|
+
case 81: {
|
|
11298
|
+
if (tag !== 648) {
|
|
11299
|
+
break;
|
|
11300
|
+
}
|
|
11301
|
+
message.gp4IncompatibleDevice = reader.bool();
|
|
11302
|
+
continue;
|
|
11303
|
+
}
|
|
11304
|
+
case 82: {
|
|
11305
|
+
if (tag !== 656) {
|
|
11306
|
+
break;
|
|
11307
|
+
}
|
|
11308
|
+
message.gp5IncompatibleDevice = reader.bool();
|
|
11309
|
+
continue;
|
|
11310
|
+
}
|
|
11311
|
+
case 83: {
|
|
11312
|
+
if (tag !== 664) {
|
|
11313
|
+
break;
|
|
11314
|
+
}
|
|
11315
|
+
message.gp6IncompatibleDevice = reader.bool();
|
|
11316
|
+
continue;
|
|
11317
|
+
}
|
|
9698
11318
|
case 24: {
|
|
9699
11319
|
if (tag !== 192) {
|
|
9700
11320
|
break;
|
|
@@ -9821,11 +11441,116 @@ exports.ErrorFlags = {
|
|
|
9821
11441
|
message.gp3BatCurrent = reader.bool();
|
|
9822
11442
|
continue;
|
|
9823
11443
|
}
|
|
11444
|
+
case 63: {
|
|
11445
|
+
if (tag !== 504) {
|
|
11446
|
+
break;
|
|
11447
|
+
}
|
|
11448
|
+
message.gp4BatCurrent = reader.bool();
|
|
11449
|
+
continue;
|
|
11450
|
+
}
|
|
11451
|
+
case 64: {
|
|
11452
|
+
if (tag !== 512) {
|
|
11453
|
+
break;
|
|
11454
|
+
}
|
|
11455
|
+
message.gp5BatCurrent = reader.bool();
|
|
11456
|
+
continue;
|
|
11457
|
+
}
|
|
11458
|
+
case 65: {
|
|
11459
|
+
if (tag !== 520) {
|
|
11460
|
+
break;
|
|
11461
|
+
}
|
|
11462
|
+
message.gp6BatCurrent = reader.bool();
|
|
11463
|
+
continue;
|
|
11464
|
+
}
|
|
9824
11465
|
case 42: {
|
|
9825
11466
|
if (tag !== 336) {
|
|
9826
11467
|
break;
|
|
9827
11468
|
}
|
|
9828
|
-
message.
|
|
11469
|
+
message.gp24vCurrent = reader.bool();
|
|
11470
|
+
continue;
|
|
11471
|
+
}
|
|
11472
|
+
case 66: {
|
|
11473
|
+
if (tag !== 528) {
|
|
11474
|
+
break;
|
|
11475
|
+
}
|
|
11476
|
+
message.gp124vCurrent = reader.bool();
|
|
11477
|
+
continue;
|
|
11478
|
+
}
|
|
11479
|
+
case 67: {
|
|
11480
|
+
if (tag !== 536) {
|
|
11481
|
+
break;
|
|
11482
|
+
}
|
|
11483
|
+
message.gp224vCurrent = reader.bool();
|
|
11484
|
+
continue;
|
|
11485
|
+
}
|
|
11486
|
+
case 68: {
|
|
11487
|
+
if (tag !== 544) {
|
|
11488
|
+
break;
|
|
11489
|
+
}
|
|
11490
|
+
message.gp324vCurrent = reader.bool();
|
|
11491
|
+
continue;
|
|
11492
|
+
}
|
|
11493
|
+
case 69: {
|
|
11494
|
+
if (tag !== 552) {
|
|
11495
|
+
break;
|
|
11496
|
+
}
|
|
11497
|
+
message.gp424vCurrent = reader.bool();
|
|
11498
|
+
continue;
|
|
11499
|
+
}
|
|
11500
|
+
case 70: {
|
|
11501
|
+
if (tag !== 560) {
|
|
11502
|
+
break;
|
|
11503
|
+
}
|
|
11504
|
+
message.gp524vCurrent = reader.bool();
|
|
11505
|
+
continue;
|
|
11506
|
+
}
|
|
11507
|
+
case 71: {
|
|
11508
|
+
if (tag !== 568) {
|
|
11509
|
+
break;
|
|
11510
|
+
}
|
|
11511
|
+
message.gp624vCurrent = reader.bool();
|
|
11512
|
+
continue;
|
|
11513
|
+
}
|
|
11514
|
+
case 72: {
|
|
11515
|
+
if (tag !== 576) {
|
|
11516
|
+
break;
|
|
11517
|
+
}
|
|
11518
|
+
message.gp15vCurrent = reader.bool();
|
|
11519
|
+
continue;
|
|
11520
|
+
}
|
|
11521
|
+
case 73: {
|
|
11522
|
+
if (tag !== 584) {
|
|
11523
|
+
break;
|
|
11524
|
+
}
|
|
11525
|
+
message.gp25vCurrent = reader.bool();
|
|
11526
|
+
continue;
|
|
11527
|
+
}
|
|
11528
|
+
case 74: {
|
|
11529
|
+
if (tag !== 592) {
|
|
11530
|
+
break;
|
|
11531
|
+
}
|
|
11532
|
+
message.gp35vCurrent = reader.bool();
|
|
11533
|
+
continue;
|
|
11534
|
+
}
|
|
11535
|
+
case 75: {
|
|
11536
|
+
if (tag !== 600) {
|
|
11537
|
+
break;
|
|
11538
|
+
}
|
|
11539
|
+
message.gp45vCurrent = reader.bool();
|
|
11540
|
+
continue;
|
|
11541
|
+
}
|
|
11542
|
+
case 76: {
|
|
11543
|
+
if (tag !== 608) {
|
|
11544
|
+
break;
|
|
11545
|
+
}
|
|
11546
|
+
message.gp55vCurrent = reader.bool();
|
|
11547
|
+
continue;
|
|
11548
|
+
}
|
|
11549
|
+
case 77: {
|
|
11550
|
+
if (tag !== 616) {
|
|
11551
|
+
break;
|
|
11552
|
+
}
|
|
11553
|
+
message.gp65vCurrent = reader.bool();
|
|
9829
11554
|
continue;
|
|
9830
11555
|
}
|
|
9831
11556
|
case 43: {
|
|
@@ -9884,18 +11609,39 @@ exports.ErrorFlags = {
|
|
|
9884
11609
|
gp1Read: isSet(object.gp1Read) ? gt.Boolean(object.gp1Read) : false,
|
|
9885
11610
|
gp2Read: isSet(object.gp2Read) ? gt.Boolean(object.gp2Read) : false,
|
|
9886
11611
|
gp3Read: isSet(object.gp3Read) ? gt.Boolean(object.gp3Read) : false,
|
|
11612
|
+
gp4Read: isSet(object.gp4Read) ? gt.Boolean(object.gp4Read) : false,
|
|
11613
|
+
gp5Read: isSet(object.gp5Read) ? gt.Boolean(object.gp5Read) : false,
|
|
11614
|
+
gp6Read: isSet(object.gp6Read) ? gt.Boolean(object.gp6Read) : false,
|
|
9887
11615
|
gp1NotFlashed: isSet(object.gp1NotFlashed) ? gt.Boolean(object.gp1NotFlashed) : false,
|
|
9888
11616
|
gp2NotFlashed: isSet(object.gp2NotFlashed) ? gt.Boolean(object.gp2NotFlashed) : false,
|
|
9889
11617
|
gp3NotFlashed: isSet(object.gp3NotFlashed) ? gt.Boolean(object.gp3NotFlashed) : false,
|
|
11618
|
+
gp4NotFlashed: isSet(object.gp4NotFlashed) ? gt.Boolean(object.gp4NotFlashed) : false,
|
|
11619
|
+
gp5NotFlashed: isSet(object.gp5NotFlashed) ? gt.Boolean(object.gp5NotFlashed) : false,
|
|
11620
|
+
gp6NotFlashed: isSet(object.gp6NotFlashed) ? gt.Boolean(object.gp6NotFlashed) : false,
|
|
9890
11621
|
gp1UnknownDevice: isSet(object.gp1UnknownDevice) ? gt.Boolean(object.gp1UnknownDevice) : false,
|
|
9891
11622
|
gp2UnknownDevice: isSet(object.gp2UnknownDevice) ? gt.Boolean(object.gp2UnknownDevice) : false,
|
|
9892
11623
|
gp3UnknownDevice: isSet(object.gp3UnknownDevice) ? gt.Boolean(object.gp3UnknownDevice) : false,
|
|
11624
|
+
gp4UnknownDevice: isSet(object.gp4UnknownDevice) ? gt.Boolean(object.gp4UnknownDevice) : false,
|
|
11625
|
+
gp5UnknownDevice: isSet(object.gp5UnknownDevice) ? gt.Boolean(object.gp5UnknownDevice) : false,
|
|
11626
|
+
gp6UnknownDevice: isSet(object.gp6UnknownDevice) ? gt.Boolean(object.gp6UnknownDevice) : false,
|
|
9893
11627
|
gp1DeviceConnection: isSet(object.gp1DeviceConnection) ? gt.Boolean(object.gp1DeviceConnection) : false,
|
|
9894
11628
|
gp2DeviceConnection: isSet(object.gp2DeviceConnection) ? gt.Boolean(object.gp2DeviceConnection) : false,
|
|
9895
11629
|
gp3DeviceConnection: isSet(object.gp3DeviceConnection) ? gt.Boolean(object.gp3DeviceConnection) : false,
|
|
11630
|
+
gp4DeviceConnection: isSet(object.gp4DeviceConnection) ? gt.Boolean(object.gp4DeviceConnection) : false,
|
|
11631
|
+
gp5DeviceConnection: isSet(object.gp5DeviceConnection) ? gt.Boolean(object.gp5DeviceConnection) : false,
|
|
11632
|
+
gp6DeviceConnection: isSet(object.gp6DeviceConnection) ? gt.Boolean(object.gp6DeviceConnection) : false,
|
|
9896
11633
|
gp1Device: isSet(object.gp1Device) ? gt.Boolean(object.gp1Device) : false,
|
|
9897
11634
|
gp2Device: isSet(object.gp2Device) ? gt.Boolean(object.gp2Device) : false,
|
|
9898
11635
|
gp3Device: isSet(object.gp3Device) ? gt.Boolean(object.gp3Device) : false,
|
|
11636
|
+
gp4Device: isSet(object.gp4Device) ? gt.Boolean(object.gp4Device) : false,
|
|
11637
|
+
gp5Device: isSet(object.gp5Device) ? gt.Boolean(object.gp5Device) : false,
|
|
11638
|
+
gp6Device: isSet(object.gp6Device) ? gt.Boolean(object.gp6Device) : false,
|
|
11639
|
+
gp1IncompatibleDevice: isSet(object.gp1IncompatibleDevice) ? gt.Boolean(object.gp1IncompatibleDevice) : false,
|
|
11640
|
+
gp2IncompatibleDevice: isSet(object.gp2IncompatibleDevice) ? gt.Boolean(object.gp2IncompatibleDevice) : false,
|
|
11641
|
+
gp3IncompatibleDevice: isSet(object.gp3IncompatibleDevice) ? gt.Boolean(object.gp3IncompatibleDevice) : false,
|
|
11642
|
+
gp4IncompatibleDevice: isSet(object.gp4IncompatibleDevice) ? gt.Boolean(object.gp4IncompatibleDevice) : false,
|
|
11643
|
+
gp5IncompatibleDevice: isSet(object.gp5IncompatibleDevice) ? gt.Boolean(object.gp5IncompatibleDevice) : false,
|
|
11644
|
+
gp6IncompatibleDevice: isSet(object.gp6IncompatibleDevice) ? gt.Boolean(object.gp6IncompatibleDevice) : false,
|
|
9899
11645
|
droneSerialNotSet: isSet(object.droneSerialNotSet) ? gt.Boolean(object.droneSerialNotSet) : false,
|
|
9900
11646
|
droneSerial: isSet(object.droneSerial) ? gt.Boolean(object.droneSerial) : false,
|
|
9901
11647
|
mbEepromRead: isSet(object.mbEepromRead) ? gt.Boolean(object.mbEepromRead) : false,
|
|
@@ -9918,7 +11664,22 @@ exports.ErrorFlags = {
|
|
|
9918
11664
|
gp1BatCurrent: isSet(object.gp1BatCurrent) ? gt.Boolean(object.gp1BatCurrent) : false,
|
|
9919
11665
|
gp2BatCurrent: isSet(object.gp2BatCurrent) ? gt.Boolean(object.gp2BatCurrent) : false,
|
|
9920
11666
|
gp3BatCurrent: isSet(object.gp3BatCurrent) ? gt.Boolean(object.gp3BatCurrent) : false,
|
|
9921
|
-
|
|
11667
|
+
gp4BatCurrent: isSet(object.gp4BatCurrent) ? gt.Boolean(object.gp4BatCurrent) : false,
|
|
11668
|
+
gp5BatCurrent: isSet(object.gp5BatCurrent) ? gt.Boolean(object.gp5BatCurrent) : false,
|
|
11669
|
+
gp6BatCurrent: isSet(object.gp6BatCurrent) ? gt.Boolean(object.gp6BatCurrent) : false,
|
|
11670
|
+
gp24vCurrent: isSet(object.gp24vCurrent) ? gt.Boolean(object.gp24vCurrent) : false,
|
|
11671
|
+
gp124vCurrent: isSet(object.gp124vCurrent) ? gt.Boolean(object.gp124vCurrent) : false,
|
|
11672
|
+
gp224vCurrent: isSet(object.gp224vCurrent) ? gt.Boolean(object.gp224vCurrent) : false,
|
|
11673
|
+
gp324vCurrent: isSet(object.gp324vCurrent) ? gt.Boolean(object.gp324vCurrent) : false,
|
|
11674
|
+
gp424vCurrent: isSet(object.gp424vCurrent) ? gt.Boolean(object.gp424vCurrent) : false,
|
|
11675
|
+
gp524vCurrent: isSet(object.gp524vCurrent) ? gt.Boolean(object.gp524vCurrent) : false,
|
|
11676
|
+
gp624vCurrent: isSet(object.gp624vCurrent) ? gt.Boolean(object.gp624vCurrent) : false,
|
|
11677
|
+
gp15vCurrent: isSet(object.gp15vCurrent) ? gt.Boolean(object.gp15vCurrent) : false,
|
|
11678
|
+
gp25vCurrent: isSet(object.gp25vCurrent) ? gt.Boolean(object.gp25vCurrent) : false,
|
|
11679
|
+
gp35vCurrent: isSet(object.gp35vCurrent) ? gt.Boolean(object.gp35vCurrent) : false,
|
|
11680
|
+
gp45vCurrent: isSet(object.gp45vCurrent) ? gt.Boolean(object.gp45vCurrent) : false,
|
|
11681
|
+
gp55vCurrent: isSet(object.gp55vCurrent) ? gt.Boolean(object.gp55vCurrent) : false,
|
|
11682
|
+
gp65vCurrent: isSet(object.gp65vCurrent) ? gt.Boolean(object.gp65vCurrent) : false,
|
|
9922
11683
|
dvlThermalProtectionMode: isSet(object.dvlThermalProtectionMode)
|
|
9923
11684
|
? gt.Boolean(object.dvlThermalProtectionMode)
|
|
9924
11685
|
: false,
|
|
@@ -9963,6 +11724,15 @@ exports.ErrorFlags = {
|
|
|
9963
11724
|
if (message.gp3Read !== false) {
|
|
9964
11725
|
obj.gp3Read = message.gp3Read;
|
|
9965
11726
|
}
|
|
11727
|
+
if (message.gp4Read !== false) {
|
|
11728
|
+
obj.gp4Read = message.gp4Read;
|
|
11729
|
+
}
|
|
11730
|
+
if (message.gp5Read !== false) {
|
|
11731
|
+
obj.gp5Read = message.gp5Read;
|
|
11732
|
+
}
|
|
11733
|
+
if (message.gp6Read !== false) {
|
|
11734
|
+
obj.gp6Read = message.gp6Read;
|
|
11735
|
+
}
|
|
9966
11736
|
if (message.gp1NotFlashed !== false) {
|
|
9967
11737
|
obj.gp1NotFlashed = message.gp1NotFlashed;
|
|
9968
11738
|
}
|
|
@@ -9972,6 +11742,15 @@ exports.ErrorFlags = {
|
|
|
9972
11742
|
if (message.gp3NotFlashed !== false) {
|
|
9973
11743
|
obj.gp3NotFlashed = message.gp3NotFlashed;
|
|
9974
11744
|
}
|
|
11745
|
+
if (message.gp4NotFlashed !== false) {
|
|
11746
|
+
obj.gp4NotFlashed = message.gp4NotFlashed;
|
|
11747
|
+
}
|
|
11748
|
+
if (message.gp5NotFlashed !== false) {
|
|
11749
|
+
obj.gp5NotFlashed = message.gp5NotFlashed;
|
|
11750
|
+
}
|
|
11751
|
+
if (message.gp6NotFlashed !== false) {
|
|
11752
|
+
obj.gp6NotFlashed = message.gp6NotFlashed;
|
|
11753
|
+
}
|
|
9975
11754
|
if (message.gp1UnknownDevice !== false) {
|
|
9976
11755
|
obj.gp1UnknownDevice = message.gp1UnknownDevice;
|
|
9977
11756
|
}
|
|
@@ -9981,6 +11760,15 @@ exports.ErrorFlags = {
|
|
|
9981
11760
|
if (message.gp3UnknownDevice !== false) {
|
|
9982
11761
|
obj.gp3UnknownDevice = message.gp3UnknownDevice;
|
|
9983
11762
|
}
|
|
11763
|
+
if (message.gp4UnknownDevice !== false) {
|
|
11764
|
+
obj.gp4UnknownDevice = message.gp4UnknownDevice;
|
|
11765
|
+
}
|
|
11766
|
+
if (message.gp5UnknownDevice !== false) {
|
|
11767
|
+
obj.gp5UnknownDevice = message.gp5UnknownDevice;
|
|
11768
|
+
}
|
|
11769
|
+
if (message.gp6UnknownDevice !== false) {
|
|
11770
|
+
obj.gp6UnknownDevice = message.gp6UnknownDevice;
|
|
11771
|
+
}
|
|
9984
11772
|
if (message.gp1DeviceConnection !== false) {
|
|
9985
11773
|
obj.gp1DeviceConnection = message.gp1DeviceConnection;
|
|
9986
11774
|
}
|
|
@@ -9990,6 +11778,15 @@ exports.ErrorFlags = {
|
|
|
9990
11778
|
if (message.gp3DeviceConnection !== false) {
|
|
9991
11779
|
obj.gp3DeviceConnection = message.gp3DeviceConnection;
|
|
9992
11780
|
}
|
|
11781
|
+
if (message.gp4DeviceConnection !== false) {
|
|
11782
|
+
obj.gp4DeviceConnection = message.gp4DeviceConnection;
|
|
11783
|
+
}
|
|
11784
|
+
if (message.gp5DeviceConnection !== false) {
|
|
11785
|
+
obj.gp5DeviceConnection = message.gp5DeviceConnection;
|
|
11786
|
+
}
|
|
11787
|
+
if (message.gp6DeviceConnection !== false) {
|
|
11788
|
+
obj.gp6DeviceConnection = message.gp6DeviceConnection;
|
|
11789
|
+
}
|
|
9993
11790
|
if (message.gp1Device !== false) {
|
|
9994
11791
|
obj.gp1Device = message.gp1Device;
|
|
9995
11792
|
}
|
|
@@ -9999,6 +11796,33 @@ exports.ErrorFlags = {
|
|
|
9999
11796
|
if (message.gp3Device !== false) {
|
|
10000
11797
|
obj.gp3Device = message.gp3Device;
|
|
10001
11798
|
}
|
|
11799
|
+
if (message.gp4Device !== false) {
|
|
11800
|
+
obj.gp4Device = message.gp4Device;
|
|
11801
|
+
}
|
|
11802
|
+
if (message.gp5Device !== false) {
|
|
11803
|
+
obj.gp5Device = message.gp5Device;
|
|
11804
|
+
}
|
|
11805
|
+
if (message.gp6Device !== false) {
|
|
11806
|
+
obj.gp6Device = message.gp6Device;
|
|
11807
|
+
}
|
|
11808
|
+
if (message.gp1IncompatibleDevice !== false) {
|
|
11809
|
+
obj.gp1IncompatibleDevice = message.gp1IncompatibleDevice;
|
|
11810
|
+
}
|
|
11811
|
+
if (message.gp2IncompatibleDevice !== false) {
|
|
11812
|
+
obj.gp2IncompatibleDevice = message.gp2IncompatibleDevice;
|
|
11813
|
+
}
|
|
11814
|
+
if (message.gp3IncompatibleDevice !== false) {
|
|
11815
|
+
obj.gp3IncompatibleDevice = message.gp3IncompatibleDevice;
|
|
11816
|
+
}
|
|
11817
|
+
if (message.gp4IncompatibleDevice !== false) {
|
|
11818
|
+
obj.gp4IncompatibleDevice = message.gp4IncompatibleDevice;
|
|
11819
|
+
}
|
|
11820
|
+
if (message.gp5IncompatibleDevice !== false) {
|
|
11821
|
+
obj.gp5IncompatibleDevice = message.gp5IncompatibleDevice;
|
|
11822
|
+
}
|
|
11823
|
+
if (message.gp6IncompatibleDevice !== false) {
|
|
11824
|
+
obj.gp6IncompatibleDevice = message.gp6IncompatibleDevice;
|
|
11825
|
+
}
|
|
10002
11826
|
if (message.droneSerialNotSet !== false) {
|
|
10003
11827
|
obj.droneSerialNotSet = message.droneSerialNotSet;
|
|
10004
11828
|
}
|
|
@@ -10053,8 +11877,53 @@ exports.ErrorFlags = {
|
|
|
10053
11877
|
if (message.gp3BatCurrent !== false) {
|
|
10054
11878
|
obj.gp3BatCurrent = message.gp3BatCurrent;
|
|
10055
11879
|
}
|
|
10056
|
-
if (message.
|
|
10057
|
-
obj.
|
|
11880
|
+
if (message.gp4BatCurrent !== false) {
|
|
11881
|
+
obj.gp4BatCurrent = message.gp4BatCurrent;
|
|
11882
|
+
}
|
|
11883
|
+
if (message.gp5BatCurrent !== false) {
|
|
11884
|
+
obj.gp5BatCurrent = message.gp5BatCurrent;
|
|
11885
|
+
}
|
|
11886
|
+
if (message.gp6BatCurrent !== false) {
|
|
11887
|
+
obj.gp6BatCurrent = message.gp6BatCurrent;
|
|
11888
|
+
}
|
|
11889
|
+
if (message.gp24vCurrent !== false) {
|
|
11890
|
+
obj.gp24vCurrent = message.gp24vCurrent;
|
|
11891
|
+
}
|
|
11892
|
+
if (message.gp124vCurrent !== false) {
|
|
11893
|
+
obj.gp124vCurrent = message.gp124vCurrent;
|
|
11894
|
+
}
|
|
11895
|
+
if (message.gp224vCurrent !== false) {
|
|
11896
|
+
obj.gp224vCurrent = message.gp224vCurrent;
|
|
11897
|
+
}
|
|
11898
|
+
if (message.gp324vCurrent !== false) {
|
|
11899
|
+
obj.gp324vCurrent = message.gp324vCurrent;
|
|
11900
|
+
}
|
|
11901
|
+
if (message.gp424vCurrent !== false) {
|
|
11902
|
+
obj.gp424vCurrent = message.gp424vCurrent;
|
|
11903
|
+
}
|
|
11904
|
+
if (message.gp524vCurrent !== false) {
|
|
11905
|
+
obj.gp524vCurrent = message.gp524vCurrent;
|
|
11906
|
+
}
|
|
11907
|
+
if (message.gp624vCurrent !== false) {
|
|
11908
|
+
obj.gp624vCurrent = message.gp624vCurrent;
|
|
11909
|
+
}
|
|
11910
|
+
if (message.gp15vCurrent !== false) {
|
|
11911
|
+
obj.gp15vCurrent = message.gp15vCurrent;
|
|
11912
|
+
}
|
|
11913
|
+
if (message.gp25vCurrent !== false) {
|
|
11914
|
+
obj.gp25vCurrent = message.gp25vCurrent;
|
|
11915
|
+
}
|
|
11916
|
+
if (message.gp35vCurrent !== false) {
|
|
11917
|
+
obj.gp35vCurrent = message.gp35vCurrent;
|
|
11918
|
+
}
|
|
11919
|
+
if (message.gp45vCurrent !== false) {
|
|
11920
|
+
obj.gp45vCurrent = message.gp45vCurrent;
|
|
11921
|
+
}
|
|
11922
|
+
if (message.gp55vCurrent !== false) {
|
|
11923
|
+
obj.gp55vCurrent = message.gp55vCurrent;
|
|
11924
|
+
}
|
|
11925
|
+
if (message.gp65vCurrent !== false) {
|
|
11926
|
+
obj.gp65vCurrent = message.gp65vCurrent;
|
|
10058
11927
|
}
|
|
10059
11928
|
if (message.dvlThermalProtectionMode !== false) {
|
|
10060
11929
|
obj.dvlThermalProtectionMode = message.dvlThermalProtectionMode;
|
|
@@ -10089,18 +11958,39 @@ exports.ErrorFlags = {
|
|
|
10089
11958
|
message.gp1Read = object.gp1Read ?? false;
|
|
10090
11959
|
message.gp2Read = object.gp2Read ?? false;
|
|
10091
11960
|
message.gp3Read = object.gp3Read ?? false;
|
|
11961
|
+
message.gp4Read = object.gp4Read ?? false;
|
|
11962
|
+
message.gp5Read = object.gp5Read ?? false;
|
|
11963
|
+
message.gp6Read = object.gp6Read ?? false;
|
|
10092
11964
|
message.gp1NotFlashed = object.gp1NotFlashed ?? false;
|
|
10093
11965
|
message.gp2NotFlashed = object.gp2NotFlashed ?? false;
|
|
10094
11966
|
message.gp3NotFlashed = object.gp3NotFlashed ?? false;
|
|
11967
|
+
message.gp4NotFlashed = object.gp4NotFlashed ?? false;
|
|
11968
|
+
message.gp5NotFlashed = object.gp5NotFlashed ?? false;
|
|
11969
|
+
message.gp6NotFlashed = object.gp6NotFlashed ?? false;
|
|
10095
11970
|
message.gp1UnknownDevice = object.gp1UnknownDevice ?? false;
|
|
10096
11971
|
message.gp2UnknownDevice = object.gp2UnknownDevice ?? false;
|
|
10097
11972
|
message.gp3UnknownDevice = object.gp3UnknownDevice ?? false;
|
|
11973
|
+
message.gp4UnknownDevice = object.gp4UnknownDevice ?? false;
|
|
11974
|
+
message.gp5UnknownDevice = object.gp5UnknownDevice ?? false;
|
|
11975
|
+
message.gp6UnknownDevice = object.gp6UnknownDevice ?? false;
|
|
10098
11976
|
message.gp1DeviceConnection = object.gp1DeviceConnection ?? false;
|
|
10099
11977
|
message.gp2DeviceConnection = object.gp2DeviceConnection ?? false;
|
|
10100
11978
|
message.gp3DeviceConnection = object.gp3DeviceConnection ?? false;
|
|
11979
|
+
message.gp4DeviceConnection = object.gp4DeviceConnection ?? false;
|
|
11980
|
+
message.gp5DeviceConnection = object.gp5DeviceConnection ?? false;
|
|
11981
|
+
message.gp6DeviceConnection = object.gp6DeviceConnection ?? false;
|
|
10101
11982
|
message.gp1Device = object.gp1Device ?? false;
|
|
10102
11983
|
message.gp2Device = object.gp2Device ?? false;
|
|
10103
11984
|
message.gp3Device = object.gp3Device ?? false;
|
|
11985
|
+
message.gp4Device = object.gp4Device ?? false;
|
|
11986
|
+
message.gp5Device = object.gp5Device ?? false;
|
|
11987
|
+
message.gp6Device = object.gp6Device ?? false;
|
|
11988
|
+
message.gp1IncompatibleDevice = object.gp1IncompatibleDevice ?? false;
|
|
11989
|
+
message.gp2IncompatibleDevice = object.gp2IncompatibleDevice ?? false;
|
|
11990
|
+
message.gp3IncompatibleDevice = object.gp3IncompatibleDevice ?? false;
|
|
11991
|
+
message.gp4IncompatibleDevice = object.gp4IncompatibleDevice ?? false;
|
|
11992
|
+
message.gp5IncompatibleDevice = object.gp5IncompatibleDevice ?? false;
|
|
11993
|
+
message.gp6IncompatibleDevice = object.gp6IncompatibleDevice ?? false;
|
|
10104
11994
|
message.droneSerialNotSet = object.droneSerialNotSet ?? false;
|
|
10105
11995
|
message.droneSerial = object.droneSerial ?? false;
|
|
10106
11996
|
message.mbEepromRead = object.mbEepromRead ?? false;
|
|
@@ -10119,7 +12009,22 @@ exports.ErrorFlags = {
|
|
|
10119
12009
|
message.gp1BatCurrent = object.gp1BatCurrent ?? false;
|
|
10120
12010
|
message.gp2BatCurrent = object.gp2BatCurrent ?? false;
|
|
10121
12011
|
message.gp3BatCurrent = object.gp3BatCurrent ?? false;
|
|
10122
|
-
message.
|
|
12012
|
+
message.gp4BatCurrent = object.gp4BatCurrent ?? false;
|
|
12013
|
+
message.gp5BatCurrent = object.gp5BatCurrent ?? false;
|
|
12014
|
+
message.gp6BatCurrent = object.gp6BatCurrent ?? false;
|
|
12015
|
+
message.gp24vCurrent = object.gp24vCurrent ?? false;
|
|
12016
|
+
message.gp124vCurrent = object.gp124vCurrent ?? false;
|
|
12017
|
+
message.gp224vCurrent = object.gp224vCurrent ?? false;
|
|
12018
|
+
message.gp324vCurrent = object.gp324vCurrent ?? false;
|
|
12019
|
+
message.gp424vCurrent = object.gp424vCurrent ?? false;
|
|
12020
|
+
message.gp524vCurrent = object.gp524vCurrent ?? false;
|
|
12021
|
+
message.gp624vCurrent = object.gp624vCurrent ?? false;
|
|
12022
|
+
message.gp15vCurrent = object.gp15vCurrent ?? false;
|
|
12023
|
+
message.gp25vCurrent = object.gp25vCurrent ?? false;
|
|
12024
|
+
message.gp35vCurrent = object.gp35vCurrent ?? false;
|
|
12025
|
+
message.gp45vCurrent = object.gp45vCurrent ?? false;
|
|
12026
|
+
message.gp55vCurrent = object.gp55vCurrent ?? false;
|
|
12027
|
+
message.gp65vCurrent = object.gp65vCurrent ?? false;
|
|
10123
12028
|
message.dvlThermalProtectionMode = object.dvlThermalProtectionMode ?? false;
|
|
10124
12029
|
message.dvlNoPower = object.dvlNoPower ?? false;
|
|
10125
12030
|
message.usbDisconnect = object.usbDisconnect ?? false;
|
|
@@ -11152,6 +13057,8 @@ function createBaseGuestPortDevice() {
|
|
|
11152
13057
|
depthRating: 0,
|
|
11153
13058
|
requiredBlunuxVersion: "",
|
|
11154
13059
|
detachStatus: 0,
|
|
13060
|
+
requiredCapabilities: [],
|
|
13061
|
+
compatibleGuestPorts: [],
|
|
11155
13062
|
};
|
|
11156
13063
|
}
|
|
11157
13064
|
exports.GuestPortDevice = {
|
|
@@ -11177,6 +13084,16 @@ exports.GuestPortDevice = {
|
|
|
11177
13084
|
if (message.detachStatus !== 0) {
|
|
11178
13085
|
writer.uint32(56).int32(message.detachStatus);
|
|
11179
13086
|
}
|
|
13087
|
+
writer.uint32(66).fork();
|
|
13088
|
+
for (const v of message.requiredCapabilities) {
|
|
13089
|
+
writer.int32(v);
|
|
13090
|
+
}
|
|
13091
|
+
writer.join();
|
|
13092
|
+
writer.uint32(74).fork();
|
|
13093
|
+
for (const v of message.compatibleGuestPorts) {
|
|
13094
|
+
writer.int32(v);
|
|
13095
|
+
}
|
|
13096
|
+
writer.join();
|
|
11180
13097
|
return writer;
|
|
11181
13098
|
},
|
|
11182
13099
|
decode(input, length) {
|
|
@@ -11235,6 +13152,34 @@ exports.GuestPortDevice = {
|
|
|
11235
13152
|
message.detachStatus = reader.int32();
|
|
11236
13153
|
continue;
|
|
11237
13154
|
}
|
|
13155
|
+
case 8: {
|
|
13156
|
+
if (tag === 64) {
|
|
13157
|
+
message.requiredCapabilities.push(reader.int32());
|
|
13158
|
+
continue;
|
|
13159
|
+
}
|
|
13160
|
+
if (tag === 66) {
|
|
13161
|
+
const end2 = reader.uint32() + reader.pos;
|
|
13162
|
+
while (reader.pos < end2) {
|
|
13163
|
+
message.requiredCapabilities.push(reader.int32());
|
|
13164
|
+
}
|
|
13165
|
+
continue;
|
|
13166
|
+
}
|
|
13167
|
+
break;
|
|
13168
|
+
}
|
|
13169
|
+
case 9: {
|
|
13170
|
+
if (tag === 72) {
|
|
13171
|
+
message.compatibleGuestPorts.push(reader.int32());
|
|
13172
|
+
continue;
|
|
13173
|
+
}
|
|
13174
|
+
if (tag === 74) {
|
|
13175
|
+
const end2 = reader.uint32() + reader.pos;
|
|
13176
|
+
while (reader.pos < end2) {
|
|
13177
|
+
message.compatibleGuestPorts.push(reader.int32());
|
|
13178
|
+
}
|
|
13179
|
+
continue;
|
|
13180
|
+
}
|
|
13181
|
+
break;
|
|
13182
|
+
}
|
|
11238
13183
|
}
|
|
11239
13184
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11240
13185
|
break;
|
|
@@ -11252,6 +13197,12 @@ exports.GuestPortDevice = {
|
|
|
11252
13197
|
depthRating: isSet(object.depthRating) ? gt.Number(object.depthRating) : 0,
|
|
11253
13198
|
requiredBlunuxVersion: isSet(object.requiredBlunuxVersion) ? gt.String(object.requiredBlunuxVersion) : "",
|
|
11254
13199
|
detachStatus: isSet(object.detachStatus) ? guestPortDetachStatusFromJSON(object.detachStatus) : 0,
|
|
13200
|
+
requiredCapabilities: gt.Array.isArray(object?.requiredCapabilities)
|
|
13201
|
+
? object.requiredCapabilities.map((e) => guestPortCapabilityFromJSON(e))
|
|
13202
|
+
: [],
|
|
13203
|
+
compatibleGuestPorts: gt.Array.isArray(object?.compatibleGuestPorts)
|
|
13204
|
+
? object.compatibleGuestPorts.map((e) => guestPortNumberFromJSON(e))
|
|
13205
|
+
: [],
|
|
11255
13206
|
};
|
|
11256
13207
|
},
|
|
11257
13208
|
toJSON(message) {
|
|
@@ -11277,6 +13228,12 @@ exports.GuestPortDevice = {
|
|
|
11277
13228
|
if (message.detachStatus !== 0) {
|
|
11278
13229
|
obj.detachStatus = guestPortDetachStatusToJSON(message.detachStatus);
|
|
11279
13230
|
}
|
|
13231
|
+
if (message.requiredCapabilities?.length) {
|
|
13232
|
+
obj.requiredCapabilities = message.requiredCapabilities.map((e) => guestPortCapabilityToJSON(e));
|
|
13233
|
+
}
|
|
13234
|
+
if (message.compatibleGuestPorts?.length) {
|
|
13235
|
+
obj.compatibleGuestPorts = message.compatibleGuestPorts.map((e) => guestPortNumberToJSON(e));
|
|
13236
|
+
}
|
|
11280
13237
|
return obj;
|
|
11281
13238
|
},
|
|
11282
13239
|
create(base) {
|
|
@@ -11291,6 +13248,8 @@ exports.GuestPortDevice = {
|
|
|
11291
13248
|
message.depthRating = object.depthRating ?? 0;
|
|
11292
13249
|
message.requiredBlunuxVersion = object.requiredBlunuxVersion ?? "";
|
|
11293
13250
|
message.detachStatus = object.detachStatus ?? 0;
|
|
13251
|
+
message.requiredCapabilities = object.requiredCapabilities?.map((e) => e) || [];
|
|
13252
|
+
message.compatibleGuestPorts = object.compatibleGuestPorts?.map((e) => e) || [];
|
|
11294
13253
|
return message;
|
|
11295
13254
|
},
|
|
11296
13255
|
};
|
|
@@ -11348,7 +13307,7 @@ exports.GuestPortDeviceList = {
|
|
|
11348
13307
|
},
|
|
11349
13308
|
};
|
|
11350
13309
|
function createBaseGuestPortConnectorInfo() {
|
|
11351
|
-
return { deviceList: undefined, error: undefined, guestPortNumber: 0 };
|
|
13310
|
+
return { deviceList: undefined, error: undefined, guestPortNumber: 0, capabilities: [] };
|
|
11352
13311
|
}
|
|
11353
13312
|
exports.GuestPortConnectorInfo = {
|
|
11354
13313
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -11361,6 +13320,11 @@ exports.GuestPortConnectorInfo = {
|
|
|
11361
13320
|
if (message.guestPortNumber !== 0) {
|
|
11362
13321
|
writer.uint32(24).int32(message.guestPortNumber);
|
|
11363
13322
|
}
|
|
13323
|
+
writer.uint32(34).fork();
|
|
13324
|
+
for (const v of message.capabilities) {
|
|
13325
|
+
writer.int32(v);
|
|
13326
|
+
}
|
|
13327
|
+
writer.join();
|
|
11364
13328
|
return writer;
|
|
11365
13329
|
},
|
|
11366
13330
|
decode(input, length) {
|
|
@@ -11391,6 +13355,20 @@ exports.GuestPortConnectorInfo = {
|
|
|
11391
13355
|
message.guestPortNumber = reader.int32();
|
|
11392
13356
|
continue;
|
|
11393
13357
|
}
|
|
13358
|
+
case 4: {
|
|
13359
|
+
if (tag === 32) {
|
|
13360
|
+
message.capabilities.push(reader.int32());
|
|
13361
|
+
continue;
|
|
13362
|
+
}
|
|
13363
|
+
if (tag === 34) {
|
|
13364
|
+
const end2 = reader.uint32() + reader.pos;
|
|
13365
|
+
while (reader.pos < end2) {
|
|
13366
|
+
message.capabilities.push(reader.int32());
|
|
13367
|
+
}
|
|
13368
|
+
continue;
|
|
13369
|
+
}
|
|
13370
|
+
break;
|
|
13371
|
+
}
|
|
11394
13372
|
}
|
|
11395
13373
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11396
13374
|
break;
|
|
@@ -11404,6 +13382,9 @@ exports.GuestPortConnectorInfo = {
|
|
|
11404
13382
|
deviceList: isSet(object.deviceList) ? exports.GuestPortDeviceList.fromJSON(object.deviceList) : undefined,
|
|
11405
13383
|
error: isSet(object.error) ? guestPortErrorFromJSON(object.error) : undefined,
|
|
11406
13384
|
guestPortNumber: isSet(object.guestPortNumber) ? guestPortNumberFromJSON(object.guestPortNumber) : 0,
|
|
13385
|
+
capabilities: gt.Array.isArray(object?.capabilities)
|
|
13386
|
+
? object.capabilities.map((e) => guestPortCapabilityFromJSON(e))
|
|
13387
|
+
: [],
|
|
11407
13388
|
};
|
|
11408
13389
|
},
|
|
11409
13390
|
toJSON(message) {
|
|
@@ -11417,6 +13398,9 @@ exports.GuestPortConnectorInfo = {
|
|
|
11417
13398
|
if (message.guestPortNumber !== 0) {
|
|
11418
13399
|
obj.guestPortNumber = guestPortNumberToJSON(message.guestPortNumber);
|
|
11419
13400
|
}
|
|
13401
|
+
if (message.capabilities?.length) {
|
|
13402
|
+
obj.capabilities = message.capabilities.map((e) => guestPortCapabilityToJSON(e));
|
|
13403
|
+
}
|
|
11420
13404
|
return obj;
|
|
11421
13405
|
},
|
|
11422
13406
|
create(base) {
|
|
@@ -11429,11 +13413,12 @@ exports.GuestPortConnectorInfo = {
|
|
|
11429
13413
|
: undefined;
|
|
11430
13414
|
message.error = object.error ?? undefined;
|
|
11431
13415
|
message.guestPortNumber = object.guestPortNumber ?? 0;
|
|
13416
|
+
message.capabilities = object.capabilities?.map((e) => e) || [];
|
|
11432
13417
|
return message;
|
|
11433
13418
|
},
|
|
11434
13419
|
};
|
|
11435
13420
|
function createBaseGuestPortInfo() {
|
|
11436
|
-
return { gp1: undefined, gp2: undefined, gp3: undefined };
|
|
13421
|
+
return { gp1: undefined, gp2: undefined, gp3: undefined, gp4: undefined, gp5: undefined, gp6: undefined };
|
|
11437
13422
|
}
|
|
11438
13423
|
exports.GuestPortInfo = {
|
|
11439
13424
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -11446,6 +13431,15 @@ exports.GuestPortInfo = {
|
|
|
11446
13431
|
if (message.gp3 !== undefined) {
|
|
11447
13432
|
exports.GuestPortConnectorInfo.encode(message.gp3, writer.uint32(26).fork()).join();
|
|
11448
13433
|
}
|
|
13434
|
+
if (message.gp4 !== undefined) {
|
|
13435
|
+
exports.GuestPortConnectorInfo.encode(message.gp4, writer.uint32(34).fork()).join();
|
|
13436
|
+
}
|
|
13437
|
+
if (message.gp5 !== undefined) {
|
|
13438
|
+
exports.GuestPortConnectorInfo.encode(message.gp5, writer.uint32(42).fork()).join();
|
|
13439
|
+
}
|
|
13440
|
+
if (message.gp6 !== undefined) {
|
|
13441
|
+
exports.GuestPortConnectorInfo.encode(message.gp6, writer.uint32(50).fork()).join();
|
|
13442
|
+
}
|
|
11449
13443
|
return writer;
|
|
11450
13444
|
},
|
|
11451
13445
|
decode(input, length) {
|
|
@@ -11476,6 +13470,27 @@ exports.GuestPortInfo = {
|
|
|
11476
13470
|
message.gp3 = exports.GuestPortConnectorInfo.decode(reader, reader.uint32());
|
|
11477
13471
|
continue;
|
|
11478
13472
|
}
|
|
13473
|
+
case 4: {
|
|
13474
|
+
if (tag !== 34) {
|
|
13475
|
+
break;
|
|
13476
|
+
}
|
|
13477
|
+
message.gp4 = exports.GuestPortConnectorInfo.decode(reader, reader.uint32());
|
|
13478
|
+
continue;
|
|
13479
|
+
}
|
|
13480
|
+
case 5: {
|
|
13481
|
+
if (tag !== 42) {
|
|
13482
|
+
break;
|
|
13483
|
+
}
|
|
13484
|
+
message.gp5 = exports.GuestPortConnectorInfo.decode(reader, reader.uint32());
|
|
13485
|
+
continue;
|
|
13486
|
+
}
|
|
13487
|
+
case 6: {
|
|
13488
|
+
if (tag !== 50) {
|
|
13489
|
+
break;
|
|
13490
|
+
}
|
|
13491
|
+
message.gp6 = exports.GuestPortConnectorInfo.decode(reader, reader.uint32());
|
|
13492
|
+
continue;
|
|
13493
|
+
}
|
|
11479
13494
|
}
|
|
11480
13495
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11481
13496
|
break;
|
|
@@ -11489,6 +13504,9 @@ exports.GuestPortInfo = {
|
|
|
11489
13504
|
gp1: isSet(object.gp1) ? exports.GuestPortConnectorInfo.fromJSON(object.gp1) : undefined,
|
|
11490
13505
|
gp2: isSet(object.gp2) ? exports.GuestPortConnectorInfo.fromJSON(object.gp2) : undefined,
|
|
11491
13506
|
gp3: isSet(object.gp3) ? exports.GuestPortConnectorInfo.fromJSON(object.gp3) : undefined,
|
|
13507
|
+
gp4: isSet(object.gp4) ? exports.GuestPortConnectorInfo.fromJSON(object.gp4) : undefined,
|
|
13508
|
+
gp5: isSet(object.gp5) ? exports.GuestPortConnectorInfo.fromJSON(object.gp5) : undefined,
|
|
13509
|
+
gp6: isSet(object.gp6) ? exports.GuestPortConnectorInfo.fromJSON(object.gp6) : undefined,
|
|
11492
13510
|
};
|
|
11493
13511
|
},
|
|
11494
13512
|
toJSON(message) {
|
|
@@ -11502,6 +13520,15 @@ exports.GuestPortInfo = {
|
|
|
11502
13520
|
if (message.gp3 !== undefined) {
|
|
11503
13521
|
obj.gp3 = exports.GuestPortConnectorInfo.toJSON(message.gp3);
|
|
11504
13522
|
}
|
|
13523
|
+
if (message.gp4 !== undefined) {
|
|
13524
|
+
obj.gp4 = exports.GuestPortConnectorInfo.toJSON(message.gp4);
|
|
13525
|
+
}
|
|
13526
|
+
if (message.gp5 !== undefined) {
|
|
13527
|
+
obj.gp5 = exports.GuestPortConnectorInfo.toJSON(message.gp5);
|
|
13528
|
+
}
|
|
13529
|
+
if (message.gp6 !== undefined) {
|
|
13530
|
+
obj.gp6 = exports.GuestPortConnectorInfo.toJSON(message.gp6);
|
|
13531
|
+
}
|
|
11505
13532
|
return obj;
|
|
11506
13533
|
},
|
|
11507
13534
|
create(base) {
|
|
@@ -11518,6 +13545,15 @@ exports.GuestPortInfo = {
|
|
|
11518
13545
|
message.gp3 = (object.gp3 !== undefined && object.gp3 !== null)
|
|
11519
13546
|
? exports.GuestPortConnectorInfo.fromPartial(object.gp3)
|
|
11520
13547
|
: undefined;
|
|
13548
|
+
message.gp4 = (object.gp4 !== undefined && object.gp4 !== null)
|
|
13549
|
+
? exports.GuestPortConnectorInfo.fromPartial(object.gp4)
|
|
13550
|
+
: undefined;
|
|
13551
|
+
message.gp5 = (object.gp5 !== undefined && object.gp5 !== null)
|
|
13552
|
+
? exports.GuestPortConnectorInfo.fromPartial(object.gp5)
|
|
13553
|
+
: undefined;
|
|
13554
|
+
message.gp6 = (object.gp6 !== undefined && object.gp6 !== null)
|
|
13555
|
+
? exports.GuestPortConnectorInfo.fromPartial(object.gp6)
|
|
13556
|
+
: undefined;
|
|
11521
13557
|
return message;
|
|
11522
13558
|
},
|
|
11523
13559
|
};
|
|
@@ -11858,7 +13894,27 @@ exports.MultibeamServo = {
|
|
|
11858
13894
|
},
|
|
11859
13895
|
};
|
|
11860
13896
|
function createBaseGuestPortCurrent() {
|
|
11861
|
-
return {
|
|
13897
|
+
return {
|
|
13898
|
+
gp1Bat: 0,
|
|
13899
|
+
gp2Bat: 0,
|
|
13900
|
+
gp3Bat: 0,
|
|
13901
|
+
gp24v: 0,
|
|
13902
|
+
gp4Bat: 0,
|
|
13903
|
+
gp5Bat: 0,
|
|
13904
|
+
gp6Bat: 0,
|
|
13905
|
+
gp124v: 0,
|
|
13906
|
+
gp224v: 0,
|
|
13907
|
+
gp324v: 0,
|
|
13908
|
+
gp424v: 0,
|
|
13909
|
+
gp524v: 0,
|
|
13910
|
+
gp624v: 0,
|
|
13911
|
+
gp15v: 0,
|
|
13912
|
+
gp25v: 0,
|
|
13913
|
+
gp35v: 0,
|
|
13914
|
+
gp45v: 0,
|
|
13915
|
+
gp55v: 0,
|
|
13916
|
+
gp65v: 0,
|
|
13917
|
+
};
|
|
11862
13918
|
}
|
|
11863
13919
|
exports.GuestPortCurrent = {
|
|
11864
13920
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -11871,8 +13927,53 @@ exports.GuestPortCurrent = {
|
|
|
11871
13927
|
if (message.gp3Bat !== 0) {
|
|
11872
13928
|
writer.uint32(25).double(message.gp3Bat);
|
|
11873
13929
|
}
|
|
11874
|
-
if (message.
|
|
11875
|
-
writer.uint32(33).double(message.
|
|
13930
|
+
if (message.gp24v !== 0) {
|
|
13931
|
+
writer.uint32(33).double(message.gp24v);
|
|
13932
|
+
}
|
|
13933
|
+
if (message.gp4Bat !== 0) {
|
|
13934
|
+
writer.uint32(41).double(message.gp4Bat);
|
|
13935
|
+
}
|
|
13936
|
+
if (message.gp5Bat !== 0) {
|
|
13937
|
+
writer.uint32(49).double(message.gp5Bat);
|
|
13938
|
+
}
|
|
13939
|
+
if (message.gp6Bat !== 0) {
|
|
13940
|
+
writer.uint32(57).double(message.gp6Bat);
|
|
13941
|
+
}
|
|
13942
|
+
if (message.gp124v !== 0) {
|
|
13943
|
+
writer.uint32(65).double(message.gp124v);
|
|
13944
|
+
}
|
|
13945
|
+
if (message.gp224v !== 0) {
|
|
13946
|
+
writer.uint32(73).double(message.gp224v);
|
|
13947
|
+
}
|
|
13948
|
+
if (message.gp324v !== 0) {
|
|
13949
|
+
writer.uint32(81).double(message.gp324v);
|
|
13950
|
+
}
|
|
13951
|
+
if (message.gp424v !== 0) {
|
|
13952
|
+
writer.uint32(89).double(message.gp424v);
|
|
13953
|
+
}
|
|
13954
|
+
if (message.gp524v !== 0) {
|
|
13955
|
+
writer.uint32(97).double(message.gp524v);
|
|
13956
|
+
}
|
|
13957
|
+
if (message.gp624v !== 0) {
|
|
13958
|
+
writer.uint32(105).double(message.gp624v);
|
|
13959
|
+
}
|
|
13960
|
+
if (message.gp15v !== 0) {
|
|
13961
|
+
writer.uint32(113).double(message.gp15v);
|
|
13962
|
+
}
|
|
13963
|
+
if (message.gp25v !== 0) {
|
|
13964
|
+
writer.uint32(121).double(message.gp25v);
|
|
13965
|
+
}
|
|
13966
|
+
if (message.gp35v !== 0) {
|
|
13967
|
+
writer.uint32(129).double(message.gp35v);
|
|
13968
|
+
}
|
|
13969
|
+
if (message.gp45v !== 0) {
|
|
13970
|
+
writer.uint32(137).double(message.gp45v);
|
|
13971
|
+
}
|
|
13972
|
+
if (message.gp55v !== 0) {
|
|
13973
|
+
writer.uint32(145).double(message.gp55v);
|
|
13974
|
+
}
|
|
13975
|
+
if (message.gp65v !== 0) {
|
|
13976
|
+
writer.uint32(153).double(message.gp65v);
|
|
11876
13977
|
}
|
|
11877
13978
|
return writer;
|
|
11878
13979
|
},
|
|
@@ -11908,7 +14009,112 @@ exports.GuestPortCurrent = {
|
|
|
11908
14009
|
if (tag !== 33) {
|
|
11909
14010
|
break;
|
|
11910
14011
|
}
|
|
11911
|
-
message.
|
|
14012
|
+
message.gp24v = reader.double();
|
|
14013
|
+
continue;
|
|
14014
|
+
}
|
|
14015
|
+
case 5: {
|
|
14016
|
+
if (tag !== 41) {
|
|
14017
|
+
break;
|
|
14018
|
+
}
|
|
14019
|
+
message.gp4Bat = reader.double();
|
|
14020
|
+
continue;
|
|
14021
|
+
}
|
|
14022
|
+
case 6: {
|
|
14023
|
+
if (tag !== 49) {
|
|
14024
|
+
break;
|
|
14025
|
+
}
|
|
14026
|
+
message.gp5Bat = reader.double();
|
|
14027
|
+
continue;
|
|
14028
|
+
}
|
|
14029
|
+
case 7: {
|
|
14030
|
+
if (tag !== 57) {
|
|
14031
|
+
break;
|
|
14032
|
+
}
|
|
14033
|
+
message.gp6Bat = reader.double();
|
|
14034
|
+
continue;
|
|
14035
|
+
}
|
|
14036
|
+
case 8: {
|
|
14037
|
+
if (tag !== 65) {
|
|
14038
|
+
break;
|
|
14039
|
+
}
|
|
14040
|
+
message.gp124v = reader.double();
|
|
14041
|
+
continue;
|
|
14042
|
+
}
|
|
14043
|
+
case 9: {
|
|
14044
|
+
if (tag !== 73) {
|
|
14045
|
+
break;
|
|
14046
|
+
}
|
|
14047
|
+
message.gp224v = reader.double();
|
|
14048
|
+
continue;
|
|
14049
|
+
}
|
|
14050
|
+
case 10: {
|
|
14051
|
+
if (tag !== 81) {
|
|
14052
|
+
break;
|
|
14053
|
+
}
|
|
14054
|
+
message.gp324v = reader.double();
|
|
14055
|
+
continue;
|
|
14056
|
+
}
|
|
14057
|
+
case 11: {
|
|
14058
|
+
if (tag !== 89) {
|
|
14059
|
+
break;
|
|
14060
|
+
}
|
|
14061
|
+
message.gp424v = reader.double();
|
|
14062
|
+
continue;
|
|
14063
|
+
}
|
|
14064
|
+
case 12: {
|
|
14065
|
+
if (tag !== 97) {
|
|
14066
|
+
break;
|
|
14067
|
+
}
|
|
14068
|
+
message.gp524v = reader.double();
|
|
14069
|
+
continue;
|
|
14070
|
+
}
|
|
14071
|
+
case 13: {
|
|
14072
|
+
if (tag !== 105) {
|
|
14073
|
+
break;
|
|
14074
|
+
}
|
|
14075
|
+
message.gp624v = reader.double();
|
|
14076
|
+
continue;
|
|
14077
|
+
}
|
|
14078
|
+
case 14: {
|
|
14079
|
+
if (tag !== 113) {
|
|
14080
|
+
break;
|
|
14081
|
+
}
|
|
14082
|
+
message.gp15v = reader.double();
|
|
14083
|
+
continue;
|
|
14084
|
+
}
|
|
14085
|
+
case 15: {
|
|
14086
|
+
if (tag !== 121) {
|
|
14087
|
+
break;
|
|
14088
|
+
}
|
|
14089
|
+
message.gp25v = reader.double();
|
|
14090
|
+
continue;
|
|
14091
|
+
}
|
|
14092
|
+
case 16: {
|
|
14093
|
+
if (tag !== 129) {
|
|
14094
|
+
break;
|
|
14095
|
+
}
|
|
14096
|
+
message.gp35v = reader.double();
|
|
14097
|
+
continue;
|
|
14098
|
+
}
|
|
14099
|
+
case 17: {
|
|
14100
|
+
if (tag !== 137) {
|
|
14101
|
+
break;
|
|
14102
|
+
}
|
|
14103
|
+
message.gp45v = reader.double();
|
|
14104
|
+
continue;
|
|
14105
|
+
}
|
|
14106
|
+
case 18: {
|
|
14107
|
+
if (tag !== 145) {
|
|
14108
|
+
break;
|
|
14109
|
+
}
|
|
14110
|
+
message.gp55v = reader.double();
|
|
14111
|
+
continue;
|
|
14112
|
+
}
|
|
14113
|
+
case 19: {
|
|
14114
|
+
if (tag !== 153) {
|
|
14115
|
+
break;
|
|
14116
|
+
}
|
|
14117
|
+
message.gp65v = reader.double();
|
|
11912
14118
|
continue;
|
|
11913
14119
|
}
|
|
11914
14120
|
}
|
|
@@ -11924,7 +14130,22 @@ exports.GuestPortCurrent = {
|
|
|
11924
14130
|
gp1Bat: isSet(object.gp1Bat) ? gt.Number(object.gp1Bat) : 0,
|
|
11925
14131
|
gp2Bat: isSet(object.gp2Bat) ? gt.Number(object.gp2Bat) : 0,
|
|
11926
14132
|
gp3Bat: isSet(object.gp3Bat) ? gt.Number(object.gp3Bat) : 0,
|
|
11927
|
-
|
|
14133
|
+
gp24v: isSet(object.gp24v) ? gt.Number(object.gp24v) : 0,
|
|
14134
|
+
gp4Bat: isSet(object.gp4Bat) ? gt.Number(object.gp4Bat) : 0,
|
|
14135
|
+
gp5Bat: isSet(object.gp5Bat) ? gt.Number(object.gp5Bat) : 0,
|
|
14136
|
+
gp6Bat: isSet(object.gp6Bat) ? gt.Number(object.gp6Bat) : 0,
|
|
14137
|
+
gp124v: isSet(object.gp124v) ? gt.Number(object.gp124v) : 0,
|
|
14138
|
+
gp224v: isSet(object.gp224v) ? gt.Number(object.gp224v) : 0,
|
|
14139
|
+
gp324v: isSet(object.gp324v) ? gt.Number(object.gp324v) : 0,
|
|
14140
|
+
gp424v: isSet(object.gp424v) ? gt.Number(object.gp424v) : 0,
|
|
14141
|
+
gp524v: isSet(object.gp524v) ? gt.Number(object.gp524v) : 0,
|
|
14142
|
+
gp624v: isSet(object.gp624v) ? gt.Number(object.gp624v) : 0,
|
|
14143
|
+
gp15v: isSet(object.gp15v) ? gt.Number(object.gp15v) : 0,
|
|
14144
|
+
gp25v: isSet(object.gp25v) ? gt.Number(object.gp25v) : 0,
|
|
14145
|
+
gp35v: isSet(object.gp35v) ? gt.Number(object.gp35v) : 0,
|
|
14146
|
+
gp45v: isSet(object.gp45v) ? gt.Number(object.gp45v) : 0,
|
|
14147
|
+
gp55v: isSet(object.gp55v) ? gt.Number(object.gp55v) : 0,
|
|
14148
|
+
gp65v: isSet(object.gp65v) ? gt.Number(object.gp65v) : 0,
|
|
11928
14149
|
};
|
|
11929
14150
|
},
|
|
11930
14151
|
toJSON(message) {
|
|
@@ -11938,8 +14159,53 @@ exports.GuestPortCurrent = {
|
|
|
11938
14159
|
if (message.gp3Bat !== 0) {
|
|
11939
14160
|
obj.gp3Bat = message.gp3Bat;
|
|
11940
14161
|
}
|
|
11941
|
-
if (message.
|
|
11942
|
-
obj.
|
|
14162
|
+
if (message.gp24v !== 0) {
|
|
14163
|
+
obj.gp24v = message.gp24v;
|
|
14164
|
+
}
|
|
14165
|
+
if (message.gp4Bat !== 0) {
|
|
14166
|
+
obj.gp4Bat = message.gp4Bat;
|
|
14167
|
+
}
|
|
14168
|
+
if (message.gp5Bat !== 0) {
|
|
14169
|
+
obj.gp5Bat = message.gp5Bat;
|
|
14170
|
+
}
|
|
14171
|
+
if (message.gp6Bat !== 0) {
|
|
14172
|
+
obj.gp6Bat = message.gp6Bat;
|
|
14173
|
+
}
|
|
14174
|
+
if (message.gp124v !== 0) {
|
|
14175
|
+
obj.gp124v = message.gp124v;
|
|
14176
|
+
}
|
|
14177
|
+
if (message.gp224v !== 0) {
|
|
14178
|
+
obj.gp224v = message.gp224v;
|
|
14179
|
+
}
|
|
14180
|
+
if (message.gp324v !== 0) {
|
|
14181
|
+
obj.gp324v = message.gp324v;
|
|
14182
|
+
}
|
|
14183
|
+
if (message.gp424v !== 0) {
|
|
14184
|
+
obj.gp424v = message.gp424v;
|
|
14185
|
+
}
|
|
14186
|
+
if (message.gp524v !== 0) {
|
|
14187
|
+
obj.gp524v = message.gp524v;
|
|
14188
|
+
}
|
|
14189
|
+
if (message.gp624v !== 0) {
|
|
14190
|
+
obj.gp624v = message.gp624v;
|
|
14191
|
+
}
|
|
14192
|
+
if (message.gp15v !== 0) {
|
|
14193
|
+
obj.gp15v = message.gp15v;
|
|
14194
|
+
}
|
|
14195
|
+
if (message.gp25v !== 0) {
|
|
14196
|
+
obj.gp25v = message.gp25v;
|
|
14197
|
+
}
|
|
14198
|
+
if (message.gp35v !== 0) {
|
|
14199
|
+
obj.gp35v = message.gp35v;
|
|
14200
|
+
}
|
|
14201
|
+
if (message.gp45v !== 0) {
|
|
14202
|
+
obj.gp45v = message.gp45v;
|
|
14203
|
+
}
|
|
14204
|
+
if (message.gp55v !== 0) {
|
|
14205
|
+
obj.gp55v = message.gp55v;
|
|
14206
|
+
}
|
|
14207
|
+
if (message.gp65v !== 0) {
|
|
14208
|
+
obj.gp65v = message.gp65v;
|
|
11943
14209
|
}
|
|
11944
14210
|
return obj;
|
|
11945
14211
|
},
|
|
@@ -11951,7 +14217,22 @@ exports.GuestPortCurrent = {
|
|
|
11951
14217
|
message.gp1Bat = object.gp1Bat ?? 0;
|
|
11952
14218
|
message.gp2Bat = object.gp2Bat ?? 0;
|
|
11953
14219
|
message.gp3Bat = object.gp3Bat ?? 0;
|
|
11954
|
-
message.
|
|
14220
|
+
message.gp24v = object.gp24v ?? 0;
|
|
14221
|
+
message.gp4Bat = object.gp4Bat ?? 0;
|
|
14222
|
+
message.gp5Bat = object.gp5Bat ?? 0;
|
|
14223
|
+
message.gp6Bat = object.gp6Bat ?? 0;
|
|
14224
|
+
message.gp124v = object.gp124v ?? 0;
|
|
14225
|
+
message.gp224v = object.gp224v ?? 0;
|
|
14226
|
+
message.gp324v = object.gp324v ?? 0;
|
|
14227
|
+
message.gp424v = object.gp424v ?? 0;
|
|
14228
|
+
message.gp524v = object.gp524v ?? 0;
|
|
14229
|
+
message.gp624v = object.gp624v ?? 0;
|
|
14230
|
+
message.gp15v = object.gp15v ?? 0;
|
|
14231
|
+
message.gp25v = object.gp25v ?? 0;
|
|
14232
|
+
message.gp35v = object.gp35v ?? 0;
|
|
14233
|
+
message.gp45v = object.gp45v ?? 0;
|
|
14234
|
+
message.gp55v = object.gp55v ?? 0;
|
|
14235
|
+
message.gp65v = object.gp65v ?? 0;
|
|
11955
14236
|
return message;
|
|
11956
14237
|
},
|
|
11957
14238
|
};
|
|
@@ -12299,6 +14580,11 @@ function createBaseMultibeamPing() {
|
|
|
12299
14580
|
pingData: new Uint8Array(0),
|
|
12300
14581
|
deviceId: 0,
|
|
12301
14582
|
frameGenerationTimestamp: undefined,
|
|
14583
|
+
heading: 0,
|
|
14584
|
+
pitch: 0,
|
|
14585
|
+
roll: 0,
|
|
14586
|
+
temperature: 0,
|
|
14587
|
+
pressure: 0,
|
|
12302
14588
|
};
|
|
12303
14589
|
}
|
|
12304
14590
|
exports.MultibeamPing = {
|
|
@@ -12341,6 +14627,21 @@ exports.MultibeamPing = {
|
|
|
12341
14627
|
if (message.frameGenerationTimestamp !== undefined) {
|
|
12342
14628
|
timestamp_1.Timestamp.encode(toTimestamp(message.frameGenerationTimestamp), writer.uint32(98).fork()).join();
|
|
12343
14629
|
}
|
|
14630
|
+
if (message.heading !== 0) {
|
|
14631
|
+
writer.uint32(105).double(message.heading);
|
|
14632
|
+
}
|
|
14633
|
+
if (message.pitch !== 0) {
|
|
14634
|
+
writer.uint32(113).double(message.pitch);
|
|
14635
|
+
}
|
|
14636
|
+
if (message.roll !== 0) {
|
|
14637
|
+
writer.uint32(121).double(message.roll);
|
|
14638
|
+
}
|
|
14639
|
+
if (message.temperature !== 0) {
|
|
14640
|
+
writer.uint32(129).double(message.temperature);
|
|
14641
|
+
}
|
|
14642
|
+
if (message.pressure !== 0) {
|
|
14643
|
+
writer.uint32(137).double(message.pressure);
|
|
14644
|
+
}
|
|
12344
14645
|
return writer;
|
|
12345
14646
|
},
|
|
12346
14647
|
decode(input, length) {
|
|
@@ -12441,6 +14742,41 @@ exports.MultibeamPing = {
|
|
|
12441
14742
|
message.frameGenerationTimestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
12442
14743
|
continue;
|
|
12443
14744
|
}
|
|
14745
|
+
case 13: {
|
|
14746
|
+
if (tag !== 105) {
|
|
14747
|
+
break;
|
|
14748
|
+
}
|
|
14749
|
+
message.heading = reader.double();
|
|
14750
|
+
continue;
|
|
14751
|
+
}
|
|
14752
|
+
case 14: {
|
|
14753
|
+
if (tag !== 113) {
|
|
14754
|
+
break;
|
|
14755
|
+
}
|
|
14756
|
+
message.pitch = reader.double();
|
|
14757
|
+
continue;
|
|
14758
|
+
}
|
|
14759
|
+
case 15: {
|
|
14760
|
+
if (tag !== 121) {
|
|
14761
|
+
break;
|
|
14762
|
+
}
|
|
14763
|
+
message.roll = reader.double();
|
|
14764
|
+
continue;
|
|
14765
|
+
}
|
|
14766
|
+
case 16: {
|
|
14767
|
+
if (tag !== 129) {
|
|
14768
|
+
break;
|
|
14769
|
+
}
|
|
14770
|
+
message.temperature = reader.double();
|
|
14771
|
+
continue;
|
|
14772
|
+
}
|
|
14773
|
+
case 17: {
|
|
14774
|
+
if (tag !== 137) {
|
|
14775
|
+
break;
|
|
14776
|
+
}
|
|
14777
|
+
message.pressure = reader.double();
|
|
14778
|
+
continue;
|
|
14779
|
+
}
|
|
12444
14780
|
}
|
|
12445
14781
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12446
14782
|
break;
|
|
@@ -12465,6 +14801,11 @@ exports.MultibeamPing = {
|
|
|
12465
14801
|
frameGenerationTimestamp: isSet(object.frameGenerationTimestamp)
|
|
12466
14802
|
? fromJsonTimestamp(object.frameGenerationTimestamp)
|
|
12467
14803
|
: undefined,
|
|
14804
|
+
heading: isSet(object.heading) ? gt.Number(object.heading) : 0,
|
|
14805
|
+
pitch: isSet(object.pitch) ? gt.Number(object.pitch) : 0,
|
|
14806
|
+
roll: isSet(object.roll) ? gt.Number(object.roll) : 0,
|
|
14807
|
+
temperature: isSet(object.temperature) ? gt.Number(object.temperature) : 0,
|
|
14808
|
+
pressure: isSet(object.pressure) ? gt.Number(object.pressure) : 0,
|
|
12468
14809
|
};
|
|
12469
14810
|
},
|
|
12470
14811
|
toJSON(message) {
|
|
@@ -12505,6 +14846,21 @@ exports.MultibeamPing = {
|
|
|
12505
14846
|
if (message.frameGenerationTimestamp !== undefined) {
|
|
12506
14847
|
obj.frameGenerationTimestamp = message.frameGenerationTimestamp.toISOString();
|
|
12507
14848
|
}
|
|
14849
|
+
if (message.heading !== 0) {
|
|
14850
|
+
obj.heading = message.heading;
|
|
14851
|
+
}
|
|
14852
|
+
if (message.pitch !== 0) {
|
|
14853
|
+
obj.pitch = message.pitch;
|
|
14854
|
+
}
|
|
14855
|
+
if (message.roll !== 0) {
|
|
14856
|
+
obj.roll = message.roll;
|
|
14857
|
+
}
|
|
14858
|
+
if (message.temperature !== 0) {
|
|
14859
|
+
obj.temperature = message.temperature;
|
|
14860
|
+
}
|
|
14861
|
+
if (message.pressure !== 0) {
|
|
14862
|
+
obj.pressure = message.pressure;
|
|
14863
|
+
}
|
|
12508
14864
|
return obj;
|
|
12509
14865
|
},
|
|
12510
14866
|
create(base) {
|
|
@@ -12524,6 +14880,11 @@ exports.MultibeamPing = {
|
|
|
12524
14880
|
message.pingData = object.pingData ?? new Uint8Array(0);
|
|
12525
14881
|
message.deviceId = object.deviceId ?? 0;
|
|
12526
14882
|
message.frameGenerationTimestamp = object.frameGenerationTimestamp ?? undefined;
|
|
14883
|
+
message.heading = object.heading ?? 0;
|
|
14884
|
+
message.pitch = object.pitch ?? 0;
|
|
14885
|
+
message.roll = object.roll ?? 0;
|
|
14886
|
+
message.temperature = object.temperature ?? 0;
|
|
14887
|
+
message.pressure = object.pressure ?? 0;
|
|
12527
14888
|
return message;
|
|
12528
14889
|
},
|
|
12529
14890
|
};
|
|
@@ -13863,6 +16224,10 @@ function createBaseVideoCodecInfo() {
|
|
|
13863
16224
|
vpuFrequencyMhz: 0,
|
|
13864
16225
|
vpuCodecIrqCount: 0,
|
|
13865
16226
|
vpuJpgIrqCount: 0,
|
|
16227
|
+
encoderLoad: 0,
|
|
16228
|
+
decoderLoad: 0,
|
|
16229
|
+
nvjpgLoad: 0,
|
|
16230
|
+
vicLoad: 0,
|
|
13866
16231
|
};
|
|
13867
16232
|
}
|
|
13868
16233
|
exports.VideoCodecInfo = {
|
|
@@ -13870,130 +16235,564 @@ exports.VideoCodecInfo = {
|
|
|
13870
16235
|
if (message.encoderActive !== false) {
|
|
13871
16236
|
writer.uint32(8).bool(message.encoderActive);
|
|
13872
16237
|
}
|
|
13873
|
-
if (message.encoderFrequencyMhz !== 0) {
|
|
13874
|
-
writer.uint32(21).float(message.encoderFrequencyMhz);
|
|
16238
|
+
if (message.encoderFrequencyMhz !== 0) {
|
|
16239
|
+
writer.uint32(21).float(message.encoderFrequencyMhz);
|
|
16240
|
+
}
|
|
16241
|
+
if (message.decoderActive !== false) {
|
|
16242
|
+
writer.uint32(24).bool(message.decoderActive);
|
|
16243
|
+
}
|
|
16244
|
+
if (message.decoderFrequencyMhz !== 0) {
|
|
16245
|
+
writer.uint32(37).float(message.decoderFrequencyMhz);
|
|
16246
|
+
}
|
|
16247
|
+
if (message.nvjpgActive !== false) {
|
|
16248
|
+
writer.uint32(40).bool(message.nvjpgActive);
|
|
16249
|
+
}
|
|
16250
|
+
if (message.nvjpgFrequencyMhz !== 0) {
|
|
16251
|
+
writer.uint32(53).float(message.nvjpgFrequencyMhz);
|
|
16252
|
+
}
|
|
16253
|
+
if (message.vicActive !== false) {
|
|
16254
|
+
writer.uint32(56).bool(message.vicActive);
|
|
16255
|
+
}
|
|
16256
|
+
if (message.vicFrequencyMhz !== 0) {
|
|
16257
|
+
writer.uint32(69).float(message.vicFrequencyMhz);
|
|
16258
|
+
}
|
|
16259
|
+
if (message.vpuActive !== false) {
|
|
16260
|
+
writer.uint32(72).bool(message.vpuActive);
|
|
16261
|
+
}
|
|
16262
|
+
if (message.vpuFrequencyMhz !== 0) {
|
|
16263
|
+
writer.uint32(85).float(message.vpuFrequencyMhz);
|
|
16264
|
+
}
|
|
16265
|
+
if (message.vpuCodecIrqCount !== 0) {
|
|
16266
|
+
writer.uint32(88).uint32(message.vpuCodecIrqCount);
|
|
16267
|
+
}
|
|
16268
|
+
if (message.vpuJpgIrqCount !== 0) {
|
|
16269
|
+
writer.uint32(96).uint32(message.vpuJpgIrqCount);
|
|
16270
|
+
}
|
|
16271
|
+
if (message.encoderLoad !== 0) {
|
|
16272
|
+
writer.uint32(109).float(message.encoderLoad);
|
|
16273
|
+
}
|
|
16274
|
+
if (message.decoderLoad !== 0) {
|
|
16275
|
+
writer.uint32(117).float(message.decoderLoad);
|
|
16276
|
+
}
|
|
16277
|
+
if (message.nvjpgLoad !== 0) {
|
|
16278
|
+
writer.uint32(125).float(message.nvjpgLoad);
|
|
16279
|
+
}
|
|
16280
|
+
if (message.vicLoad !== 0) {
|
|
16281
|
+
writer.uint32(133).float(message.vicLoad);
|
|
16282
|
+
}
|
|
16283
|
+
return writer;
|
|
16284
|
+
},
|
|
16285
|
+
decode(input, length) {
|
|
16286
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16287
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
16288
|
+
const message = createBaseVideoCodecInfo();
|
|
16289
|
+
while (reader.pos < end) {
|
|
16290
|
+
const tag = reader.uint32();
|
|
16291
|
+
switch (tag >>> 3) {
|
|
16292
|
+
case 1: {
|
|
16293
|
+
if (tag !== 8) {
|
|
16294
|
+
break;
|
|
16295
|
+
}
|
|
16296
|
+
message.encoderActive = reader.bool();
|
|
16297
|
+
continue;
|
|
16298
|
+
}
|
|
16299
|
+
case 2: {
|
|
16300
|
+
if (tag !== 21) {
|
|
16301
|
+
break;
|
|
16302
|
+
}
|
|
16303
|
+
message.encoderFrequencyMhz = reader.float();
|
|
16304
|
+
continue;
|
|
16305
|
+
}
|
|
16306
|
+
case 3: {
|
|
16307
|
+
if (tag !== 24) {
|
|
16308
|
+
break;
|
|
16309
|
+
}
|
|
16310
|
+
message.decoderActive = reader.bool();
|
|
16311
|
+
continue;
|
|
16312
|
+
}
|
|
16313
|
+
case 4: {
|
|
16314
|
+
if (tag !== 37) {
|
|
16315
|
+
break;
|
|
16316
|
+
}
|
|
16317
|
+
message.decoderFrequencyMhz = reader.float();
|
|
16318
|
+
continue;
|
|
16319
|
+
}
|
|
16320
|
+
case 5: {
|
|
16321
|
+
if (tag !== 40) {
|
|
16322
|
+
break;
|
|
16323
|
+
}
|
|
16324
|
+
message.nvjpgActive = reader.bool();
|
|
16325
|
+
continue;
|
|
16326
|
+
}
|
|
16327
|
+
case 6: {
|
|
16328
|
+
if (tag !== 53) {
|
|
16329
|
+
break;
|
|
16330
|
+
}
|
|
16331
|
+
message.nvjpgFrequencyMhz = reader.float();
|
|
16332
|
+
continue;
|
|
16333
|
+
}
|
|
16334
|
+
case 7: {
|
|
16335
|
+
if (tag !== 56) {
|
|
16336
|
+
break;
|
|
16337
|
+
}
|
|
16338
|
+
message.vicActive = reader.bool();
|
|
16339
|
+
continue;
|
|
16340
|
+
}
|
|
16341
|
+
case 8: {
|
|
16342
|
+
if (tag !== 69) {
|
|
16343
|
+
break;
|
|
16344
|
+
}
|
|
16345
|
+
message.vicFrequencyMhz = reader.float();
|
|
16346
|
+
continue;
|
|
16347
|
+
}
|
|
16348
|
+
case 9: {
|
|
16349
|
+
if (tag !== 72) {
|
|
16350
|
+
break;
|
|
16351
|
+
}
|
|
16352
|
+
message.vpuActive = reader.bool();
|
|
16353
|
+
continue;
|
|
16354
|
+
}
|
|
16355
|
+
case 10: {
|
|
16356
|
+
if (tag !== 85) {
|
|
16357
|
+
break;
|
|
16358
|
+
}
|
|
16359
|
+
message.vpuFrequencyMhz = reader.float();
|
|
16360
|
+
continue;
|
|
16361
|
+
}
|
|
16362
|
+
case 11: {
|
|
16363
|
+
if (tag !== 88) {
|
|
16364
|
+
break;
|
|
16365
|
+
}
|
|
16366
|
+
message.vpuCodecIrqCount = reader.uint32();
|
|
16367
|
+
continue;
|
|
16368
|
+
}
|
|
16369
|
+
case 12: {
|
|
16370
|
+
if (tag !== 96) {
|
|
16371
|
+
break;
|
|
16372
|
+
}
|
|
16373
|
+
message.vpuJpgIrqCount = reader.uint32();
|
|
16374
|
+
continue;
|
|
16375
|
+
}
|
|
16376
|
+
case 13: {
|
|
16377
|
+
if (tag !== 109) {
|
|
16378
|
+
break;
|
|
16379
|
+
}
|
|
16380
|
+
message.encoderLoad = reader.float();
|
|
16381
|
+
continue;
|
|
16382
|
+
}
|
|
16383
|
+
case 14: {
|
|
16384
|
+
if (tag !== 117) {
|
|
16385
|
+
break;
|
|
16386
|
+
}
|
|
16387
|
+
message.decoderLoad = reader.float();
|
|
16388
|
+
continue;
|
|
16389
|
+
}
|
|
16390
|
+
case 15: {
|
|
16391
|
+
if (tag !== 125) {
|
|
16392
|
+
break;
|
|
16393
|
+
}
|
|
16394
|
+
message.nvjpgLoad = reader.float();
|
|
16395
|
+
continue;
|
|
16396
|
+
}
|
|
16397
|
+
case 16: {
|
|
16398
|
+
if (tag !== 133) {
|
|
16399
|
+
break;
|
|
16400
|
+
}
|
|
16401
|
+
message.vicLoad = reader.float();
|
|
16402
|
+
continue;
|
|
16403
|
+
}
|
|
16404
|
+
}
|
|
16405
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
16406
|
+
break;
|
|
16407
|
+
}
|
|
16408
|
+
reader.skip(tag & 7);
|
|
16409
|
+
}
|
|
16410
|
+
return message;
|
|
16411
|
+
},
|
|
16412
|
+
fromJSON(object) {
|
|
16413
|
+
return {
|
|
16414
|
+
encoderActive: isSet(object.encoderActive) ? gt.Boolean(object.encoderActive) : false,
|
|
16415
|
+
encoderFrequencyMhz: isSet(object.encoderFrequencyMhz) ? gt.Number(object.encoderFrequencyMhz) : 0,
|
|
16416
|
+
decoderActive: isSet(object.decoderActive) ? gt.Boolean(object.decoderActive) : false,
|
|
16417
|
+
decoderFrequencyMhz: isSet(object.decoderFrequencyMhz) ? gt.Number(object.decoderFrequencyMhz) : 0,
|
|
16418
|
+
nvjpgActive: isSet(object.nvjpgActive) ? gt.Boolean(object.nvjpgActive) : false,
|
|
16419
|
+
nvjpgFrequencyMhz: isSet(object.nvjpgFrequencyMhz) ? gt.Number(object.nvjpgFrequencyMhz) : 0,
|
|
16420
|
+
vicActive: isSet(object.vicActive) ? gt.Boolean(object.vicActive) : false,
|
|
16421
|
+
vicFrequencyMhz: isSet(object.vicFrequencyMhz) ? gt.Number(object.vicFrequencyMhz) : 0,
|
|
16422
|
+
vpuActive: isSet(object.vpuActive) ? gt.Boolean(object.vpuActive) : false,
|
|
16423
|
+
vpuFrequencyMhz: isSet(object.vpuFrequencyMhz) ? gt.Number(object.vpuFrequencyMhz) : 0,
|
|
16424
|
+
vpuCodecIrqCount: isSet(object.vpuCodecIrqCount) ? gt.Number(object.vpuCodecIrqCount) : 0,
|
|
16425
|
+
vpuJpgIrqCount: isSet(object.vpuJpgIrqCount) ? gt.Number(object.vpuJpgIrqCount) : 0,
|
|
16426
|
+
encoderLoad: isSet(object.encoderLoad) ? gt.Number(object.encoderLoad) : 0,
|
|
16427
|
+
decoderLoad: isSet(object.decoderLoad) ? gt.Number(object.decoderLoad) : 0,
|
|
16428
|
+
nvjpgLoad: isSet(object.nvjpgLoad) ? gt.Number(object.nvjpgLoad) : 0,
|
|
16429
|
+
vicLoad: isSet(object.vicLoad) ? gt.Number(object.vicLoad) : 0,
|
|
16430
|
+
};
|
|
16431
|
+
},
|
|
16432
|
+
toJSON(message) {
|
|
16433
|
+
const obj = {};
|
|
16434
|
+
if (message.encoderActive !== false) {
|
|
16435
|
+
obj.encoderActive = message.encoderActive;
|
|
16436
|
+
}
|
|
16437
|
+
if (message.encoderFrequencyMhz !== 0) {
|
|
16438
|
+
obj.encoderFrequencyMhz = message.encoderFrequencyMhz;
|
|
16439
|
+
}
|
|
16440
|
+
if (message.decoderActive !== false) {
|
|
16441
|
+
obj.decoderActive = message.decoderActive;
|
|
16442
|
+
}
|
|
16443
|
+
if (message.decoderFrequencyMhz !== 0) {
|
|
16444
|
+
obj.decoderFrequencyMhz = message.decoderFrequencyMhz;
|
|
16445
|
+
}
|
|
16446
|
+
if (message.nvjpgActive !== false) {
|
|
16447
|
+
obj.nvjpgActive = message.nvjpgActive;
|
|
16448
|
+
}
|
|
16449
|
+
if (message.nvjpgFrequencyMhz !== 0) {
|
|
16450
|
+
obj.nvjpgFrequencyMhz = message.nvjpgFrequencyMhz;
|
|
16451
|
+
}
|
|
16452
|
+
if (message.vicActive !== false) {
|
|
16453
|
+
obj.vicActive = message.vicActive;
|
|
16454
|
+
}
|
|
16455
|
+
if (message.vicFrequencyMhz !== 0) {
|
|
16456
|
+
obj.vicFrequencyMhz = message.vicFrequencyMhz;
|
|
16457
|
+
}
|
|
16458
|
+
if (message.vpuActive !== false) {
|
|
16459
|
+
obj.vpuActive = message.vpuActive;
|
|
16460
|
+
}
|
|
16461
|
+
if (message.vpuFrequencyMhz !== 0) {
|
|
16462
|
+
obj.vpuFrequencyMhz = message.vpuFrequencyMhz;
|
|
16463
|
+
}
|
|
16464
|
+
if (message.vpuCodecIrqCount !== 0) {
|
|
16465
|
+
obj.vpuCodecIrqCount = Math.round(message.vpuCodecIrqCount);
|
|
16466
|
+
}
|
|
16467
|
+
if (message.vpuJpgIrqCount !== 0) {
|
|
16468
|
+
obj.vpuJpgIrqCount = Math.round(message.vpuJpgIrqCount);
|
|
16469
|
+
}
|
|
16470
|
+
if (message.encoderLoad !== 0) {
|
|
16471
|
+
obj.encoderLoad = message.encoderLoad;
|
|
16472
|
+
}
|
|
16473
|
+
if (message.decoderLoad !== 0) {
|
|
16474
|
+
obj.decoderLoad = message.decoderLoad;
|
|
16475
|
+
}
|
|
16476
|
+
if (message.nvjpgLoad !== 0) {
|
|
16477
|
+
obj.nvjpgLoad = message.nvjpgLoad;
|
|
16478
|
+
}
|
|
16479
|
+
if (message.vicLoad !== 0) {
|
|
16480
|
+
obj.vicLoad = message.vicLoad;
|
|
16481
|
+
}
|
|
16482
|
+
return obj;
|
|
16483
|
+
},
|
|
16484
|
+
create(base) {
|
|
16485
|
+
return exports.VideoCodecInfo.fromPartial(base ?? {});
|
|
16486
|
+
},
|
|
16487
|
+
fromPartial(object) {
|
|
16488
|
+
const message = createBaseVideoCodecInfo();
|
|
16489
|
+
message.encoderActive = object.encoderActive ?? false;
|
|
16490
|
+
message.encoderFrequencyMhz = object.encoderFrequencyMhz ?? 0;
|
|
16491
|
+
message.decoderActive = object.decoderActive ?? false;
|
|
16492
|
+
message.decoderFrequencyMhz = object.decoderFrequencyMhz ?? 0;
|
|
16493
|
+
message.nvjpgActive = object.nvjpgActive ?? false;
|
|
16494
|
+
message.nvjpgFrequencyMhz = object.nvjpgFrequencyMhz ?? 0;
|
|
16495
|
+
message.vicActive = object.vicActive ?? false;
|
|
16496
|
+
message.vicFrequencyMhz = object.vicFrequencyMhz ?? 0;
|
|
16497
|
+
message.vpuActive = object.vpuActive ?? false;
|
|
16498
|
+
message.vpuFrequencyMhz = object.vpuFrequencyMhz ?? 0;
|
|
16499
|
+
message.vpuCodecIrqCount = object.vpuCodecIrqCount ?? 0;
|
|
16500
|
+
message.vpuJpgIrqCount = object.vpuJpgIrqCount ?? 0;
|
|
16501
|
+
message.encoderLoad = object.encoderLoad ?? 0;
|
|
16502
|
+
message.decoderLoad = object.decoderLoad ?? 0;
|
|
16503
|
+
message.nvjpgLoad = object.nvjpgLoad ?? 0;
|
|
16504
|
+
message.vicLoad = object.vicLoad ?? 0;
|
|
16505
|
+
return message;
|
|
16506
|
+
},
|
|
16507
|
+
};
|
|
16508
|
+
function createBaseNvmeInfo() {
|
|
16509
|
+
return {
|
|
16510
|
+
compositeTemperature: 0,
|
|
16511
|
+
criticalWarning: 0,
|
|
16512
|
+
percentageUsed: 0,
|
|
16513
|
+
availableSpare: 0,
|
|
16514
|
+
availableSpareThreshold: 0,
|
|
16515
|
+
mediaErrors: 0,
|
|
16516
|
+
unsafeShutdowns: 0,
|
|
16517
|
+
warningTempTimeMin: 0,
|
|
16518
|
+
criticalTempTimeMin: 0,
|
|
16519
|
+
thermalMgmtT1TransCount: 0,
|
|
16520
|
+
thermalMgmtT2TransCount: 0,
|
|
16521
|
+
thermalMgmtT1TotalTimeS: 0,
|
|
16522
|
+
thermalMgmtT2TotalTimeS: 0,
|
|
16523
|
+
dataUnitsWrittenBytes: 0,
|
|
16524
|
+
dataUnitsReadBytes: 0,
|
|
16525
|
+
hostWriteCommands: 0,
|
|
16526
|
+
hostReadCommands: 0,
|
|
16527
|
+
powerOnHours: 0,
|
|
16528
|
+
powerCycles: 0,
|
|
16529
|
+
controllerBusyTimeMin: 0,
|
|
16530
|
+
numErrLogEntries: 0,
|
|
16531
|
+
model: "",
|
|
16532
|
+
serial: "",
|
|
16533
|
+
firmwareRev: "",
|
|
16534
|
+
capacityBytes: 0,
|
|
16535
|
+
};
|
|
16536
|
+
}
|
|
16537
|
+
exports.NvmeInfo = {
|
|
16538
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
16539
|
+
if (message.compositeTemperature !== 0) {
|
|
16540
|
+
writer.uint32(13).float(message.compositeTemperature);
|
|
16541
|
+
}
|
|
16542
|
+
if (message.criticalWarning !== 0) {
|
|
16543
|
+
writer.uint32(16).uint32(message.criticalWarning);
|
|
16544
|
+
}
|
|
16545
|
+
if (message.percentageUsed !== 0) {
|
|
16546
|
+
writer.uint32(24).uint32(message.percentageUsed);
|
|
16547
|
+
}
|
|
16548
|
+
if (message.availableSpare !== 0) {
|
|
16549
|
+
writer.uint32(32).uint32(message.availableSpare);
|
|
16550
|
+
}
|
|
16551
|
+
if (message.availableSpareThreshold !== 0) {
|
|
16552
|
+
writer.uint32(40).uint32(message.availableSpareThreshold);
|
|
16553
|
+
}
|
|
16554
|
+
if (message.mediaErrors !== 0) {
|
|
16555
|
+
writer.uint32(48).uint64(message.mediaErrors);
|
|
16556
|
+
}
|
|
16557
|
+
if (message.unsafeShutdowns !== 0) {
|
|
16558
|
+
writer.uint32(56).uint64(message.unsafeShutdowns);
|
|
16559
|
+
}
|
|
16560
|
+
if (message.warningTempTimeMin !== 0) {
|
|
16561
|
+
writer.uint32(64).uint32(message.warningTempTimeMin);
|
|
13875
16562
|
}
|
|
13876
|
-
if (message.
|
|
13877
|
-
writer.uint32(
|
|
16563
|
+
if (message.criticalTempTimeMin !== 0) {
|
|
16564
|
+
writer.uint32(72).uint32(message.criticalTempTimeMin);
|
|
13878
16565
|
}
|
|
13879
|
-
if (message.
|
|
13880
|
-
writer.uint32(
|
|
16566
|
+
if (message.thermalMgmtT1TransCount !== 0) {
|
|
16567
|
+
writer.uint32(80).uint32(message.thermalMgmtT1TransCount);
|
|
13881
16568
|
}
|
|
13882
|
-
if (message.
|
|
13883
|
-
writer.uint32(
|
|
16569
|
+
if (message.thermalMgmtT2TransCount !== 0) {
|
|
16570
|
+
writer.uint32(88).uint32(message.thermalMgmtT2TransCount);
|
|
13884
16571
|
}
|
|
13885
|
-
if (message.
|
|
13886
|
-
writer.uint32(
|
|
16572
|
+
if (message.thermalMgmtT1TotalTimeS !== 0) {
|
|
16573
|
+
writer.uint32(96).uint32(message.thermalMgmtT1TotalTimeS);
|
|
13887
16574
|
}
|
|
13888
|
-
if (message.
|
|
13889
|
-
writer.uint32(
|
|
16575
|
+
if (message.thermalMgmtT2TotalTimeS !== 0) {
|
|
16576
|
+
writer.uint32(104).uint32(message.thermalMgmtT2TotalTimeS);
|
|
13890
16577
|
}
|
|
13891
|
-
if (message.
|
|
13892
|
-
writer.uint32(
|
|
16578
|
+
if (message.dataUnitsWrittenBytes !== 0) {
|
|
16579
|
+
writer.uint32(112).uint64(message.dataUnitsWrittenBytes);
|
|
13893
16580
|
}
|
|
13894
|
-
if (message.
|
|
13895
|
-
writer.uint32(
|
|
16581
|
+
if (message.dataUnitsReadBytes !== 0) {
|
|
16582
|
+
writer.uint32(120).uint64(message.dataUnitsReadBytes);
|
|
13896
16583
|
}
|
|
13897
|
-
if (message.
|
|
13898
|
-
writer.uint32(
|
|
16584
|
+
if (message.hostWriteCommands !== 0) {
|
|
16585
|
+
writer.uint32(128).uint64(message.hostWriteCommands);
|
|
13899
16586
|
}
|
|
13900
|
-
if (message.
|
|
13901
|
-
writer.uint32(
|
|
16587
|
+
if (message.hostReadCommands !== 0) {
|
|
16588
|
+
writer.uint32(136).uint64(message.hostReadCommands);
|
|
13902
16589
|
}
|
|
13903
|
-
if (message.
|
|
13904
|
-
writer.uint32(
|
|
16590
|
+
if (message.powerOnHours !== 0) {
|
|
16591
|
+
writer.uint32(144).uint64(message.powerOnHours);
|
|
16592
|
+
}
|
|
16593
|
+
if (message.powerCycles !== 0) {
|
|
16594
|
+
writer.uint32(152).uint64(message.powerCycles);
|
|
16595
|
+
}
|
|
16596
|
+
if (message.controllerBusyTimeMin !== 0) {
|
|
16597
|
+
writer.uint32(160).uint64(message.controllerBusyTimeMin);
|
|
16598
|
+
}
|
|
16599
|
+
if (message.numErrLogEntries !== 0) {
|
|
16600
|
+
writer.uint32(168).uint64(message.numErrLogEntries);
|
|
16601
|
+
}
|
|
16602
|
+
if (message.model !== "") {
|
|
16603
|
+
writer.uint32(178).string(message.model);
|
|
16604
|
+
}
|
|
16605
|
+
if (message.serial !== "") {
|
|
16606
|
+
writer.uint32(186).string(message.serial);
|
|
16607
|
+
}
|
|
16608
|
+
if (message.firmwareRev !== "") {
|
|
16609
|
+
writer.uint32(194).string(message.firmwareRev);
|
|
16610
|
+
}
|
|
16611
|
+
if (message.capacityBytes !== 0) {
|
|
16612
|
+
writer.uint32(200).uint64(message.capacityBytes);
|
|
13905
16613
|
}
|
|
13906
16614
|
return writer;
|
|
13907
16615
|
},
|
|
13908
16616
|
decode(input, length) {
|
|
13909
16617
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13910
16618
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13911
|
-
const message =
|
|
16619
|
+
const message = createBaseNvmeInfo();
|
|
13912
16620
|
while (reader.pos < end) {
|
|
13913
16621
|
const tag = reader.uint32();
|
|
13914
16622
|
switch (tag >>> 3) {
|
|
13915
16623
|
case 1: {
|
|
13916
|
-
if (tag !==
|
|
16624
|
+
if (tag !== 13) {
|
|
13917
16625
|
break;
|
|
13918
16626
|
}
|
|
13919
|
-
message.
|
|
16627
|
+
message.compositeTemperature = reader.float();
|
|
13920
16628
|
continue;
|
|
13921
16629
|
}
|
|
13922
16630
|
case 2: {
|
|
13923
|
-
if (tag !==
|
|
16631
|
+
if (tag !== 16) {
|
|
13924
16632
|
break;
|
|
13925
16633
|
}
|
|
13926
|
-
message.
|
|
16634
|
+
message.criticalWarning = reader.uint32();
|
|
13927
16635
|
continue;
|
|
13928
16636
|
}
|
|
13929
16637
|
case 3: {
|
|
13930
16638
|
if (tag !== 24) {
|
|
13931
16639
|
break;
|
|
13932
16640
|
}
|
|
13933
|
-
message.
|
|
16641
|
+
message.percentageUsed = reader.uint32();
|
|
13934
16642
|
continue;
|
|
13935
16643
|
}
|
|
13936
16644
|
case 4: {
|
|
13937
|
-
if (tag !==
|
|
16645
|
+
if (tag !== 32) {
|
|
13938
16646
|
break;
|
|
13939
16647
|
}
|
|
13940
|
-
message.
|
|
16648
|
+
message.availableSpare = reader.uint32();
|
|
13941
16649
|
continue;
|
|
13942
16650
|
}
|
|
13943
16651
|
case 5: {
|
|
13944
16652
|
if (tag !== 40) {
|
|
13945
16653
|
break;
|
|
13946
16654
|
}
|
|
13947
|
-
message.
|
|
16655
|
+
message.availableSpareThreshold = reader.uint32();
|
|
13948
16656
|
continue;
|
|
13949
16657
|
}
|
|
13950
16658
|
case 6: {
|
|
13951
|
-
if (tag !==
|
|
16659
|
+
if (tag !== 48) {
|
|
13952
16660
|
break;
|
|
13953
16661
|
}
|
|
13954
|
-
message.
|
|
16662
|
+
message.mediaErrors = longToNumber(reader.uint64());
|
|
13955
16663
|
continue;
|
|
13956
16664
|
}
|
|
13957
16665
|
case 7: {
|
|
13958
16666
|
if (tag !== 56) {
|
|
13959
16667
|
break;
|
|
13960
16668
|
}
|
|
13961
|
-
message.
|
|
16669
|
+
message.unsafeShutdowns = longToNumber(reader.uint64());
|
|
13962
16670
|
continue;
|
|
13963
16671
|
}
|
|
13964
16672
|
case 8: {
|
|
13965
|
-
if (tag !==
|
|
16673
|
+
if (tag !== 64) {
|
|
13966
16674
|
break;
|
|
13967
16675
|
}
|
|
13968
|
-
message.
|
|
16676
|
+
message.warningTempTimeMin = reader.uint32();
|
|
13969
16677
|
continue;
|
|
13970
16678
|
}
|
|
13971
16679
|
case 9: {
|
|
13972
16680
|
if (tag !== 72) {
|
|
13973
16681
|
break;
|
|
13974
16682
|
}
|
|
13975
|
-
message.
|
|
16683
|
+
message.criticalTempTimeMin = reader.uint32();
|
|
13976
16684
|
continue;
|
|
13977
16685
|
}
|
|
13978
16686
|
case 10: {
|
|
13979
|
-
if (tag !==
|
|
16687
|
+
if (tag !== 80) {
|
|
13980
16688
|
break;
|
|
13981
16689
|
}
|
|
13982
|
-
message.
|
|
16690
|
+
message.thermalMgmtT1TransCount = reader.uint32();
|
|
13983
16691
|
continue;
|
|
13984
16692
|
}
|
|
13985
16693
|
case 11: {
|
|
13986
16694
|
if (tag !== 88) {
|
|
13987
16695
|
break;
|
|
13988
16696
|
}
|
|
13989
|
-
message.
|
|
16697
|
+
message.thermalMgmtT2TransCount = reader.uint32();
|
|
13990
16698
|
continue;
|
|
13991
16699
|
}
|
|
13992
16700
|
case 12: {
|
|
13993
16701
|
if (tag !== 96) {
|
|
13994
16702
|
break;
|
|
13995
16703
|
}
|
|
13996
|
-
message.
|
|
16704
|
+
message.thermalMgmtT1TotalTimeS = reader.uint32();
|
|
16705
|
+
continue;
|
|
16706
|
+
}
|
|
16707
|
+
case 13: {
|
|
16708
|
+
if (tag !== 104) {
|
|
16709
|
+
break;
|
|
16710
|
+
}
|
|
16711
|
+
message.thermalMgmtT2TotalTimeS = reader.uint32();
|
|
16712
|
+
continue;
|
|
16713
|
+
}
|
|
16714
|
+
case 14: {
|
|
16715
|
+
if (tag !== 112) {
|
|
16716
|
+
break;
|
|
16717
|
+
}
|
|
16718
|
+
message.dataUnitsWrittenBytes = longToNumber(reader.uint64());
|
|
16719
|
+
continue;
|
|
16720
|
+
}
|
|
16721
|
+
case 15: {
|
|
16722
|
+
if (tag !== 120) {
|
|
16723
|
+
break;
|
|
16724
|
+
}
|
|
16725
|
+
message.dataUnitsReadBytes = longToNumber(reader.uint64());
|
|
16726
|
+
continue;
|
|
16727
|
+
}
|
|
16728
|
+
case 16: {
|
|
16729
|
+
if (tag !== 128) {
|
|
16730
|
+
break;
|
|
16731
|
+
}
|
|
16732
|
+
message.hostWriteCommands = longToNumber(reader.uint64());
|
|
16733
|
+
continue;
|
|
16734
|
+
}
|
|
16735
|
+
case 17: {
|
|
16736
|
+
if (tag !== 136) {
|
|
16737
|
+
break;
|
|
16738
|
+
}
|
|
16739
|
+
message.hostReadCommands = longToNumber(reader.uint64());
|
|
16740
|
+
continue;
|
|
16741
|
+
}
|
|
16742
|
+
case 18: {
|
|
16743
|
+
if (tag !== 144) {
|
|
16744
|
+
break;
|
|
16745
|
+
}
|
|
16746
|
+
message.powerOnHours = longToNumber(reader.uint64());
|
|
16747
|
+
continue;
|
|
16748
|
+
}
|
|
16749
|
+
case 19: {
|
|
16750
|
+
if (tag !== 152) {
|
|
16751
|
+
break;
|
|
16752
|
+
}
|
|
16753
|
+
message.powerCycles = longToNumber(reader.uint64());
|
|
16754
|
+
continue;
|
|
16755
|
+
}
|
|
16756
|
+
case 20: {
|
|
16757
|
+
if (tag !== 160) {
|
|
16758
|
+
break;
|
|
16759
|
+
}
|
|
16760
|
+
message.controllerBusyTimeMin = longToNumber(reader.uint64());
|
|
16761
|
+
continue;
|
|
16762
|
+
}
|
|
16763
|
+
case 21: {
|
|
16764
|
+
if (tag !== 168) {
|
|
16765
|
+
break;
|
|
16766
|
+
}
|
|
16767
|
+
message.numErrLogEntries = longToNumber(reader.uint64());
|
|
16768
|
+
continue;
|
|
16769
|
+
}
|
|
16770
|
+
case 22: {
|
|
16771
|
+
if (tag !== 178) {
|
|
16772
|
+
break;
|
|
16773
|
+
}
|
|
16774
|
+
message.model = reader.string();
|
|
16775
|
+
continue;
|
|
16776
|
+
}
|
|
16777
|
+
case 23: {
|
|
16778
|
+
if (tag !== 186) {
|
|
16779
|
+
break;
|
|
16780
|
+
}
|
|
16781
|
+
message.serial = reader.string();
|
|
16782
|
+
continue;
|
|
16783
|
+
}
|
|
16784
|
+
case 24: {
|
|
16785
|
+
if (tag !== 194) {
|
|
16786
|
+
break;
|
|
16787
|
+
}
|
|
16788
|
+
message.firmwareRev = reader.string();
|
|
16789
|
+
continue;
|
|
16790
|
+
}
|
|
16791
|
+
case 25: {
|
|
16792
|
+
if (tag !== 200) {
|
|
16793
|
+
break;
|
|
16794
|
+
}
|
|
16795
|
+
message.capacityBytes = longToNumber(reader.uint64());
|
|
13997
16796
|
continue;
|
|
13998
16797
|
}
|
|
13999
16798
|
}
|
|
@@ -14006,77 +16805,142 @@ exports.VideoCodecInfo = {
|
|
|
14006
16805
|
},
|
|
14007
16806
|
fromJSON(object) {
|
|
14008
16807
|
return {
|
|
14009
|
-
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
16808
|
+
compositeTemperature: isSet(object.compositeTemperature) ? gt.Number(object.compositeTemperature) : 0,
|
|
16809
|
+
criticalWarning: isSet(object.criticalWarning) ? gt.Number(object.criticalWarning) : 0,
|
|
16810
|
+
percentageUsed: isSet(object.percentageUsed) ? gt.Number(object.percentageUsed) : 0,
|
|
16811
|
+
availableSpare: isSet(object.availableSpare) ? gt.Number(object.availableSpare) : 0,
|
|
16812
|
+
availableSpareThreshold: isSet(object.availableSpareThreshold) ? gt.Number(object.availableSpareThreshold) : 0,
|
|
16813
|
+
mediaErrors: isSet(object.mediaErrors) ? gt.Number(object.mediaErrors) : 0,
|
|
16814
|
+
unsafeShutdowns: isSet(object.unsafeShutdowns) ? gt.Number(object.unsafeShutdowns) : 0,
|
|
16815
|
+
warningTempTimeMin: isSet(object.warningTempTimeMin) ? gt.Number(object.warningTempTimeMin) : 0,
|
|
16816
|
+
criticalTempTimeMin: isSet(object.criticalTempTimeMin) ? gt.Number(object.criticalTempTimeMin) : 0,
|
|
16817
|
+
thermalMgmtT1TransCount: isSet(object.thermalMgmtT1TransCount) ? gt.Number(object.thermalMgmtT1TransCount) : 0,
|
|
16818
|
+
thermalMgmtT2TransCount: isSet(object.thermalMgmtT2TransCount) ? gt.Number(object.thermalMgmtT2TransCount) : 0,
|
|
16819
|
+
thermalMgmtT1TotalTimeS: isSet(object.thermalMgmtT1TotalTimeS) ? gt.Number(object.thermalMgmtT1TotalTimeS) : 0,
|
|
16820
|
+
thermalMgmtT2TotalTimeS: isSet(object.thermalMgmtT2TotalTimeS) ? gt.Number(object.thermalMgmtT2TotalTimeS) : 0,
|
|
16821
|
+
dataUnitsWrittenBytes: isSet(object.dataUnitsWrittenBytes) ? gt.Number(object.dataUnitsWrittenBytes) : 0,
|
|
16822
|
+
dataUnitsReadBytes: isSet(object.dataUnitsReadBytes) ? gt.Number(object.dataUnitsReadBytes) : 0,
|
|
16823
|
+
hostWriteCommands: isSet(object.hostWriteCommands) ? gt.Number(object.hostWriteCommands) : 0,
|
|
16824
|
+
hostReadCommands: isSet(object.hostReadCommands) ? gt.Number(object.hostReadCommands) : 0,
|
|
16825
|
+
powerOnHours: isSet(object.powerOnHours) ? gt.Number(object.powerOnHours) : 0,
|
|
16826
|
+
powerCycles: isSet(object.powerCycles) ? gt.Number(object.powerCycles) : 0,
|
|
16827
|
+
controllerBusyTimeMin: isSet(object.controllerBusyTimeMin) ? gt.Number(object.controllerBusyTimeMin) : 0,
|
|
16828
|
+
numErrLogEntries: isSet(object.numErrLogEntries) ? gt.Number(object.numErrLogEntries) : 0,
|
|
16829
|
+
model: isSet(object.model) ? gt.String(object.model) : "",
|
|
16830
|
+
serial: isSet(object.serial) ? gt.String(object.serial) : "",
|
|
16831
|
+
firmwareRev: isSet(object.firmwareRev) ? gt.String(object.firmwareRev) : "",
|
|
16832
|
+
capacityBytes: isSet(object.capacityBytes) ? gt.Number(object.capacityBytes) : 0,
|
|
14021
16833
|
};
|
|
14022
16834
|
},
|
|
14023
16835
|
toJSON(message) {
|
|
14024
16836
|
const obj = {};
|
|
14025
|
-
if (message.
|
|
14026
|
-
obj.
|
|
16837
|
+
if (message.compositeTemperature !== 0) {
|
|
16838
|
+
obj.compositeTemperature = message.compositeTemperature;
|
|
14027
16839
|
}
|
|
14028
|
-
if (message.
|
|
14029
|
-
obj.
|
|
16840
|
+
if (message.criticalWarning !== 0) {
|
|
16841
|
+
obj.criticalWarning = Math.round(message.criticalWarning);
|
|
14030
16842
|
}
|
|
14031
|
-
if (message.
|
|
14032
|
-
obj.
|
|
16843
|
+
if (message.percentageUsed !== 0) {
|
|
16844
|
+
obj.percentageUsed = Math.round(message.percentageUsed);
|
|
14033
16845
|
}
|
|
14034
|
-
if (message.
|
|
14035
|
-
obj.
|
|
16846
|
+
if (message.availableSpare !== 0) {
|
|
16847
|
+
obj.availableSpare = Math.round(message.availableSpare);
|
|
14036
16848
|
}
|
|
14037
|
-
if (message.
|
|
14038
|
-
obj.
|
|
16849
|
+
if (message.availableSpareThreshold !== 0) {
|
|
16850
|
+
obj.availableSpareThreshold = Math.round(message.availableSpareThreshold);
|
|
14039
16851
|
}
|
|
14040
|
-
if (message.
|
|
14041
|
-
obj.
|
|
16852
|
+
if (message.mediaErrors !== 0) {
|
|
16853
|
+
obj.mediaErrors = Math.round(message.mediaErrors);
|
|
14042
16854
|
}
|
|
14043
|
-
if (message.
|
|
14044
|
-
obj.
|
|
16855
|
+
if (message.unsafeShutdowns !== 0) {
|
|
16856
|
+
obj.unsafeShutdowns = Math.round(message.unsafeShutdowns);
|
|
14045
16857
|
}
|
|
14046
|
-
if (message.
|
|
14047
|
-
obj.
|
|
16858
|
+
if (message.warningTempTimeMin !== 0) {
|
|
16859
|
+
obj.warningTempTimeMin = Math.round(message.warningTempTimeMin);
|
|
14048
16860
|
}
|
|
14049
|
-
if (message.
|
|
14050
|
-
obj.
|
|
16861
|
+
if (message.criticalTempTimeMin !== 0) {
|
|
16862
|
+
obj.criticalTempTimeMin = Math.round(message.criticalTempTimeMin);
|
|
14051
16863
|
}
|
|
14052
|
-
if (message.
|
|
14053
|
-
obj.
|
|
16864
|
+
if (message.thermalMgmtT1TransCount !== 0) {
|
|
16865
|
+
obj.thermalMgmtT1TransCount = Math.round(message.thermalMgmtT1TransCount);
|
|
14054
16866
|
}
|
|
14055
|
-
if (message.
|
|
14056
|
-
obj.
|
|
16867
|
+
if (message.thermalMgmtT2TransCount !== 0) {
|
|
16868
|
+
obj.thermalMgmtT2TransCount = Math.round(message.thermalMgmtT2TransCount);
|
|
14057
16869
|
}
|
|
14058
|
-
if (message.
|
|
14059
|
-
obj.
|
|
16870
|
+
if (message.thermalMgmtT1TotalTimeS !== 0) {
|
|
16871
|
+
obj.thermalMgmtT1TotalTimeS = Math.round(message.thermalMgmtT1TotalTimeS);
|
|
16872
|
+
}
|
|
16873
|
+
if (message.thermalMgmtT2TotalTimeS !== 0) {
|
|
16874
|
+
obj.thermalMgmtT2TotalTimeS = Math.round(message.thermalMgmtT2TotalTimeS);
|
|
16875
|
+
}
|
|
16876
|
+
if (message.dataUnitsWrittenBytes !== 0) {
|
|
16877
|
+
obj.dataUnitsWrittenBytes = Math.round(message.dataUnitsWrittenBytes);
|
|
16878
|
+
}
|
|
16879
|
+
if (message.dataUnitsReadBytes !== 0) {
|
|
16880
|
+
obj.dataUnitsReadBytes = Math.round(message.dataUnitsReadBytes);
|
|
16881
|
+
}
|
|
16882
|
+
if (message.hostWriteCommands !== 0) {
|
|
16883
|
+
obj.hostWriteCommands = Math.round(message.hostWriteCommands);
|
|
16884
|
+
}
|
|
16885
|
+
if (message.hostReadCommands !== 0) {
|
|
16886
|
+
obj.hostReadCommands = Math.round(message.hostReadCommands);
|
|
16887
|
+
}
|
|
16888
|
+
if (message.powerOnHours !== 0) {
|
|
16889
|
+
obj.powerOnHours = Math.round(message.powerOnHours);
|
|
16890
|
+
}
|
|
16891
|
+
if (message.powerCycles !== 0) {
|
|
16892
|
+
obj.powerCycles = Math.round(message.powerCycles);
|
|
16893
|
+
}
|
|
16894
|
+
if (message.controllerBusyTimeMin !== 0) {
|
|
16895
|
+
obj.controllerBusyTimeMin = Math.round(message.controllerBusyTimeMin);
|
|
16896
|
+
}
|
|
16897
|
+
if (message.numErrLogEntries !== 0) {
|
|
16898
|
+
obj.numErrLogEntries = Math.round(message.numErrLogEntries);
|
|
16899
|
+
}
|
|
16900
|
+
if (message.model !== "") {
|
|
16901
|
+
obj.model = message.model;
|
|
16902
|
+
}
|
|
16903
|
+
if (message.serial !== "") {
|
|
16904
|
+
obj.serial = message.serial;
|
|
16905
|
+
}
|
|
16906
|
+
if (message.firmwareRev !== "") {
|
|
16907
|
+
obj.firmwareRev = message.firmwareRev;
|
|
16908
|
+
}
|
|
16909
|
+
if (message.capacityBytes !== 0) {
|
|
16910
|
+
obj.capacityBytes = Math.round(message.capacityBytes);
|
|
14060
16911
|
}
|
|
14061
16912
|
return obj;
|
|
14062
16913
|
},
|
|
14063
16914
|
create(base) {
|
|
14064
|
-
return exports.
|
|
16915
|
+
return exports.NvmeInfo.fromPartial(base ?? {});
|
|
14065
16916
|
},
|
|
14066
16917
|
fromPartial(object) {
|
|
14067
|
-
const message =
|
|
14068
|
-
message.
|
|
14069
|
-
message.
|
|
14070
|
-
message.
|
|
14071
|
-
message.
|
|
14072
|
-
message.
|
|
14073
|
-
message.
|
|
14074
|
-
message.
|
|
14075
|
-
message.
|
|
14076
|
-
message.
|
|
14077
|
-
message.
|
|
14078
|
-
message.
|
|
14079
|
-
message.
|
|
16918
|
+
const message = createBaseNvmeInfo();
|
|
16919
|
+
message.compositeTemperature = object.compositeTemperature ?? 0;
|
|
16920
|
+
message.criticalWarning = object.criticalWarning ?? 0;
|
|
16921
|
+
message.percentageUsed = object.percentageUsed ?? 0;
|
|
16922
|
+
message.availableSpare = object.availableSpare ?? 0;
|
|
16923
|
+
message.availableSpareThreshold = object.availableSpareThreshold ?? 0;
|
|
16924
|
+
message.mediaErrors = object.mediaErrors ?? 0;
|
|
16925
|
+
message.unsafeShutdowns = object.unsafeShutdowns ?? 0;
|
|
16926
|
+
message.warningTempTimeMin = object.warningTempTimeMin ?? 0;
|
|
16927
|
+
message.criticalTempTimeMin = object.criticalTempTimeMin ?? 0;
|
|
16928
|
+
message.thermalMgmtT1TransCount = object.thermalMgmtT1TransCount ?? 0;
|
|
16929
|
+
message.thermalMgmtT2TransCount = object.thermalMgmtT2TransCount ?? 0;
|
|
16930
|
+
message.thermalMgmtT1TotalTimeS = object.thermalMgmtT1TotalTimeS ?? 0;
|
|
16931
|
+
message.thermalMgmtT2TotalTimeS = object.thermalMgmtT2TotalTimeS ?? 0;
|
|
16932
|
+
message.dataUnitsWrittenBytes = object.dataUnitsWrittenBytes ?? 0;
|
|
16933
|
+
message.dataUnitsReadBytes = object.dataUnitsReadBytes ?? 0;
|
|
16934
|
+
message.hostWriteCommands = object.hostWriteCommands ?? 0;
|
|
16935
|
+
message.hostReadCommands = object.hostReadCommands ?? 0;
|
|
16936
|
+
message.powerOnHours = object.powerOnHours ?? 0;
|
|
16937
|
+
message.powerCycles = object.powerCycles ?? 0;
|
|
16938
|
+
message.controllerBusyTimeMin = object.controllerBusyTimeMin ?? 0;
|
|
16939
|
+
message.numErrLogEntries = object.numErrLogEntries ?? 0;
|
|
16940
|
+
message.model = object.model ?? "";
|
|
16941
|
+
message.serial = object.serial ?? "";
|
|
16942
|
+
message.firmwareRev = object.firmwareRev ?? "";
|
|
16943
|
+
message.capacityBytes = object.capacityBytes ?? 0;
|
|
14080
16944
|
return message;
|
|
14081
16945
|
},
|
|
14082
16946
|
};
|
|
@@ -14095,6 +16959,7 @@ function createBaseSystemPerformanceInfo() {
|
|
|
14095
16959
|
cameraQueueLoad: 0,
|
|
14096
16960
|
overlayQueueLoad: 0,
|
|
14097
16961
|
positionObserverQueueLoad: 0,
|
|
16962
|
+
nvme: undefined,
|
|
14098
16963
|
};
|
|
14099
16964
|
}
|
|
14100
16965
|
exports.SystemPerformanceInfo = {
|
|
@@ -14138,6 +17003,9 @@ exports.SystemPerformanceInfo = {
|
|
|
14138
17003
|
if (message.positionObserverQueueLoad !== 0) {
|
|
14139
17004
|
writer.uint32(109).float(message.positionObserverQueueLoad);
|
|
14140
17005
|
}
|
|
17006
|
+
if (message.nvme !== undefined) {
|
|
17007
|
+
exports.NvmeInfo.encode(message.nvme, writer.uint32(114).fork()).join();
|
|
17008
|
+
}
|
|
14141
17009
|
return writer;
|
|
14142
17010
|
},
|
|
14143
17011
|
decode(input, length) {
|
|
@@ -14238,6 +17106,13 @@ exports.SystemPerformanceInfo = {
|
|
|
14238
17106
|
message.positionObserverQueueLoad = reader.float();
|
|
14239
17107
|
continue;
|
|
14240
17108
|
}
|
|
17109
|
+
case 14: {
|
|
17110
|
+
if (tag !== 114) {
|
|
17111
|
+
break;
|
|
17112
|
+
}
|
|
17113
|
+
message.nvme = exports.NvmeInfo.decode(reader, reader.uint32());
|
|
17114
|
+
continue;
|
|
17115
|
+
}
|
|
14241
17116
|
}
|
|
14242
17117
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14243
17118
|
break;
|
|
@@ -14265,6 +17140,7 @@ exports.SystemPerformanceInfo = {
|
|
|
14265
17140
|
positionObserverQueueLoad: isSet(object.positionObserverQueueLoad)
|
|
14266
17141
|
? gt.Number(object.positionObserverQueueLoad)
|
|
14267
17142
|
: 0,
|
|
17143
|
+
nvme: isSet(object.nvme) ? exports.NvmeInfo.fromJSON(object.nvme) : undefined,
|
|
14268
17144
|
};
|
|
14269
17145
|
},
|
|
14270
17146
|
toJSON(message) {
|
|
@@ -14308,6 +17184,9 @@ exports.SystemPerformanceInfo = {
|
|
|
14308
17184
|
if (message.positionObserverQueueLoad !== 0) {
|
|
14309
17185
|
obj.positionObserverQueueLoad = message.positionObserverQueueLoad;
|
|
14310
17186
|
}
|
|
17187
|
+
if (message.nvme !== undefined) {
|
|
17188
|
+
obj.nvme = exports.NvmeInfo.toJSON(message.nvme);
|
|
17189
|
+
}
|
|
14311
17190
|
return obj;
|
|
14312
17191
|
},
|
|
14313
17192
|
create(base) {
|
|
@@ -14332,6 +17211,7 @@ exports.SystemPerformanceInfo = {
|
|
|
14332
17211
|
message.cameraQueueLoad = object.cameraQueueLoad ?? 0;
|
|
14333
17212
|
message.overlayQueueLoad = object.overlayQueueLoad ?? 0;
|
|
14334
17213
|
message.positionObserverQueueLoad = object.positionObserverQueueLoad ?? 0;
|
|
17214
|
+
message.nvme = (object.nvme !== undefined && object.nvme !== null) ? exports.NvmeInfo.fromPartial(object.nvme) : undefined;
|
|
14335
17215
|
return message;
|
|
14336
17216
|
},
|
|
14337
17217
|
};
|
|
@@ -14552,8 +17432,91 @@ exports.BoundingBox = {
|
|
|
14552
17432
|
return message;
|
|
14553
17433
|
},
|
|
14554
17434
|
};
|
|
17435
|
+
function createBaseSegmentationMask() {
|
|
17436
|
+
return { maskWidth: 0, maskHeight: 0, counts: new Uint8Array(0) };
|
|
17437
|
+
}
|
|
17438
|
+
exports.SegmentationMask = {
|
|
17439
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
17440
|
+
if (message.maskWidth !== 0) {
|
|
17441
|
+
writer.uint32(8).uint32(message.maskWidth);
|
|
17442
|
+
}
|
|
17443
|
+
if (message.maskHeight !== 0) {
|
|
17444
|
+
writer.uint32(16).uint32(message.maskHeight);
|
|
17445
|
+
}
|
|
17446
|
+
if (message.counts.length !== 0) {
|
|
17447
|
+
writer.uint32(26).bytes(message.counts);
|
|
17448
|
+
}
|
|
17449
|
+
return writer;
|
|
17450
|
+
},
|
|
17451
|
+
decode(input, length) {
|
|
17452
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17453
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17454
|
+
const message = createBaseSegmentationMask();
|
|
17455
|
+
while (reader.pos < end) {
|
|
17456
|
+
const tag = reader.uint32();
|
|
17457
|
+
switch (tag >>> 3) {
|
|
17458
|
+
case 1: {
|
|
17459
|
+
if (tag !== 8) {
|
|
17460
|
+
break;
|
|
17461
|
+
}
|
|
17462
|
+
message.maskWidth = reader.uint32();
|
|
17463
|
+
continue;
|
|
17464
|
+
}
|
|
17465
|
+
case 2: {
|
|
17466
|
+
if (tag !== 16) {
|
|
17467
|
+
break;
|
|
17468
|
+
}
|
|
17469
|
+
message.maskHeight = reader.uint32();
|
|
17470
|
+
continue;
|
|
17471
|
+
}
|
|
17472
|
+
case 3: {
|
|
17473
|
+
if (tag !== 26) {
|
|
17474
|
+
break;
|
|
17475
|
+
}
|
|
17476
|
+
message.counts = reader.bytes();
|
|
17477
|
+
continue;
|
|
17478
|
+
}
|
|
17479
|
+
}
|
|
17480
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
17481
|
+
break;
|
|
17482
|
+
}
|
|
17483
|
+
reader.skip(tag & 7);
|
|
17484
|
+
}
|
|
17485
|
+
return message;
|
|
17486
|
+
},
|
|
17487
|
+
fromJSON(object) {
|
|
17488
|
+
return {
|
|
17489
|
+
maskWidth: isSet(object.maskWidth) ? gt.Number(object.maskWidth) : 0,
|
|
17490
|
+
maskHeight: isSet(object.maskHeight) ? gt.Number(object.maskHeight) : 0,
|
|
17491
|
+
counts: isSet(object.counts) ? bytesFromBase64(object.counts) : new Uint8Array(0),
|
|
17492
|
+
};
|
|
17493
|
+
},
|
|
17494
|
+
toJSON(message) {
|
|
17495
|
+
const obj = {};
|
|
17496
|
+
if (message.maskWidth !== 0) {
|
|
17497
|
+
obj.maskWidth = Math.round(message.maskWidth);
|
|
17498
|
+
}
|
|
17499
|
+
if (message.maskHeight !== 0) {
|
|
17500
|
+
obj.maskHeight = Math.round(message.maskHeight);
|
|
17501
|
+
}
|
|
17502
|
+
if (message.counts.length !== 0) {
|
|
17503
|
+
obj.counts = base64FromBytes(message.counts);
|
|
17504
|
+
}
|
|
17505
|
+
return obj;
|
|
17506
|
+
},
|
|
17507
|
+
create(base) {
|
|
17508
|
+
return exports.SegmentationMask.fromPartial(base ?? {});
|
|
17509
|
+
},
|
|
17510
|
+
fromPartial(object) {
|
|
17511
|
+
const message = createBaseSegmentationMask();
|
|
17512
|
+
message.maskWidth = object.maskWidth ?? 0;
|
|
17513
|
+
message.maskHeight = object.maskHeight ?? 0;
|
|
17514
|
+
message.counts = object.counts ?? new Uint8Array(0);
|
|
17515
|
+
return message;
|
|
17516
|
+
},
|
|
17517
|
+
};
|
|
14555
17518
|
function createBaseObjectDetection() {
|
|
14556
|
-
return { boundingBox: undefined, confidence: 0, classId: 0, className: "", trackingId: 0 };
|
|
17519
|
+
return { boundingBox: undefined, confidence: 0, classId: 0, className: "", trackingId: 0, mask: undefined };
|
|
14557
17520
|
}
|
|
14558
17521
|
exports.ObjectDetection = {
|
|
14559
17522
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -14572,6 +17535,9 @@ exports.ObjectDetection = {
|
|
|
14572
17535
|
if (message.trackingId !== 0) {
|
|
14573
17536
|
writer.uint32(40).uint32(message.trackingId);
|
|
14574
17537
|
}
|
|
17538
|
+
if (message.mask !== undefined) {
|
|
17539
|
+
exports.SegmentationMask.encode(message.mask, writer.uint32(50).fork()).join();
|
|
17540
|
+
}
|
|
14575
17541
|
return writer;
|
|
14576
17542
|
},
|
|
14577
17543
|
decode(input, length) {
|
|
@@ -14616,6 +17582,13 @@ exports.ObjectDetection = {
|
|
|
14616
17582
|
message.trackingId = reader.uint32();
|
|
14617
17583
|
continue;
|
|
14618
17584
|
}
|
|
17585
|
+
case 6: {
|
|
17586
|
+
if (tag !== 50) {
|
|
17587
|
+
break;
|
|
17588
|
+
}
|
|
17589
|
+
message.mask = exports.SegmentationMask.decode(reader, reader.uint32());
|
|
17590
|
+
continue;
|
|
17591
|
+
}
|
|
14619
17592
|
}
|
|
14620
17593
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14621
17594
|
break;
|
|
@@ -14631,6 +17604,7 @@ exports.ObjectDetection = {
|
|
|
14631
17604
|
classId: isSet(object.classId) ? gt.Number(object.classId) : 0,
|
|
14632
17605
|
className: isSet(object.className) ? gt.String(object.className) : "",
|
|
14633
17606
|
trackingId: isSet(object.trackingId) ? gt.Number(object.trackingId) : 0,
|
|
17607
|
+
mask: isSet(object.mask) ? exports.SegmentationMask.fromJSON(object.mask) : undefined,
|
|
14634
17608
|
};
|
|
14635
17609
|
},
|
|
14636
17610
|
toJSON(message) {
|
|
@@ -14650,6 +17624,9 @@ exports.ObjectDetection = {
|
|
|
14650
17624
|
if (message.trackingId !== 0) {
|
|
14651
17625
|
obj.trackingId = Math.round(message.trackingId);
|
|
14652
17626
|
}
|
|
17627
|
+
if (message.mask !== undefined) {
|
|
17628
|
+
obj.mask = exports.SegmentationMask.toJSON(message.mask);
|
|
17629
|
+
}
|
|
14653
17630
|
return obj;
|
|
14654
17631
|
},
|
|
14655
17632
|
create(base) {
|
|
@@ -14664,6 +17641,9 @@ exports.ObjectDetection = {
|
|
|
14664
17641
|
message.classId = object.classId ?? 0;
|
|
14665
17642
|
message.className = object.className ?? "";
|
|
14666
17643
|
message.trackingId = object.trackingId ?? 0;
|
|
17644
|
+
message.mask = (object.mask !== undefined && object.mask !== null)
|
|
17645
|
+
? exports.SegmentationMask.fromPartial(object.mask)
|
|
17646
|
+
: undefined;
|
|
14667
17647
|
return message;
|
|
14668
17648
|
},
|
|
14669
17649
|
};
|
|
@@ -15001,6 +17981,350 @@ exports.OperatorInfo = {
|
|
|
15001
17981
|
return message;
|
|
15002
17982
|
},
|
|
15003
17983
|
};
|
|
17984
|
+
function createBaseSotState() {
|
|
17985
|
+
return { state: 0, boundingBox: undefined, imageWidth: 0, imageHeight: 0, confidence: 0, vx: 0, vy: 0, vs: 0, vr: 0 };
|
|
17986
|
+
}
|
|
17987
|
+
exports.SotState = {
|
|
17988
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
17989
|
+
if (message.state !== 0) {
|
|
17990
|
+
writer.uint32(8).int32(message.state);
|
|
17991
|
+
}
|
|
17992
|
+
if (message.boundingBox !== undefined) {
|
|
17993
|
+
exports.BoundingBox.encode(message.boundingBox, writer.uint32(18).fork()).join();
|
|
17994
|
+
}
|
|
17995
|
+
if (message.imageWidth !== 0) {
|
|
17996
|
+
writer.uint32(24).uint32(message.imageWidth);
|
|
17997
|
+
}
|
|
17998
|
+
if (message.imageHeight !== 0) {
|
|
17999
|
+
writer.uint32(32).uint32(message.imageHeight);
|
|
18000
|
+
}
|
|
18001
|
+
if (message.confidence !== 0) {
|
|
18002
|
+
writer.uint32(45).float(message.confidence);
|
|
18003
|
+
}
|
|
18004
|
+
if (message.vx !== 0) {
|
|
18005
|
+
writer.uint32(53).float(message.vx);
|
|
18006
|
+
}
|
|
18007
|
+
if (message.vy !== 0) {
|
|
18008
|
+
writer.uint32(61).float(message.vy);
|
|
18009
|
+
}
|
|
18010
|
+
if (message.vs !== 0) {
|
|
18011
|
+
writer.uint32(69).float(message.vs);
|
|
18012
|
+
}
|
|
18013
|
+
if (message.vr !== 0) {
|
|
18014
|
+
writer.uint32(77).float(message.vr);
|
|
18015
|
+
}
|
|
18016
|
+
return writer;
|
|
18017
|
+
},
|
|
18018
|
+
decode(input, length) {
|
|
18019
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
18020
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
18021
|
+
const message = createBaseSotState();
|
|
18022
|
+
while (reader.pos < end) {
|
|
18023
|
+
const tag = reader.uint32();
|
|
18024
|
+
switch (tag >>> 3) {
|
|
18025
|
+
case 1: {
|
|
18026
|
+
if (tag !== 8) {
|
|
18027
|
+
break;
|
|
18028
|
+
}
|
|
18029
|
+
message.state = reader.int32();
|
|
18030
|
+
continue;
|
|
18031
|
+
}
|
|
18032
|
+
case 2: {
|
|
18033
|
+
if (tag !== 18) {
|
|
18034
|
+
break;
|
|
18035
|
+
}
|
|
18036
|
+
message.boundingBox = exports.BoundingBox.decode(reader, reader.uint32());
|
|
18037
|
+
continue;
|
|
18038
|
+
}
|
|
18039
|
+
case 3: {
|
|
18040
|
+
if (tag !== 24) {
|
|
18041
|
+
break;
|
|
18042
|
+
}
|
|
18043
|
+
message.imageWidth = reader.uint32();
|
|
18044
|
+
continue;
|
|
18045
|
+
}
|
|
18046
|
+
case 4: {
|
|
18047
|
+
if (tag !== 32) {
|
|
18048
|
+
break;
|
|
18049
|
+
}
|
|
18050
|
+
message.imageHeight = reader.uint32();
|
|
18051
|
+
continue;
|
|
18052
|
+
}
|
|
18053
|
+
case 5: {
|
|
18054
|
+
if (tag !== 45) {
|
|
18055
|
+
break;
|
|
18056
|
+
}
|
|
18057
|
+
message.confidence = reader.float();
|
|
18058
|
+
continue;
|
|
18059
|
+
}
|
|
18060
|
+
case 6: {
|
|
18061
|
+
if (tag !== 53) {
|
|
18062
|
+
break;
|
|
18063
|
+
}
|
|
18064
|
+
message.vx = reader.float();
|
|
18065
|
+
continue;
|
|
18066
|
+
}
|
|
18067
|
+
case 7: {
|
|
18068
|
+
if (tag !== 61) {
|
|
18069
|
+
break;
|
|
18070
|
+
}
|
|
18071
|
+
message.vy = reader.float();
|
|
18072
|
+
continue;
|
|
18073
|
+
}
|
|
18074
|
+
case 8: {
|
|
18075
|
+
if (tag !== 69) {
|
|
18076
|
+
break;
|
|
18077
|
+
}
|
|
18078
|
+
message.vs = reader.float();
|
|
18079
|
+
continue;
|
|
18080
|
+
}
|
|
18081
|
+
case 9: {
|
|
18082
|
+
if (tag !== 77) {
|
|
18083
|
+
break;
|
|
18084
|
+
}
|
|
18085
|
+
message.vr = reader.float();
|
|
18086
|
+
continue;
|
|
18087
|
+
}
|
|
18088
|
+
}
|
|
18089
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
18090
|
+
break;
|
|
18091
|
+
}
|
|
18092
|
+
reader.skip(tag & 7);
|
|
18093
|
+
}
|
|
18094
|
+
return message;
|
|
18095
|
+
},
|
|
18096
|
+
fromJSON(object) {
|
|
18097
|
+
return {
|
|
18098
|
+
state: isSet(object.state) ? sotState_StateFromJSON(object.state) : 0,
|
|
18099
|
+
boundingBox: isSet(object.boundingBox) ? exports.BoundingBox.fromJSON(object.boundingBox) : undefined,
|
|
18100
|
+
imageWidth: isSet(object.imageWidth) ? gt.Number(object.imageWidth) : 0,
|
|
18101
|
+
imageHeight: isSet(object.imageHeight) ? gt.Number(object.imageHeight) : 0,
|
|
18102
|
+
confidence: isSet(object.confidence) ? gt.Number(object.confidence) : 0,
|
|
18103
|
+
vx: isSet(object.vx) ? gt.Number(object.vx) : 0,
|
|
18104
|
+
vy: isSet(object.vy) ? gt.Number(object.vy) : 0,
|
|
18105
|
+
vs: isSet(object.vs) ? gt.Number(object.vs) : 0,
|
|
18106
|
+
vr: isSet(object.vr) ? gt.Number(object.vr) : 0,
|
|
18107
|
+
};
|
|
18108
|
+
},
|
|
18109
|
+
toJSON(message) {
|
|
18110
|
+
const obj = {};
|
|
18111
|
+
if (message.state !== 0) {
|
|
18112
|
+
obj.state = sotState_StateToJSON(message.state);
|
|
18113
|
+
}
|
|
18114
|
+
if (message.boundingBox !== undefined) {
|
|
18115
|
+
obj.boundingBox = exports.BoundingBox.toJSON(message.boundingBox);
|
|
18116
|
+
}
|
|
18117
|
+
if (message.imageWidth !== 0) {
|
|
18118
|
+
obj.imageWidth = Math.round(message.imageWidth);
|
|
18119
|
+
}
|
|
18120
|
+
if (message.imageHeight !== 0) {
|
|
18121
|
+
obj.imageHeight = Math.round(message.imageHeight);
|
|
18122
|
+
}
|
|
18123
|
+
if (message.confidence !== 0) {
|
|
18124
|
+
obj.confidence = message.confidence;
|
|
18125
|
+
}
|
|
18126
|
+
if (message.vx !== 0) {
|
|
18127
|
+
obj.vx = message.vx;
|
|
18128
|
+
}
|
|
18129
|
+
if (message.vy !== 0) {
|
|
18130
|
+
obj.vy = message.vy;
|
|
18131
|
+
}
|
|
18132
|
+
if (message.vs !== 0) {
|
|
18133
|
+
obj.vs = message.vs;
|
|
18134
|
+
}
|
|
18135
|
+
if (message.vr !== 0) {
|
|
18136
|
+
obj.vr = message.vr;
|
|
18137
|
+
}
|
|
18138
|
+
return obj;
|
|
18139
|
+
},
|
|
18140
|
+
create(base) {
|
|
18141
|
+
return exports.SotState.fromPartial(base ?? {});
|
|
18142
|
+
},
|
|
18143
|
+
fromPartial(object) {
|
|
18144
|
+
const message = createBaseSotState();
|
|
18145
|
+
message.state = object.state ?? 0;
|
|
18146
|
+
message.boundingBox = (object.boundingBox !== undefined && object.boundingBox !== null)
|
|
18147
|
+
? exports.BoundingBox.fromPartial(object.boundingBox)
|
|
18148
|
+
: undefined;
|
|
18149
|
+
message.imageWidth = object.imageWidth ?? 0;
|
|
18150
|
+
message.imageHeight = object.imageHeight ?? 0;
|
|
18151
|
+
message.confidence = object.confidence ?? 0;
|
|
18152
|
+
message.vx = object.vx ?? 0;
|
|
18153
|
+
message.vy = object.vy ?? 0;
|
|
18154
|
+
message.vs = object.vs ?? 0;
|
|
18155
|
+
message.vr = object.vr ?? 0;
|
|
18156
|
+
return message;
|
|
18157
|
+
},
|
|
18158
|
+
};
|
|
18159
|
+
function createBaseAnnotation() {
|
|
18160
|
+
return {
|
|
18161
|
+
typeSlug: "",
|
|
18162
|
+
typeName: "",
|
|
18163
|
+
typeIcon: "",
|
|
18164
|
+
typeColor: "",
|
|
18165
|
+
title: "",
|
|
18166
|
+
body: "",
|
|
18167
|
+
duration: undefined,
|
|
18168
|
+
source: 0,
|
|
18169
|
+
};
|
|
18170
|
+
}
|
|
18171
|
+
exports.Annotation = {
|
|
18172
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
18173
|
+
if (message.typeSlug !== "") {
|
|
18174
|
+
writer.uint32(10).string(message.typeSlug);
|
|
18175
|
+
}
|
|
18176
|
+
if (message.typeName !== "") {
|
|
18177
|
+
writer.uint32(18).string(message.typeName);
|
|
18178
|
+
}
|
|
18179
|
+
if (message.typeIcon !== "") {
|
|
18180
|
+
writer.uint32(26).string(message.typeIcon);
|
|
18181
|
+
}
|
|
18182
|
+
if (message.typeColor !== "") {
|
|
18183
|
+
writer.uint32(34).string(message.typeColor);
|
|
18184
|
+
}
|
|
18185
|
+
if (message.title !== "") {
|
|
18186
|
+
writer.uint32(42).string(message.title);
|
|
18187
|
+
}
|
|
18188
|
+
if (message.body !== "") {
|
|
18189
|
+
writer.uint32(50).string(message.body);
|
|
18190
|
+
}
|
|
18191
|
+
if (message.duration !== undefined) {
|
|
18192
|
+
duration_1.Duration.encode(message.duration, writer.uint32(58).fork()).join();
|
|
18193
|
+
}
|
|
18194
|
+
if (message.source !== 0) {
|
|
18195
|
+
writer.uint32(64).int32(message.source);
|
|
18196
|
+
}
|
|
18197
|
+
return writer;
|
|
18198
|
+
},
|
|
18199
|
+
decode(input, length) {
|
|
18200
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
18201
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
18202
|
+
const message = createBaseAnnotation();
|
|
18203
|
+
while (reader.pos < end) {
|
|
18204
|
+
const tag = reader.uint32();
|
|
18205
|
+
switch (tag >>> 3) {
|
|
18206
|
+
case 1: {
|
|
18207
|
+
if (tag !== 10) {
|
|
18208
|
+
break;
|
|
18209
|
+
}
|
|
18210
|
+
message.typeSlug = reader.string();
|
|
18211
|
+
continue;
|
|
18212
|
+
}
|
|
18213
|
+
case 2: {
|
|
18214
|
+
if (tag !== 18) {
|
|
18215
|
+
break;
|
|
18216
|
+
}
|
|
18217
|
+
message.typeName = reader.string();
|
|
18218
|
+
continue;
|
|
18219
|
+
}
|
|
18220
|
+
case 3: {
|
|
18221
|
+
if (tag !== 26) {
|
|
18222
|
+
break;
|
|
18223
|
+
}
|
|
18224
|
+
message.typeIcon = reader.string();
|
|
18225
|
+
continue;
|
|
18226
|
+
}
|
|
18227
|
+
case 4: {
|
|
18228
|
+
if (tag !== 34) {
|
|
18229
|
+
break;
|
|
18230
|
+
}
|
|
18231
|
+
message.typeColor = reader.string();
|
|
18232
|
+
continue;
|
|
18233
|
+
}
|
|
18234
|
+
case 5: {
|
|
18235
|
+
if (tag !== 42) {
|
|
18236
|
+
break;
|
|
18237
|
+
}
|
|
18238
|
+
message.title = reader.string();
|
|
18239
|
+
continue;
|
|
18240
|
+
}
|
|
18241
|
+
case 6: {
|
|
18242
|
+
if (tag !== 50) {
|
|
18243
|
+
break;
|
|
18244
|
+
}
|
|
18245
|
+
message.body = reader.string();
|
|
18246
|
+
continue;
|
|
18247
|
+
}
|
|
18248
|
+
case 7: {
|
|
18249
|
+
if (tag !== 58) {
|
|
18250
|
+
break;
|
|
18251
|
+
}
|
|
18252
|
+
message.duration = duration_1.Duration.decode(reader, reader.uint32());
|
|
18253
|
+
continue;
|
|
18254
|
+
}
|
|
18255
|
+
case 8: {
|
|
18256
|
+
if (tag !== 64) {
|
|
18257
|
+
break;
|
|
18258
|
+
}
|
|
18259
|
+
message.source = reader.int32();
|
|
18260
|
+
continue;
|
|
18261
|
+
}
|
|
18262
|
+
}
|
|
18263
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
18264
|
+
break;
|
|
18265
|
+
}
|
|
18266
|
+
reader.skip(tag & 7);
|
|
18267
|
+
}
|
|
18268
|
+
return message;
|
|
18269
|
+
},
|
|
18270
|
+
fromJSON(object) {
|
|
18271
|
+
return {
|
|
18272
|
+
typeSlug: isSet(object.typeSlug) ? gt.String(object.typeSlug) : "",
|
|
18273
|
+
typeName: isSet(object.typeName) ? gt.String(object.typeName) : "",
|
|
18274
|
+
typeIcon: isSet(object.typeIcon) ? gt.String(object.typeIcon) : "",
|
|
18275
|
+
typeColor: isSet(object.typeColor) ? gt.String(object.typeColor) : "",
|
|
18276
|
+
title: isSet(object.title) ? gt.String(object.title) : "",
|
|
18277
|
+
body: isSet(object.body) ? gt.String(object.body) : "",
|
|
18278
|
+
duration: isSet(object.duration) ? duration_1.Duration.fromJSON(object.duration) : undefined,
|
|
18279
|
+
source: isSet(object.source) ? annotationSourceFromJSON(object.source) : 0,
|
|
18280
|
+
};
|
|
18281
|
+
},
|
|
18282
|
+
toJSON(message) {
|
|
18283
|
+
const obj = {};
|
|
18284
|
+
if (message.typeSlug !== "") {
|
|
18285
|
+
obj.typeSlug = message.typeSlug;
|
|
18286
|
+
}
|
|
18287
|
+
if (message.typeName !== "") {
|
|
18288
|
+
obj.typeName = message.typeName;
|
|
18289
|
+
}
|
|
18290
|
+
if (message.typeIcon !== "") {
|
|
18291
|
+
obj.typeIcon = message.typeIcon;
|
|
18292
|
+
}
|
|
18293
|
+
if (message.typeColor !== "") {
|
|
18294
|
+
obj.typeColor = message.typeColor;
|
|
18295
|
+
}
|
|
18296
|
+
if (message.title !== "") {
|
|
18297
|
+
obj.title = message.title;
|
|
18298
|
+
}
|
|
18299
|
+
if (message.body !== "") {
|
|
18300
|
+
obj.body = message.body;
|
|
18301
|
+
}
|
|
18302
|
+
if (message.duration !== undefined) {
|
|
18303
|
+
obj.duration = duration_1.Duration.toJSON(message.duration);
|
|
18304
|
+
}
|
|
18305
|
+
if (message.source !== 0) {
|
|
18306
|
+
obj.source = annotationSourceToJSON(message.source);
|
|
18307
|
+
}
|
|
18308
|
+
return obj;
|
|
18309
|
+
},
|
|
18310
|
+
create(base) {
|
|
18311
|
+
return exports.Annotation.fromPartial(base ?? {});
|
|
18312
|
+
},
|
|
18313
|
+
fromPartial(object) {
|
|
18314
|
+
const message = createBaseAnnotation();
|
|
18315
|
+
message.typeSlug = object.typeSlug ?? "";
|
|
18316
|
+
message.typeName = object.typeName ?? "";
|
|
18317
|
+
message.typeIcon = object.typeIcon ?? "";
|
|
18318
|
+
message.typeColor = object.typeColor ?? "";
|
|
18319
|
+
message.title = object.title ?? "";
|
|
18320
|
+
message.body = object.body ?? "";
|
|
18321
|
+
message.duration = (object.duration !== undefined && object.duration !== null)
|
|
18322
|
+
? duration_1.Duration.fromPartial(object.duration)
|
|
18323
|
+
: undefined;
|
|
18324
|
+
message.source = object.source ?? 0;
|
|
18325
|
+
return message;
|
|
18326
|
+
},
|
|
18327
|
+
};
|
|
15004
18328
|
const gt = (() => {
|
|
15005
18329
|
if (typeof globalThis !== "undefined") {
|
|
15006
18330
|
return globalThis;
|