@blueyerobotics/protocol-definitions 3.2.0-8c2492a3 → 3.2.0-946df8e4
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 +94 -10
- package/dist/message_formats.js +473 -30
- package/dist/telemetry.d.ts +21 -1
- package/dist/telemetry.js +175 -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.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 = 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;
|
|
@@ -591,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
591
597
|
return "UNRECOGNIZED";
|
|
592
598
|
}
|
|
593
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
|
+
}
|
|
594
645
|
/** Drone models produced by Blueye. */
|
|
595
646
|
var Model;
|
|
596
647
|
(function (Model) {
|
|
@@ -720,11 +771,13 @@ var Resolution;
|
|
|
720
771
|
(function (Resolution) {
|
|
721
772
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
722
773
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
723
|
-
/**
|
|
724
|
-
Resolution[Resolution["
|
|
725
|
-
/** 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). */
|
|
726
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
727
|
-
/**
|
|
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). */
|
|
728
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
729
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
730
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -733,12 +786,15 @@ function resolutionFromJSON(object) {
|
|
|
733
786
|
case 0:
|
|
734
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
735
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
736
|
-
case
|
|
737
|
-
case "
|
|
738
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA_480P":
|
|
791
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
739
792
|
case 2:
|
|
740
793
|
case "RESOLUTION_HD_720P":
|
|
741
794
|
return Resolution.RESOLUTION_HD_720P;
|
|
795
|
+
case 1:
|
|
796
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
797
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
742
798
|
case 3:
|
|
743
799
|
case "RESOLUTION_UHD_4K":
|
|
744
800
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -752,10 +808,12 @@ function resolutionToJSON(object) {
|
|
|
752
808
|
switch (object) {
|
|
753
809
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
754
810
|
return "RESOLUTION_UNSPECIFIED";
|
|
755
|
-
case Resolution.
|
|
756
|
-
return "
|
|
811
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
812
|
+
return "RESOLUTION_VGA_480P";
|
|
757
813
|
case Resolution.RESOLUTION_HD_720P:
|
|
758
814
|
return "RESOLUTION_HD_720P";
|
|
815
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
816
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
759
817
|
case Resolution.RESOLUTION_UHD_4K:
|
|
760
818
|
return "RESOLUTION_UHD_4K";
|
|
761
819
|
case Resolution.UNRECOGNIZED:
|
|
@@ -770,7 +828,7 @@ var Framerate;
|
|
|
770
828
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
771
829
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
772
830
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
773
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
831
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
774
832
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
775
833
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
776
834
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -845,6 +903,46 @@ function cameraToJSON(object) {
|
|
|
845
903
|
return "UNRECOGNIZED";
|
|
846
904
|
}
|
|
847
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
|
+
}
|
|
848
946
|
/** Available temperature units. */
|
|
849
947
|
var TemperatureUnit;
|
|
850
948
|
(function (TemperatureUnit) {
|
|
@@ -1766,6 +1864,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1766
1864
|
return "UNRECOGNIZED";
|
|
1767
1865
|
}
|
|
1768
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
|
+
}
|
|
1769
1950
|
var PingerConfiguration_MountingDirection;
|
|
1770
1951
|
(function (PingerConfiguration_MountingDirection) {
|
|
1771
1952
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -2415,6 +2596,189 @@ exports.LogEntry = {
|
|
|
2415
2596
|
return message;
|
|
2416
2597
|
},
|
|
2417
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
|
+
};
|
|
2418
2782
|
function createBaseMotionInput() {
|
|
2419
2783
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2420
2784
|
}
|
|
@@ -3696,6 +4060,7 @@ function createBaseRecordState() {
|
|
|
3696
4060
|
multibeamIsRecording: false,
|
|
3697
4061
|
multibeamSeconds: 0,
|
|
3698
4062
|
multibeamFps: 0,
|
|
4063
|
+
storageLocation: 0,
|
|
3699
4064
|
};
|
|
3700
4065
|
}
|
|
3701
4066
|
exports.RecordState = {
|
|
@@ -3727,6 +4092,9 @@ exports.RecordState = {
|
|
|
3727
4092
|
if (message.multibeamFps !== 0) {
|
|
3728
4093
|
writer.uint32(77).float(message.multibeamFps);
|
|
3729
4094
|
}
|
|
4095
|
+
if (message.storageLocation !== 0) {
|
|
4096
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
4097
|
+
}
|
|
3730
4098
|
return writer;
|
|
3731
4099
|
},
|
|
3732
4100
|
decode(input, length) {
|
|
@@ -3799,6 +4167,13 @@ exports.RecordState = {
|
|
|
3799
4167
|
message.multibeamFps = reader.float();
|
|
3800
4168
|
continue;
|
|
3801
4169
|
}
|
|
4170
|
+
case 10: {
|
|
4171
|
+
if (tag !== 80) {
|
|
4172
|
+
break;
|
|
4173
|
+
}
|
|
4174
|
+
message.storageLocation = reader.int32();
|
|
4175
|
+
continue;
|
|
4176
|
+
}
|
|
3802
4177
|
}
|
|
3803
4178
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3804
4179
|
break;
|
|
@@ -3818,6 +4193,7 @@ exports.RecordState = {
|
|
|
3818
4193
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3819
4194
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3820
4195
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4196
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3821
4197
|
};
|
|
3822
4198
|
},
|
|
3823
4199
|
toJSON(message) {
|
|
@@ -3849,6 +4225,9 @@ exports.RecordState = {
|
|
|
3849
4225
|
if (message.multibeamFps !== 0) {
|
|
3850
4226
|
obj.multibeamFps = message.multibeamFps;
|
|
3851
4227
|
}
|
|
4228
|
+
if (message.storageLocation !== 0) {
|
|
4229
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
4230
|
+
}
|
|
3852
4231
|
return obj;
|
|
3853
4232
|
},
|
|
3854
4233
|
create(base) {
|
|
@@ -3865,6 +4244,7 @@ exports.RecordState = {
|
|
|
3865
4244
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3866
4245
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3867
4246
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4247
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3868
4248
|
return message;
|
|
3869
4249
|
},
|
|
3870
4250
|
};
|
|
@@ -7772,7 +8152,7 @@ exports.StorageSpace = {
|
|
|
7772
8152
|
},
|
|
7773
8153
|
};
|
|
7774
8154
|
function createBaseStoragePartition() {
|
|
7775
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8155
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7776
8156
|
}
|
|
7777
8157
|
exports.StoragePartition = {
|
|
7778
8158
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7788,6 +8168,9 @@ exports.StoragePartition = {
|
|
|
7788
8168
|
if (message.mountPath !== "") {
|
|
7789
8169
|
writer.uint32(34).string(message.mountPath);
|
|
7790
8170
|
}
|
|
8171
|
+
if (message.label !== "") {
|
|
8172
|
+
writer.uint32(42).string(message.label);
|
|
8173
|
+
}
|
|
7791
8174
|
return writer;
|
|
7792
8175
|
},
|
|
7793
8176
|
decode(input, length) {
|
|
@@ -7825,6 +8208,13 @@ exports.StoragePartition = {
|
|
|
7825
8208
|
message.mountPath = reader.string();
|
|
7826
8209
|
continue;
|
|
7827
8210
|
}
|
|
8211
|
+
case 5: {
|
|
8212
|
+
if (tag !== 42) {
|
|
8213
|
+
break;
|
|
8214
|
+
}
|
|
8215
|
+
message.label = reader.string();
|
|
8216
|
+
continue;
|
|
8217
|
+
}
|
|
7828
8218
|
}
|
|
7829
8219
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7830
8220
|
break;
|
|
@@ -7839,6 +8229,7 @@ exports.StoragePartition = {
|
|
|
7839
8229
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7840
8230
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7841
8231
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8232
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7842
8233
|
};
|
|
7843
8234
|
},
|
|
7844
8235
|
toJSON(message) {
|
|
@@ -7855,6 +8246,9 @@ exports.StoragePartition = {
|
|
|
7855
8246
|
if (message.mountPath !== "") {
|
|
7856
8247
|
obj.mountPath = message.mountPath;
|
|
7857
8248
|
}
|
|
8249
|
+
if (message.label !== "") {
|
|
8250
|
+
obj.label = message.label;
|
|
8251
|
+
}
|
|
7858
8252
|
return obj;
|
|
7859
8253
|
},
|
|
7860
8254
|
create(base) {
|
|
@@ -7868,6 +8262,7 @@ exports.StoragePartition = {
|
|
|
7868
8262
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7869
8263
|
message.devicePath = object.devicePath ?? "";
|
|
7870
8264
|
message.mountPath = object.mountPath ?? "";
|
|
8265
|
+
message.label = object.label ?? "";
|
|
7871
8266
|
return message;
|
|
7872
8267
|
},
|
|
7873
8268
|
};
|
|
@@ -9572,12 +9967,15 @@ function createBaseCameraParameters() {
|
|
|
9572
9967
|
sharpness: 0,
|
|
9573
9968
|
backlightCompensation: 0,
|
|
9574
9969
|
denoise: 0,
|
|
9970
|
+
ehdrEnabled: false,
|
|
9971
|
+
ehdrExposureMinNumber: 0,
|
|
9972
|
+
ehdrExposureMaxNumber: 0,
|
|
9575
9973
|
resolution: 0,
|
|
9576
9974
|
streamResolution: 0,
|
|
9577
9975
|
recordingResolution: 0,
|
|
9976
|
+
streamingProtocol: 0,
|
|
9578
9977
|
framerate: 0,
|
|
9579
9978
|
camera: 0,
|
|
9580
|
-
fixedFramerate: false,
|
|
9581
9979
|
};
|
|
9582
9980
|
}
|
|
9583
9981
|
exports.CameraParameters = {
|
|
@@ -9621,6 +10019,15 @@ exports.CameraParameters = {
|
|
|
9621
10019
|
if (message.denoise !== 0) {
|
|
9622
10020
|
writer.uint32(144).int32(message.denoise);
|
|
9623
10021
|
}
|
|
10022
|
+
if (message.ehdrEnabled !== false) {
|
|
10023
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10024
|
+
}
|
|
10025
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10026
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10027
|
+
}
|
|
10028
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10029
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10030
|
+
}
|
|
9624
10031
|
if (message.resolution !== 0) {
|
|
9625
10032
|
writer.uint32(48).int32(message.resolution);
|
|
9626
10033
|
}
|
|
@@ -9630,15 +10037,15 @@ exports.CameraParameters = {
|
|
|
9630
10037
|
if (message.recordingResolution !== 0) {
|
|
9631
10038
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9632
10039
|
}
|
|
10040
|
+
if (message.streamingProtocol !== 0) {
|
|
10041
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10042
|
+
}
|
|
9633
10043
|
if (message.framerate !== 0) {
|
|
9634
10044
|
writer.uint32(56).int32(message.framerate);
|
|
9635
10045
|
}
|
|
9636
10046
|
if (message.camera !== 0) {
|
|
9637
10047
|
writer.uint32(64).int32(message.camera);
|
|
9638
10048
|
}
|
|
9639
|
-
if (message.fixedFramerate !== false) {
|
|
9640
|
-
writer.uint32(152).bool(message.fixedFramerate);
|
|
9641
|
-
}
|
|
9642
10049
|
return writer;
|
|
9643
10050
|
},
|
|
9644
10051
|
decode(input, length) {
|
|
@@ -9739,6 +10146,27 @@ exports.CameraParameters = {
|
|
|
9739
10146
|
message.denoise = reader.int32();
|
|
9740
10147
|
continue;
|
|
9741
10148
|
}
|
|
10149
|
+
case 21: {
|
|
10150
|
+
if (tag !== 168) {
|
|
10151
|
+
break;
|
|
10152
|
+
}
|
|
10153
|
+
message.ehdrEnabled = reader.bool();
|
|
10154
|
+
continue;
|
|
10155
|
+
}
|
|
10156
|
+
case 22: {
|
|
10157
|
+
if (tag !== 176) {
|
|
10158
|
+
break;
|
|
10159
|
+
}
|
|
10160
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10161
|
+
continue;
|
|
10162
|
+
}
|
|
10163
|
+
case 23: {
|
|
10164
|
+
if (tag !== 184) {
|
|
10165
|
+
break;
|
|
10166
|
+
}
|
|
10167
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10168
|
+
continue;
|
|
10169
|
+
}
|
|
9742
10170
|
case 6: {
|
|
9743
10171
|
if (tag !== 48) {
|
|
9744
10172
|
break;
|
|
@@ -9760,6 +10188,13 @@ exports.CameraParameters = {
|
|
|
9760
10188
|
message.recordingResolution = reader.int32();
|
|
9761
10189
|
continue;
|
|
9762
10190
|
}
|
|
10191
|
+
case 20: {
|
|
10192
|
+
if (tag !== 160) {
|
|
10193
|
+
break;
|
|
10194
|
+
}
|
|
10195
|
+
message.streamingProtocol = reader.int32();
|
|
10196
|
+
continue;
|
|
10197
|
+
}
|
|
9763
10198
|
case 7: {
|
|
9764
10199
|
if (tag !== 56) {
|
|
9765
10200
|
break;
|
|
@@ -9774,13 +10209,6 @@ exports.CameraParameters = {
|
|
|
9774
10209
|
message.camera = reader.int32();
|
|
9775
10210
|
continue;
|
|
9776
10211
|
}
|
|
9777
|
-
case 19: {
|
|
9778
|
-
if (tag !== 152) {
|
|
9779
|
-
break;
|
|
9780
|
-
}
|
|
9781
|
-
message.fixedFramerate = reader.bool();
|
|
9782
|
-
continue;
|
|
9783
|
-
}
|
|
9784
10212
|
}
|
|
9785
10213
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9786
10214
|
break;
|
|
@@ -9804,12 +10232,15 @@ exports.CameraParameters = {
|
|
|
9804
10232
|
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
9805
10233
|
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
9806
10234
|
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10235
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10236
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10237
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9807
10238
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9808
10239
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9809
10240
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10241
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9810
10242
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9811
10243
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9812
|
-
fixedFramerate: isSet(object.fixedFramerate) ? gt.Boolean(object.fixedFramerate) : false,
|
|
9813
10244
|
};
|
|
9814
10245
|
},
|
|
9815
10246
|
toJSON(message) {
|
|
@@ -9853,6 +10284,15 @@ exports.CameraParameters = {
|
|
|
9853
10284
|
if (message.denoise !== 0) {
|
|
9854
10285
|
obj.denoise = Math.round(message.denoise);
|
|
9855
10286
|
}
|
|
10287
|
+
if (message.ehdrEnabled !== false) {
|
|
10288
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10289
|
+
}
|
|
10290
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10291
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10292
|
+
}
|
|
10293
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10294
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10295
|
+
}
|
|
9856
10296
|
if (message.resolution !== 0) {
|
|
9857
10297
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9858
10298
|
}
|
|
@@ -9862,15 +10302,15 @@ exports.CameraParameters = {
|
|
|
9862
10302
|
if (message.recordingResolution !== 0) {
|
|
9863
10303
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9864
10304
|
}
|
|
10305
|
+
if (message.streamingProtocol !== 0) {
|
|
10306
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10307
|
+
}
|
|
9865
10308
|
if (message.framerate !== 0) {
|
|
9866
10309
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9867
10310
|
}
|
|
9868
10311
|
if (message.camera !== 0) {
|
|
9869
10312
|
obj.camera = cameraToJSON(message.camera);
|
|
9870
10313
|
}
|
|
9871
|
-
if (message.fixedFramerate !== false) {
|
|
9872
|
-
obj.fixedFramerate = message.fixedFramerate;
|
|
9873
|
-
}
|
|
9874
10314
|
return obj;
|
|
9875
10315
|
},
|
|
9876
10316
|
create(base) {
|
|
@@ -9891,12 +10331,15 @@ exports.CameraParameters = {
|
|
|
9891
10331
|
message.sharpness = object.sharpness ?? 0;
|
|
9892
10332
|
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
9893
10333
|
message.denoise = object.denoise ?? 0;
|
|
10334
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10335
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10336
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9894
10337
|
message.resolution = object.resolution ?? 0;
|
|
9895
10338
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9896
10339
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10340
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9897
10341
|
message.framerate = object.framerate ?? 0;
|
|
9898
10342
|
message.camera = object.camera ?? 0;
|
|
9899
|
-
message.fixedFramerate = object.fixedFramerate ?? false;
|
|
9900
10343
|
return message;
|
|
9901
10344
|
},
|
|
9902
10345
|
};
|