@blueyerobotics/protocol-definitions 3.3.0-8c916b96 → 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 +121 -6
- package/dist/message_formats.js +670 -7
- package/dist/telemetry.d.ts +19 -1
- package/dist/telemetry.js +127 -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 = exports.BoundingBox = exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.SystemPerformanceInfo = exports.NvmeInfo = exports.VideoCodecInfo = exports.ThermalZone = 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;
|
|
@@ -107,6 +111,95 @@ const timestamp_1 = require("./google/protobuf/timestamp");
|
|
|
107
111
|
*
|
|
108
112
|
* These are used for logging as well as building requests and responses.
|
|
109
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
|
+
}
|
|
110
203
|
/** Interval type for time-lapse photos. */
|
|
111
204
|
var IntervalType;
|
|
112
205
|
(function (IntervalType) {
|
|
@@ -921,7 +1014,7 @@ function resolutionToJSON(object) {
|
|
|
921
1014
|
* Available camera frame rates.
|
|
922
1015
|
*
|
|
923
1016
|
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
924
|
-
* 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.
|
|
925
1018
|
*/
|
|
926
1019
|
var Framerate;
|
|
927
1020
|
(function (Framerate) {
|
|
@@ -929,10 +1022,12 @@ var Framerate;
|
|
|
929
1022
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
930
1023
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
931
1024
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
932
|
-
/** FRAMERATE_FPS_25 - 25 frames per second.
|
|
1025
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
933
1026
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
934
1027
|
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
935
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";
|
|
936
1031
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
937
1032
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
938
1033
|
function framerateFromJSON(object) {
|
|
@@ -949,6 +1044,9 @@ function framerateFromJSON(object) {
|
|
|
949
1044
|
case 3:
|
|
950
1045
|
case "FRAMERATE_FPS_60":
|
|
951
1046
|
return Framerate.FRAMERATE_FPS_60;
|
|
1047
|
+
case 4:
|
|
1048
|
+
case "FRAMERATE_FPS_50":
|
|
1049
|
+
return Framerate.FRAMERATE_FPS_50;
|
|
952
1050
|
case -1:
|
|
953
1051
|
case "UNRECOGNIZED":
|
|
954
1052
|
default:
|
|
@@ -965,6 +1063,8 @@ function framerateToJSON(object) {
|
|
|
965
1063
|
return "FRAMERATE_FPS_25";
|
|
966
1064
|
case Framerate.FRAMERATE_FPS_60:
|
|
967
1065
|
return "FRAMERATE_FPS_60";
|
|
1066
|
+
case Framerate.FRAMERATE_FPS_50:
|
|
1067
|
+
return "FRAMERATE_FPS_50";
|
|
968
1068
|
case Framerate.UNRECOGNIZED:
|
|
969
1069
|
default:
|
|
970
1070
|
return "UNRECOGNIZED";
|
|
@@ -1266,7 +1366,10 @@ function thicknessUnitToJSON(object) {
|
|
|
1266
1366
|
/** Available font sizes for overlay text elements. */
|
|
1267
1367
|
var FontSize;
|
|
1268
1368
|
(function (FontSize) {
|
|
1269
|
-
/**
|
|
1369
|
+
/**
|
|
1370
|
+
* FONT_SIZE_UNSPECIFIED - Font size and margins derived from the recording resolution (Blunux >= 5.2).
|
|
1371
|
+
* Older firmware defaults to 25px.
|
|
1372
|
+
*/
|
|
1270
1373
|
FontSize[FontSize["FONT_SIZE_UNSPECIFIED"] = 0] = "FONT_SIZE_UNSPECIFIED";
|
|
1271
1374
|
/** FONT_SIZE_PX15 - 15 px. */
|
|
1272
1375
|
FontSize[FontSize["FONT_SIZE_PX15"] = 1] = "FONT_SIZE_PX15";
|
|
@@ -1447,6 +1550,10 @@ var GuestPortDeviceID;
|
|
|
1447
1550
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232"] = 49] = "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232";
|
|
1448
1551
|
/** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
|
|
1449
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";
|
|
1450
1557
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1451
1558
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1452
1559
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1604,6 +1711,12 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1604
1711
|
case 50:
|
|
1605
1712
|
case "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100":
|
|
1606
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;
|
|
1607
1720
|
case -1:
|
|
1608
1721
|
case "UNRECOGNIZED":
|
|
1609
1722
|
default:
|
|
@@ -1714,6 +1827,10 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1714
1827
|
return "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232";
|
|
1715
1828
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100:
|
|
1716
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";
|
|
1717
1834
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1718
1835
|
default:
|
|
1719
1836
|
return "UNRECOGNIZED";
|
|
@@ -5054,6 +5171,420 @@ exports.GripperVelocities = {
|
|
|
5054
5171
|
return message;
|
|
5055
5172
|
},
|
|
5056
5173
|
};
|
|
5174
|
+
function createBaseCartesianManipulatorInput() {
|
|
5175
|
+
return { x: 0, y: 0, z: 0 };
|
|
5176
|
+
}
|
|
5177
|
+
exports.CartesianManipulatorInput = {
|
|
5178
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5179
|
+
if (message.x !== 0) {
|
|
5180
|
+
writer.uint32(13).float(message.x);
|
|
5181
|
+
}
|
|
5182
|
+
if (message.y !== 0) {
|
|
5183
|
+
writer.uint32(21).float(message.y);
|
|
5184
|
+
}
|
|
5185
|
+
if (message.z !== 0) {
|
|
5186
|
+
writer.uint32(29).float(message.z);
|
|
5187
|
+
}
|
|
5188
|
+
return writer;
|
|
5189
|
+
},
|
|
5190
|
+
decode(input, length) {
|
|
5191
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5192
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5193
|
+
const message = createBaseCartesianManipulatorInput();
|
|
5194
|
+
while (reader.pos < end) {
|
|
5195
|
+
const tag = reader.uint32();
|
|
5196
|
+
switch (tag >>> 3) {
|
|
5197
|
+
case 1: {
|
|
5198
|
+
if (tag !== 13) {
|
|
5199
|
+
break;
|
|
5200
|
+
}
|
|
5201
|
+
message.x = reader.float();
|
|
5202
|
+
continue;
|
|
5203
|
+
}
|
|
5204
|
+
case 2: {
|
|
5205
|
+
if (tag !== 21) {
|
|
5206
|
+
break;
|
|
5207
|
+
}
|
|
5208
|
+
message.y = reader.float();
|
|
5209
|
+
continue;
|
|
5210
|
+
}
|
|
5211
|
+
case 3: {
|
|
5212
|
+
if (tag !== 29) {
|
|
5213
|
+
break;
|
|
5214
|
+
}
|
|
5215
|
+
message.z = reader.float();
|
|
5216
|
+
continue;
|
|
5217
|
+
}
|
|
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) {
|
|
5282
|
+
break;
|
|
5283
|
+
}
|
|
5284
|
+
message.radial = reader.float();
|
|
5285
|
+
continue;
|
|
5286
|
+
}
|
|
5287
|
+
case 2: {
|
|
5288
|
+
if (tag !== 21) {
|
|
5289
|
+
break;
|
|
5290
|
+
}
|
|
5291
|
+
message.vertical = reader.float();
|
|
5292
|
+
continue;
|
|
5293
|
+
}
|
|
5294
|
+
case 3: {
|
|
5295
|
+
if (tag !== 29) {
|
|
5296
|
+
break;
|
|
5297
|
+
}
|
|
5298
|
+
message.azimuth = reader.float();
|
|
5299
|
+
continue;
|
|
5300
|
+
}
|
|
5301
|
+
}
|
|
5302
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5303
|
+
break;
|
|
5304
|
+
}
|
|
5305
|
+
reader.skip(tag & 7);
|
|
5306
|
+
}
|
|
5307
|
+
return message;
|
|
5308
|
+
},
|
|
5309
|
+
fromJSON(object) {
|
|
5310
|
+
return {
|
|
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,
|
|
5314
|
+
};
|
|
5315
|
+
},
|
|
5316
|
+
toJSON(message) {
|
|
5317
|
+
const obj = {};
|
|
5318
|
+
if (message.radial !== 0) {
|
|
5319
|
+
obj.radial = message.radial;
|
|
5320
|
+
}
|
|
5321
|
+
if (message.vertical !== 0) {
|
|
5322
|
+
obj.vertical = message.vertical;
|
|
5323
|
+
}
|
|
5324
|
+
if (message.azimuth !== 0) {
|
|
5325
|
+
obj.azimuth = message.azimuth;
|
|
5326
|
+
}
|
|
5327
|
+
return obj;
|
|
5328
|
+
},
|
|
5329
|
+
create(base) {
|
|
5330
|
+
return exports.CylindricalManipulatorInput.fromPartial(base ?? {});
|
|
5331
|
+
},
|
|
5332
|
+
fromPartial(object) {
|
|
5333
|
+
const message = createBaseCylindricalManipulatorInput();
|
|
5334
|
+
message.radial = object.radial ?? 0;
|
|
5335
|
+
message.vertical = object.vertical ?? 0;
|
|
5336
|
+
message.azimuth = object.azimuth ?? 0;
|
|
5337
|
+
return message;
|
|
5338
|
+
},
|
|
5339
|
+
};
|
|
5340
|
+
function createBaseKnownPoseManipulatorInput() {
|
|
5341
|
+
return { pose: 0, velocity: 0 };
|
|
5342
|
+
}
|
|
5343
|
+
exports.KnownPoseManipulatorInput = {
|
|
5344
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5345
|
+
if (message.pose !== 0) {
|
|
5346
|
+
writer.uint32(8).int32(message.pose);
|
|
5347
|
+
}
|
|
5348
|
+
if (message.velocity !== 0) {
|
|
5349
|
+
writer.uint32(21).float(message.velocity);
|
|
5350
|
+
}
|
|
5351
|
+
return writer;
|
|
5352
|
+
},
|
|
5353
|
+
decode(input, length) {
|
|
5354
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5355
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5356
|
+
const message = createBaseKnownPoseManipulatorInput();
|
|
5357
|
+
while (reader.pos < end) {
|
|
5358
|
+
const tag = reader.uint32();
|
|
5359
|
+
switch (tag >>> 3) {
|
|
5360
|
+
case 1: {
|
|
5361
|
+
if (tag !== 8) {
|
|
5362
|
+
break;
|
|
5363
|
+
}
|
|
5364
|
+
message.pose = reader.int32();
|
|
5365
|
+
continue;
|
|
5366
|
+
}
|
|
5367
|
+
case 2: {
|
|
5368
|
+
if (tag !== 21) {
|
|
5369
|
+
break;
|
|
5370
|
+
}
|
|
5371
|
+
message.velocity = reader.float();
|
|
5372
|
+
continue;
|
|
5373
|
+
}
|
|
5374
|
+
}
|
|
5375
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5376
|
+
break;
|
|
5377
|
+
}
|
|
5378
|
+
reader.skip(tag & 7);
|
|
5379
|
+
}
|
|
5380
|
+
return message;
|
|
5381
|
+
},
|
|
5382
|
+
fromJSON(object) {
|
|
5383
|
+
return {
|
|
5384
|
+
pose: isSet(object.pose) ? manipulatorPoseFromJSON(object.pose) : 0,
|
|
5385
|
+
velocity: isSet(object.velocity) ? gt.Number(object.velocity) : 0,
|
|
5386
|
+
};
|
|
5387
|
+
},
|
|
5388
|
+
toJSON(message) {
|
|
5389
|
+
const obj = {};
|
|
5390
|
+
if (message.pose !== 0) {
|
|
5391
|
+
obj.pose = manipulatorPoseToJSON(message.pose);
|
|
5392
|
+
}
|
|
5393
|
+
if (message.velocity !== 0) {
|
|
5394
|
+
obj.velocity = message.velocity;
|
|
5395
|
+
}
|
|
5396
|
+
return obj;
|
|
5397
|
+
},
|
|
5398
|
+
create(base) {
|
|
5399
|
+
return exports.KnownPoseManipulatorInput.fromPartial(base ?? {});
|
|
5400
|
+
},
|
|
5401
|
+
fromPartial(object) {
|
|
5402
|
+
const message = createBaseKnownPoseManipulatorInput();
|
|
5403
|
+
message.pose = object.pose ?? 0;
|
|
5404
|
+
message.velocity = object.velocity ?? 0;
|
|
5405
|
+
return message;
|
|
5406
|
+
},
|
|
5407
|
+
};
|
|
5408
|
+
function createBaseGripper() {
|
|
5409
|
+
return {
|
|
5410
|
+
mode: 0,
|
|
5411
|
+
jointPositions: [],
|
|
5412
|
+
endPosition: undefined,
|
|
5413
|
+
atLimit: false,
|
|
5414
|
+
collision: false,
|
|
5415
|
+
holding: false,
|
|
5416
|
+
fault: false,
|
|
5417
|
+
movingTo: 0,
|
|
5418
|
+
};
|
|
5419
|
+
}
|
|
5420
|
+
exports.Gripper = {
|
|
5421
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5422
|
+
if (message.mode !== 0) {
|
|
5423
|
+
writer.uint32(8).int32(message.mode);
|
|
5424
|
+
}
|
|
5425
|
+
writer.uint32(18).fork();
|
|
5426
|
+
for (const v of message.jointPositions) {
|
|
5427
|
+
writer.float(v);
|
|
5428
|
+
}
|
|
5429
|
+
writer.join();
|
|
5430
|
+
if (message.endPosition !== undefined) {
|
|
5431
|
+
exports.Vector3.encode(message.endPosition, writer.uint32(26).fork()).join();
|
|
5432
|
+
}
|
|
5433
|
+
if (message.atLimit !== false) {
|
|
5434
|
+
writer.uint32(32).bool(message.atLimit);
|
|
5435
|
+
}
|
|
5436
|
+
if (message.collision !== false) {
|
|
5437
|
+
writer.uint32(40).bool(message.collision);
|
|
5438
|
+
}
|
|
5439
|
+
if (message.holding !== false) {
|
|
5440
|
+
writer.uint32(48).bool(message.holding);
|
|
5441
|
+
}
|
|
5442
|
+
if (message.fault !== false) {
|
|
5443
|
+
writer.uint32(56).bool(message.fault);
|
|
5444
|
+
}
|
|
5445
|
+
if (message.movingTo !== 0) {
|
|
5446
|
+
writer.uint32(64).int32(message.movingTo);
|
|
5447
|
+
}
|
|
5448
|
+
return writer;
|
|
5449
|
+
},
|
|
5450
|
+
decode(input, length) {
|
|
5451
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5452
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5453
|
+
const message = createBaseGripper();
|
|
5454
|
+
while (reader.pos < end) {
|
|
5455
|
+
const tag = reader.uint32();
|
|
5456
|
+
switch (tag >>> 3) {
|
|
5457
|
+
case 1: {
|
|
5458
|
+
if (tag !== 8) {
|
|
5459
|
+
break;
|
|
5460
|
+
}
|
|
5461
|
+
message.mode = reader.int32();
|
|
5462
|
+
continue;
|
|
5463
|
+
}
|
|
5464
|
+
case 2: {
|
|
5465
|
+
if (tag === 21) {
|
|
5466
|
+
message.jointPositions.push(reader.float());
|
|
5467
|
+
continue;
|
|
5468
|
+
}
|
|
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;
|
|
5475
|
+
}
|
|
5476
|
+
break;
|
|
5477
|
+
}
|
|
5478
|
+
case 3: {
|
|
5479
|
+
if (tag !== 26) {
|
|
5480
|
+
break;
|
|
5481
|
+
}
|
|
5482
|
+
message.endPosition = exports.Vector3.decode(reader, reader.uint32());
|
|
5483
|
+
continue;
|
|
5484
|
+
}
|
|
5485
|
+
case 4: {
|
|
5486
|
+
if (tag !== 32) {
|
|
5487
|
+
break;
|
|
5488
|
+
}
|
|
5489
|
+
message.atLimit = reader.bool();
|
|
5490
|
+
continue;
|
|
5491
|
+
}
|
|
5492
|
+
case 5: {
|
|
5493
|
+
if (tag !== 40) {
|
|
5494
|
+
break;
|
|
5495
|
+
}
|
|
5496
|
+
message.collision = reader.bool();
|
|
5497
|
+
continue;
|
|
5498
|
+
}
|
|
5499
|
+
case 6: {
|
|
5500
|
+
if (tag !== 48) {
|
|
5501
|
+
break;
|
|
5502
|
+
}
|
|
5503
|
+
message.holding = reader.bool();
|
|
5504
|
+
continue;
|
|
5505
|
+
}
|
|
5506
|
+
case 7: {
|
|
5507
|
+
if (tag !== 56) {
|
|
5508
|
+
break;
|
|
5509
|
+
}
|
|
5510
|
+
message.fault = reader.bool();
|
|
5511
|
+
continue;
|
|
5512
|
+
}
|
|
5513
|
+
case 8: {
|
|
5514
|
+
if (tag !== 64) {
|
|
5515
|
+
break;
|
|
5516
|
+
}
|
|
5517
|
+
message.movingTo = reader.int32();
|
|
5518
|
+
continue;
|
|
5519
|
+
}
|
|
5520
|
+
}
|
|
5521
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5522
|
+
break;
|
|
5523
|
+
}
|
|
5524
|
+
reader.skip(tag & 7);
|
|
5525
|
+
}
|
|
5526
|
+
return message;
|
|
5527
|
+
},
|
|
5528
|
+
fromJSON(object) {
|
|
5529
|
+
return {
|
|
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,
|
|
5540
|
+
};
|
|
5541
|
+
},
|
|
5542
|
+
toJSON(message) {
|
|
5543
|
+
const obj = {};
|
|
5544
|
+
if (message.mode !== 0) {
|
|
5545
|
+
obj.mode = manipulatorControlModeToJSON(message.mode);
|
|
5546
|
+
}
|
|
5547
|
+
if (message.jointPositions?.length) {
|
|
5548
|
+
obj.jointPositions = message.jointPositions;
|
|
5549
|
+
}
|
|
5550
|
+
if (message.endPosition !== undefined) {
|
|
5551
|
+
obj.endPosition = exports.Vector3.toJSON(message.endPosition);
|
|
5552
|
+
}
|
|
5553
|
+
if (message.atLimit !== false) {
|
|
5554
|
+
obj.atLimit = message.atLimit;
|
|
5555
|
+
}
|
|
5556
|
+
if (message.collision !== false) {
|
|
5557
|
+
obj.collision = message.collision;
|
|
5558
|
+
}
|
|
5559
|
+
if (message.holding !== false) {
|
|
5560
|
+
obj.holding = message.holding;
|
|
5561
|
+
}
|
|
5562
|
+
if (message.fault !== false) {
|
|
5563
|
+
obj.fault = message.fault;
|
|
5564
|
+
}
|
|
5565
|
+
if (message.movingTo !== 0) {
|
|
5566
|
+
obj.movingTo = manipulatorPoseToJSON(message.movingTo);
|
|
5567
|
+
}
|
|
5568
|
+
return obj;
|
|
5569
|
+
},
|
|
5570
|
+
create(base) {
|
|
5571
|
+
return exports.Gripper.fromPartial(base ?? {});
|
|
5572
|
+
},
|
|
5573
|
+
fromPartial(object) {
|
|
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;
|
|
5585
|
+
return message;
|
|
5586
|
+
},
|
|
5587
|
+
};
|
|
5057
5588
|
function createBaseClientInfo() {
|
|
5058
5589
|
return { type: "", version: "", deviceType: "", platform: "", platformVersion: "", name: "", isObserver: false };
|
|
5059
5590
|
}
|
|
@@ -11000,6 +11531,10 @@ function createBaseErrorFlags() {
|
|
|
11000
11531
|
usbDisconnect: false,
|
|
11001
11532
|
videoUrbError: false,
|
|
11002
11533
|
hardwareNotSupported: false,
|
|
11534
|
+
imu1: false,
|
|
11535
|
+
imu2: false,
|
|
11536
|
+
imuHp: false,
|
|
11537
|
+
imuAttitude: false,
|
|
11003
11538
|
};
|
|
11004
11539
|
}
|
|
11005
11540
|
exports.ErrorFlags = {
|
|
@@ -11256,6 +11791,18 @@ exports.ErrorFlags = {
|
|
|
11256
11791
|
if (message.hardwareNotSupported !== false) {
|
|
11257
11792
|
writer.uint32(376).bool(message.hardwareNotSupported);
|
|
11258
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
|
+
}
|
|
11259
11806
|
return writer;
|
|
11260
11807
|
},
|
|
11261
11808
|
decode(input, length) {
|
|
@@ -11853,6 +12400,34 @@ exports.ErrorFlags = {
|
|
|
11853
12400
|
message.hardwareNotSupported = reader.bool();
|
|
11854
12401
|
continue;
|
|
11855
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
|
+
}
|
|
11856
12431
|
}
|
|
11857
12432
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11858
12433
|
break;
|
|
@@ -11953,6 +12528,10 @@ exports.ErrorFlags = {
|
|
|
11953
12528
|
usbDisconnect: isSet(object.usbDisconnect) ? gt.Boolean(object.usbDisconnect) : false,
|
|
11954
12529
|
videoUrbError: isSet(object.videoUrbError) ? gt.Boolean(object.videoUrbError) : false,
|
|
11955
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,
|
|
11956
12535
|
};
|
|
11957
12536
|
},
|
|
11958
12537
|
toJSON(message) {
|
|
@@ -12209,6 +12788,18 @@ exports.ErrorFlags = {
|
|
|
12209
12788
|
if (message.hardwareNotSupported !== false) {
|
|
12210
12789
|
obj.hardwareNotSupported = message.hardwareNotSupported;
|
|
12211
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
|
+
}
|
|
12212
12803
|
return obj;
|
|
12213
12804
|
},
|
|
12214
12805
|
create(base) {
|
|
@@ -12300,6 +12891,10 @@ exports.ErrorFlags = {
|
|
|
12300
12891
|
message.usbDisconnect = object.usbDisconnect ?? false;
|
|
12301
12892
|
message.videoUrbError = object.videoUrbError ?? false;
|
|
12302
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;
|
|
12303
12898
|
return message;
|
|
12304
12899
|
},
|
|
12305
12900
|
};
|
|
@@ -18835,6 +19430,74 @@ exports.FilterMessage = {
|
|
|
18835
19430
|
return message;
|
|
18836
19431
|
},
|
|
18837
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
|
+
};
|
|
18838
19501
|
function createBaseCameraPanTiltZoom() {
|
|
18839
19502
|
return { pan: 0, tilt: 0, zoom: 0 };
|
|
18840
19503
|
}
|