@blueyerobotics/protocol-definitions 3.2.0-b032513b → 3.2.0-b41129de
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +165 -0
- package/README.npm.md +40 -0
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +6 -2
- package/dist/control.js +40 -9
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +151 -13
- package/dist/message_formats.js +773 -17
- 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 +33 -1
- package/dist/telemetry.js +286 -6
- package/package.json +8 -6
package/dist/message_formats.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = void 0;
|
|
8
|
+
exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
|
|
10
|
+
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -56,6 +60,8 @@ exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
57
61
|
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
58
62
|
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
59
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
60
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
61
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -68,6 +74,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
68
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
69
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
70
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
71
79
|
/* eslint-disable */
|
|
72
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
73
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -589,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
589
597
|
return "UNRECOGNIZED";
|
|
590
598
|
}
|
|
591
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Storage location.
|
|
602
|
+
*
|
|
603
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
604
|
+
*/
|
|
605
|
+
var StorageLocation;
|
|
606
|
+
(function (StorageLocation) {
|
|
607
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
609
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
611
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
612
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
613
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
614
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
615
|
+
function storageLocationFromJSON(object) {
|
|
616
|
+
switch (object) {
|
|
617
|
+
case 0:
|
|
618
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
619
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
620
|
+
case 1:
|
|
621
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
622
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
623
|
+
case 2:
|
|
624
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
625
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
626
|
+
case -1:
|
|
627
|
+
case "UNRECOGNIZED":
|
|
628
|
+
default:
|
|
629
|
+
return StorageLocation.UNRECOGNIZED;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
function storageLocationToJSON(object) {
|
|
633
|
+
switch (object) {
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
635
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
637
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
638
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
639
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
640
|
+
case StorageLocation.UNRECOGNIZED:
|
|
641
|
+
default:
|
|
642
|
+
return "UNRECOGNIZED";
|
|
643
|
+
}
|
|
644
|
+
}
|
|
592
645
|
/** Drone models produced by Blueye. */
|
|
593
646
|
var Model;
|
|
594
647
|
(function (Model) {
|
|
@@ -718,11 +771,13 @@ var Resolution;
|
|
|
718
771
|
(function (Resolution) {
|
|
719
772
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
720
773
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
721
|
-
/**
|
|
722
|
-
Resolution[Resolution["
|
|
723
|
-
/** 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). */
|
|
724
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
725
|
-
/**
|
|
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). */
|
|
726
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
727
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
728
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -731,12 +786,15 @@ function resolutionFromJSON(object) {
|
|
|
731
786
|
case 0:
|
|
732
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
733
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
734
|
-
case
|
|
735
|
-
case "
|
|
736
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA_480P":
|
|
791
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
737
792
|
case 2:
|
|
738
793
|
case "RESOLUTION_HD_720P":
|
|
739
794
|
return Resolution.RESOLUTION_HD_720P;
|
|
795
|
+
case 1:
|
|
796
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
797
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
740
798
|
case 3:
|
|
741
799
|
case "RESOLUTION_UHD_4K":
|
|
742
800
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -750,10 +808,12 @@ function resolutionToJSON(object) {
|
|
|
750
808
|
switch (object) {
|
|
751
809
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
752
810
|
return "RESOLUTION_UNSPECIFIED";
|
|
753
|
-
case Resolution.
|
|
754
|
-
return "
|
|
811
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
812
|
+
return "RESOLUTION_VGA_480P";
|
|
755
813
|
case Resolution.RESOLUTION_HD_720P:
|
|
756
814
|
return "RESOLUTION_HD_720P";
|
|
815
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
816
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
757
817
|
case Resolution.RESOLUTION_UHD_4K:
|
|
758
818
|
return "RESOLUTION_UHD_4K";
|
|
759
819
|
case Resolution.UNRECOGNIZED:
|
|
@@ -768,7 +828,7 @@ var Framerate;
|
|
|
768
828
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
769
829
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
770
830
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
771
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
831
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
772
832
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
773
833
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
774
834
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -843,6 +903,46 @@ function cameraToJSON(object) {
|
|
|
843
903
|
return "UNRECOGNIZED";
|
|
844
904
|
}
|
|
845
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
|
+
}
|
|
846
946
|
/** Available temperature units. */
|
|
847
947
|
var TemperatureUnit;
|
|
848
948
|
(function (TemperatureUnit) {
|
|
@@ -1176,8 +1276,12 @@ var GuestPortDeviceID;
|
|
|
1176
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1177
1277
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1178
1278
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1179
|
-
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1279
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1180
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";
|
|
1181
1285
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1182
1286
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1183
1287
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1320,6 +1424,12 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1320
1424
|
case 45:
|
|
1321
1425
|
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1322
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;
|
|
1323
1433
|
case -1:
|
|
1324
1434
|
case "UNRECOGNIZED":
|
|
1325
1435
|
default:
|
|
@@ -1420,6 +1530,10 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1420
1530
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1421
1531
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1422
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";
|
|
1423
1537
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1424
1538
|
default:
|
|
1425
1539
|
return "UNRECOGNIZED";
|
|
@@ -1764,6 +1878,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1764
1878
|
return "UNRECOGNIZED";
|
|
1765
1879
|
}
|
|
1766
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
|
+
}
|
|
1767
1964
|
var PingerConfiguration_MountingDirection;
|
|
1768
1965
|
(function (PingerConfiguration_MountingDirection) {
|
|
1769
1966
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1885,10 +2082,12 @@ var RemovableStorageDevice_Status;
|
|
|
1885
2082
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1886
2083
|
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1887
2084
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1888
|
-
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
2085
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
1889
2086
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1890
2087
|
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1891
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";
|
|
1892
2091
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1893
2092
|
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1894
2093
|
function removableStorageDevice_StatusFromJSON(object) {
|
|
@@ -1905,6 +2104,9 @@ function removableStorageDevice_StatusFromJSON(object) {
|
|
|
1905
2104
|
case 3:
|
|
1906
2105
|
case "STATUS_ERROR":
|
|
1907
2106
|
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2107
|
+
case 4:
|
|
2108
|
+
case "STATUS_UNPLUGGED":
|
|
2109
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
1908
2110
|
case -1:
|
|
1909
2111
|
case "UNRECOGNIZED":
|
|
1910
2112
|
default:
|
|
@@ -1921,6 +2123,8 @@ function removableStorageDevice_StatusToJSON(object) {
|
|
|
1921
2123
|
return "STATUS_FORMATTING";
|
|
1922
2124
|
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
1923
2125
|
return "STATUS_ERROR";
|
|
2126
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2127
|
+
return "STATUS_UNPLUGGED";
|
|
1924
2128
|
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
1925
2129
|
default:
|
|
1926
2130
|
return "UNRECOGNIZED";
|
|
@@ -2142,6 +2346,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2142
2346
|
return "UNRECOGNIZED";
|
|
2143
2347
|
}
|
|
2144
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
|
+
}
|
|
2145
2392
|
function createBaseBinlogRecord() {
|
|
2146
2393
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2147
2394
|
}
|
|
@@ -2370,6 +2617,189 @@ exports.LogEntry = {
|
|
|
2370
2617
|
return message;
|
|
2371
2618
|
},
|
|
2372
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
|
+
};
|
|
2373
2803
|
function createBaseMotionInput() {
|
|
2374
2804
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2375
2805
|
}
|
|
@@ -3651,6 +4081,7 @@ function createBaseRecordState() {
|
|
|
3651
4081
|
multibeamIsRecording: false,
|
|
3652
4082
|
multibeamSeconds: 0,
|
|
3653
4083
|
multibeamFps: 0,
|
|
4084
|
+
storageLocation: 0,
|
|
3654
4085
|
};
|
|
3655
4086
|
}
|
|
3656
4087
|
exports.RecordState = {
|
|
@@ -3682,6 +4113,9 @@ exports.RecordState = {
|
|
|
3682
4113
|
if (message.multibeamFps !== 0) {
|
|
3683
4114
|
writer.uint32(77).float(message.multibeamFps);
|
|
3684
4115
|
}
|
|
4116
|
+
if (message.storageLocation !== 0) {
|
|
4117
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
4118
|
+
}
|
|
3685
4119
|
return writer;
|
|
3686
4120
|
},
|
|
3687
4121
|
decode(input, length) {
|
|
@@ -3754,6 +4188,13 @@ exports.RecordState = {
|
|
|
3754
4188
|
message.multibeamFps = reader.float();
|
|
3755
4189
|
continue;
|
|
3756
4190
|
}
|
|
4191
|
+
case 10: {
|
|
4192
|
+
if (tag !== 80) {
|
|
4193
|
+
break;
|
|
4194
|
+
}
|
|
4195
|
+
message.storageLocation = reader.int32();
|
|
4196
|
+
continue;
|
|
4197
|
+
}
|
|
3757
4198
|
}
|
|
3758
4199
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3759
4200
|
break;
|
|
@@ -3773,6 +4214,7 @@ exports.RecordState = {
|
|
|
3773
4214
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3774
4215
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3775
4216
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4217
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3776
4218
|
};
|
|
3777
4219
|
},
|
|
3778
4220
|
toJSON(message) {
|
|
@@ -3804,6 +4246,9 @@ exports.RecordState = {
|
|
|
3804
4246
|
if (message.multibeamFps !== 0) {
|
|
3805
4247
|
obj.multibeamFps = message.multibeamFps;
|
|
3806
4248
|
}
|
|
4249
|
+
if (message.storageLocation !== 0) {
|
|
4250
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
4251
|
+
}
|
|
3807
4252
|
return obj;
|
|
3808
4253
|
},
|
|
3809
4254
|
create(base) {
|
|
@@ -3820,6 +4265,7 @@ exports.RecordState = {
|
|
|
3820
4265
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3821
4266
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3822
4267
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4268
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3823
4269
|
return message;
|
|
3824
4270
|
},
|
|
3825
4271
|
};
|
|
@@ -7727,7 +8173,7 @@ exports.StorageSpace = {
|
|
|
7727
8173
|
},
|
|
7728
8174
|
};
|
|
7729
8175
|
function createBaseStoragePartition() {
|
|
7730
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8176
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7731
8177
|
}
|
|
7732
8178
|
exports.StoragePartition = {
|
|
7733
8179
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7743,6 +8189,9 @@ exports.StoragePartition = {
|
|
|
7743
8189
|
if (message.mountPath !== "") {
|
|
7744
8190
|
writer.uint32(34).string(message.mountPath);
|
|
7745
8191
|
}
|
|
8192
|
+
if (message.label !== "") {
|
|
8193
|
+
writer.uint32(42).string(message.label);
|
|
8194
|
+
}
|
|
7746
8195
|
return writer;
|
|
7747
8196
|
},
|
|
7748
8197
|
decode(input, length) {
|
|
@@ -7780,6 +8229,13 @@ exports.StoragePartition = {
|
|
|
7780
8229
|
message.mountPath = reader.string();
|
|
7781
8230
|
continue;
|
|
7782
8231
|
}
|
|
8232
|
+
case 5: {
|
|
8233
|
+
if (tag !== 42) {
|
|
8234
|
+
break;
|
|
8235
|
+
}
|
|
8236
|
+
message.label = reader.string();
|
|
8237
|
+
continue;
|
|
8238
|
+
}
|
|
7783
8239
|
}
|
|
7784
8240
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7785
8241
|
break;
|
|
@@ -7794,6 +8250,7 @@ exports.StoragePartition = {
|
|
|
7794
8250
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7795
8251
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7796
8252
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8253
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7797
8254
|
};
|
|
7798
8255
|
},
|
|
7799
8256
|
toJSON(message) {
|
|
@@ -7810,6 +8267,9 @@ exports.StoragePartition = {
|
|
|
7810
8267
|
if (message.mountPath !== "") {
|
|
7811
8268
|
obj.mountPath = message.mountPath;
|
|
7812
8269
|
}
|
|
8270
|
+
if (message.label !== "") {
|
|
8271
|
+
obj.label = message.label;
|
|
8272
|
+
}
|
|
7813
8273
|
return obj;
|
|
7814
8274
|
},
|
|
7815
8275
|
create(base) {
|
|
@@ -7823,6 +8283,7 @@ exports.StoragePartition = {
|
|
|
7823
8283
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7824
8284
|
message.devicePath = object.devicePath ?? "";
|
|
7825
8285
|
message.mountPath = object.mountPath ?? "";
|
|
8286
|
+
message.label = object.label ?? "";
|
|
7826
8287
|
return message;
|
|
7827
8288
|
},
|
|
7828
8289
|
};
|
|
@@ -9520,9 +9981,20 @@ function createBaseCameraParameters() {
|
|
|
9520
9981
|
whiteBalance: 0,
|
|
9521
9982
|
hue: 0,
|
|
9522
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,
|
|
9523
9994
|
resolution: 0,
|
|
9524
9995
|
streamResolution: 0,
|
|
9525
9996
|
recordingResolution: 0,
|
|
9997
|
+
streamingProtocol: 0,
|
|
9526
9998
|
framerate: 0,
|
|
9527
9999
|
camera: 0,
|
|
9528
10000
|
};
|
|
@@ -9547,6 +10019,36 @@ exports.CameraParameters = {
|
|
|
9547
10019
|
if (message.gain !== 0) {
|
|
9548
10020
|
writer.uint32(77).float(message.gain);
|
|
9549
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
|
+
}
|
|
9550
10052
|
if (message.resolution !== 0) {
|
|
9551
10053
|
writer.uint32(48).int32(message.resolution);
|
|
9552
10054
|
}
|
|
@@ -9556,6 +10058,9 @@ exports.CameraParameters = {
|
|
|
9556
10058
|
if (message.recordingResolution !== 0) {
|
|
9557
10059
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9558
10060
|
}
|
|
10061
|
+
if (message.streamingProtocol !== 0) {
|
|
10062
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10063
|
+
}
|
|
9559
10064
|
if (message.framerate !== 0) {
|
|
9560
10065
|
writer.uint32(56).int32(message.framerate);
|
|
9561
10066
|
}
|
|
@@ -9613,6 +10118,76 @@ exports.CameraParameters = {
|
|
|
9613
10118
|
message.gain = reader.float();
|
|
9614
10119
|
continue;
|
|
9615
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
|
+
}
|
|
9616
10191
|
case 6: {
|
|
9617
10192
|
if (tag !== 48) {
|
|
9618
10193
|
break;
|
|
@@ -9634,6 +10209,13 @@ exports.CameraParameters = {
|
|
|
9634
10209
|
message.recordingResolution = reader.int32();
|
|
9635
10210
|
continue;
|
|
9636
10211
|
}
|
|
10212
|
+
case 20: {
|
|
10213
|
+
if (tag !== 160) {
|
|
10214
|
+
break;
|
|
10215
|
+
}
|
|
10216
|
+
message.streamingProtocol = reader.int32();
|
|
10217
|
+
continue;
|
|
10218
|
+
}
|
|
9637
10219
|
case 7: {
|
|
9638
10220
|
if (tag !== 56) {
|
|
9639
10221
|
break;
|
|
@@ -9664,9 +10246,20 @@ exports.CameraParameters = {
|
|
|
9664
10246
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9665
10247
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9666
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,
|
|
9667
10259
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9668
10260
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9669
10261
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10262
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9670
10263
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9671
10264
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9672
10265
|
};
|
|
@@ -9691,6 +10284,36 @@ exports.CameraParameters = {
|
|
|
9691
10284
|
if (message.gain !== 0) {
|
|
9692
10285
|
obj.gain = message.gain;
|
|
9693
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
|
+
}
|
|
9694
10317
|
if (message.resolution !== 0) {
|
|
9695
10318
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9696
10319
|
}
|
|
@@ -9700,6 +10323,9 @@ exports.CameraParameters = {
|
|
|
9700
10323
|
if (message.recordingResolution !== 0) {
|
|
9701
10324
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9702
10325
|
}
|
|
10326
|
+
if (message.streamingProtocol !== 0) {
|
|
10327
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10328
|
+
}
|
|
9703
10329
|
if (message.framerate !== 0) {
|
|
9704
10330
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9705
10331
|
}
|
|
@@ -9719,9 +10345,20 @@ exports.CameraParameters = {
|
|
|
9719
10345
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9720
10346
|
message.hue = object.hue ?? 0;
|
|
9721
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;
|
|
9722
10358
|
message.resolution = object.resolution ?? 0;
|
|
9723
10359
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9724
10360
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10361
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9725
10362
|
message.framerate = object.framerate ?? 0;
|
|
9726
10363
|
message.camera = object.camera ?? 0;
|
|
9727
10364
|
return message;
|
|
@@ -12579,6 +13216,125 @@ exports.CPUInfo = {
|
|
|
12579
13216
|
return message;
|
|
12580
13217
|
},
|
|
12581
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 ?? "";
|
|
13335
|
+
return message;
|
|
13336
|
+
},
|
|
13337
|
+
};
|
|
12582
13338
|
const gt = (() => {
|
|
12583
13339
|
if (typeof globalThis !== "undefined") {
|
|
12584
13340
|
return globalThis;
|