@blueyerobotics/protocol-definitions 3.2.0-a0a5b37d → 3.2.0-a48e4638
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/message_formats.d.ts +8 -2
- package/dist/message_formats.js +60 -8
- package/package.json +1 -1
|
@@ -778,8 +778,12 @@ export interface RecordState {
|
|
|
778
778
|
multibeamSeconds: number;
|
|
779
779
|
/** Multibeam record fps. */
|
|
780
780
|
multibeamFps: number;
|
|
781
|
-
/** Storage location used for recording. */
|
|
782
|
-
|
|
781
|
+
/** Storage location used for main camera recording. */
|
|
782
|
+
mainStorageLocation: StorageLocation;
|
|
783
|
+
/** Storage location used for guestport camera recording. */
|
|
784
|
+
guestportStorageLocation: StorageLocation;
|
|
785
|
+
/** Storage location used for multibeam recording. */
|
|
786
|
+
multibeamStorageLocation: StorageLocation;
|
|
783
787
|
}
|
|
784
788
|
/** Time-lapse state published if time-lapse mission is running. */
|
|
785
789
|
export interface TimeLapseState {
|
|
@@ -1569,6 +1573,8 @@ export interface CameraParameters {
|
|
|
1569
1573
|
framerate: Framerate;
|
|
1570
1574
|
/** Which camera the parameters belong to. */
|
|
1571
1575
|
camera: Camera;
|
|
1576
|
+
/** Network MTU size for video streaming (bytes). If 0 or unset, the system will use a default of 1400. */
|
|
1577
|
+
mtuSize: number;
|
|
1572
1578
|
}
|
|
1573
1579
|
/**
|
|
1574
1580
|
* Overlay parameters.
|
package/dist/message_formats.js
CHANGED
|
@@ -4081,7 +4081,9 @@ function createBaseRecordState() {
|
|
|
4081
4081
|
multibeamIsRecording: false,
|
|
4082
4082
|
multibeamSeconds: 0,
|
|
4083
4083
|
multibeamFps: 0,
|
|
4084
|
-
|
|
4084
|
+
mainStorageLocation: 0,
|
|
4085
|
+
guestportStorageLocation: 0,
|
|
4086
|
+
multibeamStorageLocation: 0,
|
|
4085
4087
|
};
|
|
4086
4088
|
}
|
|
4087
4089
|
exports.RecordState = {
|
|
@@ -4113,8 +4115,14 @@ exports.RecordState = {
|
|
|
4113
4115
|
if (message.multibeamFps !== 0) {
|
|
4114
4116
|
writer.uint32(77).float(message.multibeamFps);
|
|
4115
4117
|
}
|
|
4116
|
-
if (message.
|
|
4117
|
-
writer.uint32(80).int32(message.
|
|
4118
|
+
if (message.mainStorageLocation !== 0) {
|
|
4119
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
4120
|
+
}
|
|
4121
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4122
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
4123
|
+
}
|
|
4124
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4125
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
4118
4126
|
}
|
|
4119
4127
|
return writer;
|
|
4120
4128
|
},
|
|
@@ -4192,7 +4200,21 @@ exports.RecordState = {
|
|
|
4192
4200
|
if (tag !== 80) {
|
|
4193
4201
|
break;
|
|
4194
4202
|
}
|
|
4195
|
-
message.
|
|
4203
|
+
message.mainStorageLocation = reader.int32();
|
|
4204
|
+
continue;
|
|
4205
|
+
}
|
|
4206
|
+
case 11: {
|
|
4207
|
+
if (tag !== 88) {
|
|
4208
|
+
break;
|
|
4209
|
+
}
|
|
4210
|
+
message.guestportStorageLocation = reader.int32();
|
|
4211
|
+
continue;
|
|
4212
|
+
}
|
|
4213
|
+
case 12: {
|
|
4214
|
+
if (tag !== 96) {
|
|
4215
|
+
break;
|
|
4216
|
+
}
|
|
4217
|
+
message.multibeamStorageLocation = reader.int32();
|
|
4196
4218
|
continue;
|
|
4197
4219
|
}
|
|
4198
4220
|
}
|
|
@@ -4214,7 +4236,13 @@ exports.RecordState = {
|
|
|
4214
4236
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
4215
4237
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
4216
4238
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4217
|
-
|
|
4239
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
4240
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
4241
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
4242
|
+
: 0,
|
|
4243
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
4244
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
4245
|
+
: 0,
|
|
4218
4246
|
};
|
|
4219
4247
|
},
|
|
4220
4248
|
toJSON(message) {
|
|
@@ -4246,8 +4274,14 @@ exports.RecordState = {
|
|
|
4246
4274
|
if (message.multibeamFps !== 0) {
|
|
4247
4275
|
obj.multibeamFps = message.multibeamFps;
|
|
4248
4276
|
}
|
|
4249
|
-
if (message.
|
|
4250
|
-
obj.
|
|
4277
|
+
if (message.mainStorageLocation !== 0) {
|
|
4278
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
4279
|
+
}
|
|
4280
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4281
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
4282
|
+
}
|
|
4283
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4284
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
4251
4285
|
}
|
|
4252
4286
|
return obj;
|
|
4253
4287
|
},
|
|
@@ -4265,7 +4299,9 @@ exports.RecordState = {
|
|
|
4265
4299
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
4266
4300
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
4267
4301
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4268
|
-
message.
|
|
4302
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4303
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4304
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
4269
4305
|
return message;
|
|
4270
4306
|
},
|
|
4271
4307
|
};
|
|
@@ -9997,6 +10033,7 @@ function createBaseCameraParameters() {
|
|
|
9997
10033
|
streamingProtocol: 0,
|
|
9998
10034
|
framerate: 0,
|
|
9999
10035
|
camera: 0,
|
|
10036
|
+
mtuSize: 0,
|
|
10000
10037
|
};
|
|
10001
10038
|
}
|
|
10002
10039
|
exports.CameraParameters = {
|
|
@@ -10067,6 +10104,9 @@ exports.CameraParameters = {
|
|
|
10067
10104
|
if (message.camera !== 0) {
|
|
10068
10105
|
writer.uint32(64).int32(message.camera);
|
|
10069
10106
|
}
|
|
10107
|
+
if (message.mtuSize !== 0) {
|
|
10108
|
+
writer.uint32(192).uint32(message.mtuSize);
|
|
10109
|
+
}
|
|
10070
10110
|
return writer;
|
|
10071
10111
|
},
|
|
10072
10112
|
decode(input, length) {
|
|
@@ -10230,6 +10270,13 @@ exports.CameraParameters = {
|
|
|
10230
10270
|
message.camera = reader.int32();
|
|
10231
10271
|
continue;
|
|
10232
10272
|
}
|
|
10273
|
+
case 24: {
|
|
10274
|
+
if (tag !== 192) {
|
|
10275
|
+
break;
|
|
10276
|
+
}
|
|
10277
|
+
message.mtuSize = reader.uint32();
|
|
10278
|
+
continue;
|
|
10279
|
+
}
|
|
10233
10280
|
}
|
|
10234
10281
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10235
10282
|
break;
|
|
@@ -10262,6 +10309,7 @@ exports.CameraParameters = {
|
|
|
10262
10309
|
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
10263
10310
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
10264
10311
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
10312
|
+
mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
|
|
10265
10313
|
};
|
|
10266
10314
|
},
|
|
10267
10315
|
toJSON(message) {
|
|
@@ -10332,6 +10380,9 @@ exports.CameraParameters = {
|
|
|
10332
10380
|
if (message.camera !== 0) {
|
|
10333
10381
|
obj.camera = cameraToJSON(message.camera);
|
|
10334
10382
|
}
|
|
10383
|
+
if (message.mtuSize !== 0) {
|
|
10384
|
+
obj.mtuSize = Math.round(message.mtuSize);
|
|
10385
|
+
}
|
|
10335
10386
|
return obj;
|
|
10336
10387
|
},
|
|
10337
10388
|
create(base) {
|
|
@@ -10361,6 +10412,7 @@ exports.CameraParameters = {
|
|
|
10361
10412
|
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
10362
10413
|
message.framerate = object.framerate ?? 0;
|
|
10363
10414
|
message.camera = object.camera ?? 0;
|
|
10415
|
+
message.mtuSize = object.mtuSize ?? 0;
|
|
10364
10416
|
return message;
|
|
10365
10417
|
},
|
|
10366
10418
|
};
|