@blueyerobotics/protocol-definitions 3.3.0-991d560c → 3.3.0-9bfb9893
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/dist/control.d.ts +31 -2
- package/dist/control.js +147 -3
- package/dist/message_formats.d.ts +280 -12
- package/dist/message_formats.js +2078 -410
- package/dist/req_rep.d.ts +30 -2
- package/dist/req_rep.js +202 -2
- package/dist/telemetry.d.ts +31 -1
- package/dist/telemetry.js +233 -2
- package/package.json +1 -1
package/dist/message_formats.js
CHANGED
|
@@ -5,10 +5,14 @@
|
|
|
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.
|
|
11
|
-
exports.Annotation = exports.SotState = exports.OperatorInfo = exports.CameraPanTiltZoom = exports.FilterMessage = exports.ModelDetections = exports.ObjectDetection = exports.SegmentationMask = void 0;
|
|
8
|
+
exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SotState_State = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CvModelInfo_State = exports.CvModelInfo_ModelType = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.AnnotationSource = exports.ThermalZoneId = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.GnssConstellation = exports.GnssFixMode = exports.NavigationSensorID = exports.GuestPortCapability = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.RecordingCodec = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PowerSource = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = exports.ManipulatorPose = exports.ManipulatorControlMode = void 0;
|
|
9
|
+
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.PowerCanister_Sensors = exports.PowerCanister = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.Gripper = exports.KnownPoseManipulatorInput = exports.CylindricalManipulatorInput = exports.CartesianManipulatorInput = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.VisionTrackingState = exports.OrbitState = exports.ActiveTrackState = exports.SpotlightState = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.LaserDetection = exports.Point2D = exports.Laser = exports.Lights = exports.MotionInput = void 0;
|
|
10
|
+
exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamColorFilter = 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.GnssStatus = exports.GnssSatellite = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.CameraCalibration = exports.CvModelInfo = 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 = void 0;
|
|
11
|
+
exports.Annotation = exports.SotState = exports.OperatorInfo = exports.CameraPanTiltZoom = exports.MarineSnowFilterFrames = exports.FilterMessage = exports.ModelDetections = exports.ObjectDetection = exports.SegmentationMask = exports.BoundingBox = exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.SystemPerformanceInfo = exports.NvmeInfo = exports.VideoCodecInfo = exports.ThermalZone = exports.MemoryInfo = exports.DlaInfo = exports.GpuInfo = exports.CpuCoreLoad = exports.CPUInfo = exports.PersistentStorageSettings = void 0;
|
|
12
|
+
exports.manipulatorControlModeFromJSON = manipulatorControlModeFromJSON;
|
|
13
|
+
exports.manipulatorControlModeToJSON = manipulatorControlModeToJSON;
|
|
14
|
+
exports.manipulatorPoseFromJSON = manipulatorPoseFromJSON;
|
|
15
|
+
exports.manipulatorPoseToJSON = manipulatorPoseToJSON;
|
|
12
16
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
13
17
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
14
18
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -59,6 +63,10 @@ exports.guestPortCapabilityFromJSON = guestPortCapabilityFromJSON;
|
|
|
59
63
|
exports.guestPortCapabilityToJSON = guestPortCapabilityToJSON;
|
|
60
64
|
exports.navigationSensorIDFromJSON = navigationSensorIDFromJSON;
|
|
61
65
|
exports.navigationSensorIDToJSON = navigationSensorIDToJSON;
|
|
66
|
+
exports.gnssFixModeFromJSON = gnssFixModeFromJSON;
|
|
67
|
+
exports.gnssFixModeToJSON = gnssFixModeToJSON;
|
|
68
|
+
exports.gnssConstellationFromJSON = gnssConstellationFromJSON;
|
|
69
|
+
exports.gnssConstellationToJSON = gnssConstellationToJSON;
|
|
62
70
|
exports.guestPortDetachStatusFromJSON = guestPortDetachStatusFromJSON;
|
|
63
71
|
exports.guestPortDetachStatusToJSON = guestPortDetachStatusToJSON;
|
|
64
72
|
exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
@@ -103,6 +111,95 @@ const timestamp_1 = require("./google/protobuf/timestamp");
|
|
|
103
111
|
*
|
|
104
112
|
* These are used for logging as well as building requests and responses.
|
|
105
113
|
*/
|
|
114
|
+
/** How the arm input of the last command was read, as reported in telemetry. */
|
|
115
|
+
var ManipulatorControlMode;
|
|
116
|
+
(function (ManipulatorControlMode) {
|
|
117
|
+
/** MANIPULATOR_CONTROL_MODE_UNSPECIFIED - No arm input. */
|
|
118
|
+
ManipulatorControlMode[ManipulatorControlMode["MANIPULATOR_CONTROL_MODE_UNSPECIFIED"] = 0] = "MANIPULATOR_CONTROL_MODE_UNSPECIFIED";
|
|
119
|
+
/** MANIPULATOR_CONTROL_MODE_CYLINDRICAL - CylindricalManipulatorInput. */
|
|
120
|
+
ManipulatorControlMode[ManipulatorControlMode["MANIPULATOR_CONTROL_MODE_CYLINDRICAL"] = 1] = "MANIPULATOR_CONTROL_MODE_CYLINDRICAL";
|
|
121
|
+
/** MANIPULATOR_CONTROL_MODE_CARTESIAN - CartesianManipulatorInput. */
|
|
122
|
+
ManipulatorControlMode[ManipulatorControlMode["MANIPULATOR_CONTROL_MODE_CARTESIAN"] = 2] = "MANIPULATOR_CONTROL_MODE_CARTESIAN";
|
|
123
|
+
/** MANIPULATOR_CONTROL_MODE_KNOWN_POSE - KnownPoseManipulatorInput. */
|
|
124
|
+
ManipulatorControlMode[ManipulatorControlMode["MANIPULATOR_CONTROL_MODE_KNOWN_POSE"] = 3] = "MANIPULATOR_CONTROL_MODE_KNOWN_POSE";
|
|
125
|
+
ManipulatorControlMode[ManipulatorControlMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
126
|
+
})(ManipulatorControlMode || (exports.ManipulatorControlMode = ManipulatorControlMode = {}));
|
|
127
|
+
function manipulatorControlModeFromJSON(object) {
|
|
128
|
+
switch (object) {
|
|
129
|
+
case 0:
|
|
130
|
+
case "MANIPULATOR_CONTROL_MODE_UNSPECIFIED":
|
|
131
|
+
return ManipulatorControlMode.MANIPULATOR_CONTROL_MODE_UNSPECIFIED;
|
|
132
|
+
case 1:
|
|
133
|
+
case "MANIPULATOR_CONTROL_MODE_CYLINDRICAL":
|
|
134
|
+
return ManipulatorControlMode.MANIPULATOR_CONTROL_MODE_CYLINDRICAL;
|
|
135
|
+
case 2:
|
|
136
|
+
case "MANIPULATOR_CONTROL_MODE_CARTESIAN":
|
|
137
|
+
return ManipulatorControlMode.MANIPULATOR_CONTROL_MODE_CARTESIAN;
|
|
138
|
+
case 3:
|
|
139
|
+
case "MANIPULATOR_CONTROL_MODE_KNOWN_POSE":
|
|
140
|
+
return ManipulatorControlMode.MANIPULATOR_CONTROL_MODE_KNOWN_POSE;
|
|
141
|
+
case -1:
|
|
142
|
+
case "UNRECOGNIZED":
|
|
143
|
+
default:
|
|
144
|
+
return ManipulatorControlMode.UNRECOGNIZED;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
function manipulatorControlModeToJSON(object) {
|
|
148
|
+
switch (object) {
|
|
149
|
+
case ManipulatorControlMode.MANIPULATOR_CONTROL_MODE_UNSPECIFIED:
|
|
150
|
+
return "MANIPULATOR_CONTROL_MODE_UNSPECIFIED";
|
|
151
|
+
case ManipulatorControlMode.MANIPULATOR_CONTROL_MODE_CYLINDRICAL:
|
|
152
|
+
return "MANIPULATOR_CONTROL_MODE_CYLINDRICAL";
|
|
153
|
+
case ManipulatorControlMode.MANIPULATOR_CONTROL_MODE_CARTESIAN:
|
|
154
|
+
return "MANIPULATOR_CONTROL_MODE_CARTESIAN";
|
|
155
|
+
case ManipulatorControlMode.MANIPULATOR_CONTROL_MODE_KNOWN_POSE:
|
|
156
|
+
return "MANIPULATOR_CONTROL_MODE_KNOWN_POSE";
|
|
157
|
+
case ManipulatorControlMode.UNRECOGNIZED:
|
|
158
|
+
default:
|
|
159
|
+
return "UNRECOGNIZED";
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
/** Named manipulator poses. */
|
|
163
|
+
var ManipulatorPose;
|
|
164
|
+
(function (ManipulatorPose) {
|
|
165
|
+
/** MANIPULATOR_POSE_UNSPECIFIED - No pose. */
|
|
166
|
+
ManipulatorPose[ManipulatorPose["MANIPULATOR_POSE_UNSPECIFIED"] = 0] = "MANIPULATOR_POSE_UNSPECIFIED";
|
|
167
|
+
/** MANIPULATOR_POSE_STOWED - Folded for transport, launch and recovery. */
|
|
168
|
+
ManipulatorPose[ManipulatorPose["MANIPULATOR_POSE_STOWED"] = 1] = "MANIPULATOR_POSE_STOWED";
|
|
169
|
+
/** MANIPULATOR_POSE_DEPLOYED - Unfolded and ready to work. */
|
|
170
|
+
ManipulatorPose[ManipulatorPose["MANIPULATOR_POSE_DEPLOYED"] = 2] = "MANIPULATOR_POSE_DEPLOYED";
|
|
171
|
+
ManipulatorPose[ManipulatorPose["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
172
|
+
})(ManipulatorPose || (exports.ManipulatorPose = ManipulatorPose = {}));
|
|
173
|
+
function manipulatorPoseFromJSON(object) {
|
|
174
|
+
switch (object) {
|
|
175
|
+
case 0:
|
|
176
|
+
case "MANIPULATOR_POSE_UNSPECIFIED":
|
|
177
|
+
return ManipulatorPose.MANIPULATOR_POSE_UNSPECIFIED;
|
|
178
|
+
case 1:
|
|
179
|
+
case "MANIPULATOR_POSE_STOWED":
|
|
180
|
+
return ManipulatorPose.MANIPULATOR_POSE_STOWED;
|
|
181
|
+
case 2:
|
|
182
|
+
case "MANIPULATOR_POSE_DEPLOYED":
|
|
183
|
+
return ManipulatorPose.MANIPULATOR_POSE_DEPLOYED;
|
|
184
|
+
case -1:
|
|
185
|
+
case "UNRECOGNIZED":
|
|
186
|
+
default:
|
|
187
|
+
return ManipulatorPose.UNRECOGNIZED;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
function manipulatorPoseToJSON(object) {
|
|
191
|
+
switch (object) {
|
|
192
|
+
case ManipulatorPose.MANIPULATOR_POSE_UNSPECIFIED:
|
|
193
|
+
return "MANIPULATOR_POSE_UNSPECIFIED";
|
|
194
|
+
case ManipulatorPose.MANIPULATOR_POSE_STOWED:
|
|
195
|
+
return "MANIPULATOR_POSE_STOWED";
|
|
196
|
+
case ManipulatorPose.MANIPULATOR_POSE_DEPLOYED:
|
|
197
|
+
return "MANIPULATOR_POSE_DEPLOYED";
|
|
198
|
+
case ManipulatorPose.UNRECOGNIZED:
|
|
199
|
+
default:
|
|
200
|
+
return "UNRECOGNIZED";
|
|
201
|
+
}
|
|
202
|
+
}
|
|
106
203
|
/** Interval type for time-lapse photos. */
|
|
107
204
|
var IntervalType;
|
|
108
205
|
(function (IntervalType) {
|
|
@@ -386,6 +483,8 @@ var NotificationType;
|
|
|
386
483
|
NotificationType[NotificationType["NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED"] = 32] = "NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED";
|
|
387
484
|
/** NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED - Video partition not mounted. */
|
|
388
485
|
NotificationType[NotificationType["NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED"] = 33] = "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED";
|
|
486
|
+
/** NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED - DVL firmware speaks a protocol version Blunux does not support. */
|
|
487
|
+
NotificationType[NotificationType["NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED"] = 34] = "NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED";
|
|
389
488
|
NotificationType[NotificationType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
390
489
|
})(NotificationType || (exports.NotificationType = NotificationType = {}));
|
|
391
490
|
function notificationTypeFromJSON(object) {
|
|
@@ -492,6 +591,9 @@ function notificationTypeFromJSON(object) {
|
|
|
492
591
|
case 33:
|
|
493
592
|
case "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED":
|
|
494
593
|
return NotificationType.NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED;
|
|
594
|
+
case 34:
|
|
595
|
+
case "NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED":
|
|
596
|
+
return NotificationType.NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED;
|
|
495
597
|
case -1:
|
|
496
598
|
case "UNRECOGNIZED":
|
|
497
599
|
default:
|
|
@@ -568,6 +670,8 @@ function notificationTypeToJSON(object) {
|
|
|
568
670
|
return "NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED";
|
|
569
671
|
case NotificationType.NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED:
|
|
570
672
|
return "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED";
|
|
673
|
+
case NotificationType.NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED:
|
|
674
|
+
return "NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED";
|
|
571
675
|
case NotificationType.UNRECOGNIZED:
|
|
572
676
|
default:
|
|
573
677
|
return "UNRECOGNIZED";
|
|
@@ -910,7 +1014,7 @@ function resolutionToJSON(object) {
|
|
|
910
1014
|
* Available camera frame rates.
|
|
911
1015
|
*
|
|
912
1016
|
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
913
|
-
* the frame rate will be reduced while the resolution is respected.
|
|
1017
|
+
* the frame rate will be reduced while the resolution is respected: 60 to 30 and 50 to 25.
|
|
914
1018
|
*/
|
|
915
1019
|
var Framerate;
|
|
916
1020
|
(function (Framerate) {
|
|
@@ -918,10 +1022,12 @@ var Framerate;
|
|
|
918
1022
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
919
1023
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
920
1024
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
921
|
-
/** FRAMERATE_FPS_25 - 25 frames per second.
|
|
1025
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
922
1026
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
923
1027
|
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
924
1028
|
Framerate[Framerate["FRAMERATE_FPS_60"] = 3] = "FRAMERATE_FPS_60";
|
|
1029
|
+
/** FRAMERATE_FPS_50 - 50 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
1030
|
+
Framerate[Framerate["FRAMERATE_FPS_50"] = 4] = "FRAMERATE_FPS_50";
|
|
925
1031
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
926
1032
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
927
1033
|
function framerateFromJSON(object) {
|
|
@@ -938,6 +1044,9 @@ function framerateFromJSON(object) {
|
|
|
938
1044
|
case 3:
|
|
939
1045
|
case "FRAMERATE_FPS_60":
|
|
940
1046
|
return Framerate.FRAMERATE_FPS_60;
|
|
1047
|
+
case 4:
|
|
1048
|
+
case "FRAMERATE_FPS_50":
|
|
1049
|
+
return Framerate.FRAMERATE_FPS_50;
|
|
941
1050
|
case -1:
|
|
942
1051
|
case "UNRECOGNIZED":
|
|
943
1052
|
default:
|
|
@@ -954,6 +1063,8 @@ function framerateToJSON(object) {
|
|
|
954
1063
|
return "FRAMERATE_FPS_25";
|
|
955
1064
|
case Framerate.FRAMERATE_FPS_60:
|
|
956
1065
|
return "FRAMERATE_FPS_60";
|
|
1066
|
+
case Framerate.FRAMERATE_FPS_50:
|
|
1067
|
+
return "FRAMERATE_FPS_50";
|
|
957
1068
|
case Framerate.UNRECOGNIZED:
|
|
958
1069
|
default:
|
|
959
1070
|
return "UNRECOGNIZED";
|
|
@@ -1255,7 +1366,10 @@ function thicknessUnitToJSON(object) {
|
|
|
1255
1366
|
/** Available font sizes for overlay text elements. */
|
|
1256
1367
|
var FontSize;
|
|
1257
1368
|
(function (FontSize) {
|
|
1258
|
-
/**
|
|
1369
|
+
/**
|
|
1370
|
+
* FONT_SIZE_UNSPECIFIED - Font size and margins derived from the recording resolution (Blunux >= 5.2).
|
|
1371
|
+
* Older firmware defaults to 25px.
|
|
1372
|
+
*/
|
|
1259
1373
|
FontSize[FontSize["FONT_SIZE_UNSPECIFIED"] = 0] = "FONT_SIZE_UNSPECIFIED";
|
|
1260
1374
|
/** FONT_SIZE_PX15 - 15 px. */
|
|
1261
1375
|
FontSize[FontSize["FONT_SIZE_PX15"] = 1] = "FONT_SIZE_PX15";
|
|
@@ -1436,6 +1550,10 @@ var GuestPortDeviceID;
|
|
|
1436
1550
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232"] = 49] = "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232";
|
|
1437
1551
|
/** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
|
|
1438
1552
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100"] = 50] = "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100";
|
|
1553
|
+
/** GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200 - Outland Technology MP-200 Manipulator. */
|
|
1554
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200"] = 51] = "GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200";
|
|
1555
|
+
/** GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5 - Reach Robotics Reach Alpha 5 Manipulator. */
|
|
1556
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5"] = 52] = "GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5";
|
|
1439
1557
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1440
1558
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1441
1559
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1593,6 +1711,12 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1593
1711
|
case 50:
|
|
1594
1712
|
case "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100":
|
|
1595
1713
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100;
|
|
1714
|
+
case 51:
|
|
1715
|
+
case "GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200":
|
|
1716
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200;
|
|
1717
|
+
case 52:
|
|
1718
|
+
case "GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5":
|
|
1719
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5;
|
|
1596
1720
|
case -1:
|
|
1597
1721
|
case "UNRECOGNIZED":
|
|
1598
1722
|
default:
|
|
@@ -1703,6 +1827,10 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1703
1827
|
return "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232";
|
|
1704
1828
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100:
|
|
1705
1829
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100";
|
|
1830
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200:
|
|
1831
|
+
return "GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200";
|
|
1832
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5:
|
|
1833
|
+
return "GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5";
|
|
1706
1834
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1707
1835
|
default:
|
|
1708
1836
|
return "UNRECOGNIZED";
|
|
@@ -1934,6 +2062,109 @@ function navigationSensorIDToJSON(object) {
|
|
|
1934
2062
|
return "UNRECOGNIZED";
|
|
1935
2063
|
}
|
|
1936
2064
|
}
|
|
2065
|
+
/** Position fix mode reported by the NMEA GSA sentence. */
|
|
2066
|
+
var GnssFixMode;
|
|
2067
|
+
(function (GnssFixMode) {
|
|
2068
|
+
/** GNSS_FIX_MODE_UNSPECIFIED - No GSA sentence has been received. */
|
|
2069
|
+
GnssFixMode[GnssFixMode["GNSS_FIX_MODE_UNSPECIFIED"] = 0] = "GNSS_FIX_MODE_UNSPECIFIED";
|
|
2070
|
+
/** GNSS_FIX_MODE_NO_FIX - The receiver has no position fix. */
|
|
2071
|
+
GnssFixMode[GnssFixMode["GNSS_FIX_MODE_NO_FIX"] = 1] = "GNSS_FIX_MODE_NO_FIX";
|
|
2072
|
+
/** GNSS_FIX_MODE_2D - Horizontal fix only, no usable altitude. */
|
|
2073
|
+
GnssFixMode[GnssFixMode["GNSS_FIX_MODE_2D"] = 2] = "GNSS_FIX_MODE_2D";
|
|
2074
|
+
/** GNSS_FIX_MODE_3D - Full three dimensional fix. */
|
|
2075
|
+
GnssFixMode[GnssFixMode["GNSS_FIX_MODE_3D"] = 3] = "GNSS_FIX_MODE_3D";
|
|
2076
|
+
GnssFixMode[GnssFixMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2077
|
+
})(GnssFixMode || (exports.GnssFixMode = GnssFixMode = {}));
|
|
2078
|
+
function gnssFixModeFromJSON(object) {
|
|
2079
|
+
switch (object) {
|
|
2080
|
+
case 0:
|
|
2081
|
+
case "GNSS_FIX_MODE_UNSPECIFIED":
|
|
2082
|
+
return GnssFixMode.GNSS_FIX_MODE_UNSPECIFIED;
|
|
2083
|
+
case 1:
|
|
2084
|
+
case "GNSS_FIX_MODE_NO_FIX":
|
|
2085
|
+
return GnssFixMode.GNSS_FIX_MODE_NO_FIX;
|
|
2086
|
+
case 2:
|
|
2087
|
+
case "GNSS_FIX_MODE_2D":
|
|
2088
|
+
return GnssFixMode.GNSS_FIX_MODE_2D;
|
|
2089
|
+
case 3:
|
|
2090
|
+
case "GNSS_FIX_MODE_3D":
|
|
2091
|
+
return GnssFixMode.GNSS_FIX_MODE_3D;
|
|
2092
|
+
case -1:
|
|
2093
|
+
case "UNRECOGNIZED":
|
|
2094
|
+
default:
|
|
2095
|
+
return GnssFixMode.UNRECOGNIZED;
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
function gnssFixModeToJSON(object) {
|
|
2099
|
+
switch (object) {
|
|
2100
|
+
case GnssFixMode.GNSS_FIX_MODE_UNSPECIFIED:
|
|
2101
|
+
return "GNSS_FIX_MODE_UNSPECIFIED";
|
|
2102
|
+
case GnssFixMode.GNSS_FIX_MODE_NO_FIX:
|
|
2103
|
+
return "GNSS_FIX_MODE_NO_FIX";
|
|
2104
|
+
case GnssFixMode.GNSS_FIX_MODE_2D:
|
|
2105
|
+
return "GNSS_FIX_MODE_2D";
|
|
2106
|
+
case GnssFixMode.GNSS_FIX_MODE_3D:
|
|
2107
|
+
return "GNSS_FIX_MODE_3D";
|
|
2108
|
+
case GnssFixMode.UNRECOGNIZED:
|
|
2109
|
+
default:
|
|
2110
|
+
return "UNRECOGNIZED";
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
/** GNSS constellation a satellite belongs to. */
|
|
2114
|
+
var GnssConstellation;
|
|
2115
|
+
(function (GnssConstellation) {
|
|
2116
|
+
/** GNSS_CONSTELLATION_UNSPECIFIED - Unspecified. */
|
|
2117
|
+
GnssConstellation[GnssConstellation["GNSS_CONSTELLATION_UNSPECIFIED"] = 0] = "GNSS_CONSTELLATION_UNSPECIFIED";
|
|
2118
|
+
/** GNSS_CONSTELLATION_GPS - GPS. */
|
|
2119
|
+
GnssConstellation[GnssConstellation["GNSS_CONSTELLATION_GPS"] = 1] = "GNSS_CONSTELLATION_GPS";
|
|
2120
|
+
/** GNSS_CONSTELLATION_GLONASS - GLONASS. */
|
|
2121
|
+
GnssConstellation[GnssConstellation["GNSS_CONSTELLATION_GLONASS"] = 2] = "GNSS_CONSTELLATION_GLONASS";
|
|
2122
|
+
/** GNSS_CONSTELLATION_GALILEO - Galileo. */
|
|
2123
|
+
GnssConstellation[GnssConstellation["GNSS_CONSTELLATION_GALILEO"] = 3] = "GNSS_CONSTELLATION_GALILEO";
|
|
2124
|
+
/** GNSS_CONSTELLATION_BEIDOU - BeiDou. */
|
|
2125
|
+
GnssConstellation[GnssConstellation["GNSS_CONSTELLATION_BEIDOU"] = 4] = "GNSS_CONSTELLATION_BEIDOU";
|
|
2126
|
+
GnssConstellation[GnssConstellation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2127
|
+
})(GnssConstellation || (exports.GnssConstellation = GnssConstellation = {}));
|
|
2128
|
+
function gnssConstellationFromJSON(object) {
|
|
2129
|
+
switch (object) {
|
|
2130
|
+
case 0:
|
|
2131
|
+
case "GNSS_CONSTELLATION_UNSPECIFIED":
|
|
2132
|
+
return GnssConstellation.GNSS_CONSTELLATION_UNSPECIFIED;
|
|
2133
|
+
case 1:
|
|
2134
|
+
case "GNSS_CONSTELLATION_GPS":
|
|
2135
|
+
return GnssConstellation.GNSS_CONSTELLATION_GPS;
|
|
2136
|
+
case 2:
|
|
2137
|
+
case "GNSS_CONSTELLATION_GLONASS":
|
|
2138
|
+
return GnssConstellation.GNSS_CONSTELLATION_GLONASS;
|
|
2139
|
+
case 3:
|
|
2140
|
+
case "GNSS_CONSTELLATION_GALILEO":
|
|
2141
|
+
return GnssConstellation.GNSS_CONSTELLATION_GALILEO;
|
|
2142
|
+
case 4:
|
|
2143
|
+
case "GNSS_CONSTELLATION_BEIDOU":
|
|
2144
|
+
return GnssConstellation.GNSS_CONSTELLATION_BEIDOU;
|
|
2145
|
+
case -1:
|
|
2146
|
+
case "UNRECOGNIZED":
|
|
2147
|
+
default:
|
|
2148
|
+
return GnssConstellation.UNRECOGNIZED;
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
function gnssConstellationToJSON(object) {
|
|
2152
|
+
switch (object) {
|
|
2153
|
+
case GnssConstellation.GNSS_CONSTELLATION_UNSPECIFIED:
|
|
2154
|
+
return "GNSS_CONSTELLATION_UNSPECIFIED";
|
|
2155
|
+
case GnssConstellation.GNSS_CONSTELLATION_GPS:
|
|
2156
|
+
return "GNSS_CONSTELLATION_GPS";
|
|
2157
|
+
case GnssConstellation.GNSS_CONSTELLATION_GLONASS:
|
|
2158
|
+
return "GNSS_CONSTELLATION_GLONASS";
|
|
2159
|
+
case GnssConstellation.GNSS_CONSTELLATION_GALILEO:
|
|
2160
|
+
return "GNSS_CONSTELLATION_GALILEO";
|
|
2161
|
+
case GnssConstellation.GNSS_CONSTELLATION_BEIDOU:
|
|
2162
|
+
return "GNSS_CONSTELLATION_BEIDOU";
|
|
2163
|
+
case GnssConstellation.UNRECOGNIZED:
|
|
2164
|
+
default:
|
|
2165
|
+
return "UNRECOGNIZED";
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
1937
2168
|
/** Status for guest port devices that can be attached and detached. */
|
|
1938
2169
|
var GuestPortDetachStatus;
|
|
1939
2170
|
(function (GuestPortDetachStatus) {
|
|
@@ -4940,88 +5171,131 @@ exports.GripperVelocities = {
|
|
|
4940
5171
|
return message;
|
|
4941
5172
|
},
|
|
4942
5173
|
};
|
|
4943
|
-
function
|
|
4944
|
-
return {
|
|
5174
|
+
function createBaseCartesianManipulatorInput() {
|
|
5175
|
+
return { x: 0, y: 0, z: 0 };
|
|
4945
5176
|
}
|
|
4946
|
-
exports.
|
|
5177
|
+
exports.CartesianManipulatorInput = {
|
|
4947
5178
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4948
|
-
if (message.
|
|
4949
|
-
writer.uint32(
|
|
4950
|
-
}
|
|
4951
|
-
if (message.version !== "") {
|
|
4952
|
-
writer.uint32(18).string(message.version);
|
|
4953
|
-
}
|
|
4954
|
-
if (message.deviceType !== "") {
|
|
4955
|
-
writer.uint32(26).string(message.deviceType);
|
|
4956
|
-
}
|
|
4957
|
-
if (message.platform !== "") {
|
|
4958
|
-
writer.uint32(34).string(message.platform);
|
|
4959
|
-
}
|
|
4960
|
-
if (message.platformVersion !== "") {
|
|
4961
|
-
writer.uint32(42).string(message.platformVersion);
|
|
5179
|
+
if (message.x !== 0) {
|
|
5180
|
+
writer.uint32(13).float(message.x);
|
|
4962
5181
|
}
|
|
4963
|
-
if (message.
|
|
4964
|
-
writer.uint32(
|
|
5182
|
+
if (message.y !== 0) {
|
|
5183
|
+
writer.uint32(21).float(message.y);
|
|
4965
5184
|
}
|
|
4966
|
-
if (message.
|
|
4967
|
-
writer.uint32(
|
|
5185
|
+
if (message.z !== 0) {
|
|
5186
|
+
writer.uint32(29).float(message.z);
|
|
4968
5187
|
}
|
|
4969
5188
|
return writer;
|
|
4970
5189
|
},
|
|
4971
5190
|
decode(input, length) {
|
|
4972
5191
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4973
5192
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4974
|
-
const message =
|
|
5193
|
+
const message = createBaseCartesianManipulatorInput();
|
|
4975
5194
|
while (reader.pos < end) {
|
|
4976
5195
|
const tag = reader.uint32();
|
|
4977
5196
|
switch (tag >>> 3) {
|
|
4978
5197
|
case 1: {
|
|
4979
|
-
if (tag !==
|
|
5198
|
+
if (tag !== 13) {
|
|
4980
5199
|
break;
|
|
4981
5200
|
}
|
|
4982
|
-
message.
|
|
5201
|
+
message.x = reader.float();
|
|
4983
5202
|
continue;
|
|
4984
5203
|
}
|
|
4985
5204
|
case 2: {
|
|
4986
|
-
if (tag !==
|
|
5205
|
+
if (tag !== 21) {
|
|
4987
5206
|
break;
|
|
4988
5207
|
}
|
|
4989
|
-
message.
|
|
5208
|
+
message.y = reader.float();
|
|
4990
5209
|
continue;
|
|
4991
5210
|
}
|
|
4992
5211
|
case 3: {
|
|
4993
|
-
if (tag !==
|
|
4994
|
-
break;
|
|
4995
|
-
}
|
|
4996
|
-
message.deviceType = reader.string();
|
|
4997
|
-
continue;
|
|
4998
|
-
}
|
|
4999
|
-
case 4: {
|
|
5000
|
-
if (tag !== 34) {
|
|
5212
|
+
if (tag !== 29) {
|
|
5001
5213
|
break;
|
|
5002
5214
|
}
|
|
5003
|
-
message.
|
|
5215
|
+
message.z = reader.float();
|
|
5004
5216
|
continue;
|
|
5005
5217
|
}
|
|
5006
|
-
|
|
5007
|
-
|
|
5218
|
+
}
|
|
5219
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5220
|
+
break;
|
|
5221
|
+
}
|
|
5222
|
+
reader.skip(tag & 7);
|
|
5223
|
+
}
|
|
5224
|
+
return message;
|
|
5225
|
+
},
|
|
5226
|
+
fromJSON(object) {
|
|
5227
|
+
return {
|
|
5228
|
+
x: isSet(object.x) ? gt.Number(object.x) : 0,
|
|
5229
|
+
y: isSet(object.y) ? gt.Number(object.y) : 0,
|
|
5230
|
+
z: isSet(object.z) ? gt.Number(object.z) : 0,
|
|
5231
|
+
};
|
|
5232
|
+
},
|
|
5233
|
+
toJSON(message) {
|
|
5234
|
+
const obj = {};
|
|
5235
|
+
if (message.x !== 0) {
|
|
5236
|
+
obj.x = message.x;
|
|
5237
|
+
}
|
|
5238
|
+
if (message.y !== 0) {
|
|
5239
|
+
obj.y = message.y;
|
|
5240
|
+
}
|
|
5241
|
+
if (message.z !== 0) {
|
|
5242
|
+
obj.z = message.z;
|
|
5243
|
+
}
|
|
5244
|
+
return obj;
|
|
5245
|
+
},
|
|
5246
|
+
create(base) {
|
|
5247
|
+
return exports.CartesianManipulatorInput.fromPartial(base ?? {});
|
|
5248
|
+
},
|
|
5249
|
+
fromPartial(object) {
|
|
5250
|
+
const message = createBaseCartesianManipulatorInput();
|
|
5251
|
+
message.x = object.x ?? 0;
|
|
5252
|
+
message.y = object.y ?? 0;
|
|
5253
|
+
message.z = object.z ?? 0;
|
|
5254
|
+
return message;
|
|
5255
|
+
},
|
|
5256
|
+
};
|
|
5257
|
+
function createBaseCylindricalManipulatorInput() {
|
|
5258
|
+
return { radial: 0, vertical: 0, azimuth: 0 };
|
|
5259
|
+
}
|
|
5260
|
+
exports.CylindricalManipulatorInput = {
|
|
5261
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5262
|
+
if (message.radial !== 0) {
|
|
5263
|
+
writer.uint32(13).float(message.radial);
|
|
5264
|
+
}
|
|
5265
|
+
if (message.vertical !== 0) {
|
|
5266
|
+
writer.uint32(21).float(message.vertical);
|
|
5267
|
+
}
|
|
5268
|
+
if (message.azimuth !== 0) {
|
|
5269
|
+
writer.uint32(29).float(message.azimuth);
|
|
5270
|
+
}
|
|
5271
|
+
return writer;
|
|
5272
|
+
},
|
|
5273
|
+
decode(input, length) {
|
|
5274
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5275
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5276
|
+
const message = createBaseCylindricalManipulatorInput();
|
|
5277
|
+
while (reader.pos < end) {
|
|
5278
|
+
const tag = reader.uint32();
|
|
5279
|
+
switch (tag >>> 3) {
|
|
5280
|
+
case 1: {
|
|
5281
|
+
if (tag !== 13) {
|
|
5008
5282
|
break;
|
|
5009
5283
|
}
|
|
5010
|
-
message.
|
|
5284
|
+
message.radial = reader.float();
|
|
5011
5285
|
continue;
|
|
5012
5286
|
}
|
|
5013
|
-
case
|
|
5014
|
-
if (tag !==
|
|
5287
|
+
case 2: {
|
|
5288
|
+
if (tag !== 21) {
|
|
5015
5289
|
break;
|
|
5016
5290
|
}
|
|
5017
|
-
message.
|
|
5291
|
+
message.vertical = reader.float();
|
|
5018
5292
|
continue;
|
|
5019
5293
|
}
|
|
5020
|
-
case
|
|
5021
|
-
if (tag !==
|
|
5294
|
+
case 3: {
|
|
5295
|
+
if (tag !== 29) {
|
|
5022
5296
|
break;
|
|
5023
5297
|
}
|
|
5024
|
-
message.
|
|
5298
|
+
message.azimuth = reader.float();
|
|
5025
5299
|
continue;
|
|
5026
5300
|
}
|
|
5027
5301
|
}
|
|
@@ -5034,72 +5308,52 @@ exports.ClientInfo = {
|
|
|
5034
5308
|
},
|
|
5035
5309
|
fromJSON(object) {
|
|
5036
5310
|
return {
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
platform: isSet(object.platform) ? gt.String(object.platform) : "",
|
|
5041
|
-
platformVersion: isSet(object.platformVersion) ? gt.String(object.platformVersion) : "",
|
|
5042
|
-
name: isSet(object.name) ? gt.String(object.name) : "",
|
|
5043
|
-
isObserver: isSet(object.isObserver) ? gt.Boolean(object.isObserver) : false,
|
|
5311
|
+
radial: isSet(object.radial) ? gt.Number(object.radial) : 0,
|
|
5312
|
+
vertical: isSet(object.vertical) ? gt.Number(object.vertical) : 0,
|
|
5313
|
+
azimuth: isSet(object.azimuth) ? gt.Number(object.azimuth) : 0,
|
|
5044
5314
|
};
|
|
5045
5315
|
},
|
|
5046
5316
|
toJSON(message) {
|
|
5047
5317
|
const obj = {};
|
|
5048
|
-
if (message.
|
|
5049
|
-
obj.
|
|
5050
|
-
}
|
|
5051
|
-
if (message.version !== "") {
|
|
5052
|
-
obj.version = message.version;
|
|
5053
|
-
}
|
|
5054
|
-
if (message.deviceType !== "") {
|
|
5055
|
-
obj.deviceType = message.deviceType;
|
|
5056
|
-
}
|
|
5057
|
-
if (message.platform !== "") {
|
|
5058
|
-
obj.platform = message.platform;
|
|
5059
|
-
}
|
|
5060
|
-
if (message.platformVersion !== "") {
|
|
5061
|
-
obj.platformVersion = message.platformVersion;
|
|
5318
|
+
if (message.radial !== 0) {
|
|
5319
|
+
obj.radial = message.radial;
|
|
5062
5320
|
}
|
|
5063
|
-
if (message.
|
|
5064
|
-
obj.
|
|
5321
|
+
if (message.vertical !== 0) {
|
|
5322
|
+
obj.vertical = message.vertical;
|
|
5065
5323
|
}
|
|
5066
|
-
if (message.
|
|
5067
|
-
obj.
|
|
5324
|
+
if (message.azimuth !== 0) {
|
|
5325
|
+
obj.azimuth = message.azimuth;
|
|
5068
5326
|
}
|
|
5069
5327
|
return obj;
|
|
5070
5328
|
},
|
|
5071
5329
|
create(base) {
|
|
5072
|
-
return exports.
|
|
5330
|
+
return exports.CylindricalManipulatorInput.fromPartial(base ?? {});
|
|
5073
5331
|
},
|
|
5074
5332
|
fromPartial(object) {
|
|
5075
|
-
const message =
|
|
5076
|
-
message.
|
|
5077
|
-
message.
|
|
5078
|
-
message.
|
|
5079
|
-
message.platform = object.platform ?? "";
|
|
5080
|
-
message.platformVersion = object.platformVersion ?? "";
|
|
5081
|
-
message.name = object.name ?? "";
|
|
5082
|
-
message.isObserver = object.isObserver ?? false;
|
|
5333
|
+
const message = createBaseCylindricalManipulatorInput();
|
|
5334
|
+
message.radial = object.radial ?? 0;
|
|
5335
|
+
message.vertical = object.vertical ?? 0;
|
|
5336
|
+
message.azimuth = object.azimuth ?? 0;
|
|
5083
5337
|
return message;
|
|
5084
5338
|
},
|
|
5085
5339
|
};
|
|
5086
|
-
function
|
|
5087
|
-
return {
|
|
5340
|
+
function createBaseKnownPoseManipulatorInput() {
|
|
5341
|
+
return { pose: 0, velocity: 0 };
|
|
5088
5342
|
}
|
|
5089
|
-
exports.
|
|
5343
|
+
exports.KnownPoseManipulatorInput = {
|
|
5090
5344
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5091
|
-
if (message.
|
|
5092
|
-
writer.uint32(8).
|
|
5345
|
+
if (message.pose !== 0) {
|
|
5346
|
+
writer.uint32(8).int32(message.pose);
|
|
5093
5347
|
}
|
|
5094
|
-
if (message.
|
|
5095
|
-
|
|
5348
|
+
if (message.velocity !== 0) {
|
|
5349
|
+
writer.uint32(21).float(message.velocity);
|
|
5096
5350
|
}
|
|
5097
5351
|
return writer;
|
|
5098
5352
|
},
|
|
5099
5353
|
decode(input, length) {
|
|
5100
5354
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5101
5355
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5102
|
-
const message =
|
|
5356
|
+
const message = createBaseKnownPoseManipulatorInput();
|
|
5103
5357
|
while (reader.pos < end) {
|
|
5104
5358
|
const tag = reader.uint32();
|
|
5105
5359
|
switch (tag >>> 3) {
|
|
@@ -5107,14 +5361,14 @@ exports.ConnectedClient = {
|
|
|
5107
5361
|
if (tag !== 8) {
|
|
5108
5362
|
break;
|
|
5109
5363
|
}
|
|
5110
|
-
message.
|
|
5364
|
+
message.pose = reader.int32();
|
|
5111
5365
|
continue;
|
|
5112
5366
|
}
|
|
5113
5367
|
case 2: {
|
|
5114
|
-
if (tag !==
|
|
5368
|
+
if (tag !== 21) {
|
|
5115
5369
|
break;
|
|
5116
5370
|
}
|
|
5117
|
-
message.
|
|
5371
|
+
message.velocity = reader.float();
|
|
5118
5372
|
continue;
|
|
5119
5373
|
}
|
|
5120
5374
|
}
|
|
@@ -5127,92 +5381,76 @@ exports.ConnectedClient = {
|
|
|
5127
5381
|
},
|
|
5128
5382
|
fromJSON(object) {
|
|
5129
5383
|
return {
|
|
5130
|
-
|
|
5131
|
-
|
|
5384
|
+
pose: isSet(object.pose) ? manipulatorPoseFromJSON(object.pose) : 0,
|
|
5385
|
+
velocity: isSet(object.velocity) ? gt.Number(object.velocity) : 0,
|
|
5132
5386
|
};
|
|
5133
5387
|
},
|
|
5134
5388
|
toJSON(message) {
|
|
5135
5389
|
const obj = {};
|
|
5136
|
-
if (message.
|
|
5137
|
-
obj.
|
|
5390
|
+
if (message.pose !== 0) {
|
|
5391
|
+
obj.pose = manipulatorPoseToJSON(message.pose);
|
|
5138
5392
|
}
|
|
5139
|
-
if (message.
|
|
5140
|
-
obj.
|
|
5393
|
+
if (message.velocity !== 0) {
|
|
5394
|
+
obj.velocity = message.velocity;
|
|
5141
5395
|
}
|
|
5142
5396
|
return obj;
|
|
5143
5397
|
},
|
|
5144
5398
|
create(base) {
|
|
5145
|
-
return exports.
|
|
5399
|
+
return exports.KnownPoseManipulatorInput.fromPartial(base ?? {});
|
|
5146
5400
|
},
|
|
5147
5401
|
fromPartial(object) {
|
|
5148
|
-
const message =
|
|
5149
|
-
message.
|
|
5150
|
-
message.
|
|
5151
|
-
? exports.ClientInfo.fromPartial(object.clientInfo)
|
|
5152
|
-
: undefined;
|
|
5402
|
+
const message = createBaseKnownPoseManipulatorInput();
|
|
5403
|
+
message.pose = object.pose ?? 0;
|
|
5404
|
+
message.velocity = object.velocity ?? 0;
|
|
5153
5405
|
return message;
|
|
5154
5406
|
},
|
|
5155
5407
|
};
|
|
5156
|
-
function
|
|
5408
|
+
function createBaseGripper() {
|
|
5157
5409
|
return {
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
multibeamFps: 0,
|
|
5167
|
-
mainStorageLocation: 0,
|
|
5168
|
-
guestportStorageLocation: 0,
|
|
5169
|
-
multibeamStorageLocation: 0,
|
|
5410
|
+
mode: 0,
|
|
5411
|
+
jointPositions: [],
|
|
5412
|
+
endPosition: undefined,
|
|
5413
|
+
atLimit: false,
|
|
5414
|
+
collision: false,
|
|
5415
|
+
holding: false,
|
|
5416
|
+
fault: false,
|
|
5417
|
+
movingTo: 0,
|
|
5170
5418
|
};
|
|
5171
5419
|
}
|
|
5172
|
-
exports.
|
|
5420
|
+
exports.Gripper = {
|
|
5173
5421
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5174
|
-
if (message.
|
|
5175
|
-
writer.uint32(8).
|
|
5422
|
+
if (message.mode !== 0) {
|
|
5423
|
+
writer.uint32(8).int32(message.mode);
|
|
5176
5424
|
}
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
if (message.mainFps !== 0) {
|
|
5181
|
-
writer.uint32(61).float(message.mainFps);
|
|
5182
|
-
}
|
|
5183
|
-
if (message.guestportIsRecording !== false) {
|
|
5184
|
-
writer.uint32(24).bool(message.guestportIsRecording);
|
|
5185
|
-
}
|
|
5186
|
-
if (message.guestportSeconds !== 0) {
|
|
5187
|
-
writer.uint32(32).int32(message.guestportSeconds);
|
|
5188
|
-
}
|
|
5189
|
-
if (message.guestportFps !== 0) {
|
|
5190
|
-
writer.uint32(69).float(message.guestportFps);
|
|
5425
|
+
writer.uint32(18).fork();
|
|
5426
|
+
for (const v of message.jointPositions) {
|
|
5427
|
+
writer.float(v);
|
|
5191
5428
|
}
|
|
5192
|
-
|
|
5193
|
-
|
|
5429
|
+
writer.join();
|
|
5430
|
+
if (message.endPosition !== undefined) {
|
|
5431
|
+
exports.Vector3.encode(message.endPosition, writer.uint32(26).fork()).join();
|
|
5194
5432
|
}
|
|
5195
|
-
if (message.
|
|
5196
|
-
writer.uint32(
|
|
5433
|
+
if (message.atLimit !== false) {
|
|
5434
|
+
writer.uint32(32).bool(message.atLimit);
|
|
5197
5435
|
}
|
|
5198
|
-
if (message.
|
|
5199
|
-
writer.uint32(
|
|
5436
|
+
if (message.collision !== false) {
|
|
5437
|
+
writer.uint32(40).bool(message.collision);
|
|
5200
5438
|
}
|
|
5201
|
-
if (message.
|
|
5202
|
-
writer.uint32(
|
|
5439
|
+
if (message.holding !== false) {
|
|
5440
|
+
writer.uint32(48).bool(message.holding);
|
|
5203
5441
|
}
|
|
5204
|
-
if (message.
|
|
5205
|
-
writer.uint32(
|
|
5442
|
+
if (message.fault !== false) {
|
|
5443
|
+
writer.uint32(56).bool(message.fault);
|
|
5206
5444
|
}
|
|
5207
|
-
if (message.
|
|
5208
|
-
writer.uint32(
|
|
5445
|
+
if (message.movingTo !== 0) {
|
|
5446
|
+
writer.uint32(64).int32(message.movingTo);
|
|
5209
5447
|
}
|
|
5210
5448
|
return writer;
|
|
5211
5449
|
},
|
|
5212
5450
|
decode(input, length) {
|
|
5213
5451
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5214
5452
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5215
|
-
const message =
|
|
5453
|
+
const message = createBaseGripper();
|
|
5216
5454
|
while (reader.pos < end) {
|
|
5217
5455
|
const tag = reader.uint32();
|
|
5218
5456
|
switch (tag >>> 3) {
|
|
@@ -5220,84 +5458,63 @@ exports.RecordState = {
|
|
|
5220
5458
|
if (tag !== 8) {
|
|
5221
5459
|
break;
|
|
5222
5460
|
}
|
|
5223
|
-
message.
|
|
5461
|
+
message.mode = reader.int32();
|
|
5224
5462
|
continue;
|
|
5225
5463
|
}
|
|
5226
5464
|
case 2: {
|
|
5227
|
-
if (tag
|
|
5228
|
-
|
|
5465
|
+
if (tag === 21) {
|
|
5466
|
+
message.jointPositions.push(reader.float());
|
|
5467
|
+
continue;
|
|
5229
5468
|
}
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5469
|
+
if (tag === 18) {
|
|
5470
|
+
const end2 = reader.uint32() + reader.pos;
|
|
5471
|
+
while (reader.pos < end2) {
|
|
5472
|
+
message.jointPositions.push(reader.float());
|
|
5473
|
+
}
|
|
5474
|
+
continue;
|
|
5236
5475
|
}
|
|
5237
|
-
|
|
5238
|
-
continue;
|
|
5476
|
+
break;
|
|
5239
5477
|
}
|
|
5240
5478
|
case 3: {
|
|
5241
|
-
if (tag !==
|
|
5479
|
+
if (tag !== 26) {
|
|
5242
5480
|
break;
|
|
5243
5481
|
}
|
|
5244
|
-
message.
|
|
5482
|
+
message.endPosition = exports.Vector3.decode(reader, reader.uint32());
|
|
5245
5483
|
continue;
|
|
5246
5484
|
}
|
|
5247
5485
|
case 4: {
|
|
5248
5486
|
if (tag !== 32) {
|
|
5249
5487
|
break;
|
|
5250
5488
|
}
|
|
5251
|
-
message.
|
|
5252
|
-
continue;
|
|
5253
|
-
}
|
|
5254
|
-
case 8: {
|
|
5255
|
-
if (tag !== 69) {
|
|
5256
|
-
break;
|
|
5257
|
-
}
|
|
5258
|
-
message.guestportFps = reader.float();
|
|
5489
|
+
message.atLimit = reader.bool();
|
|
5259
5490
|
continue;
|
|
5260
5491
|
}
|
|
5261
5492
|
case 5: {
|
|
5262
5493
|
if (tag !== 40) {
|
|
5263
5494
|
break;
|
|
5264
5495
|
}
|
|
5265
|
-
message.
|
|
5496
|
+
message.collision = reader.bool();
|
|
5266
5497
|
continue;
|
|
5267
5498
|
}
|
|
5268
5499
|
case 6: {
|
|
5269
5500
|
if (tag !== 48) {
|
|
5270
5501
|
break;
|
|
5271
5502
|
}
|
|
5272
|
-
message.
|
|
5273
|
-
continue;
|
|
5274
|
-
}
|
|
5275
|
-
case 9: {
|
|
5276
|
-
if (tag !== 77) {
|
|
5277
|
-
break;
|
|
5278
|
-
}
|
|
5279
|
-
message.multibeamFps = reader.float();
|
|
5280
|
-
continue;
|
|
5281
|
-
}
|
|
5282
|
-
case 10: {
|
|
5283
|
-
if (tag !== 80) {
|
|
5284
|
-
break;
|
|
5285
|
-
}
|
|
5286
|
-
message.mainStorageLocation = reader.int32();
|
|
5503
|
+
message.holding = reader.bool();
|
|
5287
5504
|
continue;
|
|
5288
5505
|
}
|
|
5289
|
-
case
|
|
5290
|
-
if (tag !==
|
|
5506
|
+
case 7: {
|
|
5507
|
+
if (tag !== 56) {
|
|
5291
5508
|
break;
|
|
5292
5509
|
}
|
|
5293
|
-
message.
|
|
5510
|
+
message.fault = reader.bool();
|
|
5294
5511
|
continue;
|
|
5295
5512
|
}
|
|
5296
|
-
case
|
|
5297
|
-
if (tag !==
|
|
5513
|
+
case 8: {
|
|
5514
|
+
if (tag !== 64) {
|
|
5298
5515
|
break;
|
|
5299
5516
|
}
|
|
5300
|
-
message.
|
|
5517
|
+
message.movingTo = reader.int32();
|
|
5301
5518
|
continue;
|
|
5302
5519
|
}
|
|
5303
5520
|
}
|
|
@@ -5310,126 +5527,146 @@ exports.RecordState = {
|
|
|
5310
5527
|
},
|
|
5311
5528
|
fromJSON(object) {
|
|
5312
5529
|
return {
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
5324
|
-
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
5325
|
-
: 0,
|
|
5326
|
-
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
5327
|
-
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
5328
|
-
: 0,
|
|
5530
|
+
mode: isSet(object.mode) ? manipulatorControlModeFromJSON(object.mode) : 0,
|
|
5531
|
+
jointPositions: gt.Array.isArray(object?.jointPositions)
|
|
5532
|
+
? object.jointPositions.map((e) => gt.Number(e))
|
|
5533
|
+
: [],
|
|
5534
|
+
endPosition: isSet(object.endPosition) ? exports.Vector3.fromJSON(object.endPosition) : undefined,
|
|
5535
|
+
atLimit: isSet(object.atLimit) ? gt.Boolean(object.atLimit) : false,
|
|
5536
|
+
collision: isSet(object.collision) ? gt.Boolean(object.collision) : false,
|
|
5537
|
+
holding: isSet(object.holding) ? gt.Boolean(object.holding) : false,
|
|
5538
|
+
fault: isSet(object.fault) ? gt.Boolean(object.fault) : false,
|
|
5539
|
+
movingTo: isSet(object.movingTo) ? manipulatorPoseFromJSON(object.movingTo) : 0,
|
|
5329
5540
|
};
|
|
5330
5541
|
},
|
|
5331
5542
|
toJSON(message) {
|
|
5332
5543
|
const obj = {};
|
|
5333
|
-
if (message.
|
|
5334
|
-
obj.
|
|
5335
|
-
}
|
|
5336
|
-
if (message.mainSeconds !== 0) {
|
|
5337
|
-
obj.mainSeconds = Math.round(message.mainSeconds);
|
|
5338
|
-
}
|
|
5339
|
-
if (message.mainFps !== 0) {
|
|
5340
|
-
obj.mainFps = message.mainFps;
|
|
5341
|
-
}
|
|
5342
|
-
if (message.guestportIsRecording !== false) {
|
|
5343
|
-
obj.guestportIsRecording = message.guestportIsRecording;
|
|
5344
|
-
}
|
|
5345
|
-
if (message.guestportSeconds !== 0) {
|
|
5346
|
-
obj.guestportSeconds = Math.round(message.guestportSeconds);
|
|
5544
|
+
if (message.mode !== 0) {
|
|
5545
|
+
obj.mode = manipulatorControlModeToJSON(message.mode);
|
|
5347
5546
|
}
|
|
5348
|
-
if (message.
|
|
5349
|
-
obj.
|
|
5547
|
+
if (message.jointPositions?.length) {
|
|
5548
|
+
obj.jointPositions = message.jointPositions;
|
|
5350
5549
|
}
|
|
5351
|
-
if (message.
|
|
5352
|
-
obj.
|
|
5550
|
+
if (message.endPosition !== undefined) {
|
|
5551
|
+
obj.endPosition = exports.Vector3.toJSON(message.endPosition);
|
|
5353
5552
|
}
|
|
5354
|
-
if (message.
|
|
5355
|
-
obj.
|
|
5553
|
+
if (message.atLimit !== false) {
|
|
5554
|
+
obj.atLimit = message.atLimit;
|
|
5356
5555
|
}
|
|
5357
|
-
if (message.
|
|
5358
|
-
obj.
|
|
5556
|
+
if (message.collision !== false) {
|
|
5557
|
+
obj.collision = message.collision;
|
|
5359
5558
|
}
|
|
5360
|
-
if (message.
|
|
5361
|
-
obj.
|
|
5559
|
+
if (message.holding !== false) {
|
|
5560
|
+
obj.holding = message.holding;
|
|
5362
5561
|
}
|
|
5363
|
-
if (message.
|
|
5364
|
-
obj.
|
|
5562
|
+
if (message.fault !== false) {
|
|
5563
|
+
obj.fault = message.fault;
|
|
5365
5564
|
}
|
|
5366
|
-
if (message.
|
|
5367
|
-
obj.
|
|
5565
|
+
if (message.movingTo !== 0) {
|
|
5566
|
+
obj.movingTo = manipulatorPoseToJSON(message.movingTo);
|
|
5368
5567
|
}
|
|
5369
5568
|
return obj;
|
|
5370
5569
|
},
|
|
5371
5570
|
create(base) {
|
|
5372
|
-
return exports.
|
|
5571
|
+
return exports.Gripper.fromPartial(base ?? {});
|
|
5373
5572
|
},
|
|
5374
5573
|
fromPartial(object) {
|
|
5375
|
-
const message =
|
|
5376
|
-
message.
|
|
5377
|
-
message.
|
|
5378
|
-
message.
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
message.
|
|
5382
|
-
message.
|
|
5383
|
-
message.
|
|
5384
|
-
message.
|
|
5385
|
-
message.
|
|
5386
|
-
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
5387
|
-
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
5574
|
+
const message = createBaseGripper();
|
|
5575
|
+
message.mode = object.mode ?? 0;
|
|
5576
|
+
message.jointPositions = object.jointPositions?.map((e) => e) || [];
|
|
5577
|
+
message.endPosition = (object.endPosition !== undefined && object.endPosition !== null)
|
|
5578
|
+
? exports.Vector3.fromPartial(object.endPosition)
|
|
5579
|
+
: undefined;
|
|
5580
|
+
message.atLimit = object.atLimit ?? false;
|
|
5581
|
+
message.collision = object.collision ?? false;
|
|
5582
|
+
message.holding = object.holding ?? false;
|
|
5583
|
+
message.fault = object.fault ?? false;
|
|
5584
|
+
message.movingTo = object.movingTo ?? 0;
|
|
5388
5585
|
return message;
|
|
5389
5586
|
},
|
|
5390
5587
|
};
|
|
5391
|
-
function
|
|
5392
|
-
return {
|
|
5588
|
+
function createBaseClientInfo() {
|
|
5589
|
+
return { type: "", version: "", deviceType: "", platform: "", platformVersion: "", name: "", isObserver: false };
|
|
5393
5590
|
}
|
|
5394
|
-
exports.
|
|
5591
|
+
exports.ClientInfo = {
|
|
5395
5592
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5396
|
-
if (message.
|
|
5397
|
-
writer.uint32(
|
|
5593
|
+
if (message.type !== "") {
|
|
5594
|
+
writer.uint32(10).string(message.type);
|
|
5398
5595
|
}
|
|
5399
|
-
if (message.
|
|
5400
|
-
writer.uint32(
|
|
5596
|
+
if (message.version !== "") {
|
|
5597
|
+
writer.uint32(18).string(message.version);
|
|
5401
5598
|
}
|
|
5402
|
-
if (message.
|
|
5403
|
-
writer.uint32(
|
|
5599
|
+
if (message.deviceType !== "") {
|
|
5600
|
+
writer.uint32(26).string(message.deviceType);
|
|
5601
|
+
}
|
|
5602
|
+
if (message.platform !== "") {
|
|
5603
|
+
writer.uint32(34).string(message.platform);
|
|
5604
|
+
}
|
|
5605
|
+
if (message.platformVersion !== "") {
|
|
5606
|
+
writer.uint32(42).string(message.platformVersion);
|
|
5607
|
+
}
|
|
5608
|
+
if (message.name !== "") {
|
|
5609
|
+
writer.uint32(50).string(message.name);
|
|
5610
|
+
}
|
|
5611
|
+
if (message.isObserver !== false) {
|
|
5612
|
+
writer.uint32(56).bool(message.isObserver);
|
|
5404
5613
|
}
|
|
5405
5614
|
return writer;
|
|
5406
5615
|
},
|
|
5407
5616
|
decode(input, length) {
|
|
5408
5617
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5409
5618
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5410
|
-
const message =
|
|
5619
|
+
const message = createBaseClientInfo();
|
|
5411
5620
|
while (reader.pos < end) {
|
|
5412
5621
|
const tag = reader.uint32();
|
|
5413
5622
|
switch (tag >>> 3) {
|
|
5414
5623
|
case 1: {
|
|
5415
|
-
if (tag !==
|
|
5624
|
+
if (tag !== 10) {
|
|
5416
5625
|
break;
|
|
5417
5626
|
}
|
|
5418
|
-
message.
|
|
5627
|
+
message.type = reader.string();
|
|
5419
5628
|
continue;
|
|
5420
5629
|
}
|
|
5421
5630
|
case 2: {
|
|
5422
|
-
if (tag !==
|
|
5631
|
+
if (tag !== 18) {
|
|
5423
5632
|
break;
|
|
5424
5633
|
}
|
|
5425
|
-
message.
|
|
5634
|
+
message.version = reader.string();
|
|
5426
5635
|
continue;
|
|
5427
5636
|
}
|
|
5428
5637
|
case 3: {
|
|
5429
|
-
if (tag !==
|
|
5638
|
+
if (tag !== 26) {
|
|
5430
5639
|
break;
|
|
5431
5640
|
}
|
|
5432
|
-
message.
|
|
5641
|
+
message.deviceType = reader.string();
|
|
5642
|
+
continue;
|
|
5643
|
+
}
|
|
5644
|
+
case 4: {
|
|
5645
|
+
if (tag !== 34) {
|
|
5646
|
+
break;
|
|
5647
|
+
}
|
|
5648
|
+
message.platform = reader.string();
|
|
5649
|
+
continue;
|
|
5650
|
+
}
|
|
5651
|
+
case 5: {
|
|
5652
|
+
if (tag !== 42) {
|
|
5653
|
+
break;
|
|
5654
|
+
}
|
|
5655
|
+
message.platformVersion = reader.string();
|
|
5656
|
+
continue;
|
|
5657
|
+
}
|
|
5658
|
+
case 6: {
|
|
5659
|
+
if (tag !== 50) {
|
|
5660
|
+
break;
|
|
5661
|
+
}
|
|
5662
|
+
message.name = reader.string();
|
|
5663
|
+
continue;
|
|
5664
|
+
}
|
|
5665
|
+
case 7: {
|
|
5666
|
+
if (tag !== 56) {
|
|
5667
|
+
break;
|
|
5668
|
+
}
|
|
5669
|
+
message.isObserver = reader.bool();
|
|
5433
5670
|
continue;
|
|
5434
5671
|
}
|
|
5435
5672
|
}
|
|
@@ -5442,57 +5679,87 @@ exports.TimeLapseState = {
|
|
|
5442
5679
|
},
|
|
5443
5680
|
fromJSON(object) {
|
|
5444
5681
|
return {
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5682
|
+
type: isSet(object.type) ? gt.String(object.type) : "",
|
|
5683
|
+
version: isSet(object.version) ? gt.String(object.version) : "",
|
|
5684
|
+
deviceType: isSet(object.deviceType) ? gt.String(object.deviceType) : "",
|
|
5685
|
+
platform: isSet(object.platform) ? gt.String(object.platform) : "",
|
|
5686
|
+
platformVersion: isSet(object.platformVersion) ? gt.String(object.platformVersion) : "",
|
|
5687
|
+
name: isSet(object.name) ? gt.String(object.name) : "",
|
|
5688
|
+
isObserver: isSet(object.isObserver) ? gt.Boolean(object.isObserver) : false,
|
|
5448
5689
|
};
|
|
5449
5690
|
},
|
|
5450
5691
|
toJSON(message) {
|
|
5451
5692
|
const obj = {};
|
|
5452
|
-
if (message.
|
|
5453
|
-
obj.
|
|
5693
|
+
if (message.type !== "") {
|
|
5694
|
+
obj.type = message.type;
|
|
5454
5695
|
}
|
|
5455
|
-
if (message.
|
|
5456
|
-
obj.
|
|
5696
|
+
if (message.version !== "") {
|
|
5697
|
+
obj.version = message.version;
|
|
5457
5698
|
}
|
|
5458
|
-
if (message.
|
|
5459
|
-
obj.
|
|
5699
|
+
if (message.deviceType !== "") {
|
|
5700
|
+
obj.deviceType = message.deviceType;
|
|
5701
|
+
}
|
|
5702
|
+
if (message.platform !== "") {
|
|
5703
|
+
obj.platform = message.platform;
|
|
5704
|
+
}
|
|
5705
|
+
if (message.platformVersion !== "") {
|
|
5706
|
+
obj.platformVersion = message.platformVersion;
|
|
5707
|
+
}
|
|
5708
|
+
if (message.name !== "") {
|
|
5709
|
+
obj.name = message.name;
|
|
5710
|
+
}
|
|
5711
|
+
if (message.isObserver !== false) {
|
|
5712
|
+
obj.isObserver = message.isObserver;
|
|
5460
5713
|
}
|
|
5461
5714
|
return obj;
|
|
5462
5715
|
},
|
|
5463
5716
|
create(base) {
|
|
5464
|
-
return exports.
|
|
5717
|
+
return exports.ClientInfo.fromPartial(base ?? {});
|
|
5465
5718
|
},
|
|
5466
5719
|
fromPartial(object) {
|
|
5467
|
-
const message =
|
|
5468
|
-
message.
|
|
5469
|
-
message.
|
|
5470
|
-
message.
|
|
5471
|
-
|
|
5720
|
+
const message = createBaseClientInfo();
|
|
5721
|
+
message.type = object.type ?? "";
|
|
5722
|
+
message.version = object.version ?? "";
|
|
5723
|
+
message.deviceType = object.deviceType ?? "";
|
|
5724
|
+
message.platform = object.platform ?? "";
|
|
5725
|
+
message.platformVersion = object.platformVersion ?? "";
|
|
5726
|
+
message.name = object.name ?? "";
|
|
5727
|
+
message.isObserver = object.isObserver ?? false;
|
|
5728
|
+
return message;
|
|
5472
5729
|
},
|
|
5473
5730
|
};
|
|
5474
|
-
function
|
|
5475
|
-
return {
|
|
5731
|
+
function createBaseConnectedClient() {
|
|
5732
|
+
return { clientId: 0, clientInfo: undefined };
|
|
5476
5733
|
}
|
|
5477
|
-
exports.
|
|
5734
|
+
exports.ConnectedClient = {
|
|
5478
5735
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5479
|
-
if (message.
|
|
5480
|
-
writer.uint32(
|
|
5736
|
+
if (message.clientId !== 0) {
|
|
5737
|
+
writer.uint32(8).uint32(message.clientId);
|
|
5738
|
+
}
|
|
5739
|
+
if (message.clientInfo !== undefined) {
|
|
5740
|
+
exports.ClientInfo.encode(message.clientInfo, writer.uint32(18).fork()).join();
|
|
5481
5741
|
}
|
|
5482
5742
|
return writer;
|
|
5483
5743
|
},
|
|
5484
5744
|
decode(input, length) {
|
|
5485
5745
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5486
5746
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5487
|
-
const message =
|
|
5747
|
+
const message = createBaseConnectedClient();
|
|
5488
5748
|
while (reader.pos < end) {
|
|
5489
5749
|
const tag = reader.uint32();
|
|
5490
5750
|
switch (tag >>> 3) {
|
|
5491
5751
|
case 1: {
|
|
5492
|
-
if (tag !==
|
|
5752
|
+
if (tag !== 8) {
|
|
5493
5753
|
break;
|
|
5494
5754
|
}
|
|
5495
|
-
message.
|
|
5755
|
+
message.clientId = reader.uint32();
|
|
5756
|
+
continue;
|
|
5757
|
+
}
|
|
5758
|
+
case 2: {
|
|
5759
|
+
if (tag !== 18) {
|
|
5760
|
+
break;
|
|
5761
|
+
}
|
|
5762
|
+
message.clientInfo = exports.ClientInfo.decode(reader, reader.uint32());
|
|
5496
5763
|
continue;
|
|
5497
5764
|
}
|
|
5498
5765
|
}
|
|
@@ -5504,38 +5771,93 @@ exports.WaterDensity = {
|
|
|
5504
5771
|
return message;
|
|
5505
5772
|
},
|
|
5506
5773
|
fromJSON(object) {
|
|
5507
|
-
return {
|
|
5774
|
+
return {
|
|
5775
|
+
clientId: isSet(object.clientId) ? gt.Number(object.clientId) : 0,
|
|
5776
|
+
clientInfo: isSet(object.clientInfo) ? exports.ClientInfo.fromJSON(object.clientInfo) : undefined,
|
|
5777
|
+
};
|
|
5508
5778
|
},
|
|
5509
5779
|
toJSON(message) {
|
|
5510
5780
|
const obj = {};
|
|
5511
|
-
if (message.
|
|
5512
|
-
obj.
|
|
5781
|
+
if (message.clientId !== 0) {
|
|
5782
|
+
obj.clientId = Math.round(message.clientId);
|
|
5783
|
+
}
|
|
5784
|
+
if (message.clientInfo !== undefined) {
|
|
5785
|
+
obj.clientInfo = exports.ClientInfo.toJSON(message.clientInfo);
|
|
5513
5786
|
}
|
|
5514
5787
|
return obj;
|
|
5515
5788
|
},
|
|
5516
5789
|
create(base) {
|
|
5517
|
-
return exports.
|
|
5790
|
+
return exports.ConnectedClient.fromPartial(base ?? {});
|
|
5518
5791
|
},
|
|
5519
5792
|
fromPartial(object) {
|
|
5520
|
-
const message =
|
|
5521
|
-
message.
|
|
5793
|
+
const message = createBaseConnectedClient();
|
|
5794
|
+
message.clientId = object.clientId ?? 0;
|
|
5795
|
+
message.clientInfo = (object.clientInfo !== undefined && object.clientInfo !== null)
|
|
5796
|
+
? exports.ClientInfo.fromPartial(object.clientInfo)
|
|
5797
|
+
: undefined;
|
|
5522
5798
|
return message;
|
|
5523
5799
|
},
|
|
5524
5800
|
};
|
|
5525
|
-
function
|
|
5526
|
-
return {
|
|
5801
|
+
function createBaseRecordState() {
|
|
5802
|
+
return {
|
|
5803
|
+
mainIsRecording: false,
|
|
5804
|
+
mainSeconds: 0,
|
|
5805
|
+
mainFps: 0,
|
|
5806
|
+
guestportIsRecording: false,
|
|
5807
|
+
guestportSeconds: 0,
|
|
5808
|
+
guestportFps: 0,
|
|
5809
|
+
multibeamIsRecording: false,
|
|
5810
|
+
multibeamSeconds: 0,
|
|
5811
|
+
multibeamFps: 0,
|
|
5812
|
+
mainStorageLocation: 0,
|
|
5813
|
+
guestportStorageLocation: 0,
|
|
5814
|
+
multibeamStorageLocation: 0,
|
|
5815
|
+
};
|
|
5527
5816
|
}
|
|
5528
|
-
exports.
|
|
5817
|
+
exports.RecordState = {
|
|
5529
5818
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5530
|
-
if (message.
|
|
5531
|
-
writer.uint32(8).
|
|
5819
|
+
if (message.mainIsRecording !== false) {
|
|
5820
|
+
writer.uint32(8).bool(message.mainIsRecording);
|
|
5821
|
+
}
|
|
5822
|
+
if (message.mainSeconds !== 0) {
|
|
5823
|
+
writer.uint32(16).int32(message.mainSeconds);
|
|
5824
|
+
}
|
|
5825
|
+
if (message.mainFps !== 0) {
|
|
5826
|
+
writer.uint32(61).float(message.mainFps);
|
|
5827
|
+
}
|
|
5828
|
+
if (message.guestportIsRecording !== false) {
|
|
5829
|
+
writer.uint32(24).bool(message.guestportIsRecording);
|
|
5830
|
+
}
|
|
5831
|
+
if (message.guestportSeconds !== 0) {
|
|
5832
|
+
writer.uint32(32).int32(message.guestportSeconds);
|
|
5833
|
+
}
|
|
5834
|
+
if (message.guestportFps !== 0) {
|
|
5835
|
+
writer.uint32(69).float(message.guestportFps);
|
|
5836
|
+
}
|
|
5837
|
+
if (message.multibeamIsRecording !== false) {
|
|
5838
|
+
writer.uint32(40).bool(message.multibeamIsRecording);
|
|
5839
|
+
}
|
|
5840
|
+
if (message.multibeamSeconds !== 0) {
|
|
5841
|
+
writer.uint32(48).int32(message.multibeamSeconds);
|
|
5842
|
+
}
|
|
5843
|
+
if (message.multibeamFps !== 0) {
|
|
5844
|
+
writer.uint32(77).float(message.multibeamFps);
|
|
5845
|
+
}
|
|
5846
|
+
if (message.mainStorageLocation !== 0) {
|
|
5847
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
5848
|
+
}
|
|
5849
|
+
if (message.guestportStorageLocation !== 0) {
|
|
5850
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
5851
|
+
}
|
|
5852
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
5853
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
5532
5854
|
}
|
|
5533
5855
|
return writer;
|
|
5534
5856
|
},
|
|
5535
5857
|
decode(input, length) {
|
|
5536
5858
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5537
5859
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5538
|
-
const message =
|
|
5860
|
+
const message = createBaseRecordState();
|
|
5539
5861
|
while (reader.pos < end) {
|
|
5540
5862
|
const tag = reader.uint32();
|
|
5541
5863
|
switch (tag >>> 3) {
|
|
@@ -5543,7 +5865,84 @@ exports.PingerConfiguration = {
|
|
|
5543
5865
|
if (tag !== 8) {
|
|
5544
5866
|
break;
|
|
5545
5867
|
}
|
|
5546
|
-
message.
|
|
5868
|
+
message.mainIsRecording = reader.bool();
|
|
5869
|
+
continue;
|
|
5870
|
+
}
|
|
5871
|
+
case 2: {
|
|
5872
|
+
if (tag !== 16) {
|
|
5873
|
+
break;
|
|
5874
|
+
}
|
|
5875
|
+
message.mainSeconds = reader.int32();
|
|
5876
|
+
continue;
|
|
5877
|
+
}
|
|
5878
|
+
case 7: {
|
|
5879
|
+
if (tag !== 61) {
|
|
5880
|
+
break;
|
|
5881
|
+
}
|
|
5882
|
+
message.mainFps = reader.float();
|
|
5883
|
+
continue;
|
|
5884
|
+
}
|
|
5885
|
+
case 3: {
|
|
5886
|
+
if (tag !== 24) {
|
|
5887
|
+
break;
|
|
5888
|
+
}
|
|
5889
|
+
message.guestportIsRecording = reader.bool();
|
|
5890
|
+
continue;
|
|
5891
|
+
}
|
|
5892
|
+
case 4: {
|
|
5893
|
+
if (tag !== 32) {
|
|
5894
|
+
break;
|
|
5895
|
+
}
|
|
5896
|
+
message.guestportSeconds = reader.int32();
|
|
5897
|
+
continue;
|
|
5898
|
+
}
|
|
5899
|
+
case 8: {
|
|
5900
|
+
if (tag !== 69) {
|
|
5901
|
+
break;
|
|
5902
|
+
}
|
|
5903
|
+
message.guestportFps = reader.float();
|
|
5904
|
+
continue;
|
|
5905
|
+
}
|
|
5906
|
+
case 5: {
|
|
5907
|
+
if (tag !== 40) {
|
|
5908
|
+
break;
|
|
5909
|
+
}
|
|
5910
|
+
message.multibeamIsRecording = reader.bool();
|
|
5911
|
+
continue;
|
|
5912
|
+
}
|
|
5913
|
+
case 6: {
|
|
5914
|
+
if (tag !== 48) {
|
|
5915
|
+
break;
|
|
5916
|
+
}
|
|
5917
|
+
message.multibeamSeconds = reader.int32();
|
|
5918
|
+
continue;
|
|
5919
|
+
}
|
|
5920
|
+
case 9: {
|
|
5921
|
+
if (tag !== 77) {
|
|
5922
|
+
break;
|
|
5923
|
+
}
|
|
5924
|
+
message.multibeamFps = reader.float();
|
|
5925
|
+
continue;
|
|
5926
|
+
}
|
|
5927
|
+
case 10: {
|
|
5928
|
+
if (tag !== 80) {
|
|
5929
|
+
break;
|
|
5930
|
+
}
|
|
5931
|
+
message.mainStorageLocation = reader.int32();
|
|
5932
|
+
continue;
|
|
5933
|
+
}
|
|
5934
|
+
case 11: {
|
|
5935
|
+
if (tag !== 88) {
|
|
5936
|
+
break;
|
|
5937
|
+
}
|
|
5938
|
+
message.guestportStorageLocation = reader.int32();
|
|
5939
|
+
continue;
|
|
5940
|
+
}
|
|
5941
|
+
case 12: {
|
|
5942
|
+
if (tag !== 96) {
|
|
5943
|
+
break;
|
|
5944
|
+
}
|
|
5945
|
+
message.multibeamStorageLocation = reader.int32();
|
|
5547
5946
|
continue;
|
|
5548
5947
|
}
|
|
5549
5948
|
}
|
|
@@ -5556,29 +5955,275 @@ exports.PingerConfiguration = {
|
|
|
5556
5955
|
},
|
|
5557
5956
|
fromJSON(object) {
|
|
5558
5957
|
return {
|
|
5559
|
-
|
|
5560
|
-
|
|
5958
|
+
mainIsRecording: isSet(object.mainIsRecording) ? gt.Boolean(object.mainIsRecording) : false,
|
|
5959
|
+
mainSeconds: isSet(object.mainSeconds) ? gt.Number(object.mainSeconds) : 0,
|
|
5960
|
+
mainFps: isSet(object.mainFps) ? gt.Number(object.mainFps) : 0,
|
|
5961
|
+
guestportIsRecording: isSet(object.guestportIsRecording) ? gt.Boolean(object.guestportIsRecording) : false,
|
|
5962
|
+
guestportSeconds: isSet(object.guestportSeconds) ? gt.Number(object.guestportSeconds) : 0,
|
|
5963
|
+
guestportFps: isSet(object.guestportFps) ? gt.Number(object.guestportFps) : 0,
|
|
5964
|
+
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
5965
|
+
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
5966
|
+
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
5967
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
5968
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
5969
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
5970
|
+
: 0,
|
|
5971
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
5972
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
5561
5973
|
: 0,
|
|
5562
5974
|
};
|
|
5563
5975
|
},
|
|
5564
5976
|
toJSON(message) {
|
|
5565
5977
|
const obj = {};
|
|
5566
|
-
if (message.
|
|
5567
|
-
obj.
|
|
5978
|
+
if (message.mainIsRecording !== false) {
|
|
5979
|
+
obj.mainIsRecording = message.mainIsRecording;
|
|
5980
|
+
}
|
|
5981
|
+
if (message.mainSeconds !== 0) {
|
|
5982
|
+
obj.mainSeconds = Math.round(message.mainSeconds);
|
|
5983
|
+
}
|
|
5984
|
+
if (message.mainFps !== 0) {
|
|
5985
|
+
obj.mainFps = message.mainFps;
|
|
5986
|
+
}
|
|
5987
|
+
if (message.guestportIsRecording !== false) {
|
|
5988
|
+
obj.guestportIsRecording = message.guestportIsRecording;
|
|
5989
|
+
}
|
|
5990
|
+
if (message.guestportSeconds !== 0) {
|
|
5991
|
+
obj.guestportSeconds = Math.round(message.guestportSeconds);
|
|
5992
|
+
}
|
|
5993
|
+
if (message.guestportFps !== 0) {
|
|
5994
|
+
obj.guestportFps = message.guestportFps;
|
|
5995
|
+
}
|
|
5996
|
+
if (message.multibeamIsRecording !== false) {
|
|
5997
|
+
obj.multibeamIsRecording = message.multibeamIsRecording;
|
|
5998
|
+
}
|
|
5999
|
+
if (message.multibeamSeconds !== 0) {
|
|
6000
|
+
obj.multibeamSeconds = Math.round(message.multibeamSeconds);
|
|
6001
|
+
}
|
|
6002
|
+
if (message.multibeamFps !== 0) {
|
|
6003
|
+
obj.multibeamFps = message.multibeamFps;
|
|
6004
|
+
}
|
|
6005
|
+
if (message.mainStorageLocation !== 0) {
|
|
6006
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
6007
|
+
}
|
|
6008
|
+
if (message.guestportStorageLocation !== 0) {
|
|
6009
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
6010
|
+
}
|
|
6011
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
6012
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
5568
6013
|
}
|
|
5569
6014
|
return obj;
|
|
5570
6015
|
},
|
|
5571
6016
|
create(base) {
|
|
5572
|
-
return exports.
|
|
6017
|
+
return exports.RecordState.fromPartial(base ?? {});
|
|
5573
6018
|
},
|
|
5574
6019
|
fromPartial(object) {
|
|
5575
|
-
const message =
|
|
5576
|
-
message.
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
6020
|
+
const message = createBaseRecordState();
|
|
6021
|
+
message.mainIsRecording = object.mainIsRecording ?? false;
|
|
6022
|
+
message.mainSeconds = object.mainSeconds ?? 0;
|
|
6023
|
+
message.mainFps = object.mainFps ?? 0;
|
|
6024
|
+
message.guestportIsRecording = object.guestportIsRecording ?? false;
|
|
6025
|
+
message.guestportSeconds = object.guestportSeconds ?? 0;
|
|
6026
|
+
message.guestportFps = object.guestportFps ?? 0;
|
|
6027
|
+
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
6028
|
+
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
6029
|
+
message.multibeamFps = object.multibeamFps ?? 0;
|
|
6030
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
6031
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
6032
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
6033
|
+
return message;
|
|
6034
|
+
},
|
|
6035
|
+
};
|
|
6036
|
+
function createBaseTimeLapseState() {
|
|
6037
|
+
return { interval: 0, photosTaken: 0, intervalType: 0 };
|
|
6038
|
+
}
|
|
6039
|
+
exports.TimeLapseState = {
|
|
6040
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
6041
|
+
if (message.interval !== 0) {
|
|
6042
|
+
writer.uint32(13).float(message.interval);
|
|
6043
|
+
}
|
|
6044
|
+
if (message.photosTaken !== 0) {
|
|
6045
|
+
writer.uint32(16).int32(message.photosTaken);
|
|
6046
|
+
}
|
|
6047
|
+
if (message.intervalType !== 0) {
|
|
6048
|
+
writer.uint32(24).int32(message.intervalType);
|
|
6049
|
+
}
|
|
6050
|
+
return writer;
|
|
6051
|
+
},
|
|
6052
|
+
decode(input, length) {
|
|
6053
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6054
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6055
|
+
const message = createBaseTimeLapseState();
|
|
6056
|
+
while (reader.pos < end) {
|
|
6057
|
+
const tag = reader.uint32();
|
|
6058
|
+
switch (tag >>> 3) {
|
|
6059
|
+
case 1: {
|
|
6060
|
+
if (tag !== 13) {
|
|
6061
|
+
break;
|
|
6062
|
+
}
|
|
6063
|
+
message.interval = reader.float();
|
|
6064
|
+
continue;
|
|
6065
|
+
}
|
|
6066
|
+
case 2: {
|
|
6067
|
+
if (tag !== 16) {
|
|
6068
|
+
break;
|
|
6069
|
+
}
|
|
6070
|
+
message.photosTaken = reader.int32();
|
|
6071
|
+
continue;
|
|
6072
|
+
}
|
|
6073
|
+
case 3: {
|
|
6074
|
+
if (tag !== 24) {
|
|
6075
|
+
break;
|
|
6076
|
+
}
|
|
6077
|
+
message.intervalType = reader.int32();
|
|
6078
|
+
continue;
|
|
6079
|
+
}
|
|
6080
|
+
}
|
|
6081
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
6082
|
+
break;
|
|
6083
|
+
}
|
|
6084
|
+
reader.skip(tag & 7);
|
|
6085
|
+
}
|
|
6086
|
+
return message;
|
|
6087
|
+
},
|
|
6088
|
+
fromJSON(object) {
|
|
6089
|
+
return {
|
|
6090
|
+
interval: isSet(object.interval) ? gt.Number(object.interval) : 0,
|
|
6091
|
+
photosTaken: isSet(object.photosTaken) ? gt.Number(object.photosTaken) : 0,
|
|
6092
|
+
intervalType: isSet(object.intervalType) ? intervalTypeFromJSON(object.intervalType) : 0,
|
|
6093
|
+
};
|
|
6094
|
+
},
|
|
6095
|
+
toJSON(message) {
|
|
6096
|
+
const obj = {};
|
|
6097
|
+
if (message.interval !== 0) {
|
|
6098
|
+
obj.interval = message.interval;
|
|
6099
|
+
}
|
|
6100
|
+
if (message.photosTaken !== 0) {
|
|
6101
|
+
obj.photosTaken = Math.round(message.photosTaken);
|
|
6102
|
+
}
|
|
6103
|
+
if (message.intervalType !== 0) {
|
|
6104
|
+
obj.intervalType = intervalTypeToJSON(message.intervalType);
|
|
6105
|
+
}
|
|
6106
|
+
return obj;
|
|
6107
|
+
},
|
|
6108
|
+
create(base) {
|
|
6109
|
+
return exports.TimeLapseState.fromPartial(base ?? {});
|
|
6110
|
+
},
|
|
6111
|
+
fromPartial(object) {
|
|
6112
|
+
const message = createBaseTimeLapseState();
|
|
6113
|
+
message.interval = object.interval ?? 0;
|
|
6114
|
+
message.photosTaken = object.photosTaken ?? 0;
|
|
6115
|
+
message.intervalType = object.intervalType ?? 0;
|
|
6116
|
+
return message;
|
|
6117
|
+
},
|
|
6118
|
+
};
|
|
6119
|
+
function createBaseWaterDensity() {
|
|
6120
|
+
return { value: 0 };
|
|
6121
|
+
}
|
|
6122
|
+
exports.WaterDensity = {
|
|
6123
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
6124
|
+
if (message.value !== 0) {
|
|
6125
|
+
writer.uint32(13).float(message.value);
|
|
6126
|
+
}
|
|
6127
|
+
return writer;
|
|
6128
|
+
},
|
|
6129
|
+
decode(input, length) {
|
|
6130
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6131
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6132
|
+
const message = createBaseWaterDensity();
|
|
6133
|
+
while (reader.pos < end) {
|
|
6134
|
+
const tag = reader.uint32();
|
|
6135
|
+
switch (tag >>> 3) {
|
|
6136
|
+
case 1: {
|
|
6137
|
+
if (tag !== 13) {
|
|
6138
|
+
break;
|
|
6139
|
+
}
|
|
6140
|
+
message.value = reader.float();
|
|
6141
|
+
continue;
|
|
6142
|
+
}
|
|
6143
|
+
}
|
|
6144
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
6145
|
+
break;
|
|
6146
|
+
}
|
|
6147
|
+
reader.skip(tag & 7);
|
|
6148
|
+
}
|
|
6149
|
+
return message;
|
|
6150
|
+
},
|
|
6151
|
+
fromJSON(object) {
|
|
6152
|
+
return { value: isSet(object.value) ? gt.Number(object.value) : 0 };
|
|
6153
|
+
},
|
|
6154
|
+
toJSON(message) {
|
|
6155
|
+
const obj = {};
|
|
6156
|
+
if (message.value !== 0) {
|
|
6157
|
+
obj.value = message.value;
|
|
6158
|
+
}
|
|
6159
|
+
return obj;
|
|
6160
|
+
},
|
|
6161
|
+
create(base) {
|
|
6162
|
+
return exports.WaterDensity.fromPartial(base ?? {});
|
|
6163
|
+
},
|
|
6164
|
+
fromPartial(object) {
|
|
6165
|
+
const message = createBaseWaterDensity();
|
|
6166
|
+
message.value = object.value ?? 0;
|
|
6167
|
+
return message;
|
|
6168
|
+
},
|
|
6169
|
+
};
|
|
6170
|
+
function createBasePingerConfiguration() {
|
|
6171
|
+
return { mountingDirection: 0 };
|
|
6172
|
+
}
|
|
6173
|
+
exports.PingerConfiguration = {
|
|
6174
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
6175
|
+
if (message.mountingDirection !== 0) {
|
|
6176
|
+
writer.uint32(8).int32(message.mountingDirection);
|
|
6177
|
+
}
|
|
6178
|
+
return writer;
|
|
6179
|
+
},
|
|
6180
|
+
decode(input, length) {
|
|
6181
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6182
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6183
|
+
const message = createBasePingerConfiguration();
|
|
6184
|
+
while (reader.pos < end) {
|
|
6185
|
+
const tag = reader.uint32();
|
|
6186
|
+
switch (tag >>> 3) {
|
|
6187
|
+
case 1: {
|
|
6188
|
+
if (tag !== 8) {
|
|
6189
|
+
break;
|
|
6190
|
+
}
|
|
6191
|
+
message.mountingDirection = reader.int32();
|
|
6192
|
+
continue;
|
|
6193
|
+
}
|
|
6194
|
+
}
|
|
6195
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
6196
|
+
break;
|
|
6197
|
+
}
|
|
6198
|
+
reader.skip(tag & 7);
|
|
6199
|
+
}
|
|
6200
|
+
return message;
|
|
6201
|
+
},
|
|
6202
|
+
fromJSON(object) {
|
|
6203
|
+
return {
|
|
6204
|
+
mountingDirection: isSet(object.mountingDirection)
|
|
6205
|
+
? pingerConfiguration_MountingDirectionFromJSON(object.mountingDirection)
|
|
6206
|
+
: 0,
|
|
6207
|
+
};
|
|
6208
|
+
},
|
|
6209
|
+
toJSON(message) {
|
|
6210
|
+
const obj = {};
|
|
6211
|
+
if (message.mountingDirection !== 0) {
|
|
6212
|
+
obj.mountingDirection = pingerConfiguration_MountingDirectionToJSON(message.mountingDirection);
|
|
6213
|
+
}
|
|
6214
|
+
return obj;
|
|
6215
|
+
},
|
|
6216
|
+
create(base) {
|
|
6217
|
+
return exports.PingerConfiguration.fromPartial(base ?? {});
|
|
6218
|
+
},
|
|
6219
|
+
fromPartial(object) {
|
|
6220
|
+
const message = createBasePingerConfiguration();
|
|
6221
|
+
message.mountingDirection = object.mountingDirection ?? 0;
|
|
6222
|
+
return message;
|
|
6223
|
+
},
|
|
6224
|
+
};
|
|
6225
|
+
function createBaseWaterTemperature() {
|
|
6226
|
+
return { value: 0 };
|
|
5582
6227
|
}
|
|
5583
6228
|
exports.WaterTemperature = {
|
|
5584
6229
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -5781,48 +6426,38 @@ exports.CanisterHumidity = {
|
|
|
5781
6426
|
return message;
|
|
5782
6427
|
},
|
|
5783
6428
|
};
|
|
5784
|
-
function
|
|
5785
|
-
return {
|
|
6429
|
+
function createBasePowerCanister() {
|
|
6430
|
+
return { frontEsc: undefined, rearEsc: undefined };
|
|
5786
6431
|
}
|
|
5787
|
-
exports.
|
|
6432
|
+
exports.PowerCanister = {
|
|
5788
6433
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5789
|
-
if (message.
|
|
5790
|
-
writer.uint32(
|
|
6434
|
+
if (message.frontEsc !== undefined) {
|
|
6435
|
+
exports.PowerCanister_Sensors.encode(message.frontEsc, writer.uint32(10).fork()).join();
|
|
5791
6436
|
}
|
|
5792
|
-
if (message.
|
|
5793
|
-
writer.uint32(
|
|
5794
|
-
}
|
|
5795
|
-
if (message.temperature !== 0) {
|
|
5796
|
-
writer.uint32(29).float(message.temperature);
|
|
6437
|
+
if (message.rearEsc !== undefined) {
|
|
6438
|
+
exports.PowerCanister_Sensors.encode(message.rearEsc, writer.uint32(18).fork()).join();
|
|
5797
6439
|
}
|
|
5798
6440
|
return writer;
|
|
5799
6441
|
},
|
|
5800
6442
|
decode(input, length) {
|
|
5801
6443
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5802
6444
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5803
|
-
const message =
|
|
6445
|
+
const message = createBasePowerCanister();
|
|
5804
6446
|
while (reader.pos < end) {
|
|
5805
6447
|
const tag = reader.uint32();
|
|
5806
6448
|
switch (tag >>> 3) {
|
|
5807
6449
|
case 1: {
|
|
5808
|
-
if (tag !==
|
|
6450
|
+
if (tag !== 10) {
|
|
5809
6451
|
break;
|
|
5810
6452
|
}
|
|
5811
|
-
message.
|
|
6453
|
+
message.frontEsc = exports.PowerCanister_Sensors.decode(reader, reader.uint32());
|
|
5812
6454
|
continue;
|
|
5813
6455
|
}
|
|
5814
6456
|
case 2: {
|
|
5815
|
-
if (tag !==
|
|
5816
|
-
break;
|
|
5817
|
-
}
|
|
5818
|
-
message.level = reader.float();
|
|
5819
|
-
continue;
|
|
5820
|
-
}
|
|
5821
|
-
case 3: {
|
|
5822
|
-
if (tag !== 29) {
|
|
6457
|
+
if (tag !== 18) {
|
|
5823
6458
|
break;
|
|
5824
6459
|
}
|
|
5825
|
-
message.
|
|
6460
|
+
message.rearEsc = exports.PowerCanister_Sensors.decode(reader, reader.uint32());
|
|
5826
6461
|
continue;
|
|
5827
6462
|
}
|
|
5828
6463
|
}
|
|
@@ -5835,43 +6470,193 @@ exports.Battery = {
|
|
|
5835
6470
|
},
|
|
5836
6471
|
fromJSON(object) {
|
|
5837
6472
|
return {
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
temperature: isSet(object.temperature) ? gt.Number(object.temperature) : 0,
|
|
6473
|
+
frontEsc: isSet(object.frontEsc) ? exports.PowerCanister_Sensors.fromJSON(object.frontEsc) : undefined,
|
|
6474
|
+
rearEsc: isSet(object.rearEsc) ? exports.PowerCanister_Sensors.fromJSON(object.rearEsc) : undefined,
|
|
5841
6475
|
};
|
|
5842
6476
|
},
|
|
5843
6477
|
toJSON(message) {
|
|
5844
6478
|
const obj = {};
|
|
5845
|
-
if (message.
|
|
5846
|
-
obj.
|
|
6479
|
+
if (message.frontEsc !== undefined) {
|
|
6480
|
+
obj.frontEsc = exports.PowerCanister_Sensors.toJSON(message.frontEsc);
|
|
5847
6481
|
}
|
|
5848
|
-
if (message.
|
|
5849
|
-
obj.
|
|
5850
|
-
}
|
|
5851
|
-
if (message.temperature !== 0) {
|
|
5852
|
-
obj.temperature = message.temperature;
|
|
6482
|
+
if (message.rearEsc !== undefined) {
|
|
6483
|
+
obj.rearEsc = exports.PowerCanister_Sensors.toJSON(message.rearEsc);
|
|
5853
6484
|
}
|
|
5854
6485
|
return obj;
|
|
5855
6486
|
},
|
|
5856
6487
|
create(base) {
|
|
5857
|
-
return exports.
|
|
6488
|
+
return exports.PowerCanister.fromPartial(base ?? {});
|
|
5858
6489
|
},
|
|
5859
6490
|
fromPartial(object) {
|
|
5860
|
-
const message =
|
|
5861
|
-
message.
|
|
5862
|
-
|
|
5863
|
-
|
|
6491
|
+
const message = createBasePowerCanister();
|
|
6492
|
+
message.frontEsc = (object.frontEsc !== undefined && object.frontEsc !== null)
|
|
6493
|
+
? exports.PowerCanister_Sensors.fromPartial(object.frontEsc)
|
|
6494
|
+
: undefined;
|
|
6495
|
+
message.rearEsc = (object.rearEsc !== undefined && object.rearEsc !== null)
|
|
6496
|
+
? exports.PowerCanister_Sensors.fromPartial(object.rearEsc)
|
|
6497
|
+
: undefined;
|
|
5864
6498
|
return message;
|
|
5865
6499
|
},
|
|
5866
6500
|
};
|
|
5867
|
-
function
|
|
5868
|
-
return {
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
6501
|
+
function createBasePowerCanister_Sensors() {
|
|
6502
|
+
return { temperature: 0, humidity: 0 };
|
|
6503
|
+
}
|
|
6504
|
+
exports.PowerCanister_Sensors = {
|
|
6505
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
6506
|
+
if (message.temperature !== 0) {
|
|
6507
|
+
writer.uint32(13).float(message.temperature);
|
|
6508
|
+
}
|
|
6509
|
+
if (message.humidity !== 0) {
|
|
6510
|
+
writer.uint32(21).float(message.humidity);
|
|
6511
|
+
}
|
|
6512
|
+
return writer;
|
|
6513
|
+
},
|
|
6514
|
+
decode(input, length) {
|
|
6515
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6516
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6517
|
+
const message = createBasePowerCanister_Sensors();
|
|
6518
|
+
while (reader.pos < end) {
|
|
6519
|
+
const tag = reader.uint32();
|
|
6520
|
+
switch (tag >>> 3) {
|
|
6521
|
+
case 1: {
|
|
6522
|
+
if (tag !== 13) {
|
|
6523
|
+
break;
|
|
6524
|
+
}
|
|
6525
|
+
message.temperature = reader.float();
|
|
6526
|
+
continue;
|
|
6527
|
+
}
|
|
6528
|
+
case 2: {
|
|
6529
|
+
if (tag !== 21) {
|
|
6530
|
+
break;
|
|
6531
|
+
}
|
|
6532
|
+
message.humidity = reader.float();
|
|
6533
|
+
continue;
|
|
6534
|
+
}
|
|
6535
|
+
}
|
|
6536
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
6537
|
+
break;
|
|
6538
|
+
}
|
|
6539
|
+
reader.skip(tag & 7);
|
|
6540
|
+
}
|
|
6541
|
+
return message;
|
|
6542
|
+
},
|
|
6543
|
+
fromJSON(object) {
|
|
6544
|
+
return {
|
|
6545
|
+
temperature: isSet(object.temperature) ? gt.Number(object.temperature) : 0,
|
|
6546
|
+
humidity: isSet(object.humidity) ? gt.Number(object.humidity) : 0,
|
|
6547
|
+
};
|
|
6548
|
+
},
|
|
6549
|
+
toJSON(message) {
|
|
6550
|
+
const obj = {};
|
|
6551
|
+
if (message.temperature !== 0) {
|
|
6552
|
+
obj.temperature = message.temperature;
|
|
6553
|
+
}
|
|
6554
|
+
if (message.humidity !== 0) {
|
|
6555
|
+
obj.humidity = message.humidity;
|
|
6556
|
+
}
|
|
6557
|
+
return obj;
|
|
6558
|
+
},
|
|
6559
|
+
create(base) {
|
|
6560
|
+
return exports.PowerCanister_Sensors.fromPartial(base ?? {});
|
|
6561
|
+
},
|
|
6562
|
+
fromPartial(object) {
|
|
6563
|
+
const message = createBasePowerCanister_Sensors();
|
|
6564
|
+
message.temperature = object.temperature ?? 0;
|
|
6565
|
+
message.humidity = object.humidity ?? 0;
|
|
6566
|
+
return message;
|
|
6567
|
+
},
|
|
6568
|
+
};
|
|
6569
|
+
function createBaseBattery() {
|
|
6570
|
+
return { voltage: 0, level: 0, temperature: 0 };
|
|
6571
|
+
}
|
|
6572
|
+
exports.Battery = {
|
|
6573
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
6574
|
+
if (message.voltage !== 0) {
|
|
6575
|
+
writer.uint32(13).float(message.voltage);
|
|
6576
|
+
}
|
|
6577
|
+
if (message.level !== 0) {
|
|
6578
|
+
writer.uint32(21).float(message.level);
|
|
6579
|
+
}
|
|
6580
|
+
if (message.temperature !== 0) {
|
|
6581
|
+
writer.uint32(29).float(message.temperature);
|
|
6582
|
+
}
|
|
6583
|
+
return writer;
|
|
6584
|
+
},
|
|
6585
|
+
decode(input, length) {
|
|
6586
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6587
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6588
|
+
const message = createBaseBattery();
|
|
6589
|
+
while (reader.pos < end) {
|
|
6590
|
+
const tag = reader.uint32();
|
|
6591
|
+
switch (tag >>> 3) {
|
|
6592
|
+
case 1: {
|
|
6593
|
+
if (tag !== 13) {
|
|
6594
|
+
break;
|
|
6595
|
+
}
|
|
6596
|
+
message.voltage = reader.float();
|
|
6597
|
+
continue;
|
|
6598
|
+
}
|
|
6599
|
+
case 2: {
|
|
6600
|
+
if (tag !== 21) {
|
|
6601
|
+
break;
|
|
6602
|
+
}
|
|
6603
|
+
message.level = reader.float();
|
|
6604
|
+
continue;
|
|
6605
|
+
}
|
|
6606
|
+
case 3: {
|
|
6607
|
+
if (tag !== 29) {
|
|
6608
|
+
break;
|
|
6609
|
+
}
|
|
6610
|
+
message.temperature = reader.float();
|
|
6611
|
+
continue;
|
|
6612
|
+
}
|
|
6613
|
+
}
|
|
6614
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
6615
|
+
break;
|
|
6616
|
+
}
|
|
6617
|
+
reader.skip(tag & 7);
|
|
6618
|
+
}
|
|
6619
|
+
return message;
|
|
6620
|
+
},
|
|
6621
|
+
fromJSON(object) {
|
|
6622
|
+
return {
|
|
6623
|
+
voltage: isSet(object.voltage) ? gt.Number(object.voltage) : 0,
|
|
6624
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
6625
|
+
temperature: isSet(object.temperature) ? gt.Number(object.temperature) : 0,
|
|
6626
|
+
};
|
|
6627
|
+
},
|
|
6628
|
+
toJSON(message) {
|
|
6629
|
+
const obj = {};
|
|
6630
|
+
if (message.voltage !== 0) {
|
|
6631
|
+
obj.voltage = message.voltage;
|
|
6632
|
+
}
|
|
6633
|
+
if (message.level !== 0) {
|
|
6634
|
+
obj.level = message.level;
|
|
6635
|
+
}
|
|
6636
|
+
if (message.temperature !== 0) {
|
|
6637
|
+
obj.temperature = message.temperature;
|
|
6638
|
+
}
|
|
6639
|
+
return obj;
|
|
6640
|
+
},
|
|
6641
|
+
create(base) {
|
|
6642
|
+
return exports.Battery.fromPartial(base ?? {});
|
|
6643
|
+
},
|
|
6644
|
+
fromPartial(object) {
|
|
6645
|
+
const message = createBaseBattery();
|
|
6646
|
+
message.voltage = object.voltage ?? 0;
|
|
6647
|
+
message.level = object.level ?? 0;
|
|
6648
|
+
message.temperature = object.temperature ?? 0;
|
|
6649
|
+
return message;
|
|
6650
|
+
},
|
|
6651
|
+
};
|
|
6652
|
+
function createBaseBatteryBQ40Z50() {
|
|
6653
|
+
return {
|
|
6654
|
+
voltage: undefined,
|
|
6655
|
+
temperature: undefined,
|
|
6656
|
+
status: undefined,
|
|
6657
|
+
current: 0,
|
|
6658
|
+
averageCurrent: 0,
|
|
6659
|
+
relativeStateOfCharge: 0,
|
|
5875
6660
|
absoluteStateOfCharge: 0,
|
|
5876
6661
|
calculatedStateOfCharge: 0,
|
|
5877
6662
|
remainingCapacity: 0,
|
|
@@ -10742,9 +11527,14 @@ function createBaseErrorFlags() {
|
|
|
10742
11527
|
gp65vCurrent: false,
|
|
10743
11528
|
dvlThermalProtectionMode: false,
|
|
10744
11529
|
dvlNoPower: false,
|
|
11530
|
+
dvlProtocolUnsupported: false,
|
|
10745
11531
|
usbDisconnect: false,
|
|
10746
11532
|
videoUrbError: false,
|
|
10747
11533
|
hardwareNotSupported: false,
|
|
11534
|
+
imu1: false,
|
|
11535
|
+
imu2: false,
|
|
11536
|
+
imuHp: false,
|
|
11537
|
+
imuAttitude: false,
|
|
10748
11538
|
};
|
|
10749
11539
|
}
|
|
10750
11540
|
exports.ErrorFlags = {
|
|
@@ -10989,6 +11779,9 @@ exports.ErrorFlags = {
|
|
|
10989
11779
|
if (message.dvlNoPower !== false) {
|
|
10990
11780
|
writer.uint32(352).bool(message.dvlNoPower);
|
|
10991
11781
|
}
|
|
11782
|
+
if (message.dvlProtocolUnsupported !== false) {
|
|
11783
|
+
writer.uint32(672).bool(message.dvlProtocolUnsupported);
|
|
11784
|
+
}
|
|
10992
11785
|
if (message.usbDisconnect !== false) {
|
|
10993
11786
|
writer.uint32(360).bool(message.usbDisconnect);
|
|
10994
11787
|
}
|
|
@@ -10998,6 +11791,18 @@ exports.ErrorFlags = {
|
|
|
10998
11791
|
if (message.hardwareNotSupported !== false) {
|
|
10999
11792
|
writer.uint32(376).bool(message.hardwareNotSupported);
|
|
11000
11793
|
}
|
|
11794
|
+
if (message.imu1 !== false) {
|
|
11795
|
+
writer.uint32(680).bool(message.imu1);
|
|
11796
|
+
}
|
|
11797
|
+
if (message.imu2 !== false) {
|
|
11798
|
+
writer.uint32(688).bool(message.imu2);
|
|
11799
|
+
}
|
|
11800
|
+
if (message.imuHp !== false) {
|
|
11801
|
+
writer.uint32(696).bool(message.imuHp);
|
|
11802
|
+
}
|
|
11803
|
+
if (message.imuAttitude !== false) {
|
|
11804
|
+
writer.uint32(704).bool(message.imuAttitude);
|
|
11805
|
+
}
|
|
11001
11806
|
return writer;
|
|
11002
11807
|
},
|
|
11003
11808
|
decode(input, length) {
|
|
@@ -11567,6 +12372,13 @@ exports.ErrorFlags = {
|
|
|
11567
12372
|
message.dvlNoPower = reader.bool();
|
|
11568
12373
|
continue;
|
|
11569
12374
|
}
|
|
12375
|
+
case 84: {
|
|
12376
|
+
if (tag !== 672) {
|
|
12377
|
+
break;
|
|
12378
|
+
}
|
|
12379
|
+
message.dvlProtocolUnsupported = reader.bool();
|
|
12380
|
+
continue;
|
|
12381
|
+
}
|
|
11570
12382
|
case 45: {
|
|
11571
12383
|
if (tag !== 360) {
|
|
11572
12384
|
break;
|
|
@@ -11588,6 +12400,34 @@ exports.ErrorFlags = {
|
|
|
11588
12400
|
message.hardwareNotSupported = reader.bool();
|
|
11589
12401
|
continue;
|
|
11590
12402
|
}
|
|
12403
|
+
case 85: {
|
|
12404
|
+
if (tag !== 680) {
|
|
12405
|
+
break;
|
|
12406
|
+
}
|
|
12407
|
+
message.imu1 = reader.bool();
|
|
12408
|
+
continue;
|
|
12409
|
+
}
|
|
12410
|
+
case 86: {
|
|
12411
|
+
if (tag !== 688) {
|
|
12412
|
+
break;
|
|
12413
|
+
}
|
|
12414
|
+
message.imu2 = reader.bool();
|
|
12415
|
+
continue;
|
|
12416
|
+
}
|
|
12417
|
+
case 87: {
|
|
12418
|
+
if (tag !== 696) {
|
|
12419
|
+
break;
|
|
12420
|
+
}
|
|
12421
|
+
message.imuHp = reader.bool();
|
|
12422
|
+
continue;
|
|
12423
|
+
}
|
|
12424
|
+
case 88: {
|
|
12425
|
+
if (tag !== 704) {
|
|
12426
|
+
break;
|
|
12427
|
+
}
|
|
12428
|
+
message.imuAttitude = reader.bool();
|
|
12429
|
+
continue;
|
|
12430
|
+
}
|
|
11591
12431
|
}
|
|
11592
12432
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11593
12433
|
break;
|
|
@@ -11684,9 +12524,14 @@ exports.ErrorFlags = {
|
|
|
11684
12524
|
? gt.Boolean(object.dvlThermalProtectionMode)
|
|
11685
12525
|
: false,
|
|
11686
12526
|
dvlNoPower: isSet(object.dvlNoPower) ? gt.Boolean(object.dvlNoPower) : false,
|
|
12527
|
+
dvlProtocolUnsupported: isSet(object.dvlProtocolUnsupported) ? gt.Boolean(object.dvlProtocolUnsupported) : false,
|
|
11687
12528
|
usbDisconnect: isSet(object.usbDisconnect) ? gt.Boolean(object.usbDisconnect) : false,
|
|
11688
12529
|
videoUrbError: isSet(object.videoUrbError) ? gt.Boolean(object.videoUrbError) : false,
|
|
11689
12530
|
hardwareNotSupported: isSet(object.hardwareNotSupported) ? gt.Boolean(object.hardwareNotSupported) : false,
|
|
12531
|
+
imu1: isSet(object.imu1) ? gt.Boolean(object.imu1) : false,
|
|
12532
|
+
imu2: isSet(object.imu2) ? gt.Boolean(object.imu2) : false,
|
|
12533
|
+
imuHp: isSet(object.imuHp) ? gt.Boolean(object.imuHp) : false,
|
|
12534
|
+
imuAttitude: isSet(object.imuAttitude) ? gt.Boolean(object.imuAttitude) : false,
|
|
11690
12535
|
};
|
|
11691
12536
|
},
|
|
11692
12537
|
toJSON(message) {
|
|
@@ -11931,6 +12776,9 @@ exports.ErrorFlags = {
|
|
|
11931
12776
|
if (message.dvlNoPower !== false) {
|
|
11932
12777
|
obj.dvlNoPower = message.dvlNoPower;
|
|
11933
12778
|
}
|
|
12779
|
+
if (message.dvlProtocolUnsupported !== false) {
|
|
12780
|
+
obj.dvlProtocolUnsupported = message.dvlProtocolUnsupported;
|
|
12781
|
+
}
|
|
11934
12782
|
if (message.usbDisconnect !== false) {
|
|
11935
12783
|
obj.usbDisconnect = message.usbDisconnect;
|
|
11936
12784
|
}
|
|
@@ -11940,6 +12788,18 @@ exports.ErrorFlags = {
|
|
|
11940
12788
|
if (message.hardwareNotSupported !== false) {
|
|
11941
12789
|
obj.hardwareNotSupported = message.hardwareNotSupported;
|
|
11942
12790
|
}
|
|
12791
|
+
if (message.imu1 !== false) {
|
|
12792
|
+
obj.imu1 = message.imu1;
|
|
12793
|
+
}
|
|
12794
|
+
if (message.imu2 !== false) {
|
|
12795
|
+
obj.imu2 = message.imu2;
|
|
12796
|
+
}
|
|
12797
|
+
if (message.imuHp !== false) {
|
|
12798
|
+
obj.imuHp = message.imuHp;
|
|
12799
|
+
}
|
|
12800
|
+
if (message.imuAttitude !== false) {
|
|
12801
|
+
obj.imuAttitude = message.imuAttitude;
|
|
12802
|
+
}
|
|
11943
12803
|
return obj;
|
|
11944
12804
|
},
|
|
11945
12805
|
create(base) {
|
|
@@ -12027,9 +12887,14 @@ exports.ErrorFlags = {
|
|
|
12027
12887
|
message.gp65vCurrent = object.gp65vCurrent ?? false;
|
|
12028
12888
|
message.dvlThermalProtectionMode = object.dvlThermalProtectionMode ?? false;
|
|
12029
12889
|
message.dvlNoPower = object.dvlNoPower ?? false;
|
|
12890
|
+
message.dvlProtocolUnsupported = object.dvlProtocolUnsupported ?? false;
|
|
12030
12891
|
message.usbDisconnect = object.usbDisconnect ?? false;
|
|
12031
12892
|
message.videoUrbError = object.videoUrbError ?? false;
|
|
12032
12893
|
message.hardwareNotSupported = object.hardwareNotSupported ?? false;
|
|
12894
|
+
message.imu1 = object.imu1 ?? false;
|
|
12895
|
+
message.imu2 = object.imu2 ?? false;
|
|
12896
|
+
message.imuHp = object.imuHp ?? false;
|
|
12897
|
+
message.imuAttitude = object.imuAttitude ?? false;
|
|
12033
12898
|
return message;
|
|
12034
12899
|
},
|
|
12035
12900
|
};
|
|
@@ -12930,56 +13795,606 @@ exports.NavigationSensorStatus = {
|
|
|
12930
13795
|
if (tag !== 8) {
|
|
12931
13796
|
break;
|
|
12932
13797
|
}
|
|
12933
|
-
message.sensorId = reader.int32();
|
|
13798
|
+
message.sensorId = reader.int32();
|
|
13799
|
+
continue;
|
|
13800
|
+
}
|
|
13801
|
+
case 2: {
|
|
13802
|
+
if (tag !== 16) {
|
|
13803
|
+
break;
|
|
13804
|
+
}
|
|
13805
|
+
message.isValid = reader.bool();
|
|
13806
|
+
continue;
|
|
13807
|
+
}
|
|
13808
|
+
case 3: {
|
|
13809
|
+
if (tag !== 29) {
|
|
13810
|
+
break;
|
|
13811
|
+
}
|
|
13812
|
+
message.northing = reader.float();
|
|
13813
|
+
continue;
|
|
13814
|
+
}
|
|
13815
|
+
case 4: {
|
|
13816
|
+
if (tag !== 37) {
|
|
13817
|
+
break;
|
|
13818
|
+
}
|
|
13819
|
+
message.easting = reader.float();
|
|
13820
|
+
continue;
|
|
13821
|
+
}
|
|
13822
|
+
case 5: {
|
|
13823
|
+
if (tag !== 45) {
|
|
13824
|
+
break;
|
|
13825
|
+
}
|
|
13826
|
+
message.heading = reader.float();
|
|
13827
|
+
continue;
|
|
13828
|
+
}
|
|
13829
|
+
case 6: {
|
|
13830
|
+
if (tag !== 53) {
|
|
13831
|
+
break;
|
|
13832
|
+
}
|
|
13833
|
+
message.fom = reader.float();
|
|
13834
|
+
continue;
|
|
13835
|
+
}
|
|
13836
|
+
case 7: {
|
|
13837
|
+
if (tag !== 61) {
|
|
13838
|
+
break;
|
|
13839
|
+
}
|
|
13840
|
+
message.std = reader.float();
|
|
13841
|
+
continue;
|
|
13842
|
+
}
|
|
13843
|
+
case 8: {
|
|
13844
|
+
if (tag !== 66) {
|
|
13845
|
+
break;
|
|
13846
|
+
}
|
|
13847
|
+
message.globalPosition = exports.LatLongPosition.decode(reader, reader.uint32());
|
|
13848
|
+
continue;
|
|
13849
|
+
}
|
|
13850
|
+
}
|
|
13851
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13852
|
+
break;
|
|
13853
|
+
}
|
|
13854
|
+
reader.skip(tag & 7);
|
|
13855
|
+
}
|
|
13856
|
+
return message;
|
|
13857
|
+
},
|
|
13858
|
+
fromJSON(object) {
|
|
13859
|
+
return {
|
|
13860
|
+
sensorId: isSet(object.sensorId) ? navigationSensorIDFromJSON(object.sensorId) : 0,
|
|
13861
|
+
isValid: isSet(object.isValid) ? gt.Boolean(object.isValid) : false,
|
|
13862
|
+
northing: isSet(object.northing) ? gt.Number(object.northing) : 0,
|
|
13863
|
+
easting: isSet(object.easting) ? gt.Number(object.easting) : 0,
|
|
13864
|
+
heading: isSet(object.heading) ? gt.Number(object.heading) : 0,
|
|
13865
|
+
fom: isSet(object.fom) ? gt.Number(object.fom) : 0,
|
|
13866
|
+
std: isSet(object.std) ? gt.Number(object.std) : 0,
|
|
13867
|
+
globalPosition: isSet(object.globalPosition) ? exports.LatLongPosition.fromJSON(object.globalPosition) : undefined,
|
|
13868
|
+
};
|
|
13869
|
+
},
|
|
13870
|
+
toJSON(message) {
|
|
13871
|
+
const obj = {};
|
|
13872
|
+
if (message.sensorId !== 0) {
|
|
13873
|
+
obj.sensorId = navigationSensorIDToJSON(message.sensorId);
|
|
13874
|
+
}
|
|
13875
|
+
if (message.isValid !== false) {
|
|
13876
|
+
obj.isValid = message.isValid;
|
|
13877
|
+
}
|
|
13878
|
+
if (message.northing !== 0) {
|
|
13879
|
+
obj.northing = message.northing;
|
|
13880
|
+
}
|
|
13881
|
+
if (message.easting !== 0) {
|
|
13882
|
+
obj.easting = message.easting;
|
|
13883
|
+
}
|
|
13884
|
+
if (message.heading !== 0) {
|
|
13885
|
+
obj.heading = message.heading;
|
|
13886
|
+
}
|
|
13887
|
+
if (message.fom !== 0) {
|
|
13888
|
+
obj.fom = message.fom;
|
|
13889
|
+
}
|
|
13890
|
+
if (message.std !== 0) {
|
|
13891
|
+
obj.std = message.std;
|
|
13892
|
+
}
|
|
13893
|
+
if (message.globalPosition !== undefined) {
|
|
13894
|
+
obj.globalPosition = exports.LatLongPosition.toJSON(message.globalPosition);
|
|
13895
|
+
}
|
|
13896
|
+
return obj;
|
|
13897
|
+
},
|
|
13898
|
+
create(base) {
|
|
13899
|
+
return exports.NavigationSensorStatus.fromPartial(base ?? {});
|
|
13900
|
+
},
|
|
13901
|
+
fromPartial(object) {
|
|
13902
|
+
const message = createBaseNavigationSensorStatus();
|
|
13903
|
+
message.sensorId = object.sensorId ?? 0;
|
|
13904
|
+
message.isValid = object.isValid ?? false;
|
|
13905
|
+
message.northing = object.northing ?? 0;
|
|
13906
|
+
message.easting = object.easting ?? 0;
|
|
13907
|
+
message.heading = object.heading ?? 0;
|
|
13908
|
+
message.fom = object.fom ?? 0;
|
|
13909
|
+
message.std = object.std ?? 0;
|
|
13910
|
+
message.globalPosition = (object.globalPosition !== undefined && object.globalPosition !== null)
|
|
13911
|
+
? exports.LatLongPosition.fromPartial(object.globalPosition)
|
|
13912
|
+
: undefined;
|
|
13913
|
+
return message;
|
|
13914
|
+
},
|
|
13915
|
+
};
|
|
13916
|
+
function createBaseGnssSatellite() {
|
|
13917
|
+
return { constellation: 0, satelliteId: 0, snr: 0, elevation: 0, azimuth: 0, usedInFix: false };
|
|
13918
|
+
}
|
|
13919
|
+
exports.GnssSatellite = {
|
|
13920
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13921
|
+
if (message.constellation !== 0) {
|
|
13922
|
+
writer.uint32(8).int32(message.constellation);
|
|
13923
|
+
}
|
|
13924
|
+
if (message.satelliteId !== 0) {
|
|
13925
|
+
writer.uint32(16).uint32(message.satelliteId);
|
|
13926
|
+
}
|
|
13927
|
+
if (message.snr !== 0) {
|
|
13928
|
+
writer.uint32(24).uint32(message.snr);
|
|
13929
|
+
}
|
|
13930
|
+
if (message.elevation !== 0) {
|
|
13931
|
+
writer.uint32(32).int32(message.elevation);
|
|
13932
|
+
}
|
|
13933
|
+
if (message.azimuth !== 0) {
|
|
13934
|
+
writer.uint32(40).int32(message.azimuth);
|
|
13935
|
+
}
|
|
13936
|
+
if (message.usedInFix !== false) {
|
|
13937
|
+
writer.uint32(48).bool(message.usedInFix);
|
|
13938
|
+
}
|
|
13939
|
+
return writer;
|
|
13940
|
+
},
|
|
13941
|
+
decode(input, length) {
|
|
13942
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13943
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13944
|
+
const message = createBaseGnssSatellite();
|
|
13945
|
+
while (reader.pos < end) {
|
|
13946
|
+
const tag = reader.uint32();
|
|
13947
|
+
switch (tag >>> 3) {
|
|
13948
|
+
case 1: {
|
|
13949
|
+
if (tag !== 8) {
|
|
13950
|
+
break;
|
|
13951
|
+
}
|
|
13952
|
+
message.constellation = reader.int32();
|
|
13953
|
+
continue;
|
|
13954
|
+
}
|
|
13955
|
+
case 2: {
|
|
13956
|
+
if (tag !== 16) {
|
|
13957
|
+
break;
|
|
13958
|
+
}
|
|
13959
|
+
message.satelliteId = reader.uint32();
|
|
13960
|
+
continue;
|
|
13961
|
+
}
|
|
13962
|
+
case 3: {
|
|
13963
|
+
if (tag !== 24) {
|
|
13964
|
+
break;
|
|
13965
|
+
}
|
|
13966
|
+
message.snr = reader.uint32();
|
|
13967
|
+
continue;
|
|
13968
|
+
}
|
|
13969
|
+
case 4: {
|
|
13970
|
+
if (tag !== 32) {
|
|
13971
|
+
break;
|
|
13972
|
+
}
|
|
13973
|
+
message.elevation = reader.int32();
|
|
13974
|
+
continue;
|
|
13975
|
+
}
|
|
13976
|
+
case 5: {
|
|
13977
|
+
if (tag !== 40) {
|
|
13978
|
+
break;
|
|
13979
|
+
}
|
|
13980
|
+
message.azimuth = reader.int32();
|
|
13981
|
+
continue;
|
|
13982
|
+
}
|
|
13983
|
+
case 6: {
|
|
13984
|
+
if (tag !== 48) {
|
|
13985
|
+
break;
|
|
13986
|
+
}
|
|
13987
|
+
message.usedInFix = reader.bool();
|
|
13988
|
+
continue;
|
|
13989
|
+
}
|
|
13990
|
+
}
|
|
13991
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13992
|
+
break;
|
|
13993
|
+
}
|
|
13994
|
+
reader.skip(tag & 7);
|
|
13995
|
+
}
|
|
13996
|
+
return message;
|
|
13997
|
+
},
|
|
13998
|
+
fromJSON(object) {
|
|
13999
|
+
return {
|
|
14000
|
+
constellation: isSet(object.constellation) ? gnssConstellationFromJSON(object.constellation) : 0,
|
|
14001
|
+
satelliteId: isSet(object.satelliteId) ? gt.Number(object.satelliteId) : 0,
|
|
14002
|
+
snr: isSet(object.snr) ? gt.Number(object.snr) : 0,
|
|
14003
|
+
elevation: isSet(object.elevation) ? gt.Number(object.elevation) : 0,
|
|
14004
|
+
azimuth: isSet(object.azimuth) ? gt.Number(object.azimuth) : 0,
|
|
14005
|
+
usedInFix: isSet(object.usedInFix) ? gt.Boolean(object.usedInFix) : false,
|
|
14006
|
+
};
|
|
14007
|
+
},
|
|
14008
|
+
toJSON(message) {
|
|
14009
|
+
const obj = {};
|
|
14010
|
+
if (message.constellation !== 0) {
|
|
14011
|
+
obj.constellation = gnssConstellationToJSON(message.constellation);
|
|
14012
|
+
}
|
|
14013
|
+
if (message.satelliteId !== 0) {
|
|
14014
|
+
obj.satelliteId = Math.round(message.satelliteId);
|
|
14015
|
+
}
|
|
14016
|
+
if (message.snr !== 0) {
|
|
14017
|
+
obj.snr = Math.round(message.snr);
|
|
14018
|
+
}
|
|
14019
|
+
if (message.elevation !== 0) {
|
|
14020
|
+
obj.elevation = Math.round(message.elevation);
|
|
14021
|
+
}
|
|
14022
|
+
if (message.azimuth !== 0) {
|
|
14023
|
+
obj.azimuth = Math.round(message.azimuth);
|
|
14024
|
+
}
|
|
14025
|
+
if (message.usedInFix !== false) {
|
|
14026
|
+
obj.usedInFix = message.usedInFix;
|
|
14027
|
+
}
|
|
14028
|
+
return obj;
|
|
14029
|
+
},
|
|
14030
|
+
create(base) {
|
|
14031
|
+
return exports.GnssSatellite.fromPartial(base ?? {});
|
|
14032
|
+
},
|
|
14033
|
+
fromPartial(object) {
|
|
14034
|
+
const message = createBaseGnssSatellite();
|
|
14035
|
+
message.constellation = object.constellation ?? 0;
|
|
14036
|
+
message.satelliteId = object.satelliteId ?? 0;
|
|
14037
|
+
message.snr = object.snr ?? 0;
|
|
14038
|
+
message.elevation = object.elevation ?? 0;
|
|
14039
|
+
message.azimuth = object.azimuth ?? 0;
|
|
14040
|
+
message.usedInFix = object.usedInFix ?? false;
|
|
14041
|
+
return message;
|
|
14042
|
+
},
|
|
14043
|
+
};
|
|
14044
|
+
function createBaseGnssStatus() {
|
|
14045
|
+
return {
|
|
14046
|
+
receiverConnected: false,
|
|
14047
|
+
fixQuality: 0,
|
|
14048
|
+
isValid: false,
|
|
14049
|
+
satellitesUsed: 0,
|
|
14050
|
+
satellitesTracked: 0,
|
|
14051
|
+
satellitesInView: 0,
|
|
14052
|
+
isUsedInFixValid: false,
|
|
14053
|
+
fixMode: 0,
|
|
14054
|
+
hdop: 0,
|
|
14055
|
+
pdop: 0,
|
|
14056
|
+
vdop: 0,
|
|
14057
|
+
globalPosition: undefined,
|
|
14058
|
+
altitude: 0,
|
|
14059
|
+
stddevLatitude: 0,
|
|
14060
|
+
stddevLongitude: 0,
|
|
14061
|
+
stddevAltitude: 0,
|
|
14062
|
+
stddevSemiMajor: 0,
|
|
14063
|
+
stddevSemiMinor: 0,
|
|
14064
|
+
errorEllipseOrientation: 0,
|
|
14065
|
+
rangeRms: 0,
|
|
14066
|
+
isAccuracyValid: false,
|
|
14067
|
+
courseOverGround: 0,
|
|
14068
|
+
isCourseValid: false,
|
|
14069
|
+
speedOverGround: 0,
|
|
14070
|
+
differentialAge: 0,
|
|
14071
|
+
differentialStation: 0,
|
|
14072
|
+
baudRate: 0,
|
|
14073
|
+
reconnectCount: 0,
|
|
14074
|
+
receiveErrorCount: 0,
|
|
14075
|
+
timeSinceLastSentence: 0,
|
|
14076
|
+
satellites: [],
|
|
14077
|
+
};
|
|
14078
|
+
}
|
|
14079
|
+
exports.GnssStatus = {
|
|
14080
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
14081
|
+
if (message.receiverConnected !== false) {
|
|
14082
|
+
writer.uint32(8).bool(message.receiverConnected);
|
|
14083
|
+
}
|
|
14084
|
+
if (message.fixQuality !== 0) {
|
|
14085
|
+
writer.uint32(16).uint32(message.fixQuality);
|
|
14086
|
+
}
|
|
14087
|
+
if (message.isValid !== false) {
|
|
14088
|
+
writer.uint32(24).bool(message.isValid);
|
|
14089
|
+
}
|
|
14090
|
+
if (message.satellitesUsed !== 0) {
|
|
14091
|
+
writer.uint32(32).uint32(message.satellitesUsed);
|
|
14092
|
+
}
|
|
14093
|
+
if (message.satellitesTracked !== 0) {
|
|
14094
|
+
writer.uint32(40).uint32(message.satellitesTracked);
|
|
14095
|
+
}
|
|
14096
|
+
if (message.satellitesInView !== 0) {
|
|
14097
|
+
writer.uint32(136).uint32(message.satellitesInView);
|
|
14098
|
+
}
|
|
14099
|
+
if (message.isUsedInFixValid !== false) {
|
|
14100
|
+
writer.uint32(160).bool(message.isUsedInFixValid);
|
|
14101
|
+
}
|
|
14102
|
+
if (message.fixMode !== 0) {
|
|
14103
|
+
writer.uint32(168).int32(message.fixMode);
|
|
14104
|
+
}
|
|
14105
|
+
if (message.hdop !== 0) {
|
|
14106
|
+
writer.uint32(53).float(message.hdop);
|
|
14107
|
+
}
|
|
14108
|
+
if (message.pdop !== 0) {
|
|
14109
|
+
writer.uint32(181).float(message.pdop);
|
|
14110
|
+
}
|
|
14111
|
+
if (message.vdop !== 0) {
|
|
14112
|
+
writer.uint32(189).float(message.vdop);
|
|
14113
|
+
}
|
|
14114
|
+
if (message.globalPosition !== undefined) {
|
|
14115
|
+
exports.LatLongPosition.encode(message.globalPosition, writer.uint32(58).fork()).join();
|
|
14116
|
+
}
|
|
14117
|
+
if (message.altitude !== 0) {
|
|
14118
|
+
writer.uint32(197).float(message.altitude);
|
|
14119
|
+
}
|
|
14120
|
+
if (message.stddevLatitude !== 0) {
|
|
14121
|
+
writer.uint32(69).float(message.stddevLatitude);
|
|
14122
|
+
}
|
|
14123
|
+
if (message.stddevLongitude !== 0) {
|
|
14124
|
+
writer.uint32(77).float(message.stddevLongitude);
|
|
14125
|
+
}
|
|
14126
|
+
if (message.stddevAltitude !== 0) {
|
|
14127
|
+
writer.uint32(205).float(message.stddevAltitude);
|
|
14128
|
+
}
|
|
14129
|
+
if (message.stddevSemiMajor !== 0) {
|
|
14130
|
+
writer.uint32(213).float(message.stddevSemiMajor);
|
|
14131
|
+
}
|
|
14132
|
+
if (message.stddevSemiMinor !== 0) {
|
|
14133
|
+
writer.uint32(221).float(message.stddevSemiMinor);
|
|
14134
|
+
}
|
|
14135
|
+
if (message.errorEllipseOrientation !== 0) {
|
|
14136
|
+
writer.uint32(229).float(message.errorEllipseOrientation);
|
|
14137
|
+
}
|
|
14138
|
+
if (message.rangeRms !== 0) {
|
|
14139
|
+
writer.uint32(237).float(message.rangeRms);
|
|
14140
|
+
}
|
|
14141
|
+
if (message.isAccuracyValid !== false) {
|
|
14142
|
+
writer.uint32(144).bool(message.isAccuracyValid);
|
|
14143
|
+
}
|
|
14144
|
+
if (message.courseOverGround !== 0) {
|
|
14145
|
+
writer.uint32(85).float(message.courseOverGround);
|
|
14146
|
+
}
|
|
14147
|
+
if (message.isCourseValid !== false) {
|
|
14148
|
+
writer.uint32(152).bool(message.isCourseValid);
|
|
14149
|
+
}
|
|
14150
|
+
if (message.speedOverGround !== 0) {
|
|
14151
|
+
writer.uint32(93).float(message.speedOverGround);
|
|
14152
|
+
}
|
|
14153
|
+
if (message.differentialAge !== 0) {
|
|
14154
|
+
writer.uint32(245).float(message.differentialAge);
|
|
14155
|
+
}
|
|
14156
|
+
if (message.differentialStation !== 0) {
|
|
14157
|
+
writer.uint32(248).int32(message.differentialStation);
|
|
14158
|
+
}
|
|
14159
|
+
if (message.baudRate !== 0) {
|
|
14160
|
+
writer.uint32(96).uint32(message.baudRate);
|
|
14161
|
+
}
|
|
14162
|
+
if (message.reconnectCount !== 0) {
|
|
14163
|
+
writer.uint32(104).uint32(message.reconnectCount);
|
|
14164
|
+
}
|
|
14165
|
+
if (message.receiveErrorCount !== 0) {
|
|
14166
|
+
writer.uint32(112).uint32(message.receiveErrorCount);
|
|
14167
|
+
}
|
|
14168
|
+
if (message.timeSinceLastSentence !== 0) {
|
|
14169
|
+
writer.uint32(125).float(message.timeSinceLastSentence);
|
|
14170
|
+
}
|
|
14171
|
+
for (const v of message.satellites) {
|
|
14172
|
+
exports.GnssSatellite.encode(v, writer.uint32(130).fork()).join();
|
|
14173
|
+
}
|
|
14174
|
+
return writer;
|
|
14175
|
+
},
|
|
14176
|
+
decode(input, length) {
|
|
14177
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14178
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14179
|
+
const message = createBaseGnssStatus();
|
|
14180
|
+
while (reader.pos < end) {
|
|
14181
|
+
const tag = reader.uint32();
|
|
14182
|
+
switch (tag >>> 3) {
|
|
14183
|
+
case 1: {
|
|
14184
|
+
if (tag !== 8) {
|
|
14185
|
+
break;
|
|
14186
|
+
}
|
|
14187
|
+
message.receiverConnected = reader.bool();
|
|
14188
|
+
continue;
|
|
14189
|
+
}
|
|
14190
|
+
case 2: {
|
|
14191
|
+
if (tag !== 16) {
|
|
14192
|
+
break;
|
|
14193
|
+
}
|
|
14194
|
+
message.fixQuality = reader.uint32();
|
|
14195
|
+
continue;
|
|
14196
|
+
}
|
|
14197
|
+
case 3: {
|
|
14198
|
+
if (tag !== 24) {
|
|
14199
|
+
break;
|
|
14200
|
+
}
|
|
14201
|
+
message.isValid = reader.bool();
|
|
14202
|
+
continue;
|
|
14203
|
+
}
|
|
14204
|
+
case 4: {
|
|
14205
|
+
if (tag !== 32) {
|
|
14206
|
+
break;
|
|
14207
|
+
}
|
|
14208
|
+
message.satellitesUsed = reader.uint32();
|
|
14209
|
+
continue;
|
|
14210
|
+
}
|
|
14211
|
+
case 5: {
|
|
14212
|
+
if (tag !== 40) {
|
|
14213
|
+
break;
|
|
14214
|
+
}
|
|
14215
|
+
message.satellitesTracked = reader.uint32();
|
|
14216
|
+
continue;
|
|
14217
|
+
}
|
|
14218
|
+
case 17: {
|
|
14219
|
+
if (tag !== 136) {
|
|
14220
|
+
break;
|
|
14221
|
+
}
|
|
14222
|
+
message.satellitesInView = reader.uint32();
|
|
14223
|
+
continue;
|
|
14224
|
+
}
|
|
14225
|
+
case 20: {
|
|
14226
|
+
if (tag !== 160) {
|
|
14227
|
+
break;
|
|
14228
|
+
}
|
|
14229
|
+
message.isUsedInFixValid = reader.bool();
|
|
14230
|
+
continue;
|
|
14231
|
+
}
|
|
14232
|
+
case 21: {
|
|
14233
|
+
if (tag !== 168) {
|
|
14234
|
+
break;
|
|
14235
|
+
}
|
|
14236
|
+
message.fixMode = reader.int32();
|
|
14237
|
+
continue;
|
|
14238
|
+
}
|
|
14239
|
+
case 6: {
|
|
14240
|
+
if (tag !== 53) {
|
|
14241
|
+
break;
|
|
14242
|
+
}
|
|
14243
|
+
message.hdop = reader.float();
|
|
14244
|
+
continue;
|
|
14245
|
+
}
|
|
14246
|
+
case 22: {
|
|
14247
|
+
if (tag !== 181) {
|
|
14248
|
+
break;
|
|
14249
|
+
}
|
|
14250
|
+
message.pdop = reader.float();
|
|
14251
|
+
continue;
|
|
14252
|
+
}
|
|
14253
|
+
case 23: {
|
|
14254
|
+
if (tag !== 189) {
|
|
14255
|
+
break;
|
|
14256
|
+
}
|
|
14257
|
+
message.vdop = reader.float();
|
|
14258
|
+
continue;
|
|
14259
|
+
}
|
|
14260
|
+
case 7: {
|
|
14261
|
+
if (tag !== 58) {
|
|
14262
|
+
break;
|
|
14263
|
+
}
|
|
14264
|
+
message.globalPosition = exports.LatLongPosition.decode(reader, reader.uint32());
|
|
14265
|
+
continue;
|
|
14266
|
+
}
|
|
14267
|
+
case 24: {
|
|
14268
|
+
if (tag !== 197) {
|
|
14269
|
+
break;
|
|
14270
|
+
}
|
|
14271
|
+
message.altitude = reader.float();
|
|
14272
|
+
continue;
|
|
14273
|
+
}
|
|
14274
|
+
case 8: {
|
|
14275
|
+
if (tag !== 69) {
|
|
14276
|
+
break;
|
|
14277
|
+
}
|
|
14278
|
+
message.stddevLatitude = reader.float();
|
|
12934
14279
|
continue;
|
|
12935
14280
|
}
|
|
12936
|
-
case
|
|
12937
|
-
if (tag !==
|
|
14281
|
+
case 9: {
|
|
14282
|
+
if (tag !== 77) {
|
|
12938
14283
|
break;
|
|
12939
14284
|
}
|
|
12940
|
-
message.
|
|
14285
|
+
message.stddevLongitude = reader.float();
|
|
12941
14286
|
continue;
|
|
12942
14287
|
}
|
|
12943
|
-
case
|
|
12944
|
-
if (tag !==
|
|
14288
|
+
case 25: {
|
|
14289
|
+
if (tag !== 205) {
|
|
12945
14290
|
break;
|
|
12946
14291
|
}
|
|
12947
|
-
message.
|
|
14292
|
+
message.stddevAltitude = reader.float();
|
|
12948
14293
|
continue;
|
|
12949
14294
|
}
|
|
12950
|
-
case
|
|
12951
|
-
if (tag !==
|
|
14295
|
+
case 26: {
|
|
14296
|
+
if (tag !== 213) {
|
|
12952
14297
|
break;
|
|
12953
14298
|
}
|
|
12954
|
-
message.
|
|
14299
|
+
message.stddevSemiMajor = reader.float();
|
|
12955
14300
|
continue;
|
|
12956
14301
|
}
|
|
12957
|
-
case
|
|
12958
|
-
if (tag !==
|
|
14302
|
+
case 27: {
|
|
14303
|
+
if (tag !== 221) {
|
|
12959
14304
|
break;
|
|
12960
14305
|
}
|
|
12961
|
-
message.
|
|
14306
|
+
message.stddevSemiMinor = reader.float();
|
|
12962
14307
|
continue;
|
|
12963
14308
|
}
|
|
12964
|
-
case
|
|
12965
|
-
if (tag !==
|
|
14309
|
+
case 28: {
|
|
14310
|
+
if (tag !== 229) {
|
|
12966
14311
|
break;
|
|
12967
14312
|
}
|
|
12968
|
-
message.
|
|
14313
|
+
message.errorEllipseOrientation = reader.float();
|
|
12969
14314
|
continue;
|
|
12970
14315
|
}
|
|
12971
|
-
case
|
|
12972
|
-
if (tag !==
|
|
14316
|
+
case 29: {
|
|
14317
|
+
if (tag !== 237) {
|
|
12973
14318
|
break;
|
|
12974
14319
|
}
|
|
12975
|
-
message.
|
|
14320
|
+
message.rangeRms = reader.float();
|
|
12976
14321
|
continue;
|
|
12977
14322
|
}
|
|
12978
|
-
case
|
|
12979
|
-
if (tag !==
|
|
14323
|
+
case 18: {
|
|
14324
|
+
if (tag !== 144) {
|
|
12980
14325
|
break;
|
|
12981
14326
|
}
|
|
12982
|
-
message.
|
|
14327
|
+
message.isAccuracyValid = reader.bool();
|
|
14328
|
+
continue;
|
|
14329
|
+
}
|
|
14330
|
+
case 10: {
|
|
14331
|
+
if (tag !== 85) {
|
|
14332
|
+
break;
|
|
14333
|
+
}
|
|
14334
|
+
message.courseOverGround = reader.float();
|
|
14335
|
+
continue;
|
|
14336
|
+
}
|
|
14337
|
+
case 19: {
|
|
14338
|
+
if (tag !== 152) {
|
|
14339
|
+
break;
|
|
14340
|
+
}
|
|
14341
|
+
message.isCourseValid = reader.bool();
|
|
14342
|
+
continue;
|
|
14343
|
+
}
|
|
14344
|
+
case 11: {
|
|
14345
|
+
if (tag !== 93) {
|
|
14346
|
+
break;
|
|
14347
|
+
}
|
|
14348
|
+
message.speedOverGround = reader.float();
|
|
14349
|
+
continue;
|
|
14350
|
+
}
|
|
14351
|
+
case 30: {
|
|
14352
|
+
if (tag !== 245) {
|
|
14353
|
+
break;
|
|
14354
|
+
}
|
|
14355
|
+
message.differentialAge = reader.float();
|
|
14356
|
+
continue;
|
|
14357
|
+
}
|
|
14358
|
+
case 31: {
|
|
14359
|
+
if (tag !== 248) {
|
|
14360
|
+
break;
|
|
14361
|
+
}
|
|
14362
|
+
message.differentialStation = reader.int32();
|
|
14363
|
+
continue;
|
|
14364
|
+
}
|
|
14365
|
+
case 12: {
|
|
14366
|
+
if (tag !== 96) {
|
|
14367
|
+
break;
|
|
14368
|
+
}
|
|
14369
|
+
message.baudRate = reader.uint32();
|
|
14370
|
+
continue;
|
|
14371
|
+
}
|
|
14372
|
+
case 13: {
|
|
14373
|
+
if (tag !== 104) {
|
|
14374
|
+
break;
|
|
14375
|
+
}
|
|
14376
|
+
message.reconnectCount = reader.uint32();
|
|
14377
|
+
continue;
|
|
14378
|
+
}
|
|
14379
|
+
case 14: {
|
|
14380
|
+
if (tag !== 112) {
|
|
14381
|
+
break;
|
|
14382
|
+
}
|
|
14383
|
+
message.receiveErrorCount = reader.uint32();
|
|
14384
|
+
continue;
|
|
14385
|
+
}
|
|
14386
|
+
case 15: {
|
|
14387
|
+
if (tag !== 125) {
|
|
14388
|
+
break;
|
|
14389
|
+
}
|
|
14390
|
+
message.timeSinceLastSentence = reader.float();
|
|
14391
|
+
continue;
|
|
14392
|
+
}
|
|
14393
|
+
case 16: {
|
|
14394
|
+
if (tag !== 130) {
|
|
14395
|
+
break;
|
|
14396
|
+
}
|
|
14397
|
+
message.satellites.push(exports.GnssSatellite.decode(reader, reader.uint32()));
|
|
12983
14398
|
continue;
|
|
12984
14399
|
}
|
|
12985
14400
|
}
|
|
@@ -12992,59 +14407,176 @@ exports.NavigationSensorStatus = {
|
|
|
12992
14407
|
},
|
|
12993
14408
|
fromJSON(object) {
|
|
12994
14409
|
return {
|
|
12995
|
-
|
|
14410
|
+
receiverConnected: isSet(object.receiverConnected) ? gt.Boolean(object.receiverConnected) : false,
|
|
14411
|
+
fixQuality: isSet(object.fixQuality) ? gt.Number(object.fixQuality) : 0,
|
|
12996
14412
|
isValid: isSet(object.isValid) ? gt.Boolean(object.isValid) : false,
|
|
12997
|
-
|
|
12998
|
-
|
|
12999
|
-
|
|
13000
|
-
|
|
13001
|
-
|
|
14413
|
+
satellitesUsed: isSet(object.satellitesUsed) ? gt.Number(object.satellitesUsed) : 0,
|
|
14414
|
+
satellitesTracked: isSet(object.satellitesTracked) ? gt.Number(object.satellitesTracked) : 0,
|
|
14415
|
+
satellitesInView: isSet(object.satellitesInView) ? gt.Number(object.satellitesInView) : 0,
|
|
14416
|
+
isUsedInFixValid: isSet(object.isUsedInFixValid) ? gt.Boolean(object.isUsedInFixValid) : false,
|
|
14417
|
+
fixMode: isSet(object.fixMode) ? gnssFixModeFromJSON(object.fixMode) : 0,
|
|
14418
|
+
hdop: isSet(object.hdop) ? gt.Number(object.hdop) : 0,
|
|
14419
|
+
pdop: isSet(object.pdop) ? gt.Number(object.pdop) : 0,
|
|
14420
|
+
vdop: isSet(object.vdop) ? gt.Number(object.vdop) : 0,
|
|
13002
14421
|
globalPosition: isSet(object.globalPosition) ? exports.LatLongPosition.fromJSON(object.globalPosition) : undefined,
|
|
14422
|
+
altitude: isSet(object.altitude) ? gt.Number(object.altitude) : 0,
|
|
14423
|
+
stddevLatitude: isSet(object.stddevLatitude) ? gt.Number(object.stddevLatitude) : 0,
|
|
14424
|
+
stddevLongitude: isSet(object.stddevLongitude) ? gt.Number(object.stddevLongitude) : 0,
|
|
14425
|
+
stddevAltitude: isSet(object.stddevAltitude) ? gt.Number(object.stddevAltitude) : 0,
|
|
14426
|
+
stddevSemiMajor: isSet(object.stddevSemiMajor) ? gt.Number(object.stddevSemiMajor) : 0,
|
|
14427
|
+
stddevSemiMinor: isSet(object.stddevSemiMinor) ? gt.Number(object.stddevSemiMinor) : 0,
|
|
14428
|
+
errorEllipseOrientation: isSet(object.errorEllipseOrientation) ? gt.Number(object.errorEllipseOrientation) : 0,
|
|
14429
|
+
rangeRms: isSet(object.rangeRms) ? gt.Number(object.rangeRms) : 0,
|
|
14430
|
+
isAccuracyValid: isSet(object.isAccuracyValid) ? gt.Boolean(object.isAccuracyValid) : false,
|
|
14431
|
+
courseOverGround: isSet(object.courseOverGround) ? gt.Number(object.courseOverGround) : 0,
|
|
14432
|
+
isCourseValid: isSet(object.isCourseValid) ? gt.Boolean(object.isCourseValid) : false,
|
|
14433
|
+
speedOverGround: isSet(object.speedOverGround) ? gt.Number(object.speedOverGround) : 0,
|
|
14434
|
+
differentialAge: isSet(object.differentialAge) ? gt.Number(object.differentialAge) : 0,
|
|
14435
|
+
differentialStation: isSet(object.differentialStation) ? gt.Number(object.differentialStation) : 0,
|
|
14436
|
+
baudRate: isSet(object.baudRate) ? gt.Number(object.baudRate) : 0,
|
|
14437
|
+
reconnectCount: isSet(object.reconnectCount) ? gt.Number(object.reconnectCount) : 0,
|
|
14438
|
+
receiveErrorCount: isSet(object.receiveErrorCount) ? gt.Number(object.receiveErrorCount) : 0,
|
|
14439
|
+
timeSinceLastSentence: isSet(object.timeSinceLastSentence) ? gt.Number(object.timeSinceLastSentence) : 0,
|
|
14440
|
+
satellites: gt.Array.isArray(object?.satellites)
|
|
14441
|
+
? object.satellites.map((e) => exports.GnssSatellite.fromJSON(e))
|
|
14442
|
+
: [],
|
|
13003
14443
|
};
|
|
13004
14444
|
},
|
|
13005
14445
|
toJSON(message) {
|
|
13006
14446
|
const obj = {};
|
|
13007
|
-
if (message.
|
|
13008
|
-
obj.
|
|
14447
|
+
if (message.receiverConnected !== false) {
|
|
14448
|
+
obj.receiverConnected = message.receiverConnected;
|
|
14449
|
+
}
|
|
14450
|
+
if (message.fixQuality !== 0) {
|
|
14451
|
+
obj.fixQuality = Math.round(message.fixQuality);
|
|
13009
14452
|
}
|
|
13010
14453
|
if (message.isValid !== false) {
|
|
13011
14454
|
obj.isValid = message.isValid;
|
|
13012
14455
|
}
|
|
13013
|
-
if (message.
|
|
13014
|
-
obj.
|
|
14456
|
+
if (message.satellitesUsed !== 0) {
|
|
14457
|
+
obj.satellitesUsed = Math.round(message.satellitesUsed);
|
|
13015
14458
|
}
|
|
13016
|
-
if (message.
|
|
13017
|
-
obj.
|
|
14459
|
+
if (message.satellitesTracked !== 0) {
|
|
14460
|
+
obj.satellitesTracked = Math.round(message.satellitesTracked);
|
|
13018
14461
|
}
|
|
13019
|
-
if (message.
|
|
13020
|
-
obj.
|
|
14462
|
+
if (message.satellitesInView !== 0) {
|
|
14463
|
+
obj.satellitesInView = Math.round(message.satellitesInView);
|
|
13021
14464
|
}
|
|
13022
|
-
if (message.
|
|
13023
|
-
obj.
|
|
14465
|
+
if (message.isUsedInFixValid !== false) {
|
|
14466
|
+
obj.isUsedInFixValid = message.isUsedInFixValid;
|
|
13024
14467
|
}
|
|
13025
|
-
if (message.
|
|
13026
|
-
obj.
|
|
14468
|
+
if (message.fixMode !== 0) {
|
|
14469
|
+
obj.fixMode = gnssFixModeToJSON(message.fixMode);
|
|
14470
|
+
}
|
|
14471
|
+
if (message.hdop !== 0) {
|
|
14472
|
+
obj.hdop = message.hdop;
|
|
14473
|
+
}
|
|
14474
|
+
if (message.pdop !== 0) {
|
|
14475
|
+
obj.pdop = message.pdop;
|
|
14476
|
+
}
|
|
14477
|
+
if (message.vdop !== 0) {
|
|
14478
|
+
obj.vdop = message.vdop;
|
|
13027
14479
|
}
|
|
13028
14480
|
if (message.globalPosition !== undefined) {
|
|
13029
14481
|
obj.globalPosition = exports.LatLongPosition.toJSON(message.globalPosition);
|
|
13030
14482
|
}
|
|
14483
|
+
if (message.altitude !== 0) {
|
|
14484
|
+
obj.altitude = message.altitude;
|
|
14485
|
+
}
|
|
14486
|
+
if (message.stddevLatitude !== 0) {
|
|
14487
|
+
obj.stddevLatitude = message.stddevLatitude;
|
|
14488
|
+
}
|
|
14489
|
+
if (message.stddevLongitude !== 0) {
|
|
14490
|
+
obj.stddevLongitude = message.stddevLongitude;
|
|
14491
|
+
}
|
|
14492
|
+
if (message.stddevAltitude !== 0) {
|
|
14493
|
+
obj.stddevAltitude = message.stddevAltitude;
|
|
14494
|
+
}
|
|
14495
|
+
if (message.stddevSemiMajor !== 0) {
|
|
14496
|
+
obj.stddevSemiMajor = message.stddevSemiMajor;
|
|
14497
|
+
}
|
|
14498
|
+
if (message.stddevSemiMinor !== 0) {
|
|
14499
|
+
obj.stddevSemiMinor = message.stddevSemiMinor;
|
|
14500
|
+
}
|
|
14501
|
+
if (message.errorEllipseOrientation !== 0) {
|
|
14502
|
+
obj.errorEllipseOrientation = message.errorEllipseOrientation;
|
|
14503
|
+
}
|
|
14504
|
+
if (message.rangeRms !== 0) {
|
|
14505
|
+
obj.rangeRms = message.rangeRms;
|
|
14506
|
+
}
|
|
14507
|
+
if (message.isAccuracyValid !== false) {
|
|
14508
|
+
obj.isAccuracyValid = message.isAccuracyValid;
|
|
14509
|
+
}
|
|
14510
|
+
if (message.courseOverGround !== 0) {
|
|
14511
|
+
obj.courseOverGround = message.courseOverGround;
|
|
14512
|
+
}
|
|
14513
|
+
if (message.isCourseValid !== false) {
|
|
14514
|
+
obj.isCourseValid = message.isCourseValid;
|
|
14515
|
+
}
|
|
14516
|
+
if (message.speedOverGround !== 0) {
|
|
14517
|
+
obj.speedOverGround = message.speedOverGround;
|
|
14518
|
+
}
|
|
14519
|
+
if (message.differentialAge !== 0) {
|
|
14520
|
+
obj.differentialAge = message.differentialAge;
|
|
14521
|
+
}
|
|
14522
|
+
if (message.differentialStation !== 0) {
|
|
14523
|
+
obj.differentialStation = Math.round(message.differentialStation);
|
|
14524
|
+
}
|
|
14525
|
+
if (message.baudRate !== 0) {
|
|
14526
|
+
obj.baudRate = Math.round(message.baudRate);
|
|
14527
|
+
}
|
|
14528
|
+
if (message.reconnectCount !== 0) {
|
|
14529
|
+
obj.reconnectCount = Math.round(message.reconnectCount);
|
|
14530
|
+
}
|
|
14531
|
+
if (message.receiveErrorCount !== 0) {
|
|
14532
|
+
obj.receiveErrorCount = Math.round(message.receiveErrorCount);
|
|
14533
|
+
}
|
|
14534
|
+
if (message.timeSinceLastSentence !== 0) {
|
|
14535
|
+
obj.timeSinceLastSentence = message.timeSinceLastSentence;
|
|
14536
|
+
}
|
|
14537
|
+
if (message.satellites?.length) {
|
|
14538
|
+
obj.satellites = message.satellites.map((e) => exports.GnssSatellite.toJSON(e));
|
|
14539
|
+
}
|
|
13031
14540
|
return obj;
|
|
13032
14541
|
},
|
|
13033
14542
|
create(base) {
|
|
13034
|
-
return exports.
|
|
14543
|
+
return exports.GnssStatus.fromPartial(base ?? {});
|
|
13035
14544
|
},
|
|
13036
14545
|
fromPartial(object) {
|
|
13037
|
-
const message =
|
|
13038
|
-
message.
|
|
14546
|
+
const message = createBaseGnssStatus();
|
|
14547
|
+
message.receiverConnected = object.receiverConnected ?? false;
|
|
14548
|
+
message.fixQuality = object.fixQuality ?? 0;
|
|
13039
14549
|
message.isValid = object.isValid ?? false;
|
|
13040
|
-
message.
|
|
13041
|
-
message.
|
|
13042
|
-
message.
|
|
13043
|
-
message.
|
|
13044
|
-
message.
|
|
14550
|
+
message.satellitesUsed = object.satellitesUsed ?? 0;
|
|
14551
|
+
message.satellitesTracked = object.satellitesTracked ?? 0;
|
|
14552
|
+
message.satellitesInView = object.satellitesInView ?? 0;
|
|
14553
|
+
message.isUsedInFixValid = object.isUsedInFixValid ?? false;
|
|
14554
|
+
message.fixMode = object.fixMode ?? 0;
|
|
14555
|
+
message.hdop = object.hdop ?? 0;
|
|
14556
|
+
message.pdop = object.pdop ?? 0;
|
|
14557
|
+
message.vdop = object.vdop ?? 0;
|
|
13045
14558
|
message.globalPosition = (object.globalPosition !== undefined && object.globalPosition !== null)
|
|
13046
14559
|
? exports.LatLongPosition.fromPartial(object.globalPosition)
|
|
13047
14560
|
: undefined;
|
|
14561
|
+
message.altitude = object.altitude ?? 0;
|
|
14562
|
+
message.stddevLatitude = object.stddevLatitude ?? 0;
|
|
14563
|
+
message.stddevLongitude = object.stddevLongitude ?? 0;
|
|
14564
|
+
message.stddevAltitude = object.stddevAltitude ?? 0;
|
|
14565
|
+
message.stddevSemiMajor = object.stddevSemiMajor ?? 0;
|
|
14566
|
+
message.stddevSemiMinor = object.stddevSemiMinor ?? 0;
|
|
14567
|
+
message.errorEllipseOrientation = object.errorEllipseOrientation ?? 0;
|
|
14568
|
+
message.rangeRms = object.rangeRms ?? 0;
|
|
14569
|
+
message.isAccuracyValid = object.isAccuracyValid ?? false;
|
|
14570
|
+
message.courseOverGround = object.courseOverGround ?? 0;
|
|
14571
|
+
message.isCourseValid = object.isCourseValid ?? false;
|
|
14572
|
+
message.speedOverGround = object.speedOverGround ?? 0;
|
|
14573
|
+
message.differentialAge = object.differentialAge ?? 0;
|
|
14574
|
+
message.differentialStation = object.differentialStation ?? 0;
|
|
14575
|
+
message.baudRate = object.baudRate ?? 0;
|
|
14576
|
+
message.reconnectCount = object.reconnectCount ?? 0;
|
|
14577
|
+
message.receiveErrorCount = object.receiveErrorCount ?? 0;
|
|
14578
|
+
message.timeSinceLastSentence = object.timeSinceLastSentence ?? 0;
|
|
14579
|
+
message.satellites = object.satellites?.map((e) => exports.GnssSatellite.fromPartial(e)) || [];
|
|
13048
14580
|
return message;
|
|
13049
14581
|
},
|
|
13050
14582
|
};
|
|
@@ -15274,6 +16806,57 @@ exports.MultibeamDiscovery = {
|
|
|
15274
16806
|
return message;
|
|
15275
16807
|
},
|
|
15276
16808
|
};
|
|
16809
|
+
function createBaseMultibeamColorFilter() {
|
|
16810
|
+
return { rgb: new Uint8Array(0) };
|
|
16811
|
+
}
|
|
16812
|
+
exports.MultibeamColorFilter = {
|
|
16813
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
16814
|
+
if (message.rgb.length !== 0) {
|
|
16815
|
+
writer.uint32(10).bytes(message.rgb);
|
|
16816
|
+
}
|
|
16817
|
+
return writer;
|
|
16818
|
+
},
|
|
16819
|
+
decode(input, length) {
|
|
16820
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16821
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
16822
|
+
const message = createBaseMultibeamColorFilter();
|
|
16823
|
+
while (reader.pos < end) {
|
|
16824
|
+
const tag = reader.uint32();
|
|
16825
|
+
switch (tag >>> 3) {
|
|
16826
|
+
case 1: {
|
|
16827
|
+
if (tag !== 10) {
|
|
16828
|
+
break;
|
|
16829
|
+
}
|
|
16830
|
+
message.rgb = reader.bytes();
|
|
16831
|
+
continue;
|
|
16832
|
+
}
|
|
16833
|
+
}
|
|
16834
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
16835
|
+
break;
|
|
16836
|
+
}
|
|
16837
|
+
reader.skip(tag & 7);
|
|
16838
|
+
}
|
|
16839
|
+
return message;
|
|
16840
|
+
},
|
|
16841
|
+
fromJSON(object) {
|
|
16842
|
+
return { rgb: isSet(object.rgb) ? bytesFromBase64(object.rgb) : new Uint8Array(0) };
|
|
16843
|
+
},
|
|
16844
|
+
toJSON(message) {
|
|
16845
|
+
const obj = {};
|
|
16846
|
+
if (message.rgb.length !== 0) {
|
|
16847
|
+
obj.rgb = base64FromBytes(message.rgb);
|
|
16848
|
+
}
|
|
16849
|
+
return obj;
|
|
16850
|
+
},
|
|
16851
|
+
create(base) {
|
|
16852
|
+
return exports.MultibeamColorFilter.fromPartial(base ?? {});
|
|
16853
|
+
},
|
|
16854
|
+
fromPartial(object) {
|
|
16855
|
+
const message = createBaseMultibeamColorFilter();
|
|
16856
|
+
message.rgb = object.rgb ?? new Uint8Array(0);
|
|
16857
|
+
return message;
|
|
16858
|
+
},
|
|
16859
|
+
};
|
|
15277
16860
|
function createBaseMultibeamErrorFlags() {
|
|
15278
16861
|
return { connectedToAnotherClient: false, deviceOverheating: false, outOfWater: false };
|
|
15279
16862
|
}
|
|
@@ -17433,7 +19016,7 @@ exports.BoundingBox = {
|
|
|
17433
19016
|
},
|
|
17434
19017
|
};
|
|
17435
19018
|
function createBaseSegmentationMask() {
|
|
17436
|
-
return { maskWidth: 0, maskHeight: 0, counts: new Uint8Array(0) };
|
|
19019
|
+
return { maskWidth: 0, maskHeight: 0, counts: new Uint8Array(0), maskBox: undefined };
|
|
17437
19020
|
}
|
|
17438
19021
|
exports.SegmentationMask = {
|
|
17439
19022
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -17446,6 +19029,9 @@ exports.SegmentationMask = {
|
|
|
17446
19029
|
if (message.counts.length !== 0) {
|
|
17447
19030
|
writer.uint32(26).bytes(message.counts);
|
|
17448
19031
|
}
|
|
19032
|
+
if (message.maskBox !== undefined) {
|
|
19033
|
+
exports.BoundingBox.encode(message.maskBox, writer.uint32(34).fork()).join();
|
|
19034
|
+
}
|
|
17449
19035
|
return writer;
|
|
17450
19036
|
},
|
|
17451
19037
|
decode(input, length) {
|
|
@@ -17476,6 +19062,13 @@ exports.SegmentationMask = {
|
|
|
17476
19062
|
message.counts = reader.bytes();
|
|
17477
19063
|
continue;
|
|
17478
19064
|
}
|
|
19065
|
+
case 4: {
|
|
19066
|
+
if (tag !== 34) {
|
|
19067
|
+
break;
|
|
19068
|
+
}
|
|
19069
|
+
message.maskBox = exports.BoundingBox.decode(reader, reader.uint32());
|
|
19070
|
+
continue;
|
|
19071
|
+
}
|
|
17479
19072
|
}
|
|
17480
19073
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17481
19074
|
break;
|
|
@@ -17489,6 +19082,7 @@ exports.SegmentationMask = {
|
|
|
17489
19082
|
maskWidth: isSet(object.maskWidth) ? gt.Number(object.maskWidth) : 0,
|
|
17490
19083
|
maskHeight: isSet(object.maskHeight) ? gt.Number(object.maskHeight) : 0,
|
|
17491
19084
|
counts: isSet(object.counts) ? bytesFromBase64(object.counts) : new Uint8Array(0),
|
|
19085
|
+
maskBox: isSet(object.maskBox) ? exports.BoundingBox.fromJSON(object.maskBox) : undefined,
|
|
17492
19086
|
};
|
|
17493
19087
|
},
|
|
17494
19088
|
toJSON(message) {
|
|
@@ -17502,6 +19096,9 @@ exports.SegmentationMask = {
|
|
|
17502
19096
|
if (message.counts.length !== 0) {
|
|
17503
19097
|
obj.counts = base64FromBytes(message.counts);
|
|
17504
19098
|
}
|
|
19099
|
+
if (message.maskBox !== undefined) {
|
|
19100
|
+
obj.maskBox = exports.BoundingBox.toJSON(message.maskBox);
|
|
19101
|
+
}
|
|
17505
19102
|
return obj;
|
|
17506
19103
|
},
|
|
17507
19104
|
create(base) {
|
|
@@ -17512,6 +19109,9 @@ exports.SegmentationMask = {
|
|
|
17512
19109
|
message.maskWidth = object.maskWidth ?? 0;
|
|
17513
19110
|
message.maskHeight = object.maskHeight ?? 0;
|
|
17514
19111
|
message.counts = object.counts ?? new Uint8Array(0);
|
|
19112
|
+
message.maskBox = (object.maskBox !== undefined && object.maskBox !== null)
|
|
19113
|
+
? exports.BoundingBox.fromPartial(object.maskBox)
|
|
19114
|
+
: undefined;
|
|
17515
19115
|
return message;
|
|
17516
19116
|
},
|
|
17517
19117
|
};
|
|
@@ -17830,6 +19430,74 @@ exports.FilterMessage = {
|
|
|
17830
19430
|
return message;
|
|
17831
19431
|
},
|
|
17832
19432
|
};
|
|
19433
|
+
function createBaseMarineSnowFilterFrames() {
|
|
19434
|
+
return { pastFrames: 0, futureFrames: 0 };
|
|
19435
|
+
}
|
|
19436
|
+
exports.MarineSnowFilterFrames = {
|
|
19437
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
19438
|
+
if (message.pastFrames !== 0) {
|
|
19439
|
+
writer.uint32(8).uint32(message.pastFrames);
|
|
19440
|
+
}
|
|
19441
|
+
if (message.futureFrames !== 0) {
|
|
19442
|
+
writer.uint32(16).uint32(message.futureFrames);
|
|
19443
|
+
}
|
|
19444
|
+
return writer;
|
|
19445
|
+
},
|
|
19446
|
+
decode(input, length) {
|
|
19447
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
19448
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
19449
|
+
const message = createBaseMarineSnowFilterFrames();
|
|
19450
|
+
while (reader.pos < end) {
|
|
19451
|
+
const tag = reader.uint32();
|
|
19452
|
+
switch (tag >>> 3) {
|
|
19453
|
+
case 1: {
|
|
19454
|
+
if (tag !== 8) {
|
|
19455
|
+
break;
|
|
19456
|
+
}
|
|
19457
|
+
message.pastFrames = reader.uint32();
|
|
19458
|
+
continue;
|
|
19459
|
+
}
|
|
19460
|
+
case 2: {
|
|
19461
|
+
if (tag !== 16) {
|
|
19462
|
+
break;
|
|
19463
|
+
}
|
|
19464
|
+
message.futureFrames = reader.uint32();
|
|
19465
|
+
continue;
|
|
19466
|
+
}
|
|
19467
|
+
}
|
|
19468
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
19469
|
+
break;
|
|
19470
|
+
}
|
|
19471
|
+
reader.skip(tag & 7);
|
|
19472
|
+
}
|
|
19473
|
+
return message;
|
|
19474
|
+
},
|
|
19475
|
+
fromJSON(object) {
|
|
19476
|
+
return {
|
|
19477
|
+
pastFrames: isSet(object.pastFrames) ? gt.Number(object.pastFrames) : 0,
|
|
19478
|
+
futureFrames: isSet(object.futureFrames) ? gt.Number(object.futureFrames) : 0,
|
|
19479
|
+
};
|
|
19480
|
+
},
|
|
19481
|
+
toJSON(message) {
|
|
19482
|
+
const obj = {};
|
|
19483
|
+
if (message.pastFrames !== 0) {
|
|
19484
|
+
obj.pastFrames = Math.round(message.pastFrames);
|
|
19485
|
+
}
|
|
19486
|
+
if (message.futureFrames !== 0) {
|
|
19487
|
+
obj.futureFrames = Math.round(message.futureFrames);
|
|
19488
|
+
}
|
|
19489
|
+
return obj;
|
|
19490
|
+
},
|
|
19491
|
+
create(base) {
|
|
19492
|
+
return exports.MarineSnowFilterFrames.fromPartial(base ?? {});
|
|
19493
|
+
},
|
|
19494
|
+
fromPartial(object) {
|
|
19495
|
+
const message = createBaseMarineSnowFilterFrames();
|
|
19496
|
+
message.pastFrames = object.pastFrames ?? 0;
|
|
19497
|
+
message.futureFrames = object.futureFrames ?? 0;
|
|
19498
|
+
return message;
|
|
19499
|
+
},
|
|
19500
|
+
};
|
|
17833
19501
|
function createBaseCameraPanTiltZoom() {
|
|
17834
19502
|
return { pan: 0, tilt: 0, zoom: 0 };
|
|
17835
19503
|
}
|