@blueyerobotics/protocol-definitions 3.2.0-8a0f8e61 → 3.2.0-8c2492a3
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/README.md +40 -0
- package/dist/aquatroll.d.ts +2 -8
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +13 -8
- package/dist/control.js +39 -2
- package/dist/google/protobuf/any.d.ts +2 -8
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.d.ts +2 -8
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.d.ts +2 -8
- 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 +159 -13
- package/dist/message_formats.js +1057 -111
- package/dist/mission_planning.d.ts +2 -8
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +2 -8
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +20 -10
- package/dist/telemetry.js +151 -5
- package/package.json +1 -1
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 = void 0;
|
|
8
|
+
exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = 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.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.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.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = 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 = 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 = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -54,16 +54,22 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
54
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
55
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
56
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
57
|
+
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
58
|
+
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
57
59
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
60
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
61
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
60
62
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
|
|
63
|
+
exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
|
|
64
|
+
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
61
65
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
62
66
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
63
67
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
64
68
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
65
69
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
66
70
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
71
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
72
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
67
73
|
/* eslint-disable */
|
|
68
74
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
69
75
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -1172,6 +1178,8 @@ var GuestPortDeviceID;
|
|
|
1172
1178
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1173
1179
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1174
1180
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1181
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1182
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1175
1183
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1176
1184
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1177
1185
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1311,6 +1319,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1311
1319
|
case 44:
|
|
1312
1320
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1313
1321
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1322
|
+
case 45:
|
|
1323
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1324
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1314
1325
|
case -1:
|
|
1315
1326
|
case "UNRECOGNIZED":
|
|
1316
1327
|
default:
|
|
@@ -1409,6 +1420,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1409
1420
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1410
1421
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1411
1422
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1423
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1424
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1412
1425
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1413
1426
|
default:
|
|
1414
1427
|
return "UNRECOGNIZED";
|
|
@@ -1685,6 +1698,74 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1685
1698
|
return "UNRECOGNIZED";
|
|
1686
1699
|
}
|
|
1687
1700
|
}
|
|
1701
|
+
var LogEntry_LogLevel;
|
|
1702
|
+
(function (LogEntry_LogLevel) {
|
|
1703
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1704
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1705
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1706
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1707
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1708
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1709
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1710
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1711
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1712
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1713
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1714
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1715
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1716
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1717
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1718
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1719
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1720
|
+
switch (object) {
|
|
1721
|
+
case 0:
|
|
1722
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1723
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1724
|
+
case 1:
|
|
1725
|
+
case "LOG_LEVEL_TRACE":
|
|
1726
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1727
|
+
case 2:
|
|
1728
|
+
case "LOG_LEVEL_DEBUG":
|
|
1729
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1730
|
+
case 3:
|
|
1731
|
+
case "LOG_LEVEL_INFO":
|
|
1732
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1733
|
+
case 4:
|
|
1734
|
+
case "LOG_LEVEL_WARNING":
|
|
1735
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1736
|
+
case 5:
|
|
1737
|
+
case "LOG_LEVEL_ERROR":
|
|
1738
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1739
|
+
case 6:
|
|
1740
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1741
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1742
|
+
case -1:
|
|
1743
|
+
case "UNRECOGNIZED":
|
|
1744
|
+
default:
|
|
1745
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1749
|
+
switch (object) {
|
|
1750
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1751
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1752
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1753
|
+
return "LOG_LEVEL_TRACE";
|
|
1754
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1755
|
+
return "LOG_LEVEL_DEBUG";
|
|
1756
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1757
|
+
return "LOG_LEVEL_INFO";
|
|
1758
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1759
|
+
return "LOG_LEVEL_WARNING";
|
|
1760
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1761
|
+
return "LOG_LEVEL_ERROR";
|
|
1762
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1763
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1764
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1765
|
+
default:
|
|
1766
|
+
return "UNRECOGNIZED";
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1688
1769
|
var PingerConfiguration_MountingDirection;
|
|
1689
1770
|
(function (PingerConfiguration_MountingDirection) {
|
|
1690
1771
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1799,10 +1880,58 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
|
|
|
1799
1880
|
return "UNRECOGNIZED";
|
|
1800
1881
|
}
|
|
1801
1882
|
}
|
|
1883
|
+
/** Overall status of the storage device. */
|
|
1884
|
+
var RemovableStorageDevice_Status;
|
|
1885
|
+
(function (RemovableStorageDevice_Status) {
|
|
1886
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
1887
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1888
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1889
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1890
|
+
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
1891
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1892
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1893
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
1894
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1895
|
+
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1896
|
+
function removableStorageDevice_StatusFromJSON(object) {
|
|
1897
|
+
switch (object) {
|
|
1898
|
+
case 0:
|
|
1899
|
+
case "STATUS_UNSPECIFIED":
|
|
1900
|
+
return RemovableStorageDevice_Status.STATUS_UNSPECIFIED;
|
|
1901
|
+
case 1:
|
|
1902
|
+
case "STATUS_READY":
|
|
1903
|
+
return RemovableStorageDevice_Status.STATUS_READY;
|
|
1904
|
+
case 2:
|
|
1905
|
+
case "STATUS_FORMATTING":
|
|
1906
|
+
return RemovableStorageDevice_Status.STATUS_FORMATTING;
|
|
1907
|
+
case 3:
|
|
1908
|
+
case "STATUS_ERROR":
|
|
1909
|
+
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
1910
|
+
case -1:
|
|
1911
|
+
case "UNRECOGNIZED":
|
|
1912
|
+
default:
|
|
1913
|
+
return RemovableStorageDevice_Status.UNRECOGNIZED;
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
function removableStorageDevice_StatusToJSON(object) {
|
|
1917
|
+
switch (object) {
|
|
1918
|
+
case RemovableStorageDevice_Status.STATUS_UNSPECIFIED:
|
|
1919
|
+
return "STATUS_UNSPECIFIED";
|
|
1920
|
+
case RemovableStorageDevice_Status.STATUS_READY:
|
|
1921
|
+
return "STATUS_READY";
|
|
1922
|
+
case RemovableStorageDevice_Status.STATUS_FORMATTING:
|
|
1923
|
+
return "STATUS_FORMATTING";
|
|
1924
|
+
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
1925
|
+
return "STATUS_ERROR";
|
|
1926
|
+
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
1927
|
+
default:
|
|
1928
|
+
return "UNRECOGNIZED";
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1802
1931
|
/**
|
|
1803
1932
|
* Status of the compass calibration procedure.
|
|
1804
1933
|
*
|
|
1805
|
-
* When calibration is started, the status will indicate the active (
|
|
1934
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1806
1935
|
*/
|
|
1807
1936
|
var CalibrationState_Status;
|
|
1808
1937
|
(function (CalibrationState_Status) {
|
|
@@ -1824,7 +1953,7 @@ var CalibrationState_Status;
|
|
|
1824
1953
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1825
1954
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1826
1955
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1827
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
1956
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1828
1957
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1829
1958
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1830
1959
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -2015,6 +2144,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2015
2144
|
return "UNRECOGNIZED";
|
|
2016
2145
|
}
|
|
2017
2146
|
}
|
|
2147
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2148
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2149
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2150
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2151
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2152
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2153
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2154
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2155
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2156
|
+
switch (object) {
|
|
2157
|
+
case 0:
|
|
2158
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2159
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2160
|
+
case 1:
|
|
2161
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2162
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2163
|
+
case 2:
|
|
2164
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2165
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2166
|
+
case 3:
|
|
2167
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2168
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2169
|
+
case -1:
|
|
2170
|
+
case "UNRECOGNIZED":
|
|
2171
|
+
default:
|
|
2172
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2176
|
+
switch (object) {
|
|
2177
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2178
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2179
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2180
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2181
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2182
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2183
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2184
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2185
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2186
|
+
default:
|
|
2187
|
+
return "UNRECOGNIZED";
|
|
2188
|
+
}
|
|
2189
|
+
}
|
|
2018
2190
|
function createBaseBinlogRecord() {
|
|
2019
2191
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2020
2192
|
}
|
|
@@ -2100,6 +2272,149 @@ exports.BinlogRecord = {
|
|
|
2100
2272
|
return message;
|
|
2101
2273
|
},
|
|
2102
2274
|
};
|
|
2275
|
+
function createBaseLogEntry() {
|
|
2276
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2277
|
+
}
|
|
2278
|
+
exports.LogEntry = {
|
|
2279
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2280
|
+
if (message.timestamp !== undefined) {
|
|
2281
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2282
|
+
}
|
|
2283
|
+
if (message.processName !== "") {
|
|
2284
|
+
writer.uint32(18).string(message.processName);
|
|
2285
|
+
}
|
|
2286
|
+
if (message.processId !== 0) {
|
|
2287
|
+
writer.uint32(24).uint64(message.processId);
|
|
2288
|
+
}
|
|
2289
|
+
if (message.threadId !== 0) {
|
|
2290
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2291
|
+
}
|
|
2292
|
+
if (message.source !== "") {
|
|
2293
|
+
writer.uint32(42).string(message.source);
|
|
2294
|
+
}
|
|
2295
|
+
if (message.level !== 0) {
|
|
2296
|
+
writer.uint32(48).int32(message.level);
|
|
2297
|
+
}
|
|
2298
|
+
if (message.message !== "") {
|
|
2299
|
+
writer.uint32(58).string(message.message);
|
|
2300
|
+
}
|
|
2301
|
+
return writer;
|
|
2302
|
+
},
|
|
2303
|
+
decode(input, length) {
|
|
2304
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2305
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2306
|
+
const message = createBaseLogEntry();
|
|
2307
|
+
while (reader.pos < end) {
|
|
2308
|
+
const tag = reader.uint32();
|
|
2309
|
+
switch (tag >>> 3) {
|
|
2310
|
+
case 1: {
|
|
2311
|
+
if (tag !== 10) {
|
|
2312
|
+
break;
|
|
2313
|
+
}
|
|
2314
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2315
|
+
continue;
|
|
2316
|
+
}
|
|
2317
|
+
case 2: {
|
|
2318
|
+
if (tag !== 18) {
|
|
2319
|
+
break;
|
|
2320
|
+
}
|
|
2321
|
+
message.processName = reader.string();
|
|
2322
|
+
continue;
|
|
2323
|
+
}
|
|
2324
|
+
case 3: {
|
|
2325
|
+
if (tag !== 24) {
|
|
2326
|
+
break;
|
|
2327
|
+
}
|
|
2328
|
+
message.processId = longToNumber(reader.uint64());
|
|
2329
|
+
continue;
|
|
2330
|
+
}
|
|
2331
|
+
case 4: {
|
|
2332
|
+
if (tag !== 32) {
|
|
2333
|
+
break;
|
|
2334
|
+
}
|
|
2335
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2336
|
+
continue;
|
|
2337
|
+
}
|
|
2338
|
+
case 5: {
|
|
2339
|
+
if (tag !== 42) {
|
|
2340
|
+
break;
|
|
2341
|
+
}
|
|
2342
|
+
message.source = reader.string();
|
|
2343
|
+
continue;
|
|
2344
|
+
}
|
|
2345
|
+
case 6: {
|
|
2346
|
+
if (tag !== 48) {
|
|
2347
|
+
break;
|
|
2348
|
+
}
|
|
2349
|
+
message.level = reader.int32();
|
|
2350
|
+
continue;
|
|
2351
|
+
}
|
|
2352
|
+
case 7: {
|
|
2353
|
+
if (tag !== 58) {
|
|
2354
|
+
break;
|
|
2355
|
+
}
|
|
2356
|
+
message.message = reader.string();
|
|
2357
|
+
continue;
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2360
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2361
|
+
break;
|
|
2362
|
+
}
|
|
2363
|
+
reader.skip(tag & 7);
|
|
2364
|
+
}
|
|
2365
|
+
return message;
|
|
2366
|
+
},
|
|
2367
|
+
fromJSON(object) {
|
|
2368
|
+
return {
|
|
2369
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2370
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2371
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2372
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2373
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2374
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2375
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2376
|
+
};
|
|
2377
|
+
},
|
|
2378
|
+
toJSON(message) {
|
|
2379
|
+
const obj = {};
|
|
2380
|
+
if (message.timestamp !== undefined) {
|
|
2381
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2382
|
+
}
|
|
2383
|
+
if (message.processName !== "") {
|
|
2384
|
+
obj.processName = message.processName;
|
|
2385
|
+
}
|
|
2386
|
+
if (message.processId !== 0) {
|
|
2387
|
+
obj.processId = Math.round(message.processId);
|
|
2388
|
+
}
|
|
2389
|
+
if (message.threadId !== 0) {
|
|
2390
|
+
obj.threadId = Math.round(message.threadId);
|
|
2391
|
+
}
|
|
2392
|
+
if (message.source !== "") {
|
|
2393
|
+
obj.source = message.source;
|
|
2394
|
+
}
|
|
2395
|
+
if (message.level !== 0) {
|
|
2396
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2397
|
+
}
|
|
2398
|
+
if (message.message !== "") {
|
|
2399
|
+
obj.message = message.message;
|
|
2400
|
+
}
|
|
2401
|
+
return obj;
|
|
2402
|
+
},
|
|
2403
|
+
create(base) {
|
|
2404
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2405
|
+
},
|
|
2406
|
+
fromPartial(object) {
|
|
2407
|
+
const message = createBaseLogEntry();
|
|
2408
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2409
|
+
message.processName = object.processName ?? "";
|
|
2410
|
+
message.processId = object.processId ?? 0;
|
|
2411
|
+
message.threadId = object.threadId ?? 0;
|
|
2412
|
+
message.source = object.source ?? "";
|
|
2413
|
+
message.level = object.level ?? 0;
|
|
2414
|
+
message.message = object.message ?? "";
|
|
2415
|
+
return message;
|
|
2416
|
+
},
|
|
2417
|
+
};
|
|
2103
2418
|
function createBaseMotionInput() {
|
|
2104
2419
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2105
2420
|
}
|
|
@@ -7456,107 +7771,58 @@ exports.StorageSpace = {
|
|
|
7456
7771
|
return message;
|
|
7457
7772
|
},
|
|
7458
7773
|
};
|
|
7459
|
-
function
|
|
7460
|
-
return {
|
|
7461
|
-
status: 0,
|
|
7462
|
-
progressXPositive: 0,
|
|
7463
|
-
progressXNegative: 0,
|
|
7464
|
-
progressYPositive: 0,
|
|
7465
|
-
progressYNegative: 0,
|
|
7466
|
-
progressZPositive: 0,
|
|
7467
|
-
progressZNegative: 0,
|
|
7468
|
-
progressThruster: 0,
|
|
7469
|
-
};
|
|
7774
|
+
function createBaseStoragePartition() {
|
|
7775
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
7470
7776
|
}
|
|
7471
|
-
exports.
|
|
7777
|
+
exports.StoragePartition = {
|
|
7472
7778
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7473
|
-
if (message.
|
|
7474
|
-
writer.uint32(
|
|
7475
|
-
}
|
|
7476
|
-
if (message.progressXPositive !== 0) {
|
|
7477
|
-
writer.uint32(21).float(message.progressXPositive);
|
|
7478
|
-
}
|
|
7479
|
-
if (message.progressXNegative !== 0) {
|
|
7480
|
-
writer.uint32(29).float(message.progressXNegative);
|
|
7779
|
+
if (message.storageSpace !== undefined) {
|
|
7780
|
+
exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
7481
7781
|
}
|
|
7482
|
-
if (message.
|
|
7483
|
-
writer.uint32(
|
|
7484
|
-
}
|
|
7485
|
-
if (message.progressYNegative !== 0) {
|
|
7486
|
-
writer.uint32(45).float(message.progressYNegative);
|
|
7487
|
-
}
|
|
7488
|
-
if (message.progressZPositive !== 0) {
|
|
7489
|
-
writer.uint32(53).float(message.progressZPositive);
|
|
7782
|
+
if (message.fileSystemType !== "") {
|
|
7783
|
+
writer.uint32(18).string(message.fileSystemType);
|
|
7490
7784
|
}
|
|
7491
|
-
if (message.
|
|
7492
|
-
writer.uint32(
|
|
7785
|
+
if (message.devicePath !== "") {
|
|
7786
|
+
writer.uint32(26).string(message.devicePath);
|
|
7493
7787
|
}
|
|
7494
|
-
if (message.
|
|
7495
|
-
writer.uint32(
|
|
7788
|
+
if (message.mountPath !== "") {
|
|
7789
|
+
writer.uint32(34).string(message.mountPath);
|
|
7496
7790
|
}
|
|
7497
7791
|
return writer;
|
|
7498
7792
|
},
|
|
7499
7793
|
decode(input, length) {
|
|
7500
7794
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7501
7795
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7502
|
-
const message =
|
|
7796
|
+
const message = createBaseStoragePartition();
|
|
7503
7797
|
while (reader.pos < end) {
|
|
7504
7798
|
const tag = reader.uint32();
|
|
7505
7799
|
switch (tag >>> 3) {
|
|
7506
7800
|
case 1: {
|
|
7507
|
-
if (tag !==
|
|
7801
|
+
if (tag !== 10) {
|
|
7508
7802
|
break;
|
|
7509
7803
|
}
|
|
7510
|
-
message.
|
|
7804
|
+
message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
|
|
7511
7805
|
continue;
|
|
7512
7806
|
}
|
|
7513
7807
|
case 2: {
|
|
7514
|
-
if (tag !==
|
|
7808
|
+
if (tag !== 18) {
|
|
7515
7809
|
break;
|
|
7516
7810
|
}
|
|
7517
|
-
message.
|
|
7811
|
+
message.fileSystemType = reader.string();
|
|
7518
7812
|
continue;
|
|
7519
7813
|
}
|
|
7520
7814
|
case 3: {
|
|
7521
|
-
if (tag !==
|
|
7815
|
+
if (tag !== 26) {
|
|
7522
7816
|
break;
|
|
7523
7817
|
}
|
|
7524
|
-
message.
|
|
7818
|
+
message.devicePath = reader.string();
|
|
7525
7819
|
continue;
|
|
7526
7820
|
}
|
|
7527
7821
|
case 4: {
|
|
7528
|
-
if (tag !==
|
|
7529
|
-
break;
|
|
7530
|
-
}
|
|
7531
|
-
message.progressYPositive = reader.float();
|
|
7532
|
-
continue;
|
|
7533
|
-
}
|
|
7534
|
-
case 5: {
|
|
7535
|
-
if (tag !== 45) {
|
|
7536
|
-
break;
|
|
7537
|
-
}
|
|
7538
|
-
message.progressYNegative = reader.float();
|
|
7539
|
-
continue;
|
|
7540
|
-
}
|
|
7541
|
-
case 6: {
|
|
7542
|
-
if (tag !== 53) {
|
|
7543
|
-
break;
|
|
7544
|
-
}
|
|
7545
|
-
message.progressZPositive = reader.float();
|
|
7546
|
-
continue;
|
|
7547
|
-
}
|
|
7548
|
-
case 7: {
|
|
7549
|
-
if (tag !== 61) {
|
|
7550
|
-
break;
|
|
7551
|
-
}
|
|
7552
|
-
message.progressZNegative = reader.float();
|
|
7553
|
-
continue;
|
|
7554
|
-
}
|
|
7555
|
-
case 8: {
|
|
7556
|
-
if (tag !== 69) {
|
|
7822
|
+
if (tag !== 34) {
|
|
7557
7823
|
break;
|
|
7558
7824
|
}
|
|
7559
|
-
message.
|
|
7825
|
+
message.mountPath = reader.string();
|
|
7560
7826
|
continue;
|
|
7561
7827
|
}
|
|
7562
7828
|
}
|
|
@@ -7569,54 +7835,472 @@ exports.CalibrationState = {
|
|
|
7569
7835
|
},
|
|
7570
7836
|
fromJSON(object) {
|
|
7571
7837
|
return {
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
progressYNegative: isSet(object.progressYNegative) ? gt.Number(object.progressYNegative) : 0,
|
|
7577
|
-
progressZPositive: isSet(object.progressZPositive) ? gt.Number(object.progressZPositive) : 0,
|
|
7578
|
-
progressZNegative: isSet(object.progressZNegative) ? gt.Number(object.progressZNegative) : 0,
|
|
7579
|
-
progressThruster: isSet(object.progressThruster) ? gt.Number(object.progressThruster) : 0,
|
|
7838
|
+
storageSpace: isSet(object.storageSpace) ? exports.StorageSpace.fromJSON(object.storageSpace) : undefined,
|
|
7839
|
+
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7840
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7841
|
+
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
7580
7842
|
};
|
|
7581
7843
|
},
|
|
7582
7844
|
toJSON(message) {
|
|
7583
7845
|
const obj = {};
|
|
7584
|
-
if (message.
|
|
7585
|
-
obj.
|
|
7586
|
-
}
|
|
7587
|
-
if (message.progressXPositive !== 0) {
|
|
7588
|
-
obj.progressXPositive = message.progressXPositive;
|
|
7589
|
-
}
|
|
7590
|
-
if (message.progressXNegative !== 0) {
|
|
7591
|
-
obj.progressXNegative = message.progressXNegative;
|
|
7592
|
-
}
|
|
7593
|
-
if (message.progressYPositive !== 0) {
|
|
7594
|
-
obj.progressYPositive = message.progressYPositive;
|
|
7846
|
+
if (message.storageSpace !== undefined) {
|
|
7847
|
+
obj.storageSpace = exports.StorageSpace.toJSON(message.storageSpace);
|
|
7595
7848
|
}
|
|
7596
|
-
if (message.
|
|
7597
|
-
obj.
|
|
7598
|
-
}
|
|
7599
|
-
if (message.progressZPositive !== 0) {
|
|
7600
|
-
obj.progressZPositive = message.progressZPositive;
|
|
7849
|
+
if (message.fileSystemType !== "") {
|
|
7850
|
+
obj.fileSystemType = message.fileSystemType;
|
|
7601
7851
|
}
|
|
7602
|
-
if (message.
|
|
7603
|
-
obj.
|
|
7852
|
+
if (message.devicePath !== "") {
|
|
7853
|
+
obj.devicePath = message.devicePath;
|
|
7604
7854
|
}
|
|
7605
|
-
if (message.
|
|
7606
|
-
obj.
|
|
7855
|
+
if (message.mountPath !== "") {
|
|
7856
|
+
obj.mountPath = message.mountPath;
|
|
7607
7857
|
}
|
|
7608
7858
|
return obj;
|
|
7609
7859
|
},
|
|
7610
7860
|
create(base) {
|
|
7611
|
-
return exports.
|
|
7861
|
+
return exports.StoragePartition.fromPartial(base ?? {});
|
|
7612
7862
|
},
|
|
7613
7863
|
fromPartial(object) {
|
|
7614
|
-
const message =
|
|
7615
|
-
message.
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
message.
|
|
7619
|
-
message.
|
|
7864
|
+
const message = createBaseStoragePartition();
|
|
7865
|
+
message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
|
|
7866
|
+
? exports.StorageSpace.fromPartial(object.storageSpace)
|
|
7867
|
+
: undefined;
|
|
7868
|
+
message.fileSystemType = object.fileSystemType ?? "";
|
|
7869
|
+
message.devicePath = object.devicePath ?? "";
|
|
7870
|
+
message.mountPath = object.mountPath ?? "";
|
|
7871
|
+
return message;
|
|
7872
|
+
},
|
|
7873
|
+
};
|
|
7874
|
+
function createBaseRemovableStorageDevice() {
|
|
7875
|
+
return { vendorName: "", modelName: "", devicePath: "", status: 0, errorFlags: undefined, partitions: [] };
|
|
7876
|
+
}
|
|
7877
|
+
exports.RemovableStorageDevice = {
|
|
7878
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7879
|
+
if (message.vendorName !== "") {
|
|
7880
|
+
writer.uint32(10).string(message.vendorName);
|
|
7881
|
+
}
|
|
7882
|
+
if (message.modelName !== "") {
|
|
7883
|
+
writer.uint32(18).string(message.modelName);
|
|
7884
|
+
}
|
|
7885
|
+
if (message.devicePath !== "") {
|
|
7886
|
+
writer.uint32(26).string(message.devicePath);
|
|
7887
|
+
}
|
|
7888
|
+
if (message.status !== 0) {
|
|
7889
|
+
writer.uint32(32).int32(message.status);
|
|
7890
|
+
}
|
|
7891
|
+
if (message.errorFlags !== undefined) {
|
|
7892
|
+
exports.RemovableStorageErrorFlags.encode(message.errorFlags, writer.uint32(42).fork()).join();
|
|
7893
|
+
}
|
|
7894
|
+
for (const v of message.partitions) {
|
|
7895
|
+
exports.StoragePartition.encode(v, writer.uint32(50).fork()).join();
|
|
7896
|
+
}
|
|
7897
|
+
return writer;
|
|
7898
|
+
},
|
|
7899
|
+
decode(input, length) {
|
|
7900
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7901
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7902
|
+
const message = createBaseRemovableStorageDevice();
|
|
7903
|
+
while (reader.pos < end) {
|
|
7904
|
+
const tag = reader.uint32();
|
|
7905
|
+
switch (tag >>> 3) {
|
|
7906
|
+
case 1: {
|
|
7907
|
+
if (tag !== 10) {
|
|
7908
|
+
break;
|
|
7909
|
+
}
|
|
7910
|
+
message.vendorName = reader.string();
|
|
7911
|
+
continue;
|
|
7912
|
+
}
|
|
7913
|
+
case 2: {
|
|
7914
|
+
if (tag !== 18) {
|
|
7915
|
+
break;
|
|
7916
|
+
}
|
|
7917
|
+
message.modelName = reader.string();
|
|
7918
|
+
continue;
|
|
7919
|
+
}
|
|
7920
|
+
case 3: {
|
|
7921
|
+
if (tag !== 26) {
|
|
7922
|
+
break;
|
|
7923
|
+
}
|
|
7924
|
+
message.devicePath = reader.string();
|
|
7925
|
+
continue;
|
|
7926
|
+
}
|
|
7927
|
+
case 4: {
|
|
7928
|
+
if (tag !== 32) {
|
|
7929
|
+
break;
|
|
7930
|
+
}
|
|
7931
|
+
message.status = reader.int32();
|
|
7932
|
+
continue;
|
|
7933
|
+
}
|
|
7934
|
+
case 5: {
|
|
7935
|
+
if (tag !== 42) {
|
|
7936
|
+
break;
|
|
7937
|
+
}
|
|
7938
|
+
message.errorFlags = exports.RemovableStorageErrorFlags.decode(reader, reader.uint32());
|
|
7939
|
+
continue;
|
|
7940
|
+
}
|
|
7941
|
+
case 6: {
|
|
7942
|
+
if (tag !== 50) {
|
|
7943
|
+
break;
|
|
7944
|
+
}
|
|
7945
|
+
message.partitions.push(exports.StoragePartition.decode(reader, reader.uint32()));
|
|
7946
|
+
continue;
|
|
7947
|
+
}
|
|
7948
|
+
}
|
|
7949
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
7950
|
+
break;
|
|
7951
|
+
}
|
|
7952
|
+
reader.skip(tag & 7);
|
|
7953
|
+
}
|
|
7954
|
+
return message;
|
|
7955
|
+
},
|
|
7956
|
+
fromJSON(object) {
|
|
7957
|
+
return {
|
|
7958
|
+
vendorName: isSet(object.vendorName) ? gt.String(object.vendorName) : "",
|
|
7959
|
+
modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
|
|
7960
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7961
|
+
status: isSet(object.status) ? removableStorageDevice_StatusFromJSON(object.status) : 0,
|
|
7962
|
+
errorFlags: isSet(object.errorFlags) ? exports.RemovableStorageErrorFlags.fromJSON(object.errorFlags) : undefined,
|
|
7963
|
+
partitions: gt.Array.isArray(object?.partitions)
|
|
7964
|
+
? object.partitions.map((e) => exports.StoragePartition.fromJSON(e))
|
|
7965
|
+
: [],
|
|
7966
|
+
};
|
|
7967
|
+
},
|
|
7968
|
+
toJSON(message) {
|
|
7969
|
+
const obj = {};
|
|
7970
|
+
if (message.vendorName !== "") {
|
|
7971
|
+
obj.vendorName = message.vendorName;
|
|
7972
|
+
}
|
|
7973
|
+
if (message.modelName !== "") {
|
|
7974
|
+
obj.modelName = message.modelName;
|
|
7975
|
+
}
|
|
7976
|
+
if (message.devicePath !== "") {
|
|
7977
|
+
obj.devicePath = message.devicePath;
|
|
7978
|
+
}
|
|
7979
|
+
if (message.status !== 0) {
|
|
7980
|
+
obj.status = removableStorageDevice_StatusToJSON(message.status);
|
|
7981
|
+
}
|
|
7982
|
+
if (message.errorFlags !== undefined) {
|
|
7983
|
+
obj.errorFlags = exports.RemovableStorageErrorFlags.toJSON(message.errorFlags);
|
|
7984
|
+
}
|
|
7985
|
+
if (message.partitions?.length) {
|
|
7986
|
+
obj.partitions = message.partitions.map((e) => exports.StoragePartition.toJSON(e));
|
|
7987
|
+
}
|
|
7988
|
+
return obj;
|
|
7989
|
+
},
|
|
7990
|
+
create(base) {
|
|
7991
|
+
return exports.RemovableStorageDevice.fromPartial(base ?? {});
|
|
7992
|
+
},
|
|
7993
|
+
fromPartial(object) {
|
|
7994
|
+
const message = createBaseRemovableStorageDevice();
|
|
7995
|
+
message.vendorName = object.vendorName ?? "";
|
|
7996
|
+
message.modelName = object.modelName ?? "";
|
|
7997
|
+
message.devicePath = object.devicePath ?? "";
|
|
7998
|
+
message.status = object.status ?? 0;
|
|
7999
|
+
message.errorFlags = (object.errorFlags !== undefined && object.errorFlags !== null)
|
|
8000
|
+
? exports.RemovableStorageErrorFlags.fromPartial(object.errorFlags)
|
|
8001
|
+
: undefined;
|
|
8002
|
+
message.partitions = object.partitions?.map((e) => exports.StoragePartition.fromPartial(e)) || [];
|
|
8003
|
+
return message;
|
|
8004
|
+
},
|
|
8005
|
+
};
|
|
8006
|
+
function createBaseRemovableStorageErrorFlags() {
|
|
8007
|
+
return {
|
|
8008
|
+
errorMessage: "",
|
|
8009
|
+
noPartitionsFound: false,
|
|
8010
|
+
multiplePartitionsFound: false,
|
|
8011
|
+
wrongFileSystemFound: false,
|
|
8012
|
+
deviceIsReadOnly: false,
|
|
8013
|
+
formattingFailed: false,
|
|
8014
|
+
};
|
|
8015
|
+
}
|
|
8016
|
+
exports.RemovableStorageErrorFlags = {
|
|
8017
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8018
|
+
if (message.errorMessage !== "") {
|
|
8019
|
+
writer.uint32(10).string(message.errorMessage);
|
|
8020
|
+
}
|
|
8021
|
+
if (message.noPartitionsFound !== false) {
|
|
8022
|
+
writer.uint32(16).bool(message.noPartitionsFound);
|
|
8023
|
+
}
|
|
8024
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8025
|
+
writer.uint32(24).bool(message.multiplePartitionsFound);
|
|
8026
|
+
}
|
|
8027
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8028
|
+
writer.uint32(32).bool(message.wrongFileSystemFound);
|
|
8029
|
+
}
|
|
8030
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8031
|
+
writer.uint32(40).bool(message.deviceIsReadOnly);
|
|
8032
|
+
}
|
|
8033
|
+
if (message.formattingFailed !== false) {
|
|
8034
|
+
writer.uint32(48).bool(message.formattingFailed);
|
|
8035
|
+
}
|
|
8036
|
+
return writer;
|
|
8037
|
+
},
|
|
8038
|
+
decode(input, length) {
|
|
8039
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8040
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8041
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8042
|
+
while (reader.pos < end) {
|
|
8043
|
+
const tag = reader.uint32();
|
|
8044
|
+
switch (tag >>> 3) {
|
|
8045
|
+
case 1: {
|
|
8046
|
+
if (tag !== 10) {
|
|
8047
|
+
break;
|
|
8048
|
+
}
|
|
8049
|
+
message.errorMessage = reader.string();
|
|
8050
|
+
continue;
|
|
8051
|
+
}
|
|
8052
|
+
case 2: {
|
|
8053
|
+
if (tag !== 16) {
|
|
8054
|
+
break;
|
|
8055
|
+
}
|
|
8056
|
+
message.noPartitionsFound = reader.bool();
|
|
8057
|
+
continue;
|
|
8058
|
+
}
|
|
8059
|
+
case 3: {
|
|
8060
|
+
if (tag !== 24) {
|
|
8061
|
+
break;
|
|
8062
|
+
}
|
|
8063
|
+
message.multiplePartitionsFound = reader.bool();
|
|
8064
|
+
continue;
|
|
8065
|
+
}
|
|
8066
|
+
case 4: {
|
|
8067
|
+
if (tag !== 32) {
|
|
8068
|
+
break;
|
|
8069
|
+
}
|
|
8070
|
+
message.wrongFileSystemFound = reader.bool();
|
|
8071
|
+
continue;
|
|
8072
|
+
}
|
|
8073
|
+
case 5: {
|
|
8074
|
+
if (tag !== 40) {
|
|
8075
|
+
break;
|
|
8076
|
+
}
|
|
8077
|
+
message.deviceIsReadOnly = reader.bool();
|
|
8078
|
+
continue;
|
|
8079
|
+
}
|
|
8080
|
+
case 6: {
|
|
8081
|
+
if (tag !== 48) {
|
|
8082
|
+
break;
|
|
8083
|
+
}
|
|
8084
|
+
message.formattingFailed = reader.bool();
|
|
8085
|
+
continue;
|
|
8086
|
+
}
|
|
8087
|
+
}
|
|
8088
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8089
|
+
break;
|
|
8090
|
+
}
|
|
8091
|
+
reader.skip(tag & 7);
|
|
8092
|
+
}
|
|
8093
|
+
return message;
|
|
8094
|
+
},
|
|
8095
|
+
fromJSON(object) {
|
|
8096
|
+
return {
|
|
8097
|
+
errorMessage: isSet(object.errorMessage) ? gt.String(object.errorMessage) : "",
|
|
8098
|
+
noPartitionsFound: isSet(object.noPartitionsFound) ? gt.Boolean(object.noPartitionsFound) : false,
|
|
8099
|
+
multiplePartitionsFound: isSet(object.multiplePartitionsFound)
|
|
8100
|
+
? gt.Boolean(object.multiplePartitionsFound)
|
|
8101
|
+
: false,
|
|
8102
|
+
wrongFileSystemFound: isSet(object.wrongFileSystemFound) ? gt.Boolean(object.wrongFileSystemFound) : false,
|
|
8103
|
+
deviceIsReadOnly: isSet(object.deviceIsReadOnly) ? gt.Boolean(object.deviceIsReadOnly) : false,
|
|
8104
|
+
formattingFailed: isSet(object.formattingFailed) ? gt.Boolean(object.formattingFailed) : false,
|
|
8105
|
+
};
|
|
8106
|
+
},
|
|
8107
|
+
toJSON(message) {
|
|
8108
|
+
const obj = {};
|
|
8109
|
+
if (message.errorMessage !== "") {
|
|
8110
|
+
obj.errorMessage = message.errorMessage;
|
|
8111
|
+
}
|
|
8112
|
+
if (message.noPartitionsFound !== false) {
|
|
8113
|
+
obj.noPartitionsFound = message.noPartitionsFound;
|
|
8114
|
+
}
|
|
8115
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8116
|
+
obj.multiplePartitionsFound = message.multiplePartitionsFound;
|
|
8117
|
+
}
|
|
8118
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8119
|
+
obj.wrongFileSystemFound = message.wrongFileSystemFound;
|
|
8120
|
+
}
|
|
8121
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8122
|
+
obj.deviceIsReadOnly = message.deviceIsReadOnly;
|
|
8123
|
+
}
|
|
8124
|
+
if (message.formattingFailed !== false) {
|
|
8125
|
+
obj.formattingFailed = message.formattingFailed;
|
|
8126
|
+
}
|
|
8127
|
+
return obj;
|
|
8128
|
+
},
|
|
8129
|
+
create(base) {
|
|
8130
|
+
return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
|
|
8131
|
+
},
|
|
8132
|
+
fromPartial(object) {
|
|
8133
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8134
|
+
message.errorMessage = object.errorMessage ?? "";
|
|
8135
|
+
message.noPartitionsFound = object.noPartitionsFound ?? false;
|
|
8136
|
+
message.multiplePartitionsFound = object.multiplePartitionsFound ?? false;
|
|
8137
|
+
message.wrongFileSystemFound = object.wrongFileSystemFound ?? false;
|
|
8138
|
+
message.deviceIsReadOnly = object.deviceIsReadOnly ?? false;
|
|
8139
|
+
message.formattingFailed = object.formattingFailed ?? false;
|
|
8140
|
+
return message;
|
|
8141
|
+
},
|
|
8142
|
+
};
|
|
8143
|
+
function createBaseCalibrationState() {
|
|
8144
|
+
return {
|
|
8145
|
+
status: 0,
|
|
8146
|
+
progressXPositive: 0,
|
|
8147
|
+
progressXNegative: 0,
|
|
8148
|
+
progressYPositive: 0,
|
|
8149
|
+
progressYNegative: 0,
|
|
8150
|
+
progressZPositive: 0,
|
|
8151
|
+
progressZNegative: 0,
|
|
8152
|
+
progressThruster: 0,
|
|
8153
|
+
};
|
|
8154
|
+
}
|
|
8155
|
+
exports.CalibrationState = {
|
|
8156
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8157
|
+
if (message.status !== 0) {
|
|
8158
|
+
writer.uint32(8).int32(message.status);
|
|
8159
|
+
}
|
|
8160
|
+
if (message.progressXPositive !== 0) {
|
|
8161
|
+
writer.uint32(21).float(message.progressXPositive);
|
|
8162
|
+
}
|
|
8163
|
+
if (message.progressXNegative !== 0) {
|
|
8164
|
+
writer.uint32(29).float(message.progressXNegative);
|
|
8165
|
+
}
|
|
8166
|
+
if (message.progressYPositive !== 0) {
|
|
8167
|
+
writer.uint32(37).float(message.progressYPositive);
|
|
8168
|
+
}
|
|
8169
|
+
if (message.progressYNegative !== 0) {
|
|
8170
|
+
writer.uint32(45).float(message.progressYNegative);
|
|
8171
|
+
}
|
|
8172
|
+
if (message.progressZPositive !== 0) {
|
|
8173
|
+
writer.uint32(53).float(message.progressZPositive);
|
|
8174
|
+
}
|
|
8175
|
+
if (message.progressZNegative !== 0) {
|
|
8176
|
+
writer.uint32(61).float(message.progressZNegative);
|
|
8177
|
+
}
|
|
8178
|
+
if (message.progressThruster !== 0) {
|
|
8179
|
+
writer.uint32(69).float(message.progressThruster);
|
|
8180
|
+
}
|
|
8181
|
+
return writer;
|
|
8182
|
+
},
|
|
8183
|
+
decode(input, length) {
|
|
8184
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8185
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8186
|
+
const message = createBaseCalibrationState();
|
|
8187
|
+
while (reader.pos < end) {
|
|
8188
|
+
const tag = reader.uint32();
|
|
8189
|
+
switch (tag >>> 3) {
|
|
8190
|
+
case 1: {
|
|
8191
|
+
if (tag !== 8) {
|
|
8192
|
+
break;
|
|
8193
|
+
}
|
|
8194
|
+
message.status = reader.int32();
|
|
8195
|
+
continue;
|
|
8196
|
+
}
|
|
8197
|
+
case 2: {
|
|
8198
|
+
if (tag !== 21) {
|
|
8199
|
+
break;
|
|
8200
|
+
}
|
|
8201
|
+
message.progressXPositive = reader.float();
|
|
8202
|
+
continue;
|
|
8203
|
+
}
|
|
8204
|
+
case 3: {
|
|
8205
|
+
if (tag !== 29) {
|
|
8206
|
+
break;
|
|
8207
|
+
}
|
|
8208
|
+
message.progressXNegative = reader.float();
|
|
8209
|
+
continue;
|
|
8210
|
+
}
|
|
8211
|
+
case 4: {
|
|
8212
|
+
if (tag !== 37) {
|
|
8213
|
+
break;
|
|
8214
|
+
}
|
|
8215
|
+
message.progressYPositive = reader.float();
|
|
8216
|
+
continue;
|
|
8217
|
+
}
|
|
8218
|
+
case 5: {
|
|
8219
|
+
if (tag !== 45) {
|
|
8220
|
+
break;
|
|
8221
|
+
}
|
|
8222
|
+
message.progressYNegative = reader.float();
|
|
8223
|
+
continue;
|
|
8224
|
+
}
|
|
8225
|
+
case 6: {
|
|
8226
|
+
if (tag !== 53) {
|
|
8227
|
+
break;
|
|
8228
|
+
}
|
|
8229
|
+
message.progressZPositive = reader.float();
|
|
8230
|
+
continue;
|
|
8231
|
+
}
|
|
8232
|
+
case 7: {
|
|
8233
|
+
if (tag !== 61) {
|
|
8234
|
+
break;
|
|
8235
|
+
}
|
|
8236
|
+
message.progressZNegative = reader.float();
|
|
8237
|
+
continue;
|
|
8238
|
+
}
|
|
8239
|
+
case 8: {
|
|
8240
|
+
if (tag !== 69) {
|
|
8241
|
+
break;
|
|
8242
|
+
}
|
|
8243
|
+
message.progressThruster = reader.float();
|
|
8244
|
+
continue;
|
|
8245
|
+
}
|
|
8246
|
+
}
|
|
8247
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8248
|
+
break;
|
|
8249
|
+
}
|
|
8250
|
+
reader.skip(tag & 7);
|
|
8251
|
+
}
|
|
8252
|
+
return message;
|
|
8253
|
+
},
|
|
8254
|
+
fromJSON(object) {
|
|
8255
|
+
return {
|
|
8256
|
+
status: isSet(object.status) ? calibrationState_StatusFromJSON(object.status) : 0,
|
|
8257
|
+
progressXPositive: isSet(object.progressXPositive) ? gt.Number(object.progressXPositive) : 0,
|
|
8258
|
+
progressXNegative: isSet(object.progressXNegative) ? gt.Number(object.progressXNegative) : 0,
|
|
8259
|
+
progressYPositive: isSet(object.progressYPositive) ? gt.Number(object.progressYPositive) : 0,
|
|
8260
|
+
progressYNegative: isSet(object.progressYNegative) ? gt.Number(object.progressYNegative) : 0,
|
|
8261
|
+
progressZPositive: isSet(object.progressZPositive) ? gt.Number(object.progressZPositive) : 0,
|
|
8262
|
+
progressZNegative: isSet(object.progressZNegative) ? gt.Number(object.progressZNegative) : 0,
|
|
8263
|
+
progressThruster: isSet(object.progressThruster) ? gt.Number(object.progressThruster) : 0,
|
|
8264
|
+
};
|
|
8265
|
+
},
|
|
8266
|
+
toJSON(message) {
|
|
8267
|
+
const obj = {};
|
|
8268
|
+
if (message.status !== 0) {
|
|
8269
|
+
obj.status = calibrationState_StatusToJSON(message.status);
|
|
8270
|
+
}
|
|
8271
|
+
if (message.progressXPositive !== 0) {
|
|
8272
|
+
obj.progressXPositive = message.progressXPositive;
|
|
8273
|
+
}
|
|
8274
|
+
if (message.progressXNegative !== 0) {
|
|
8275
|
+
obj.progressXNegative = message.progressXNegative;
|
|
8276
|
+
}
|
|
8277
|
+
if (message.progressYPositive !== 0) {
|
|
8278
|
+
obj.progressYPositive = message.progressYPositive;
|
|
8279
|
+
}
|
|
8280
|
+
if (message.progressYNegative !== 0) {
|
|
8281
|
+
obj.progressYNegative = message.progressYNegative;
|
|
8282
|
+
}
|
|
8283
|
+
if (message.progressZPositive !== 0) {
|
|
8284
|
+
obj.progressZPositive = message.progressZPositive;
|
|
8285
|
+
}
|
|
8286
|
+
if (message.progressZNegative !== 0) {
|
|
8287
|
+
obj.progressZNegative = message.progressZNegative;
|
|
8288
|
+
}
|
|
8289
|
+
if (message.progressThruster !== 0) {
|
|
8290
|
+
obj.progressThruster = message.progressThruster;
|
|
8291
|
+
}
|
|
8292
|
+
return obj;
|
|
8293
|
+
},
|
|
8294
|
+
create(base) {
|
|
8295
|
+
return exports.CalibrationState.fromPartial(base ?? {});
|
|
8296
|
+
},
|
|
8297
|
+
fromPartial(object) {
|
|
8298
|
+
const message = createBaseCalibrationState();
|
|
8299
|
+
message.status = object.status ?? 0;
|
|
8300
|
+
message.progressXPositive = object.progressXPositive ?? 0;
|
|
8301
|
+
message.progressXNegative = object.progressXNegative ?? 0;
|
|
8302
|
+
message.progressYPositive = object.progressYPositive ?? 0;
|
|
8303
|
+
message.progressYNegative = object.progressYNegative ?? 0;
|
|
7620
8304
|
message.progressZPositive = object.progressZPositive ?? 0;
|
|
7621
8305
|
message.progressZNegative = object.progressZNegative ?? 0;
|
|
7622
8306
|
message.progressThruster = object.progressThruster ?? 0;
|
|
@@ -8881,11 +9565,19 @@ function createBaseCameraParameters() {
|
|
|
8881
9565
|
whiteBalance: 0,
|
|
8882
9566
|
hue: 0,
|
|
8883
9567
|
gain: 0,
|
|
9568
|
+
brightness: 0,
|
|
9569
|
+
contrast: 0,
|
|
9570
|
+
saturation: 0,
|
|
9571
|
+
gamma: 0,
|
|
9572
|
+
sharpness: 0,
|
|
9573
|
+
backlightCompensation: 0,
|
|
9574
|
+
denoise: 0,
|
|
8884
9575
|
resolution: 0,
|
|
8885
9576
|
streamResolution: 0,
|
|
8886
9577
|
recordingResolution: 0,
|
|
8887
9578
|
framerate: 0,
|
|
8888
9579
|
camera: 0,
|
|
9580
|
+
fixedFramerate: false,
|
|
8889
9581
|
};
|
|
8890
9582
|
}
|
|
8891
9583
|
exports.CameraParameters = {
|
|
@@ -8908,6 +9600,27 @@ exports.CameraParameters = {
|
|
|
8908
9600
|
if (message.gain !== 0) {
|
|
8909
9601
|
writer.uint32(77).float(message.gain);
|
|
8910
9602
|
}
|
|
9603
|
+
if (message.brightness !== 0) {
|
|
9604
|
+
writer.uint32(96).int32(message.brightness);
|
|
9605
|
+
}
|
|
9606
|
+
if (message.contrast !== 0) {
|
|
9607
|
+
writer.uint32(104).int32(message.contrast);
|
|
9608
|
+
}
|
|
9609
|
+
if (message.saturation !== 0) {
|
|
9610
|
+
writer.uint32(112).int32(message.saturation);
|
|
9611
|
+
}
|
|
9612
|
+
if (message.gamma !== 0) {
|
|
9613
|
+
writer.uint32(120).int32(message.gamma);
|
|
9614
|
+
}
|
|
9615
|
+
if (message.sharpness !== 0) {
|
|
9616
|
+
writer.uint32(128).int32(message.sharpness);
|
|
9617
|
+
}
|
|
9618
|
+
if (message.backlightCompensation !== 0) {
|
|
9619
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
9620
|
+
}
|
|
9621
|
+
if (message.denoise !== 0) {
|
|
9622
|
+
writer.uint32(144).int32(message.denoise);
|
|
9623
|
+
}
|
|
8911
9624
|
if (message.resolution !== 0) {
|
|
8912
9625
|
writer.uint32(48).int32(message.resolution);
|
|
8913
9626
|
}
|
|
@@ -8923,6 +9636,9 @@ exports.CameraParameters = {
|
|
|
8923
9636
|
if (message.camera !== 0) {
|
|
8924
9637
|
writer.uint32(64).int32(message.camera);
|
|
8925
9638
|
}
|
|
9639
|
+
if (message.fixedFramerate !== false) {
|
|
9640
|
+
writer.uint32(152).bool(message.fixedFramerate);
|
|
9641
|
+
}
|
|
8926
9642
|
return writer;
|
|
8927
9643
|
},
|
|
8928
9644
|
decode(input, length) {
|
|
@@ -8974,6 +9690,55 @@ exports.CameraParameters = {
|
|
|
8974
9690
|
message.gain = reader.float();
|
|
8975
9691
|
continue;
|
|
8976
9692
|
}
|
|
9693
|
+
case 12: {
|
|
9694
|
+
if (tag !== 96) {
|
|
9695
|
+
break;
|
|
9696
|
+
}
|
|
9697
|
+
message.brightness = reader.int32();
|
|
9698
|
+
continue;
|
|
9699
|
+
}
|
|
9700
|
+
case 13: {
|
|
9701
|
+
if (tag !== 104) {
|
|
9702
|
+
break;
|
|
9703
|
+
}
|
|
9704
|
+
message.contrast = reader.int32();
|
|
9705
|
+
continue;
|
|
9706
|
+
}
|
|
9707
|
+
case 14: {
|
|
9708
|
+
if (tag !== 112) {
|
|
9709
|
+
break;
|
|
9710
|
+
}
|
|
9711
|
+
message.saturation = reader.int32();
|
|
9712
|
+
continue;
|
|
9713
|
+
}
|
|
9714
|
+
case 15: {
|
|
9715
|
+
if (tag !== 120) {
|
|
9716
|
+
break;
|
|
9717
|
+
}
|
|
9718
|
+
message.gamma = reader.int32();
|
|
9719
|
+
continue;
|
|
9720
|
+
}
|
|
9721
|
+
case 16: {
|
|
9722
|
+
if (tag !== 128) {
|
|
9723
|
+
break;
|
|
9724
|
+
}
|
|
9725
|
+
message.sharpness = reader.int32();
|
|
9726
|
+
continue;
|
|
9727
|
+
}
|
|
9728
|
+
case 17: {
|
|
9729
|
+
if (tag !== 136) {
|
|
9730
|
+
break;
|
|
9731
|
+
}
|
|
9732
|
+
message.backlightCompensation = reader.int32();
|
|
9733
|
+
continue;
|
|
9734
|
+
}
|
|
9735
|
+
case 18: {
|
|
9736
|
+
if (tag !== 144) {
|
|
9737
|
+
break;
|
|
9738
|
+
}
|
|
9739
|
+
message.denoise = reader.int32();
|
|
9740
|
+
continue;
|
|
9741
|
+
}
|
|
8977
9742
|
case 6: {
|
|
8978
9743
|
if (tag !== 48) {
|
|
8979
9744
|
break;
|
|
@@ -9009,6 +9774,13 @@ exports.CameraParameters = {
|
|
|
9009
9774
|
message.camera = reader.int32();
|
|
9010
9775
|
continue;
|
|
9011
9776
|
}
|
|
9777
|
+
case 19: {
|
|
9778
|
+
if (tag !== 152) {
|
|
9779
|
+
break;
|
|
9780
|
+
}
|
|
9781
|
+
message.fixedFramerate = reader.bool();
|
|
9782
|
+
continue;
|
|
9783
|
+
}
|
|
9012
9784
|
}
|
|
9013
9785
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9014
9786
|
break;
|
|
@@ -9025,11 +9797,19 @@ exports.CameraParameters = {
|
|
|
9025
9797
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9026
9798
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9027
9799
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
9800
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
9801
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
9802
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
9803
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
9804
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
9805
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
9806
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
9028
9807
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9029
9808
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9030
9809
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
9031
9810
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9032
9811
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9812
|
+
fixedFramerate: isSet(object.fixedFramerate) ? gt.Boolean(object.fixedFramerate) : false,
|
|
9033
9813
|
};
|
|
9034
9814
|
},
|
|
9035
9815
|
toJSON(message) {
|
|
@@ -9052,6 +9832,27 @@ exports.CameraParameters = {
|
|
|
9052
9832
|
if (message.gain !== 0) {
|
|
9053
9833
|
obj.gain = message.gain;
|
|
9054
9834
|
}
|
|
9835
|
+
if (message.brightness !== 0) {
|
|
9836
|
+
obj.brightness = Math.round(message.brightness);
|
|
9837
|
+
}
|
|
9838
|
+
if (message.contrast !== 0) {
|
|
9839
|
+
obj.contrast = Math.round(message.contrast);
|
|
9840
|
+
}
|
|
9841
|
+
if (message.saturation !== 0) {
|
|
9842
|
+
obj.saturation = Math.round(message.saturation);
|
|
9843
|
+
}
|
|
9844
|
+
if (message.gamma !== 0) {
|
|
9845
|
+
obj.gamma = Math.round(message.gamma);
|
|
9846
|
+
}
|
|
9847
|
+
if (message.sharpness !== 0) {
|
|
9848
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
9849
|
+
}
|
|
9850
|
+
if (message.backlightCompensation !== 0) {
|
|
9851
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
9852
|
+
}
|
|
9853
|
+
if (message.denoise !== 0) {
|
|
9854
|
+
obj.denoise = Math.round(message.denoise);
|
|
9855
|
+
}
|
|
9055
9856
|
if (message.resolution !== 0) {
|
|
9056
9857
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9057
9858
|
}
|
|
@@ -9067,6 +9868,9 @@ exports.CameraParameters = {
|
|
|
9067
9868
|
if (message.camera !== 0) {
|
|
9068
9869
|
obj.camera = cameraToJSON(message.camera);
|
|
9069
9870
|
}
|
|
9871
|
+
if (message.fixedFramerate !== false) {
|
|
9872
|
+
obj.fixedFramerate = message.fixedFramerate;
|
|
9873
|
+
}
|
|
9070
9874
|
return obj;
|
|
9071
9875
|
},
|
|
9072
9876
|
create(base) {
|
|
@@ -9080,11 +9884,19 @@ exports.CameraParameters = {
|
|
|
9080
9884
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9081
9885
|
message.hue = object.hue ?? 0;
|
|
9082
9886
|
message.gain = object.gain ?? 0;
|
|
9887
|
+
message.brightness = object.brightness ?? 0;
|
|
9888
|
+
message.contrast = object.contrast ?? 0;
|
|
9889
|
+
message.saturation = object.saturation ?? 0;
|
|
9890
|
+
message.gamma = object.gamma ?? 0;
|
|
9891
|
+
message.sharpness = object.sharpness ?? 0;
|
|
9892
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
9893
|
+
message.denoise = object.denoise ?? 0;
|
|
9083
9894
|
message.resolution = object.resolution ?? 0;
|
|
9084
9895
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9085
9896
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
9086
9897
|
message.framerate = object.framerate ?? 0;
|
|
9087
9898
|
message.camera = object.camera ?? 0;
|
|
9899
|
+
message.fixedFramerate = object.fixedFramerate ?? false;
|
|
9088
9900
|
return message;
|
|
9089
9901
|
},
|
|
9090
9902
|
};
|
|
@@ -11828,7 +12640,7 @@ exports.PersistentStorageSettings = {
|
|
|
11828
12640
|
},
|
|
11829
12641
|
};
|
|
11830
12642
|
function createBaseCPUInfo() {
|
|
11831
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12643
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
11832
12644
|
}
|
|
11833
12645
|
exports.CPUInfo = {
|
|
11834
12646
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -11844,6 +12656,9 @@ exports.CPUInfo = {
|
|
|
11844
12656
|
if (message.guestportQueueLoad !== 0) {
|
|
11845
12657
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
11846
12658
|
}
|
|
12659
|
+
if (message.commQueueLoad !== 0) {
|
|
12660
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12661
|
+
}
|
|
11847
12662
|
return writer;
|
|
11848
12663
|
},
|
|
11849
12664
|
decode(input, length) {
|
|
@@ -11881,6 +12696,13 @@ exports.CPUInfo = {
|
|
|
11881
12696
|
message.guestportQueueLoad = reader.float();
|
|
11882
12697
|
continue;
|
|
11883
12698
|
}
|
|
12699
|
+
case 5: {
|
|
12700
|
+
if (tag !== 45) {
|
|
12701
|
+
break;
|
|
12702
|
+
}
|
|
12703
|
+
message.commQueueLoad = reader.float();
|
|
12704
|
+
continue;
|
|
12705
|
+
}
|
|
11884
12706
|
}
|
|
11885
12707
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11886
12708
|
break;
|
|
@@ -11895,6 +12717,7 @@ exports.CPUInfo = {
|
|
|
11895
12717
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
11896
12718
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
11897
12719
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12720
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
11898
12721
|
};
|
|
11899
12722
|
},
|
|
11900
12723
|
toJSON(message) {
|
|
@@ -11911,6 +12734,9 @@ exports.CPUInfo = {
|
|
|
11911
12734
|
if (message.guestportQueueLoad !== 0) {
|
|
11912
12735
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
11913
12736
|
}
|
|
12737
|
+
if (message.commQueueLoad !== 0) {
|
|
12738
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12739
|
+
}
|
|
11914
12740
|
return obj;
|
|
11915
12741
|
},
|
|
11916
12742
|
create(base) {
|
|
@@ -11922,6 +12748,126 @@ exports.CPUInfo = {
|
|
|
11922
12748
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
11923
12749
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
11924
12750
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12751
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12752
|
+
return message;
|
|
12753
|
+
},
|
|
12754
|
+
};
|
|
12755
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
12756
|
+
return { status: 0, level: 0 };
|
|
12757
|
+
}
|
|
12758
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
12759
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12760
|
+
if (message.status !== 0) {
|
|
12761
|
+
writer.uint32(8).int32(message.status);
|
|
12762
|
+
}
|
|
12763
|
+
if (message.level !== 0) {
|
|
12764
|
+
writer.uint32(21).float(message.level);
|
|
12765
|
+
}
|
|
12766
|
+
return writer;
|
|
12767
|
+
},
|
|
12768
|
+
decode(input, length) {
|
|
12769
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12770
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12771
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12772
|
+
while (reader.pos < end) {
|
|
12773
|
+
const tag = reader.uint32();
|
|
12774
|
+
switch (tag >>> 3) {
|
|
12775
|
+
case 1: {
|
|
12776
|
+
if (tag !== 8) {
|
|
12777
|
+
break;
|
|
12778
|
+
}
|
|
12779
|
+
message.status = reader.int32();
|
|
12780
|
+
continue;
|
|
12781
|
+
}
|
|
12782
|
+
case 2: {
|
|
12783
|
+
if (tag !== 21) {
|
|
12784
|
+
break;
|
|
12785
|
+
}
|
|
12786
|
+
message.level = reader.float();
|
|
12787
|
+
continue;
|
|
12788
|
+
}
|
|
12789
|
+
}
|
|
12790
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12791
|
+
break;
|
|
12792
|
+
}
|
|
12793
|
+
reader.skip(tag & 7);
|
|
12794
|
+
}
|
|
12795
|
+
return message;
|
|
12796
|
+
},
|
|
12797
|
+
fromJSON(object) {
|
|
12798
|
+
return {
|
|
12799
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
12800
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
12801
|
+
};
|
|
12802
|
+
},
|
|
12803
|
+
toJSON(message) {
|
|
12804
|
+
const obj = {};
|
|
12805
|
+
if (message.status !== 0) {
|
|
12806
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
12807
|
+
}
|
|
12808
|
+
if (message.level !== 0) {
|
|
12809
|
+
obj.level = message.level;
|
|
12810
|
+
}
|
|
12811
|
+
return obj;
|
|
12812
|
+
},
|
|
12813
|
+
create(base) {
|
|
12814
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
12815
|
+
},
|
|
12816
|
+
fromPartial(object) {
|
|
12817
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12818
|
+
message.status = object.status ?? 0;
|
|
12819
|
+
message.level = object.level ?? 0;
|
|
12820
|
+
return message;
|
|
12821
|
+
},
|
|
12822
|
+
};
|
|
12823
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
12824
|
+
return { version: "" };
|
|
12825
|
+
}
|
|
12826
|
+
exports.SurfaceUnitVersionInfo = {
|
|
12827
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12828
|
+
if (message.version !== "") {
|
|
12829
|
+
writer.uint32(10).string(message.version);
|
|
12830
|
+
}
|
|
12831
|
+
return writer;
|
|
12832
|
+
},
|
|
12833
|
+
decode(input, length) {
|
|
12834
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12835
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12836
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12837
|
+
while (reader.pos < end) {
|
|
12838
|
+
const tag = reader.uint32();
|
|
12839
|
+
switch (tag >>> 3) {
|
|
12840
|
+
case 1: {
|
|
12841
|
+
if (tag !== 10) {
|
|
12842
|
+
break;
|
|
12843
|
+
}
|
|
12844
|
+
message.version = reader.string();
|
|
12845
|
+
continue;
|
|
12846
|
+
}
|
|
12847
|
+
}
|
|
12848
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12849
|
+
break;
|
|
12850
|
+
}
|
|
12851
|
+
reader.skip(tag & 7);
|
|
12852
|
+
}
|
|
12853
|
+
return message;
|
|
12854
|
+
},
|
|
12855
|
+
fromJSON(object) {
|
|
12856
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
12857
|
+
},
|
|
12858
|
+
toJSON(message) {
|
|
12859
|
+
const obj = {};
|
|
12860
|
+
if (message.version !== "") {
|
|
12861
|
+
obj.version = message.version;
|
|
12862
|
+
}
|
|
12863
|
+
return obj;
|
|
12864
|
+
},
|
|
12865
|
+
create(base) {
|
|
12866
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
12867
|
+
},
|
|
12868
|
+
fromPartial(object) {
|
|
12869
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12870
|
+
message.version = object.version ?? "";
|
|
11925
12871
|
return message;
|
|
11926
12872
|
},
|
|
11927
12873
|
};
|