@blueyerobotics/protocol-definitions 3.2.0-9f6199cf → 3.2.0-a0a5b37d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +165 -0
- package/README.npm.md +40 -0
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +17 -2
- package/dist/control.js +78 -10
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +215 -15
- package/dist/message_formats.js +1233 -36
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +42 -2
- package/dist/telemetry.js +363 -9
- package/package.json +8 -6
package/dist/message_formats.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = void 0;
|
|
8
|
+
exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
|
|
10
|
+
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -56,16 +60,22 @@ exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
57
61
|
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
58
62
|
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
59
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
60
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
61
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
62
68
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
|
|
69
|
+
exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
|
|
70
|
+
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
63
71
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
64
72
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
65
73
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
66
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
67
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
68
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
69
79
|
/* eslint-disable */
|
|
70
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
71
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -587,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
587
597
|
return "UNRECOGNIZED";
|
|
588
598
|
}
|
|
589
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Storage location.
|
|
602
|
+
*
|
|
603
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
604
|
+
*/
|
|
605
|
+
var StorageLocation;
|
|
606
|
+
(function (StorageLocation) {
|
|
607
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
609
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
611
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
612
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
613
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
614
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
615
|
+
function storageLocationFromJSON(object) {
|
|
616
|
+
switch (object) {
|
|
617
|
+
case 0:
|
|
618
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
619
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
620
|
+
case 1:
|
|
621
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
622
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
623
|
+
case 2:
|
|
624
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
625
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
626
|
+
case -1:
|
|
627
|
+
case "UNRECOGNIZED":
|
|
628
|
+
default:
|
|
629
|
+
return StorageLocation.UNRECOGNIZED;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
function storageLocationToJSON(object) {
|
|
633
|
+
switch (object) {
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
635
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
637
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
638
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
639
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
640
|
+
case StorageLocation.UNRECOGNIZED:
|
|
641
|
+
default:
|
|
642
|
+
return "UNRECOGNIZED";
|
|
643
|
+
}
|
|
644
|
+
}
|
|
590
645
|
/** Drone models produced by Blueye. */
|
|
591
646
|
var Model;
|
|
592
647
|
(function (Model) {
|
|
@@ -716,11 +771,13 @@ var Resolution;
|
|
|
716
771
|
(function (Resolution) {
|
|
717
772
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
718
773
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
719
|
-
/**
|
|
720
|
-
Resolution[Resolution["
|
|
721
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
774
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
775
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
776
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
722
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
723
|
-
/**
|
|
778
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
779
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
780
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
724
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
725
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
726
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -729,12 +786,15 @@ function resolutionFromJSON(object) {
|
|
|
729
786
|
case 0:
|
|
730
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
731
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
732
|
-
case
|
|
733
|
-
case "
|
|
734
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA_480P":
|
|
791
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
735
792
|
case 2:
|
|
736
793
|
case "RESOLUTION_HD_720P":
|
|
737
794
|
return Resolution.RESOLUTION_HD_720P;
|
|
795
|
+
case 1:
|
|
796
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
797
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
738
798
|
case 3:
|
|
739
799
|
case "RESOLUTION_UHD_4K":
|
|
740
800
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -748,10 +808,12 @@ function resolutionToJSON(object) {
|
|
|
748
808
|
switch (object) {
|
|
749
809
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
750
810
|
return "RESOLUTION_UNSPECIFIED";
|
|
751
|
-
case Resolution.
|
|
752
|
-
return "
|
|
811
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
812
|
+
return "RESOLUTION_VGA_480P";
|
|
753
813
|
case Resolution.RESOLUTION_HD_720P:
|
|
754
814
|
return "RESOLUTION_HD_720P";
|
|
815
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
816
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
755
817
|
case Resolution.RESOLUTION_UHD_4K:
|
|
756
818
|
return "RESOLUTION_UHD_4K";
|
|
757
819
|
case Resolution.UNRECOGNIZED:
|
|
@@ -766,7 +828,7 @@ var Framerate;
|
|
|
766
828
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
767
829
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
768
830
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
769
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
831
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
770
832
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
771
833
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
772
834
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -841,6 +903,46 @@ function cameraToJSON(object) {
|
|
|
841
903
|
return "UNRECOGNIZED";
|
|
842
904
|
}
|
|
843
905
|
}
|
|
906
|
+
var StreamingProtocol;
|
|
907
|
+
(function (StreamingProtocol) {
|
|
908
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
909
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
910
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
911
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
912
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
913
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
914
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
915
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
916
|
+
function streamingProtocolFromJSON(object) {
|
|
917
|
+
switch (object) {
|
|
918
|
+
case 0:
|
|
919
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
920
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
921
|
+
case 1:
|
|
922
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
923
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
924
|
+
case 2:
|
|
925
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
926
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
927
|
+
case -1:
|
|
928
|
+
case "UNRECOGNIZED":
|
|
929
|
+
default:
|
|
930
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
function streamingProtocolToJSON(object) {
|
|
934
|
+
switch (object) {
|
|
935
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
936
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
937
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
938
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
939
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
940
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
941
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
942
|
+
default:
|
|
943
|
+
return "UNRECOGNIZED";
|
|
944
|
+
}
|
|
945
|
+
}
|
|
844
946
|
/** Available temperature units. */
|
|
845
947
|
var TemperatureUnit;
|
|
846
948
|
(function (TemperatureUnit) {
|
|
@@ -1174,6 +1276,12 @@ var GuestPortDeviceID;
|
|
|
1174
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1175
1277
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1176
1278
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1279
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1280
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1281
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1282
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1283
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
1284
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1177
1285
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1178
1286
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1179
1287
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1313,6 +1421,15 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1313
1421
|
case 44:
|
|
1314
1422
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1315
1423
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1424
|
+
case 45:
|
|
1425
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1426
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1427
|
+
case 46:
|
|
1428
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1429
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1430
|
+
case 47:
|
|
1431
|
+
case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
|
|
1432
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
|
|
1316
1433
|
case -1:
|
|
1317
1434
|
case "UNRECOGNIZED":
|
|
1318
1435
|
default:
|
|
@@ -1411,6 +1528,12 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1411
1528
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1412
1529
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1413
1530
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1531
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1532
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1533
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1534
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1535
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
|
|
1536
|
+
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1414
1537
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1415
1538
|
default:
|
|
1416
1539
|
return "UNRECOGNIZED";
|
|
@@ -1755,6 +1878,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1755
1878
|
return "UNRECOGNIZED";
|
|
1756
1879
|
}
|
|
1757
1880
|
}
|
|
1881
|
+
/** Kernel log level. */
|
|
1882
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1883
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1884
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1885
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1886
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1887
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1888
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1889
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1890
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1891
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1892
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1893
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1894
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1895
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1896
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1897
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1898
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1899
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1900
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1901
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1902
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1903
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1904
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1905
|
+
switch (object) {
|
|
1906
|
+
case 0:
|
|
1907
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1908
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1909
|
+
case 1:
|
|
1910
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1911
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1912
|
+
case 2:
|
|
1913
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1914
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1915
|
+
case 3:
|
|
1916
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1917
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1918
|
+
case 4:
|
|
1919
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1920
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1921
|
+
case 5:
|
|
1922
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1923
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1924
|
+
case 6:
|
|
1925
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1926
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1927
|
+
case 7:
|
|
1928
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1929
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1930
|
+
case 8:
|
|
1931
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1932
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1933
|
+
case -1:
|
|
1934
|
+
case "UNRECOGNIZED":
|
|
1935
|
+
default:
|
|
1936
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1940
|
+
switch (object) {
|
|
1941
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1942
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1943
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1944
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1945
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1946
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1947
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1948
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1949
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1950
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1951
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1952
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1953
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1954
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1955
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1956
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1957
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1958
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1959
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1960
|
+
default:
|
|
1961
|
+
return "UNRECOGNIZED";
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1758
1964
|
var PingerConfiguration_MountingDirection;
|
|
1759
1965
|
(function (PingerConfiguration_MountingDirection) {
|
|
1760
1966
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1869,10 +2075,65 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
|
|
|
1869
2075
|
return "UNRECOGNIZED";
|
|
1870
2076
|
}
|
|
1871
2077
|
}
|
|
2078
|
+
/** Overall status of the storage device. */
|
|
2079
|
+
var RemovableStorageDevice_Status;
|
|
2080
|
+
(function (RemovableStorageDevice_Status) {
|
|
2081
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
2082
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
2083
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
2084
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
2085
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
2086
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
2087
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
2088
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
2089
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
2090
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
|
|
2091
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2092
|
+
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
2093
|
+
function removableStorageDevice_StatusFromJSON(object) {
|
|
2094
|
+
switch (object) {
|
|
2095
|
+
case 0:
|
|
2096
|
+
case "STATUS_UNSPECIFIED":
|
|
2097
|
+
return RemovableStorageDevice_Status.STATUS_UNSPECIFIED;
|
|
2098
|
+
case 1:
|
|
2099
|
+
case "STATUS_READY":
|
|
2100
|
+
return RemovableStorageDevice_Status.STATUS_READY;
|
|
2101
|
+
case 2:
|
|
2102
|
+
case "STATUS_FORMATTING":
|
|
2103
|
+
return RemovableStorageDevice_Status.STATUS_FORMATTING;
|
|
2104
|
+
case 3:
|
|
2105
|
+
case "STATUS_ERROR":
|
|
2106
|
+
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2107
|
+
case 4:
|
|
2108
|
+
case "STATUS_UNPLUGGED":
|
|
2109
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
2110
|
+
case -1:
|
|
2111
|
+
case "UNRECOGNIZED":
|
|
2112
|
+
default:
|
|
2113
|
+
return RemovableStorageDevice_Status.UNRECOGNIZED;
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
function removableStorageDevice_StatusToJSON(object) {
|
|
2117
|
+
switch (object) {
|
|
2118
|
+
case RemovableStorageDevice_Status.STATUS_UNSPECIFIED:
|
|
2119
|
+
return "STATUS_UNSPECIFIED";
|
|
2120
|
+
case RemovableStorageDevice_Status.STATUS_READY:
|
|
2121
|
+
return "STATUS_READY";
|
|
2122
|
+
case RemovableStorageDevice_Status.STATUS_FORMATTING:
|
|
2123
|
+
return "STATUS_FORMATTING";
|
|
2124
|
+
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
2125
|
+
return "STATUS_ERROR";
|
|
2126
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2127
|
+
return "STATUS_UNPLUGGED";
|
|
2128
|
+
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
2129
|
+
default:
|
|
2130
|
+
return "UNRECOGNIZED";
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
1872
2133
|
/**
|
|
1873
2134
|
* Status of the compass calibration procedure.
|
|
1874
2135
|
*
|
|
1875
|
-
* When calibration is started, the status will indicate the active (
|
|
2136
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1876
2137
|
*/
|
|
1877
2138
|
var CalibrationState_Status;
|
|
1878
2139
|
(function (CalibrationState_Status) {
|
|
@@ -1894,7 +2155,7 @@ var CalibrationState_Status;
|
|
|
1894
2155
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1895
2156
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1896
2157
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1897
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
2158
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1898
2159
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1899
2160
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1900
2161
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -2085,6 +2346,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2085
2346
|
return "UNRECOGNIZED";
|
|
2086
2347
|
}
|
|
2087
2348
|
}
|
|
2349
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2350
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2351
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2352
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2353
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2354
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2355
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2356
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2357
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2358
|
+
switch (object) {
|
|
2359
|
+
case 0:
|
|
2360
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2361
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2362
|
+
case 1:
|
|
2363
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2364
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2365
|
+
case 2:
|
|
2366
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2367
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2368
|
+
case 3:
|
|
2369
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2370
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2371
|
+
case -1:
|
|
2372
|
+
case "UNRECOGNIZED":
|
|
2373
|
+
default:
|
|
2374
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2378
|
+
switch (object) {
|
|
2379
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2380
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2381
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2382
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2383
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2384
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2385
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2386
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2387
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2388
|
+
default:
|
|
2389
|
+
return "UNRECOGNIZED";
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2088
2392
|
function createBaseBinlogRecord() {
|
|
2089
2393
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2090
2394
|
}
|
|
@@ -2313,6 +2617,189 @@ exports.LogEntry = {
|
|
|
2313
2617
|
return message;
|
|
2314
2618
|
},
|
|
2315
2619
|
};
|
|
2620
|
+
function createBaseKernelLogEntry() {
|
|
2621
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2622
|
+
}
|
|
2623
|
+
exports.KernelLogEntry = {
|
|
2624
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2625
|
+
if (message.level !== 0) {
|
|
2626
|
+
writer.uint32(8).int32(message.level);
|
|
2627
|
+
}
|
|
2628
|
+
if (message.seqnum !== 0) {
|
|
2629
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2630
|
+
}
|
|
2631
|
+
if (message.timestamp !== undefined) {
|
|
2632
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2633
|
+
}
|
|
2634
|
+
for (const v of message.messages) {
|
|
2635
|
+
writer.uint32(34).string(v);
|
|
2636
|
+
}
|
|
2637
|
+
for (const v of message.fields) {
|
|
2638
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2639
|
+
}
|
|
2640
|
+
return writer;
|
|
2641
|
+
},
|
|
2642
|
+
decode(input, length) {
|
|
2643
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2644
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2645
|
+
const message = createBaseKernelLogEntry();
|
|
2646
|
+
while (reader.pos < end) {
|
|
2647
|
+
const tag = reader.uint32();
|
|
2648
|
+
switch (tag >>> 3) {
|
|
2649
|
+
case 1: {
|
|
2650
|
+
if (tag !== 8) {
|
|
2651
|
+
break;
|
|
2652
|
+
}
|
|
2653
|
+
message.level = reader.int32();
|
|
2654
|
+
continue;
|
|
2655
|
+
}
|
|
2656
|
+
case 2: {
|
|
2657
|
+
if (tag !== 16) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
message.seqnum = reader.uint32();
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2663
|
+
case 3: {
|
|
2664
|
+
if (tag !== 26) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2668
|
+
continue;
|
|
2669
|
+
}
|
|
2670
|
+
case 4: {
|
|
2671
|
+
if (tag !== 34) {
|
|
2672
|
+
break;
|
|
2673
|
+
}
|
|
2674
|
+
message.messages.push(reader.string());
|
|
2675
|
+
continue;
|
|
2676
|
+
}
|
|
2677
|
+
case 5: {
|
|
2678
|
+
if (tag !== 42) {
|
|
2679
|
+
break;
|
|
2680
|
+
}
|
|
2681
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2682
|
+
continue;
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2686
|
+
break;
|
|
2687
|
+
}
|
|
2688
|
+
reader.skip(tag & 7);
|
|
2689
|
+
}
|
|
2690
|
+
return message;
|
|
2691
|
+
},
|
|
2692
|
+
fromJSON(object) {
|
|
2693
|
+
return {
|
|
2694
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2695
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2696
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2697
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2698
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2699
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2700
|
+
: [],
|
|
2701
|
+
};
|
|
2702
|
+
},
|
|
2703
|
+
toJSON(message) {
|
|
2704
|
+
const obj = {};
|
|
2705
|
+
if (message.level !== 0) {
|
|
2706
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2707
|
+
}
|
|
2708
|
+
if (message.seqnum !== 0) {
|
|
2709
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2710
|
+
}
|
|
2711
|
+
if (message.timestamp !== undefined) {
|
|
2712
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2713
|
+
}
|
|
2714
|
+
if (message.messages?.length) {
|
|
2715
|
+
obj.messages = message.messages;
|
|
2716
|
+
}
|
|
2717
|
+
if (message.fields?.length) {
|
|
2718
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2719
|
+
}
|
|
2720
|
+
return obj;
|
|
2721
|
+
},
|
|
2722
|
+
create(base) {
|
|
2723
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2724
|
+
},
|
|
2725
|
+
fromPartial(object) {
|
|
2726
|
+
const message = createBaseKernelLogEntry();
|
|
2727
|
+
message.level = object.level ?? 0;
|
|
2728
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2729
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2730
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2731
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2732
|
+
return message;
|
|
2733
|
+
},
|
|
2734
|
+
};
|
|
2735
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2736
|
+
return { key: "", value: "" };
|
|
2737
|
+
}
|
|
2738
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2739
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2740
|
+
if (message.key !== "") {
|
|
2741
|
+
writer.uint32(10).string(message.key);
|
|
2742
|
+
}
|
|
2743
|
+
if (message.value !== "") {
|
|
2744
|
+
writer.uint32(18).string(message.value);
|
|
2745
|
+
}
|
|
2746
|
+
return writer;
|
|
2747
|
+
},
|
|
2748
|
+
decode(input, length) {
|
|
2749
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2750
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2751
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2752
|
+
while (reader.pos < end) {
|
|
2753
|
+
const tag = reader.uint32();
|
|
2754
|
+
switch (tag >>> 3) {
|
|
2755
|
+
case 1: {
|
|
2756
|
+
if (tag !== 10) {
|
|
2757
|
+
break;
|
|
2758
|
+
}
|
|
2759
|
+
message.key = reader.string();
|
|
2760
|
+
continue;
|
|
2761
|
+
}
|
|
2762
|
+
case 2: {
|
|
2763
|
+
if (tag !== 18) {
|
|
2764
|
+
break;
|
|
2765
|
+
}
|
|
2766
|
+
message.value = reader.string();
|
|
2767
|
+
continue;
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2771
|
+
break;
|
|
2772
|
+
}
|
|
2773
|
+
reader.skip(tag & 7);
|
|
2774
|
+
}
|
|
2775
|
+
return message;
|
|
2776
|
+
},
|
|
2777
|
+
fromJSON(object) {
|
|
2778
|
+
return {
|
|
2779
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2780
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2781
|
+
};
|
|
2782
|
+
},
|
|
2783
|
+
toJSON(message) {
|
|
2784
|
+
const obj = {};
|
|
2785
|
+
if (message.key !== "") {
|
|
2786
|
+
obj.key = message.key;
|
|
2787
|
+
}
|
|
2788
|
+
if (message.value !== "") {
|
|
2789
|
+
obj.value = message.value;
|
|
2790
|
+
}
|
|
2791
|
+
return obj;
|
|
2792
|
+
},
|
|
2793
|
+
create(base) {
|
|
2794
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2795
|
+
},
|
|
2796
|
+
fromPartial(object) {
|
|
2797
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2798
|
+
message.key = object.key ?? "";
|
|
2799
|
+
message.value = object.value ?? "";
|
|
2800
|
+
return message;
|
|
2801
|
+
},
|
|
2802
|
+
};
|
|
2316
2803
|
function createBaseMotionInput() {
|
|
2317
2804
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2318
2805
|
}
|
|
@@ -3594,6 +4081,7 @@ function createBaseRecordState() {
|
|
|
3594
4081
|
multibeamIsRecording: false,
|
|
3595
4082
|
multibeamSeconds: 0,
|
|
3596
4083
|
multibeamFps: 0,
|
|
4084
|
+
storageLocation: 0,
|
|
3597
4085
|
};
|
|
3598
4086
|
}
|
|
3599
4087
|
exports.RecordState = {
|
|
@@ -3625,6 +4113,9 @@ exports.RecordState = {
|
|
|
3625
4113
|
if (message.multibeamFps !== 0) {
|
|
3626
4114
|
writer.uint32(77).float(message.multibeamFps);
|
|
3627
4115
|
}
|
|
4116
|
+
if (message.storageLocation !== 0) {
|
|
4117
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
4118
|
+
}
|
|
3628
4119
|
return writer;
|
|
3629
4120
|
},
|
|
3630
4121
|
decode(input, length) {
|
|
@@ -3697,6 +4188,13 @@ exports.RecordState = {
|
|
|
3697
4188
|
message.multibeamFps = reader.float();
|
|
3698
4189
|
continue;
|
|
3699
4190
|
}
|
|
4191
|
+
case 10: {
|
|
4192
|
+
if (tag !== 80) {
|
|
4193
|
+
break;
|
|
4194
|
+
}
|
|
4195
|
+
message.storageLocation = reader.int32();
|
|
4196
|
+
continue;
|
|
4197
|
+
}
|
|
3700
4198
|
}
|
|
3701
4199
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3702
4200
|
break;
|
|
@@ -3716,6 +4214,7 @@ exports.RecordState = {
|
|
|
3716
4214
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3717
4215
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3718
4216
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4217
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3719
4218
|
};
|
|
3720
4219
|
},
|
|
3721
4220
|
toJSON(message) {
|
|
@@ -3747,6 +4246,9 @@ exports.RecordState = {
|
|
|
3747
4246
|
if (message.multibeamFps !== 0) {
|
|
3748
4247
|
obj.multibeamFps = message.multibeamFps;
|
|
3749
4248
|
}
|
|
4249
|
+
if (message.storageLocation !== 0) {
|
|
4250
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
4251
|
+
}
|
|
3750
4252
|
return obj;
|
|
3751
4253
|
},
|
|
3752
4254
|
create(base) {
|
|
@@ -3763,6 +4265,7 @@ exports.RecordState = {
|
|
|
3763
4265
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3764
4266
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3765
4267
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4268
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3766
4269
|
return message;
|
|
3767
4270
|
},
|
|
3768
4271
|
};
|
|
@@ -7669,30 +8172,414 @@ exports.StorageSpace = {
|
|
|
7669
8172
|
return message;
|
|
7670
8173
|
},
|
|
7671
8174
|
};
|
|
7672
|
-
function
|
|
7673
|
-
return {
|
|
7674
|
-
status: 0,
|
|
7675
|
-
progressXPositive: 0,
|
|
7676
|
-
progressXNegative: 0,
|
|
7677
|
-
progressYPositive: 0,
|
|
7678
|
-
progressYNegative: 0,
|
|
7679
|
-
progressZPositive: 0,
|
|
7680
|
-
progressZNegative: 0,
|
|
7681
|
-
progressThruster: 0,
|
|
7682
|
-
};
|
|
8175
|
+
function createBaseStoragePartition() {
|
|
8176
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7683
8177
|
}
|
|
7684
|
-
exports.
|
|
8178
|
+
exports.StoragePartition = {
|
|
7685
8179
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7686
|
-
if (message.
|
|
7687
|
-
writer.uint32(
|
|
8180
|
+
if (message.storageSpace !== undefined) {
|
|
8181
|
+
exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
7688
8182
|
}
|
|
7689
|
-
if (message.
|
|
7690
|
-
writer.uint32(
|
|
8183
|
+
if (message.fileSystemType !== "") {
|
|
8184
|
+
writer.uint32(18).string(message.fileSystemType);
|
|
7691
8185
|
}
|
|
7692
|
-
if (message.
|
|
7693
|
-
writer.uint32(
|
|
8186
|
+
if (message.devicePath !== "") {
|
|
8187
|
+
writer.uint32(26).string(message.devicePath);
|
|
7694
8188
|
}
|
|
7695
|
-
if (message.
|
|
8189
|
+
if (message.mountPath !== "") {
|
|
8190
|
+
writer.uint32(34).string(message.mountPath);
|
|
8191
|
+
}
|
|
8192
|
+
if (message.label !== "") {
|
|
8193
|
+
writer.uint32(42).string(message.label);
|
|
8194
|
+
}
|
|
8195
|
+
return writer;
|
|
8196
|
+
},
|
|
8197
|
+
decode(input, length) {
|
|
8198
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8199
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8200
|
+
const message = createBaseStoragePartition();
|
|
8201
|
+
while (reader.pos < end) {
|
|
8202
|
+
const tag = reader.uint32();
|
|
8203
|
+
switch (tag >>> 3) {
|
|
8204
|
+
case 1: {
|
|
8205
|
+
if (tag !== 10) {
|
|
8206
|
+
break;
|
|
8207
|
+
}
|
|
8208
|
+
message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
|
|
8209
|
+
continue;
|
|
8210
|
+
}
|
|
8211
|
+
case 2: {
|
|
8212
|
+
if (tag !== 18) {
|
|
8213
|
+
break;
|
|
8214
|
+
}
|
|
8215
|
+
message.fileSystemType = reader.string();
|
|
8216
|
+
continue;
|
|
8217
|
+
}
|
|
8218
|
+
case 3: {
|
|
8219
|
+
if (tag !== 26) {
|
|
8220
|
+
break;
|
|
8221
|
+
}
|
|
8222
|
+
message.devicePath = reader.string();
|
|
8223
|
+
continue;
|
|
8224
|
+
}
|
|
8225
|
+
case 4: {
|
|
8226
|
+
if (tag !== 34) {
|
|
8227
|
+
break;
|
|
8228
|
+
}
|
|
8229
|
+
message.mountPath = reader.string();
|
|
8230
|
+
continue;
|
|
8231
|
+
}
|
|
8232
|
+
case 5: {
|
|
8233
|
+
if (tag !== 42) {
|
|
8234
|
+
break;
|
|
8235
|
+
}
|
|
8236
|
+
message.label = reader.string();
|
|
8237
|
+
continue;
|
|
8238
|
+
}
|
|
8239
|
+
}
|
|
8240
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8241
|
+
break;
|
|
8242
|
+
}
|
|
8243
|
+
reader.skip(tag & 7);
|
|
8244
|
+
}
|
|
8245
|
+
return message;
|
|
8246
|
+
},
|
|
8247
|
+
fromJSON(object) {
|
|
8248
|
+
return {
|
|
8249
|
+
storageSpace: isSet(object.storageSpace) ? exports.StorageSpace.fromJSON(object.storageSpace) : undefined,
|
|
8250
|
+
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
8251
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8252
|
+
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8253
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
8254
|
+
};
|
|
8255
|
+
},
|
|
8256
|
+
toJSON(message) {
|
|
8257
|
+
const obj = {};
|
|
8258
|
+
if (message.storageSpace !== undefined) {
|
|
8259
|
+
obj.storageSpace = exports.StorageSpace.toJSON(message.storageSpace);
|
|
8260
|
+
}
|
|
8261
|
+
if (message.fileSystemType !== "") {
|
|
8262
|
+
obj.fileSystemType = message.fileSystemType;
|
|
8263
|
+
}
|
|
8264
|
+
if (message.devicePath !== "") {
|
|
8265
|
+
obj.devicePath = message.devicePath;
|
|
8266
|
+
}
|
|
8267
|
+
if (message.mountPath !== "") {
|
|
8268
|
+
obj.mountPath = message.mountPath;
|
|
8269
|
+
}
|
|
8270
|
+
if (message.label !== "") {
|
|
8271
|
+
obj.label = message.label;
|
|
8272
|
+
}
|
|
8273
|
+
return obj;
|
|
8274
|
+
},
|
|
8275
|
+
create(base) {
|
|
8276
|
+
return exports.StoragePartition.fromPartial(base ?? {});
|
|
8277
|
+
},
|
|
8278
|
+
fromPartial(object) {
|
|
8279
|
+
const message = createBaseStoragePartition();
|
|
8280
|
+
message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
|
|
8281
|
+
? exports.StorageSpace.fromPartial(object.storageSpace)
|
|
8282
|
+
: undefined;
|
|
8283
|
+
message.fileSystemType = object.fileSystemType ?? "";
|
|
8284
|
+
message.devicePath = object.devicePath ?? "";
|
|
8285
|
+
message.mountPath = object.mountPath ?? "";
|
|
8286
|
+
message.label = object.label ?? "";
|
|
8287
|
+
return message;
|
|
8288
|
+
},
|
|
8289
|
+
};
|
|
8290
|
+
function createBaseRemovableStorageDevice() {
|
|
8291
|
+
return { vendorName: "", modelName: "", devicePath: "", status: 0, errorFlags: undefined, partitions: [] };
|
|
8292
|
+
}
|
|
8293
|
+
exports.RemovableStorageDevice = {
|
|
8294
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8295
|
+
if (message.vendorName !== "") {
|
|
8296
|
+
writer.uint32(10).string(message.vendorName);
|
|
8297
|
+
}
|
|
8298
|
+
if (message.modelName !== "") {
|
|
8299
|
+
writer.uint32(18).string(message.modelName);
|
|
8300
|
+
}
|
|
8301
|
+
if (message.devicePath !== "") {
|
|
8302
|
+
writer.uint32(26).string(message.devicePath);
|
|
8303
|
+
}
|
|
8304
|
+
if (message.status !== 0) {
|
|
8305
|
+
writer.uint32(32).int32(message.status);
|
|
8306
|
+
}
|
|
8307
|
+
if (message.errorFlags !== undefined) {
|
|
8308
|
+
exports.RemovableStorageErrorFlags.encode(message.errorFlags, writer.uint32(42).fork()).join();
|
|
8309
|
+
}
|
|
8310
|
+
for (const v of message.partitions) {
|
|
8311
|
+
exports.StoragePartition.encode(v, writer.uint32(50).fork()).join();
|
|
8312
|
+
}
|
|
8313
|
+
return writer;
|
|
8314
|
+
},
|
|
8315
|
+
decode(input, length) {
|
|
8316
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8317
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8318
|
+
const message = createBaseRemovableStorageDevice();
|
|
8319
|
+
while (reader.pos < end) {
|
|
8320
|
+
const tag = reader.uint32();
|
|
8321
|
+
switch (tag >>> 3) {
|
|
8322
|
+
case 1: {
|
|
8323
|
+
if (tag !== 10) {
|
|
8324
|
+
break;
|
|
8325
|
+
}
|
|
8326
|
+
message.vendorName = reader.string();
|
|
8327
|
+
continue;
|
|
8328
|
+
}
|
|
8329
|
+
case 2: {
|
|
8330
|
+
if (tag !== 18) {
|
|
8331
|
+
break;
|
|
8332
|
+
}
|
|
8333
|
+
message.modelName = reader.string();
|
|
8334
|
+
continue;
|
|
8335
|
+
}
|
|
8336
|
+
case 3: {
|
|
8337
|
+
if (tag !== 26) {
|
|
8338
|
+
break;
|
|
8339
|
+
}
|
|
8340
|
+
message.devicePath = reader.string();
|
|
8341
|
+
continue;
|
|
8342
|
+
}
|
|
8343
|
+
case 4: {
|
|
8344
|
+
if (tag !== 32) {
|
|
8345
|
+
break;
|
|
8346
|
+
}
|
|
8347
|
+
message.status = reader.int32();
|
|
8348
|
+
continue;
|
|
8349
|
+
}
|
|
8350
|
+
case 5: {
|
|
8351
|
+
if (tag !== 42) {
|
|
8352
|
+
break;
|
|
8353
|
+
}
|
|
8354
|
+
message.errorFlags = exports.RemovableStorageErrorFlags.decode(reader, reader.uint32());
|
|
8355
|
+
continue;
|
|
8356
|
+
}
|
|
8357
|
+
case 6: {
|
|
8358
|
+
if (tag !== 50) {
|
|
8359
|
+
break;
|
|
8360
|
+
}
|
|
8361
|
+
message.partitions.push(exports.StoragePartition.decode(reader, reader.uint32()));
|
|
8362
|
+
continue;
|
|
8363
|
+
}
|
|
8364
|
+
}
|
|
8365
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8366
|
+
break;
|
|
8367
|
+
}
|
|
8368
|
+
reader.skip(tag & 7);
|
|
8369
|
+
}
|
|
8370
|
+
return message;
|
|
8371
|
+
},
|
|
8372
|
+
fromJSON(object) {
|
|
8373
|
+
return {
|
|
8374
|
+
vendorName: isSet(object.vendorName) ? gt.String(object.vendorName) : "",
|
|
8375
|
+
modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
|
|
8376
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8377
|
+
status: isSet(object.status) ? removableStorageDevice_StatusFromJSON(object.status) : 0,
|
|
8378
|
+
errorFlags: isSet(object.errorFlags) ? exports.RemovableStorageErrorFlags.fromJSON(object.errorFlags) : undefined,
|
|
8379
|
+
partitions: gt.Array.isArray(object?.partitions)
|
|
8380
|
+
? object.partitions.map((e) => exports.StoragePartition.fromJSON(e))
|
|
8381
|
+
: [],
|
|
8382
|
+
};
|
|
8383
|
+
},
|
|
8384
|
+
toJSON(message) {
|
|
8385
|
+
const obj = {};
|
|
8386
|
+
if (message.vendorName !== "") {
|
|
8387
|
+
obj.vendorName = message.vendorName;
|
|
8388
|
+
}
|
|
8389
|
+
if (message.modelName !== "") {
|
|
8390
|
+
obj.modelName = message.modelName;
|
|
8391
|
+
}
|
|
8392
|
+
if (message.devicePath !== "") {
|
|
8393
|
+
obj.devicePath = message.devicePath;
|
|
8394
|
+
}
|
|
8395
|
+
if (message.status !== 0) {
|
|
8396
|
+
obj.status = removableStorageDevice_StatusToJSON(message.status);
|
|
8397
|
+
}
|
|
8398
|
+
if (message.errorFlags !== undefined) {
|
|
8399
|
+
obj.errorFlags = exports.RemovableStorageErrorFlags.toJSON(message.errorFlags);
|
|
8400
|
+
}
|
|
8401
|
+
if (message.partitions?.length) {
|
|
8402
|
+
obj.partitions = message.partitions.map((e) => exports.StoragePartition.toJSON(e));
|
|
8403
|
+
}
|
|
8404
|
+
return obj;
|
|
8405
|
+
},
|
|
8406
|
+
create(base) {
|
|
8407
|
+
return exports.RemovableStorageDevice.fromPartial(base ?? {});
|
|
8408
|
+
},
|
|
8409
|
+
fromPartial(object) {
|
|
8410
|
+
const message = createBaseRemovableStorageDevice();
|
|
8411
|
+
message.vendorName = object.vendorName ?? "";
|
|
8412
|
+
message.modelName = object.modelName ?? "";
|
|
8413
|
+
message.devicePath = object.devicePath ?? "";
|
|
8414
|
+
message.status = object.status ?? 0;
|
|
8415
|
+
message.errorFlags = (object.errorFlags !== undefined && object.errorFlags !== null)
|
|
8416
|
+
? exports.RemovableStorageErrorFlags.fromPartial(object.errorFlags)
|
|
8417
|
+
: undefined;
|
|
8418
|
+
message.partitions = object.partitions?.map((e) => exports.StoragePartition.fromPartial(e)) || [];
|
|
8419
|
+
return message;
|
|
8420
|
+
},
|
|
8421
|
+
};
|
|
8422
|
+
function createBaseRemovableStorageErrorFlags() {
|
|
8423
|
+
return {
|
|
8424
|
+
errorMessage: "",
|
|
8425
|
+
noPartitionsFound: false,
|
|
8426
|
+
multiplePartitionsFound: false,
|
|
8427
|
+
wrongFileSystemFound: false,
|
|
8428
|
+
deviceIsReadOnly: false,
|
|
8429
|
+
formattingFailed: false,
|
|
8430
|
+
};
|
|
8431
|
+
}
|
|
8432
|
+
exports.RemovableStorageErrorFlags = {
|
|
8433
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8434
|
+
if (message.errorMessage !== "") {
|
|
8435
|
+
writer.uint32(10).string(message.errorMessage);
|
|
8436
|
+
}
|
|
8437
|
+
if (message.noPartitionsFound !== false) {
|
|
8438
|
+
writer.uint32(16).bool(message.noPartitionsFound);
|
|
8439
|
+
}
|
|
8440
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8441
|
+
writer.uint32(24).bool(message.multiplePartitionsFound);
|
|
8442
|
+
}
|
|
8443
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8444
|
+
writer.uint32(32).bool(message.wrongFileSystemFound);
|
|
8445
|
+
}
|
|
8446
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8447
|
+
writer.uint32(40).bool(message.deviceIsReadOnly);
|
|
8448
|
+
}
|
|
8449
|
+
if (message.formattingFailed !== false) {
|
|
8450
|
+
writer.uint32(48).bool(message.formattingFailed);
|
|
8451
|
+
}
|
|
8452
|
+
return writer;
|
|
8453
|
+
},
|
|
8454
|
+
decode(input, length) {
|
|
8455
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8456
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8457
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8458
|
+
while (reader.pos < end) {
|
|
8459
|
+
const tag = reader.uint32();
|
|
8460
|
+
switch (tag >>> 3) {
|
|
8461
|
+
case 1: {
|
|
8462
|
+
if (tag !== 10) {
|
|
8463
|
+
break;
|
|
8464
|
+
}
|
|
8465
|
+
message.errorMessage = reader.string();
|
|
8466
|
+
continue;
|
|
8467
|
+
}
|
|
8468
|
+
case 2: {
|
|
8469
|
+
if (tag !== 16) {
|
|
8470
|
+
break;
|
|
8471
|
+
}
|
|
8472
|
+
message.noPartitionsFound = reader.bool();
|
|
8473
|
+
continue;
|
|
8474
|
+
}
|
|
8475
|
+
case 3: {
|
|
8476
|
+
if (tag !== 24) {
|
|
8477
|
+
break;
|
|
8478
|
+
}
|
|
8479
|
+
message.multiplePartitionsFound = reader.bool();
|
|
8480
|
+
continue;
|
|
8481
|
+
}
|
|
8482
|
+
case 4: {
|
|
8483
|
+
if (tag !== 32) {
|
|
8484
|
+
break;
|
|
8485
|
+
}
|
|
8486
|
+
message.wrongFileSystemFound = reader.bool();
|
|
8487
|
+
continue;
|
|
8488
|
+
}
|
|
8489
|
+
case 5: {
|
|
8490
|
+
if (tag !== 40) {
|
|
8491
|
+
break;
|
|
8492
|
+
}
|
|
8493
|
+
message.deviceIsReadOnly = reader.bool();
|
|
8494
|
+
continue;
|
|
8495
|
+
}
|
|
8496
|
+
case 6: {
|
|
8497
|
+
if (tag !== 48) {
|
|
8498
|
+
break;
|
|
8499
|
+
}
|
|
8500
|
+
message.formattingFailed = reader.bool();
|
|
8501
|
+
continue;
|
|
8502
|
+
}
|
|
8503
|
+
}
|
|
8504
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8505
|
+
break;
|
|
8506
|
+
}
|
|
8507
|
+
reader.skip(tag & 7);
|
|
8508
|
+
}
|
|
8509
|
+
return message;
|
|
8510
|
+
},
|
|
8511
|
+
fromJSON(object) {
|
|
8512
|
+
return {
|
|
8513
|
+
errorMessage: isSet(object.errorMessage) ? gt.String(object.errorMessage) : "",
|
|
8514
|
+
noPartitionsFound: isSet(object.noPartitionsFound) ? gt.Boolean(object.noPartitionsFound) : false,
|
|
8515
|
+
multiplePartitionsFound: isSet(object.multiplePartitionsFound)
|
|
8516
|
+
? gt.Boolean(object.multiplePartitionsFound)
|
|
8517
|
+
: false,
|
|
8518
|
+
wrongFileSystemFound: isSet(object.wrongFileSystemFound) ? gt.Boolean(object.wrongFileSystemFound) : false,
|
|
8519
|
+
deviceIsReadOnly: isSet(object.deviceIsReadOnly) ? gt.Boolean(object.deviceIsReadOnly) : false,
|
|
8520
|
+
formattingFailed: isSet(object.formattingFailed) ? gt.Boolean(object.formattingFailed) : false,
|
|
8521
|
+
};
|
|
8522
|
+
},
|
|
8523
|
+
toJSON(message) {
|
|
8524
|
+
const obj = {};
|
|
8525
|
+
if (message.errorMessage !== "") {
|
|
8526
|
+
obj.errorMessage = message.errorMessage;
|
|
8527
|
+
}
|
|
8528
|
+
if (message.noPartitionsFound !== false) {
|
|
8529
|
+
obj.noPartitionsFound = message.noPartitionsFound;
|
|
8530
|
+
}
|
|
8531
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8532
|
+
obj.multiplePartitionsFound = message.multiplePartitionsFound;
|
|
8533
|
+
}
|
|
8534
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8535
|
+
obj.wrongFileSystemFound = message.wrongFileSystemFound;
|
|
8536
|
+
}
|
|
8537
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8538
|
+
obj.deviceIsReadOnly = message.deviceIsReadOnly;
|
|
8539
|
+
}
|
|
8540
|
+
if (message.formattingFailed !== false) {
|
|
8541
|
+
obj.formattingFailed = message.formattingFailed;
|
|
8542
|
+
}
|
|
8543
|
+
return obj;
|
|
8544
|
+
},
|
|
8545
|
+
create(base) {
|
|
8546
|
+
return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
|
|
8547
|
+
},
|
|
8548
|
+
fromPartial(object) {
|
|
8549
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8550
|
+
message.errorMessage = object.errorMessage ?? "";
|
|
8551
|
+
message.noPartitionsFound = object.noPartitionsFound ?? false;
|
|
8552
|
+
message.multiplePartitionsFound = object.multiplePartitionsFound ?? false;
|
|
8553
|
+
message.wrongFileSystemFound = object.wrongFileSystemFound ?? false;
|
|
8554
|
+
message.deviceIsReadOnly = object.deviceIsReadOnly ?? false;
|
|
8555
|
+
message.formattingFailed = object.formattingFailed ?? false;
|
|
8556
|
+
return message;
|
|
8557
|
+
},
|
|
8558
|
+
};
|
|
8559
|
+
function createBaseCalibrationState() {
|
|
8560
|
+
return {
|
|
8561
|
+
status: 0,
|
|
8562
|
+
progressXPositive: 0,
|
|
8563
|
+
progressXNegative: 0,
|
|
8564
|
+
progressYPositive: 0,
|
|
8565
|
+
progressYNegative: 0,
|
|
8566
|
+
progressZPositive: 0,
|
|
8567
|
+
progressZNegative: 0,
|
|
8568
|
+
progressThruster: 0,
|
|
8569
|
+
};
|
|
8570
|
+
}
|
|
8571
|
+
exports.CalibrationState = {
|
|
8572
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8573
|
+
if (message.status !== 0) {
|
|
8574
|
+
writer.uint32(8).int32(message.status);
|
|
8575
|
+
}
|
|
8576
|
+
if (message.progressXPositive !== 0) {
|
|
8577
|
+
writer.uint32(21).float(message.progressXPositive);
|
|
8578
|
+
}
|
|
8579
|
+
if (message.progressXNegative !== 0) {
|
|
8580
|
+
writer.uint32(29).float(message.progressXNegative);
|
|
8581
|
+
}
|
|
8582
|
+
if (message.progressYPositive !== 0) {
|
|
7696
8583
|
writer.uint32(37).float(message.progressYPositive);
|
|
7697
8584
|
}
|
|
7698
8585
|
if (message.progressYNegative !== 0) {
|
|
@@ -9094,9 +9981,20 @@ function createBaseCameraParameters() {
|
|
|
9094
9981
|
whiteBalance: 0,
|
|
9095
9982
|
hue: 0,
|
|
9096
9983
|
gain: 0,
|
|
9984
|
+
brightness: 0,
|
|
9985
|
+
contrast: 0,
|
|
9986
|
+
saturation: 0,
|
|
9987
|
+
gamma: 0,
|
|
9988
|
+
sharpness: 0,
|
|
9989
|
+
backlightCompensation: 0,
|
|
9990
|
+
denoise: 0,
|
|
9991
|
+
ehdrEnabled: false,
|
|
9992
|
+
ehdrExposureMinNumber: 0,
|
|
9993
|
+
ehdrExposureMaxNumber: 0,
|
|
9097
9994
|
resolution: 0,
|
|
9098
9995
|
streamResolution: 0,
|
|
9099
9996
|
recordingResolution: 0,
|
|
9997
|
+
streamingProtocol: 0,
|
|
9100
9998
|
framerate: 0,
|
|
9101
9999
|
camera: 0,
|
|
9102
10000
|
};
|
|
@@ -9121,6 +10019,36 @@ exports.CameraParameters = {
|
|
|
9121
10019
|
if (message.gain !== 0) {
|
|
9122
10020
|
writer.uint32(77).float(message.gain);
|
|
9123
10021
|
}
|
|
10022
|
+
if (message.brightness !== 0) {
|
|
10023
|
+
writer.uint32(96).int32(message.brightness);
|
|
10024
|
+
}
|
|
10025
|
+
if (message.contrast !== 0) {
|
|
10026
|
+
writer.uint32(104).int32(message.contrast);
|
|
10027
|
+
}
|
|
10028
|
+
if (message.saturation !== 0) {
|
|
10029
|
+
writer.uint32(112).int32(message.saturation);
|
|
10030
|
+
}
|
|
10031
|
+
if (message.gamma !== 0) {
|
|
10032
|
+
writer.uint32(120).int32(message.gamma);
|
|
10033
|
+
}
|
|
10034
|
+
if (message.sharpness !== 0) {
|
|
10035
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10036
|
+
}
|
|
10037
|
+
if (message.backlightCompensation !== 0) {
|
|
10038
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10039
|
+
}
|
|
10040
|
+
if (message.denoise !== 0) {
|
|
10041
|
+
writer.uint32(144).int32(message.denoise);
|
|
10042
|
+
}
|
|
10043
|
+
if (message.ehdrEnabled !== false) {
|
|
10044
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10045
|
+
}
|
|
10046
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10047
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10048
|
+
}
|
|
10049
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10050
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10051
|
+
}
|
|
9124
10052
|
if (message.resolution !== 0) {
|
|
9125
10053
|
writer.uint32(48).int32(message.resolution);
|
|
9126
10054
|
}
|
|
@@ -9130,6 +10058,9 @@ exports.CameraParameters = {
|
|
|
9130
10058
|
if (message.recordingResolution !== 0) {
|
|
9131
10059
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9132
10060
|
}
|
|
10061
|
+
if (message.streamingProtocol !== 0) {
|
|
10062
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10063
|
+
}
|
|
9133
10064
|
if (message.framerate !== 0) {
|
|
9134
10065
|
writer.uint32(56).int32(message.framerate);
|
|
9135
10066
|
}
|
|
@@ -9187,6 +10118,76 @@ exports.CameraParameters = {
|
|
|
9187
10118
|
message.gain = reader.float();
|
|
9188
10119
|
continue;
|
|
9189
10120
|
}
|
|
10121
|
+
case 12: {
|
|
10122
|
+
if (tag !== 96) {
|
|
10123
|
+
break;
|
|
10124
|
+
}
|
|
10125
|
+
message.brightness = reader.int32();
|
|
10126
|
+
continue;
|
|
10127
|
+
}
|
|
10128
|
+
case 13: {
|
|
10129
|
+
if (tag !== 104) {
|
|
10130
|
+
break;
|
|
10131
|
+
}
|
|
10132
|
+
message.contrast = reader.int32();
|
|
10133
|
+
continue;
|
|
10134
|
+
}
|
|
10135
|
+
case 14: {
|
|
10136
|
+
if (tag !== 112) {
|
|
10137
|
+
break;
|
|
10138
|
+
}
|
|
10139
|
+
message.saturation = reader.int32();
|
|
10140
|
+
continue;
|
|
10141
|
+
}
|
|
10142
|
+
case 15: {
|
|
10143
|
+
if (tag !== 120) {
|
|
10144
|
+
break;
|
|
10145
|
+
}
|
|
10146
|
+
message.gamma = reader.int32();
|
|
10147
|
+
continue;
|
|
10148
|
+
}
|
|
10149
|
+
case 16: {
|
|
10150
|
+
if (tag !== 128) {
|
|
10151
|
+
break;
|
|
10152
|
+
}
|
|
10153
|
+
message.sharpness = reader.int32();
|
|
10154
|
+
continue;
|
|
10155
|
+
}
|
|
10156
|
+
case 17: {
|
|
10157
|
+
if (tag !== 136) {
|
|
10158
|
+
break;
|
|
10159
|
+
}
|
|
10160
|
+
message.backlightCompensation = reader.int32();
|
|
10161
|
+
continue;
|
|
10162
|
+
}
|
|
10163
|
+
case 18: {
|
|
10164
|
+
if (tag !== 144) {
|
|
10165
|
+
break;
|
|
10166
|
+
}
|
|
10167
|
+
message.denoise = reader.int32();
|
|
10168
|
+
continue;
|
|
10169
|
+
}
|
|
10170
|
+
case 21: {
|
|
10171
|
+
if (tag !== 168) {
|
|
10172
|
+
break;
|
|
10173
|
+
}
|
|
10174
|
+
message.ehdrEnabled = reader.bool();
|
|
10175
|
+
continue;
|
|
10176
|
+
}
|
|
10177
|
+
case 22: {
|
|
10178
|
+
if (tag !== 176) {
|
|
10179
|
+
break;
|
|
10180
|
+
}
|
|
10181
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10182
|
+
continue;
|
|
10183
|
+
}
|
|
10184
|
+
case 23: {
|
|
10185
|
+
if (tag !== 184) {
|
|
10186
|
+
break;
|
|
10187
|
+
}
|
|
10188
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10189
|
+
continue;
|
|
10190
|
+
}
|
|
9190
10191
|
case 6: {
|
|
9191
10192
|
if (tag !== 48) {
|
|
9192
10193
|
break;
|
|
@@ -9208,6 +10209,13 @@ exports.CameraParameters = {
|
|
|
9208
10209
|
message.recordingResolution = reader.int32();
|
|
9209
10210
|
continue;
|
|
9210
10211
|
}
|
|
10212
|
+
case 20: {
|
|
10213
|
+
if (tag !== 160) {
|
|
10214
|
+
break;
|
|
10215
|
+
}
|
|
10216
|
+
message.streamingProtocol = reader.int32();
|
|
10217
|
+
continue;
|
|
10218
|
+
}
|
|
9211
10219
|
case 7: {
|
|
9212
10220
|
if (tag !== 56) {
|
|
9213
10221
|
break;
|
|
@@ -9238,9 +10246,20 @@ exports.CameraParameters = {
|
|
|
9238
10246
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9239
10247
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9240
10248
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10249
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10250
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10251
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10252
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10253
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10254
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10255
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10256
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10257
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10258
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9241
10259
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9242
10260
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9243
10261
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10262
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9244
10263
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9245
10264
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9246
10265
|
};
|
|
@@ -9265,6 +10284,36 @@ exports.CameraParameters = {
|
|
|
9265
10284
|
if (message.gain !== 0) {
|
|
9266
10285
|
obj.gain = message.gain;
|
|
9267
10286
|
}
|
|
10287
|
+
if (message.brightness !== 0) {
|
|
10288
|
+
obj.brightness = Math.round(message.brightness);
|
|
10289
|
+
}
|
|
10290
|
+
if (message.contrast !== 0) {
|
|
10291
|
+
obj.contrast = Math.round(message.contrast);
|
|
10292
|
+
}
|
|
10293
|
+
if (message.saturation !== 0) {
|
|
10294
|
+
obj.saturation = Math.round(message.saturation);
|
|
10295
|
+
}
|
|
10296
|
+
if (message.gamma !== 0) {
|
|
10297
|
+
obj.gamma = Math.round(message.gamma);
|
|
10298
|
+
}
|
|
10299
|
+
if (message.sharpness !== 0) {
|
|
10300
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10301
|
+
}
|
|
10302
|
+
if (message.backlightCompensation !== 0) {
|
|
10303
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10304
|
+
}
|
|
10305
|
+
if (message.denoise !== 0) {
|
|
10306
|
+
obj.denoise = Math.round(message.denoise);
|
|
10307
|
+
}
|
|
10308
|
+
if (message.ehdrEnabled !== false) {
|
|
10309
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10310
|
+
}
|
|
10311
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10312
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10313
|
+
}
|
|
10314
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10315
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10316
|
+
}
|
|
9268
10317
|
if (message.resolution !== 0) {
|
|
9269
10318
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9270
10319
|
}
|
|
@@ -9274,6 +10323,9 @@ exports.CameraParameters = {
|
|
|
9274
10323
|
if (message.recordingResolution !== 0) {
|
|
9275
10324
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9276
10325
|
}
|
|
10326
|
+
if (message.streamingProtocol !== 0) {
|
|
10327
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10328
|
+
}
|
|
9277
10329
|
if (message.framerate !== 0) {
|
|
9278
10330
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9279
10331
|
}
|
|
@@ -9293,9 +10345,20 @@ exports.CameraParameters = {
|
|
|
9293
10345
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9294
10346
|
message.hue = object.hue ?? 0;
|
|
9295
10347
|
message.gain = object.gain ?? 0;
|
|
10348
|
+
message.brightness = object.brightness ?? 0;
|
|
10349
|
+
message.contrast = object.contrast ?? 0;
|
|
10350
|
+
message.saturation = object.saturation ?? 0;
|
|
10351
|
+
message.gamma = object.gamma ?? 0;
|
|
10352
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10353
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10354
|
+
message.denoise = object.denoise ?? 0;
|
|
10355
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10356
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10357
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9296
10358
|
message.resolution = object.resolution ?? 0;
|
|
9297
10359
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9298
10360
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10361
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9299
10362
|
message.framerate = object.framerate ?? 0;
|
|
9300
10363
|
message.camera = object.camera ?? 0;
|
|
9301
10364
|
return message;
|
|
@@ -12041,7 +13104,7 @@ exports.PersistentStorageSettings = {
|
|
|
12041
13104
|
},
|
|
12042
13105
|
};
|
|
12043
13106
|
function createBaseCPUInfo() {
|
|
12044
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13107
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12045
13108
|
}
|
|
12046
13109
|
exports.CPUInfo = {
|
|
12047
13110
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12057,6 +13120,9 @@ exports.CPUInfo = {
|
|
|
12057
13120
|
if (message.guestportQueueLoad !== 0) {
|
|
12058
13121
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12059
13122
|
}
|
|
13123
|
+
if (message.commQueueLoad !== 0) {
|
|
13124
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13125
|
+
}
|
|
12060
13126
|
return writer;
|
|
12061
13127
|
},
|
|
12062
13128
|
decode(input, length) {
|
|
@@ -12094,6 +13160,13 @@ exports.CPUInfo = {
|
|
|
12094
13160
|
message.guestportQueueLoad = reader.float();
|
|
12095
13161
|
continue;
|
|
12096
13162
|
}
|
|
13163
|
+
case 5: {
|
|
13164
|
+
if (tag !== 45) {
|
|
13165
|
+
break;
|
|
13166
|
+
}
|
|
13167
|
+
message.commQueueLoad = reader.float();
|
|
13168
|
+
continue;
|
|
13169
|
+
}
|
|
12097
13170
|
}
|
|
12098
13171
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12099
13172
|
break;
|
|
@@ -12108,6 +13181,7 @@ exports.CPUInfo = {
|
|
|
12108
13181
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12109
13182
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12110
13183
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13184
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12111
13185
|
};
|
|
12112
13186
|
},
|
|
12113
13187
|
toJSON(message) {
|
|
@@ -12124,6 +13198,9 @@ exports.CPUInfo = {
|
|
|
12124
13198
|
if (message.guestportQueueLoad !== 0) {
|
|
12125
13199
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12126
13200
|
}
|
|
13201
|
+
if (message.commQueueLoad !== 0) {
|
|
13202
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13203
|
+
}
|
|
12127
13204
|
return obj;
|
|
12128
13205
|
},
|
|
12129
13206
|
create(base) {
|
|
@@ -12135,6 +13212,126 @@ exports.CPUInfo = {
|
|
|
12135
13212
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12136
13213
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12137
13214
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13215
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13216
|
+
return message;
|
|
13217
|
+
},
|
|
13218
|
+
};
|
|
13219
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13220
|
+
return { status: 0, level: 0 };
|
|
13221
|
+
}
|
|
13222
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13223
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13224
|
+
if (message.status !== 0) {
|
|
13225
|
+
writer.uint32(8).int32(message.status);
|
|
13226
|
+
}
|
|
13227
|
+
if (message.level !== 0) {
|
|
13228
|
+
writer.uint32(21).float(message.level);
|
|
13229
|
+
}
|
|
13230
|
+
return writer;
|
|
13231
|
+
},
|
|
13232
|
+
decode(input, length) {
|
|
13233
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13234
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13235
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13236
|
+
while (reader.pos < end) {
|
|
13237
|
+
const tag = reader.uint32();
|
|
13238
|
+
switch (tag >>> 3) {
|
|
13239
|
+
case 1: {
|
|
13240
|
+
if (tag !== 8) {
|
|
13241
|
+
break;
|
|
13242
|
+
}
|
|
13243
|
+
message.status = reader.int32();
|
|
13244
|
+
continue;
|
|
13245
|
+
}
|
|
13246
|
+
case 2: {
|
|
13247
|
+
if (tag !== 21) {
|
|
13248
|
+
break;
|
|
13249
|
+
}
|
|
13250
|
+
message.level = reader.float();
|
|
13251
|
+
continue;
|
|
13252
|
+
}
|
|
13253
|
+
}
|
|
13254
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13255
|
+
break;
|
|
13256
|
+
}
|
|
13257
|
+
reader.skip(tag & 7);
|
|
13258
|
+
}
|
|
13259
|
+
return message;
|
|
13260
|
+
},
|
|
13261
|
+
fromJSON(object) {
|
|
13262
|
+
return {
|
|
13263
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13264
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13265
|
+
};
|
|
13266
|
+
},
|
|
13267
|
+
toJSON(message) {
|
|
13268
|
+
const obj = {};
|
|
13269
|
+
if (message.status !== 0) {
|
|
13270
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13271
|
+
}
|
|
13272
|
+
if (message.level !== 0) {
|
|
13273
|
+
obj.level = message.level;
|
|
13274
|
+
}
|
|
13275
|
+
return obj;
|
|
13276
|
+
},
|
|
13277
|
+
create(base) {
|
|
13278
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13279
|
+
},
|
|
13280
|
+
fromPartial(object) {
|
|
13281
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13282
|
+
message.status = object.status ?? 0;
|
|
13283
|
+
message.level = object.level ?? 0;
|
|
13284
|
+
return message;
|
|
13285
|
+
},
|
|
13286
|
+
};
|
|
13287
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13288
|
+
return { version: "" };
|
|
13289
|
+
}
|
|
13290
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13291
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13292
|
+
if (message.version !== "") {
|
|
13293
|
+
writer.uint32(10).string(message.version);
|
|
13294
|
+
}
|
|
13295
|
+
return writer;
|
|
13296
|
+
},
|
|
13297
|
+
decode(input, length) {
|
|
13298
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13299
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13300
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13301
|
+
while (reader.pos < end) {
|
|
13302
|
+
const tag = reader.uint32();
|
|
13303
|
+
switch (tag >>> 3) {
|
|
13304
|
+
case 1: {
|
|
13305
|
+
if (tag !== 10) {
|
|
13306
|
+
break;
|
|
13307
|
+
}
|
|
13308
|
+
message.version = reader.string();
|
|
13309
|
+
continue;
|
|
13310
|
+
}
|
|
13311
|
+
}
|
|
13312
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13313
|
+
break;
|
|
13314
|
+
}
|
|
13315
|
+
reader.skip(tag & 7);
|
|
13316
|
+
}
|
|
13317
|
+
return message;
|
|
13318
|
+
},
|
|
13319
|
+
fromJSON(object) {
|
|
13320
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13321
|
+
},
|
|
13322
|
+
toJSON(message) {
|
|
13323
|
+
const obj = {};
|
|
13324
|
+
if (message.version !== "") {
|
|
13325
|
+
obj.version = message.version;
|
|
13326
|
+
}
|
|
13327
|
+
return obj;
|
|
13328
|
+
},
|
|
13329
|
+
create(base) {
|
|
13330
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13331
|
+
},
|
|
13332
|
+
fromPartial(object) {
|
|
13333
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13334
|
+
message.version = object.version ?? "";
|
|
12138
13335
|
return message;
|
|
12139
13336
|
},
|
|
12140
13337
|
};
|