@blueyerobotics/protocol-definitions 3.2.0-35603a2b → 3.2.0-45dcae42
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/control.d.ts +6 -2
- package/dist/control.js +39 -8
- package/dist/message_formats.d.ts +140 -9
- package/dist/message_formats.js +733 -13
- package/dist/telemetry.d.ts +17 -1
- package/dist/telemetry.js +145 -1
- package/package.json +8 -6
package/dist/message_formats.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
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) {
|
|
@@ -1764,6 +1864,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1764
1864
|
return "UNRECOGNIZED";
|
|
1765
1865
|
}
|
|
1766
1866
|
}
|
|
1867
|
+
/** Kernel log level. */
|
|
1868
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1869
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1870
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1871
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1872
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1873
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1874
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1875
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1876
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1877
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1878
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1879
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1880
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1881
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1882
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1883
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1884
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1885
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1886
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1887
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1888
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1889
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1890
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1891
|
+
switch (object) {
|
|
1892
|
+
case 0:
|
|
1893
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1894
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1895
|
+
case 1:
|
|
1896
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1897
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1898
|
+
case 2:
|
|
1899
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1900
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1901
|
+
case 3:
|
|
1902
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1903
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1904
|
+
case 4:
|
|
1905
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1906
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1907
|
+
case 5:
|
|
1908
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1909
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1910
|
+
case 6:
|
|
1911
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1912
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1913
|
+
case 7:
|
|
1914
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1915
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1916
|
+
case 8:
|
|
1917
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1918
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1919
|
+
case -1:
|
|
1920
|
+
case "UNRECOGNIZED":
|
|
1921
|
+
default:
|
|
1922
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1925
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1926
|
+
switch (object) {
|
|
1927
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1928
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1929
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1930
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1931
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1932
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1933
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1934
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1935
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1936
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1937
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1938
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1939
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1940
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1941
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1942
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1943
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1944
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1945
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1946
|
+
default:
|
|
1947
|
+
return "UNRECOGNIZED";
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1767
1950
|
var PingerConfiguration_MountingDirection;
|
|
1768
1951
|
(function (PingerConfiguration_MountingDirection) {
|
|
1769
1952
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -2142,6 +2325,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2142
2325
|
return "UNRECOGNIZED";
|
|
2143
2326
|
}
|
|
2144
2327
|
}
|
|
2328
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2329
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2330
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2331
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2332
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2333
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2334
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2335
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2336
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2337
|
+
switch (object) {
|
|
2338
|
+
case 0:
|
|
2339
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2340
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2341
|
+
case 1:
|
|
2342
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2343
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2344
|
+
case 2:
|
|
2345
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2346
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2347
|
+
case 3:
|
|
2348
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2349
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2350
|
+
case -1:
|
|
2351
|
+
case "UNRECOGNIZED":
|
|
2352
|
+
default:
|
|
2353
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2357
|
+
switch (object) {
|
|
2358
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2359
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2360
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2361
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2362
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2363
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2364
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2365
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2366
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2367
|
+
default:
|
|
2368
|
+
return "UNRECOGNIZED";
|
|
2369
|
+
}
|
|
2370
|
+
}
|
|
2145
2371
|
function createBaseBinlogRecord() {
|
|
2146
2372
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2147
2373
|
}
|
|
@@ -2370,6 +2596,189 @@ exports.LogEntry = {
|
|
|
2370
2596
|
return message;
|
|
2371
2597
|
},
|
|
2372
2598
|
};
|
|
2599
|
+
function createBaseKernelLogEntry() {
|
|
2600
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2601
|
+
}
|
|
2602
|
+
exports.KernelLogEntry = {
|
|
2603
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2604
|
+
if (message.level !== 0) {
|
|
2605
|
+
writer.uint32(8).int32(message.level);
|
|
2606
|
+
}
|
|
2607
|
+
if (message.seqnum !== 0) {
|
|
2608
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2609
|
+
}
|
|
2610
|
+
if (message.timestamp !== undefined) {
|
|
2611
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2612
|
+
}
|
|
2613
|
+
for (const v of message.messages) {
|
|
2614
|
+
writer.uint32(34).string(v);
|
|
2615
|
+
}
|
|
2616
|
+
for (const v of message.fields) {
|
|
2617
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2618
|
+
}
|
|
2619
|
+
return writer;
|
|
2620
|
+
},
|
|
2621
|
+
decode(input, length) {
|
|
2622
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2623
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2624
|
+
const message = createBaseKernelLogEntry();
|
|
2625
|
+
while (reader.pos < end) {
|
|
2626
|
+
const tag = reader.uint32();
|
|
2627
|
+
switch (tag >>> 3) {
|
|
2628
|
+
case 1: {
|
|
2629
|
+
if (tag !== 8) {
|
|
2630
|
+
break;
|
|
2631
|
+
}
|
|
2632
|
+
message.level = reader.int32();
|
|
2633
|
+
continue;
|
|
2634
|
+
}
|
|
2635
|
+
case 2: {
|
|
2636
|
+
if (tag !== 16) {
|
|
2637
|
+
break;
|
|
2638
|
+
}
|
|
2639
|
+
message.seqnum = reader.uint32();
|
|
2640
|
+
continue;
|
|
2641
|
+
}
|
|
2642
|
+
case 3: {
|
|
2643
|
+
if (tag !== 26) {
|
|
2644
|
+
break;
|
|
2645
|
+
}
|
|
2646
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2647
|
+
continue;
|
|
2648
|
+
}
|
|
2649
|
+
case 4: {
|
|
2650
|
+
if (tag !== 34) {
|
|
2651
|
+
break;
|
|
2652
|
+
}
|
|
2653
|
+
message.messages.push(reader.string());
|
|
2654
|
+
continue;
|
|
2655
|
+
}
|
|
2656
|
+
case 5: {
|
|
2657
|
+
if (tag !== 42) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
reader.skip(tag & 7);
|
|
2668
|
+
}
|
|
2669
|
+
return message;
|
|
2670
|
+
},
|
|
2671
|
+
fromJSON(object) {
|
|
2672
|
+
return {
|
|
2673
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2674
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2675
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2676
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2677
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2678
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2679
|
+
: [],
|
|
2680
|
+
};
|
|
2681
|
+
},
|
|
2682
|
+
toJSON(message) {
|
|
2683
|
+
const obj = {};
|
|
2684
|
+
if (message.level !== 0) {
|
|
2685
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2686
|
+
}
|
|
2687
|
+
if (message.seqnum !== 0) {
|
|
2688
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2689
|
+
}
|
|
2690
|
+
if (message.timestamp !== undefined) {
|
|
2691
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2692
|
+
}
|
|
2693
|
+
if (message.messages?.length) {
|
|
2694
|
+
obj.messages = message.messages;
|
|
2695
|
+
}
|
|
2696
|
+
if (message.fields?.length) {
|
|
2697
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2698
|
+
}
|
|
2699
|
+
return obj;
|
|
2700
|
+
},
|
|
2701
|
+
create(base) {
|
|
2702
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2703
|
+
},
|
|
2704
|
+
fromPartial(object) {
|
|
2705
|
+
const message = createBaseKernelLogEntry();
|
|
2706
|
+
message.level = object.level ?? 0;
|
|
2707
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2708
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2709
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2710
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2711
|
+
return message;
|
|
2712
|
+
},
|
|
2713
|
+
};
|
|
2714
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2715
|
+
return { key: "", value: "" };
|
|
2716
|
+
}
|
|
2717
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2718
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2719
|
+
if (message.key !== "") {
|
|
2720
|
+
writer.uint32(10).string(message.key);
|
|
2721
|
+
}
|
|
2722
|
+
if (message.value !== "") {
|
|
2723
|
+
writer.uint32(18).string(message.value);
|
|
2724
|
+
}
|
|
2725
|
+
return writer;
|
|
2726
|
+
},
|
|
2727
|
+
decode(input, length) {
|
|
2728
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2729
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2730
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2731
|
+
while (reader.pos < end) {
|
|
2732
|
+
const tag = reader.uint32();
|
|
2733
|
+
switch (tag >>> 3) {
|
|
2734
|
+
case 1: {
|
|
2735
|
+
if (tag !== 10) {
|
|
2736
|
+
break;
|
|
2737
|
+
}
|
|
2738
|
+
message.key = reader.string();
|
|
2739
|
+
continue;
|
|
2740
|
+
}
|
|
2741
|
+
case 2: {
|
|
2742
|
+
if (tag !== 18) {
|
|
2743
|
+
break;
|
|
2744
|
+
}
|
|
2745
|
+
message.value = reader.string();
|
|
2746
|
+
continue;
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2750
|
+
break;
|
|
2751
|
+
}
|
|
2752
|
+
reader.skip(tag & 7);
|
|
2753
|
+
}
|
|
2754
|
+
return message;
|
|
2755
|
+
},
|
|
2756
|
+
fromJSON(object) {
|
|
2757
|
+
return {
|
|
2758
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2759
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2760
|
+
};
|
|
2761
|
+
},
|
|
2762
|
+
toJSON(message) {
|
|
2763
|
+
const obj = {};
|
|
2764
|
+
if (message.key !== "") {
|
|
2765
|
+
obj.key = message.key;
|
|
2766
|
+
}
|
|
2767
|
+
if (message.value !== "") {
|
|
2768
|
+
obj.value = message.value;
|
|
2769
|
+
}
|
|
2770
|
+
return obj;
|
|
2771
|
+
},
|
|
2772
|
+
create(base) {
|
|
2773
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2774
|
+
},
|
|
2775
|
+
fromPartial(object) {
|
|
2776
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2777
|
+
message.key = object.key ?? "";
|
|
2778
|
+
message.value = object.value ?? "";
|
|
2779
|
+
return message;
|
|
2780
|
+
},
|
|
2781
|
+
};
|
|
2373
2782
|
function createBaseMotionInput() {
|
|
2374
2783
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2375
2784
|
}
|
|
@@ -3651,6 +4060,7 @@ function createBaseRecordState() {
|
|
|
3651
4060
|
multibeamIsRecording: false,
|
|
3652
4061
|
multibeamSeconds: 0,
|
|
3653
4062
|
multibeamFps: 0,
|
|
4063
|
+
storageLocation: 0,
|
|
3654
4064
|
};
|
|
3655
4065
|
}
|
|
3656
4066
|
exports.RecordState = {
|
|
@@ -3682,6 +4092,9 @@ exports.RecordState = {
|
|
|
3682
4092
|
if (message.multibeamFps !== 0) {
|
|
3683
4093
|
writer.uint32(77).float(message.multibeamFps);
|
|
3684
4094
|
}
|
|
4095
|
+
if (message.storageLocation !== 0) {
|
|
4096
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
4097
|
+
}
|
|
3685
4098
|
return writer;
|
|
3686
4099
|
},
|
|
3687
4100
|
decode(input, length) {
|
|
@@ -3754,6 +4167,13 @@ exports.RecordState = {
|
|
|
3754
4167
|
message.multibeamFps = reader.float();
|
|
3755
4168
|
continue;
|
|
3756
4169
|
}
|
|
4170
|
+
case 10: {
|
|
4171
|
+
if (tag !== 80) {
|
|
4172
|
+
break;
|
|
4173
|
+
}
|
|
4174
|
+
message.storageLocation = reader.int32();
|
|
4175
|
+
continue;
|
|
4176
|
+
}
|
|
3757
4177
|
}
|
|
3758
4178
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3759
4179
|
break;
|
|
@@ -3773,6 +4193,7 @@ exports.RecordState = {
|
|
|
3773
4193
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3774
4194
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3775
4195
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4196
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3776
4197
|
};
|
|
3777
4198
|
},
|
|
3778
4199
|
toJSON(message) {
|
|
@@ -3804,6 +4225,9 @@ exports.RecordState = {
|
|
|
3804
4225
|
if (message.multibeamFps !== 0) {
|
|
3805
4226
|
obj.multibeamFps = message.multibeamFps;
|
|
3806
4227
|
}
|
|
4228
|
+
if (message.storageLocation !== 0) {
|
|
4229
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
4230
|
+
}
|
|
3807
4231
|
return obj;
|
|
3808
4232
|
},
|
|
3809
4233
|
create(base) {
|
|
@@ -3820,6 +4244,7 @@ exports.RecordState = {
|
|
|
3820
4244
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3821
4245
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3822
4246
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4247
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3823
4248
|
return message;
|
|
3824
4249
|
},
|
|
3825
4250
|
};
|
|
@@ -9520,9 +9945,20 @@ function createBaseCameraParameters() {
|
|
|
9520
9945
|
whiteBalance: 0,
|
|
9521
9946
|
hue: 0,
|
|
9522
9947
|
gain: 0,
|
|
9948
|
+
brightness: 0,
|
|
9949
|
+
contrast: 0,
|
|
9950
|
+
saturation: 0,
|
|
9951
|
+
gamma: 0,
|
|
9952
|
+
sharpness: 0,
|
|
9953
|
+
backlightCompensation: 0,
|
|
9954
|
+
denoise: 0,
|
|
9955
|
+
ehdrEnabled: false,
|
|
9956
|
+
ehdrExposureMinNumber: 0,
|
|
9957
|
+
ehdrExposureMaxNumber: 0,
|
|
9523
9958
|
resolution: 0,
|
|
9524
9959
|
streamResolution: 0,
|
|
9525
9960
|
recordingResolution: 0,
|
|
9961
|
+
streamingProtocol: 0,
|
|
9526
9962
|
framerate: 0,
|
|
9527
9963
|
camera: 0,
|
|
9528
9964
|
};
|
|
@@ -9547,6 +9983,36 @@ exports.CameraParameters = {
|
|
|
9547
9983
|
if (message.gain !== 0) {
|
|
9548
9984
|
writer.uint32(77).float(message.gain);
|
|
9549
9985
|
}
|
|
9986
|
+
if (message.brightness !== 0) {
|
|
9987
|
+
writer.uint32(96).int32(message.brightness);
|
|
9988
|
+
}
|
|
9989
|
+
if (message.contrast !== 0) {
|
|
9990
|
+
writer.uint32(104).int32(message.contrast);
|
|
9991
|
+
}
|
|
9992
|
+
if (message.saturation !== 0) {
|
|
9993
|
+
writer.uint32(112).int32(message.saturation);
|
|
9994
|
+
}
|
|
9995
|
+
if (message.gamma !== 0) {
|
|
9996
|
+
writer.uint32(120).int32(message.gamma);
|
|
9997
|
+
}
|
|
9998
|
+
if (message.sharpness !== 0) {
|
|
9999
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10000
|
+
}
|
|
10001
|
+
if (message.backlightCompensation !== 0) {
|
|
10002
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10003
|
+
}
|
|
10004
|
+
if (message.denoise !== 0) {
|
|
10005
|
+
writer.uint32(144).int32(message.denoise);
|
|
10006
|
+
}
|
|
10007
|
+
if (message.ehdrEnabled !== false) {
|
|
10008
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10009
|
+
}
|
|
10010
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10011
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10012
|
+
}
|
|
10013
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10014
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10015
|
+
}
|
|
9550
10016
|
if (message.resolution !== 0) {
|
|
9551
10017
|
writer.uint32(48).int32(message.resolution);
|
|
9552
10018
|
}
|
|
@@ -9556,6 +10022,9 @@ exports.CameraParameters = {
|
|
|
9556
10022
|
if (message.recordingResolution !== 0) {
|
|
9557
10023
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9558
10024
|
}
|
|
10025
|
+
if (message.streamingProtocol !== 0) {
|
|
10026
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10027
|
+
}
|
|
9559
10028
|
if (message.framerate !== 0) {
|
|
9560
10029
|
writer.uint32(56).int32(message.framerate);
|
|
9561
10030
|
}
|
|
@@ -9613,6 +10082,76 @@ exports.CameraParameters = {
|
|
|
9613
10082
|
message.gain = reader.float();
|
|
9614
10083
|
continue;
|
|
9615
10084
|
}
|
|
10085
|
+
case 12: {
|
|
10086
|
+
if (tag !== 96) {
|
|
10087
|
+
break;
|
|
10088
|
+
}
|
|
10089
|
+
message.brightness = reader.int32();
|
|
10090
|
+
continue;
|
|
10091
|
+
}
|
|
10092
|
+
case 13: {
|
|
10093
|
+
if (tag !== 104) {
|
|
10094
|
+
break;
|
|
10095
|
+
}
|
|
10096
|
+
message.contrast = reader.int32();
|
|
10097
|
+
continue;
|
|
10098
|
+
}
|
|
10099
|
+
case 14: {
|
|
10100
|
+
if (tag !== 112) {
|
|
10101
|
+
break;
|
|
10102
|
+
}
|
|
10103
|
+
message.saturation = reader.int32();
|
|
10104
|
+
continue;
|
|
10105
|
+
}
|
|
10106
|
+
case 15: {
|
|
10107
|
+
if (tag !== 120) {
|
|
10108
|
+
break;
|
|
10109
|
+
}
|
|
10110
|
+
message.gamma = reader.int32();
|
|
10111
|
+
continue;
|
|
10112
|
+
}
|
|
10113
|
+
case 16: {
|
|
10114
|
+
if (tag !== 128) {
|
|
10115
|
+
break;
|
|
10116
|
+
}
|
|
10117
|
+
message.sharpness = reader.int32();
|
|
10118
|
+
continue;
|
|
10119
|
+
}
|
|
10120
|
+
case 17: {
|
|
10121
|
+
if (tag !== 136) {
|
|
10122
|
+
break;
|
|
10123
|
+
}
|
|
10124
|
+
message.backlightCompensation = reader.int32();
|
|
10125
|
+
continue;
|
|
10126
|
+
}
|
|
10127
|
+
case 18: {
|
|
10128
|
+
if (tag !== 144) {
|
|
10129
|
+
break;
|
|
10130
|
+
}
|
|
10131
|
+
message.denoise = reader.int32();
|
|
10132
|
+
continue;
|
|
10133
|
+
}
|
|
10134
|
+
case 21: {
|
|
10135
|
+
if (tag !== 168) {
|
|
10136
|
+
break;
|
|
10137
|
+
}
|
|
10138
|
+
message.ehdrEnabled = reader.bool();
|
|
10139
|
+
continue;
|
|
10140
|
+
}
|
|
10141
|
+
case 22: {
|
|
10142
|
+
if (tag !== 176) {
|
|
10143
|
+
break;
|
|
10144
|
+
}
|
|
10145
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10146
|
+
continue;
|
|
10147
|
+
}
|
|
10148
|
+
case 23: {
|
|
10149
|
+
if (tag !== 184) {
|
|
10150
|
+
break;
|
|
10151
|
+
}
|
|
10152
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10153
|
+
continue;
|
|
10154
|
+
}
|
|
9616
10155
|
case 6: {
|
|
9617
10156
|
if (tag !== 48) {
|
|
9618
10157
|
break;
|
|
@@ -9634,6 +10173,13 @@ exports.CameraParameters = {
|
|
|
9634
10173
|
message.recordingResolution = reader.int32();
|
|
9635
10174
|
continue;
|
|
9636
10175
|
}
|
|
10176
|
+
case 20: {
|
|
10177
|
+
if (tag !== 160) {
|
|
10178
|
+
break;
|
|
10179
|
+
}
|
|
10180
|
+
message.streamingProtocol = reader.int32();
|
|
10181
|
+
continue;
|
|
10182
|
+
}
|
|
9637
10183
|
case 7: {
|
|
9638
10184
|
if (tag !== 56) {
|
|
9639
10185
|
break;
|
|
@@ -9664,9 +10210,20 @@ exports.CameraParameters = {
|
|
|
9664
10210
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9665
10211
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9666
10212
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10213
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10214
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10215
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10216
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10217
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10218
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10219
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10220
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10221
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10222
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9667
10223
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9668
10224
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9669
10225
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10226
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9670
10227
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9671
10228
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9672
10229
|
};
|
|
@@ -9691,6 +10248,36 @@ exports.CameraParameters = {
|
|
|
9691
10248
|
if (message.gain !== 0) {
|
|
9692
10249
|
obj.gain = message.gain;
|
|
9693
10250
|
}
|
|
10251
|
+
if (message.brightness !== 0) {
|
|
10252
|
+
obj.brightness = Math.round(message.brightness);
|
|
10253
|
+
}
|
|
10254
|
+
if (message.contrast !== 0) {
|
|
10255
|
+
obj.contrast = Math.round(message.contrast);
|
|
10256
|
+
}
|
|
10257
|
+
if (message.saturation !== 0) {
|
|
10258
|
+
obj.saturation = Math.round(message.saturation);
|
|
10259
|
+
}
|
|
10260
|
+
if (message.gamma !== 0) {
|
|
10261
|
+
obj.gamma = Math.round(message.gamma);
|
|
10262
|
+
}
|
|
10263
|
+
if (message.sharpness !== 0) {
|
|
10264
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10265
|
+
}
|
|
10266
|
+
if (message.backlightCompensation !== 0) {
|
|
10267
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10268
|
+
}
|
|
10269
|
+
if (message.denoise !== 0) {
|
|
10270
|
+
obj.denoise = Math.round(message.denoise);
|
|
10271
|
+
}
|
|
10272
|
+
if (message.ehdrEnabled !== false) {
|
|
10273
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10274
|
+
}
|
|
10275
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10276
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10277
|
+
}
|
|
10278
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10279
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10280
|
+
}
|
|
9694
10281
|
if (message.resolution !== 0) {
|
|
9695
10282
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9696
10283
|
}
|
|
@@ -9700,6 +10287,9 @@ exports.CameraParameters = {
|
|
|
9700
10287
|
if (message.recordingResolution !== 0) {
|
|
9701
10288
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9702
10289
|
}
|
|
10290
|
+
if (message.streamingProtocol !== 0) {
|
|
10291
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10292
|
+
}
|
|
9703
10293
|
if (message.framerate !== 0) {
|
|
9704
10294
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9705
10295
|
}
|
|
@@ -9719,9 +10309,20 @@ exports.CameraParameters = {
|
|
|
9719
10309
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9720
10310
|
message.hue = object.hue ?? 0;
|
|
9721
10311
|
message.gain = object.gain ?? 0;
|
|
10312
|
+
message.brightness = object.brightness ?? 0;
|
|
10313
|
+
message.contrast = object.contrast ?? 0;
|
|
10314
|
+
message.saturation = object.saturation ?? 0;
|
|
10315
|
+
message.gamma = object.gamma ?? 0;
|
|
10316
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10317
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10318
|
+
message.denoise = object.denoise ?? 0;
|
|
10319
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10320
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10321
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9722
10322
|
message.resolution = object.resolution ?? 0;
|
|
9723
10323
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9724
10324
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10325
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9725
10326
|
message.framerate = object.framerate ?? 0;
|
|
9726
10327
|
message.camera = object.camera ?? 0;
|
|
9727
10328
|
return message;
|
|
@@ -12579,6 +13180,125 @@ exports.CPUInfo = {
|
|
|
12579
13180
|
return message;
|
|
12580
13181
|
},
|
|
12581
13182
|
};
|
|
13183
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13184
|
+
return { status: 0, level: 0 };
|
|
13185
|
+
}
|
|
13186
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13187
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13188
|
+
if (message.status !== 0) {
|
|
13189
|
+
writer.uint32(8).int32(message.status);
|
|
13190
|
+
}
|
|
13191
|
+
if (message.level !== 0) {
|
|
13192
|
+
writer.uint32(21).float(message.level);
|
|
13193
|
+
}
|
|
13194
|
+
return writer;
|
|
13195
|
+
},
|
|
13196
|
+
decode(input, length) {
|
|
13197
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13198
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13199
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13200
|
+
while (reader.pos < end) {
|
|
13201
|
+
const tag = reader.uint32();
|
|
13202
|
+
switch (tag >>> 3) {
|
|
13203
|
+
case 1: {
|
|
13204
|
+
if (tag !== 8) {
|
|
13205
|
+
break;
|
|
13206
|
+
}
|
|
13207
|
+
message.status = reader.int32();
|
|
13208
|
+
continue;
|
|
13209
|
+
}
|
|
13210
|
+
case 2: {
|
|
13211
|
+
if (tag !== 21) {
|
|
13212
|
+
break;
|
|
13213
|
+
}
|
|
13214
|
+
message.level = reader.float();
|
|
13215
|
+
continue;
|
|
13216
|
+
}
|
|
13217
|
+
}
|
|
13218
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13219
|
+
break;
|
|
13220
|
+
}
|
|
13221
|
+
reader.skip(tag & 7);
|
|
13222
|
+
}
|
|
13223
|
+
return message;
|
|
13224
|
+
},
|
|
13225
|
+
fromJSON(object) {
|
|
13226
|
+
return {
|
|
13227
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13228
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13229
|
+
};
|
|
13230
|
+
},
|
|
13231
|
+
toJSON(message) {
|
|
13232
|
+
const obj = {};
|
|
13233
|
+
if (message.status !== 0) {
|
|
13234
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13235
|
+
}
|
|
13236
|
+
if (message.level !== 0) {
|
|
13237
|
+
obj.level = message.level;
|
|
13238
|
+
}
|
|
13239
|
+
return obj;
|
|
13240
|
+
},
|
|
13241
|
+
create(base) {
|
|
13242
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13243
|
+
},
|
|
13244
|
+
fromPartial(object) {
|
|
13245
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13246
|
+
message.status = object.status ?? 0;
|
|
13247
|
+
message.level = object.level ?? 0;
|
|
13248
|
+
return message;
|
|
13249
|
+
},
|
|
13250
|
+
};
|
|
13251
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13252
|
+
return { version: "" };
|
|
13253
|
+
}
|
|
13254
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13255
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13256
|
+
if (message.version !== "") {
|
|
13257
|
+
writer.uint32(10).string(message.version);
|
|
13258
|
+
}
|
|
13259
|
+
return writer;
|
|
13260
|
+
},
|
|
13261
|
+
decode(input, length) {
|
|
13262
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13263
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13264
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13265
|
+
while (reader.pos < end) {
|
|
13266
|
+
const tag = reader.uint32();
|
|
13267
|
+
switch (tag >>> 3) {
|
|
13268
|
+
case 1: {
|
|
13269
|
+
if (tag !== 10) {
|
|
13270
|
+
break;
|
|
13271
|
+
}
|
|
13272
|
+
message.version = reader.string();
|
|
13273
|
+
continue;
|
|
13274
|
+
}
|
|
13275
|
+
}
|
|
13276
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13277
|
+
break;
|
|
13278
|
+
}
|
|
13279
|
+
reader.skip(tag & 7);
|
|
13280
|
+
}
|
|
13281
|
+
return message;
|
|
13282
|
+
},
|
|
13283
|
+
fromJSON(object) {
|
|
13284
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13285
|
+
},
|
|
13286
|
+
toJSON(message) {
|
|
13287
|
+
const obj = {};
|
|
13288
|
+
if (message.version !== "") {
|
|
13289
|
+
obj.version = message.version;
|
|
13290
|
+
}
|
|
13291
|
+
return obj;
|
|
13292
|
+
},
|
|
13293
|
+
create(base) {
|
|
13294
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13295
|
+
},
|
|
13296
|
+
fromPartial(object) {
|
|
13297
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13298
|
+
message.version = object.version ?? "";
|
|
13299
|
+
return message;
|
|
13300
|
+
},
|
|
13301
|
+
};
|
|
12582
13302
|
const gt = (() => {
|
|
12583
13303
|
if (typeof globalThis !== "undefined") {
|
|
12584
13304
|
return globalThis;
|