@blueyerobotics/protocol-definitions 3.2.0-5739a6ac → 3.2.0-68355164
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +165 -0
- package/README.npm.md +40 -0
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +6 -2
- package/dist/control.js +40 -9
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +189 -9
- package/dist/message_formats.js +1028 -51
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +29 -1
- package/dist/telemetry.js +248 -2
- package/package.json +8 -6
package/dist/mission_planning.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: mission_planning.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/req_rep.js
CHANGED
package/dist/telemetry.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { AquaTrollProbeMetadata, AquaTrollSensorMetadataArray, AquaTrollSensorParametersArray } from "./aquatroll";
|
|
3
|
-
import { Altitude, Attitude, Battery, BatteryBQ40Z50, CalibrationState, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, ForwardDistance, GenericServo, GuestPortCurrent, Imu, IperfStatus, Laser, LatLongPosition, Lights, MagneticDeclination, MedusaSpectrometerData, MultibeamConfig, MultibeamDiscovery, MultibeamPing, MultibeamServo, Notification, NStreamers, PositionEstimate, RecordState, Reference, RemovableStorageDevice, StorageSpace, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
|
|
3
|
+
import { Altitude, Attitude, Battery, BatteryBQ40Z50, CalibrationState, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, ForwardDistance, GenericServo, GuestPortCurrent, Imu, IperfStatus, KernelLogEntry, Laser, LatLongPosition, Lights, LogEntry, MagneticDeclination, MedusaSpectrometerData, MultibeamConfig, MultibeamDiscovery, MultibeamPing, MultibeamServo, Notification, NStreamers, PositionEstimate, RecordState, Reference, RemovableStorageDevice, StorageSpace, SurfaceUnitBatteryInfo, SurfaceUnitVersionInfo, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
|
|
4
4
|
import { MissionStatus, ReferenceAutoPilot } from "./mission_planning";
|
|
5
5
|
/**
|
|
6
6
|
* Telemetry
|
|
@@ -266,6 +266,16 @@ export interface Imu2Tel {
|
|
|
266
266
|
/** Raw IMU data. */
|
|
267
267
|
imu: Imu | undefined;
|
|
268
268
|
}
|
|
269
|
+
/** Raw IMU data from High Precision IMU */
|
|
270
|
+
export interface ImuHpTel {
|
|
271
|
+
/** Raw High Precision IMU data (no magnetometer) */
|
|
272
|
+
imu: Imu | undefined;
|
|
273
|
+
}
|
|
274
|
+
/** Calibrated High Precision IMU data */
|
|
275
|
+
export interface CalibratedImuHpTel {
|
|
276
|
+
/** Calibrated High Precision IMU (no magnetometer) */
|
|
277
|
+
imu: Imu | undefined;
|
|
278
|
+
}
|
|
269
279
|
/** Medusa gamma ray sensor spectrometer data. */
|
|
270
280
|
export interface MedusaSpectrometerDataTel {
|
|
271
281
|
/** Medusa gamma ray sensor spectrometer data. */
|
|
@@ -291,6 +301,20 @@ export interface CPUInfoTel {
|
|
|
291
301
|
/** CPU information. */
|
|
292
302
|
cpuInfo: CPUInfo | undefined;
|
|
293
303
|
}
|
|
304
|
+
/** Surface Unit telemetry message. */
|
|
305
|
+
export interface SurfaceUnitTel {
|
|
306
|
+
/** Battery information. */
|
|
307
|
+
batteryInfo: SurfaceUnitBatteryInfo | undefined;
|
|
308
|
+
/** Version information. */
|
|
309
|
+
versionInfo: SurfaceUnitVersionInfo | undefined;
|
|
310
|
+
}
|
|
311
|
+
/** Log entry telemetry message. */
|
|
312
|
+
export interface LogEntryTel {
|
|
313
|
+
/** Blunux log entry. */
|
|
314
|
+
blunux?: LogEntry | undefined;
|
|
315
|
+
/** Kernel log entry. */
|
|
316
|
+
kernel?: KernelLogEntry | undefined;
|
|
317
|
+
}
|
|
294
318
|
export declare const AttitudeTel: MessageFns<AttitudeTel>;
|
|
295
319
|
export declare const MagneticDeclinationTel: MessageFns<MagneticDeclinationTel>;
|
|
296
320
|
export declare const AltitudeTel: MessageFns<AltitudeTel>;
|
|
@@ -341,11 +365,15 @@ export declare const GuestPortCurrentTel: MessageFns<GuestPortCurrentTel>;
|
|
|
341
365
|
export declare const CalibratedImuTel: MessageFns<CalibratedImuTel>;
|
|
342
366
|
export declare const Imu1Tel: MessageFns<Imu1Tel>;
|
|
343
367
|
export declare const Imu2Tel: MessageFns<Imu2Tel>;
|
|
368
|
+
export declare const ImuHpTel: MessageFns<ImuHpTel>;
|
|
369
|
+
export declare const CalibratedImuHpTel: MessageFns<CalibratedImuHpTel>;
|
|
344
370
|
export declare const MedusaSpectrometerDataTel: MessageFns<MedusaSpectrometerDataTel>;
|
|
345
371
|
export declare const MultibeamPingTel: MessageFns<MultibeamPingTel>;
|
|
346
372
|
export declare const MultibeamConfigTel: MessageFns<MultibeamConfigTel>;
|
|
347
373
|
export declare const MultibeamDiscoveryTel: MessageFns<MultibeamDiscoveryTel>;
|
|
348
374
|
export declare const CPUInfoTel: MessageFns<CPUInfoTel>;
|
|
375
|
+
export declare const SurfaceUnitTel: MessageFns<SurfaceUnitTel>;
|
|
376
|
+
export declare const LogEntryTel: MessageFns<LogEntryTel>;
|
|
349
377
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
350
378
|
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
351
379
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/dist/telemetry.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: telemetry.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.Imu2Tel = exports.Imu1Tel = exports.CalibratedImuTel = exports.GuestPortCurrentTel = exports.MultibeamServoTel = exports.GenericServoTel = exports.ConnectedClientsTel = exports.AquaTrollSensorParametersTel = exports.AquaTrollSensorMetadataTel = exports.AquaTrollProbeMetadataTel = exports.CpProbeTel = exports.ThicknessGaugeTel = exports.ControlModeTel = exports.ErrorFlagsTel = exports.DroneInfoTel = exports.TiltAngleTel = exports.NStreamersTel = exports.IperfTel = exports.TiltStabilizationTel = exports.CalibrationStateTel = exports.DataStorageSpaceTel = exports.RemovableStorageTel = exports.VideoStorageSpaceTel = exports.CanisterBottomHumidityTel = exports.CanisterBottomTemperatureTel = exports.CPUTemperatureTel = exports.WaterTemperatureTel = exports.DroneTimeTel = exports.DiveTimeTel = exports.BatteryBQ40Z50Tel = exports.BatteryTel = exports.TimeLapseStateTel = exports.RecordStateTel = exports.PilotGPSPositionTel = exports.LaserTel = exports.GuestPortLightsTel = exports.LightsTel = exports.ControllerHealthTel = exports.ControlForceTel = exports.NotificationTel = exports.MissionStatusTel = exports.ReferenceAutoPilotTel = exports.ReferenceTel = exports.DepthTel = exports.PositionEstimateTel = exports.DvlVelocityTel = exports.ForwardDistanceTel = exports.AltitudeTel = exports.MagneticDeclinationTel = exports.AttitudeTel = void 0;
|
|
9
|
-
exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = void 0;
|
|
9
|
+
exports.LogEntryTel = exports.SurfaceUnitTel = exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = exports.CalibratedImuHpTel = exports.ImuHpTel = void 0;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
12
12
|
const aquatroll_1 = require("./aquatroll");
|
|
@@ -2729,6 +2729,108 @@ exports.Imu2Tel = {
|
|
|
2729
2729
|
return message;
|
|
2730
2730
|
},
|
|
2731
2731
|
};
|
|
2732
|
+
function createBaseImuHpTel() {
|
|
2733
|
+
return { imu: undefined };
|
|
2734
|
+
}
|
|
2735
|
+
exports.ImuHpTel = {
|
|
2736
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2737
|
+
if (message.imu !== undefined) {
|
|
2738
|
+
message_formats_1.Imu.encode(message.imu, writer.uint32(10).fork()).join();
|
|
2739
|
+
}
|
|
2740
|
+
return writer;
|
|
2741
|
+
},
|
|
2742
|
+
decode(input, length) {
|
|
2743
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2744
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2745
|
+
const message = createBaseImuHpTel();
|
|
2746
|
+
while (reader.pos < end) {
|
|
2747
|
+
const tag = reader.uint32();
|
|
2748
|
+
switch (tag >>> 3) {
|
|
2749
|
+
case 1: {
|
|
2750
|
+
if (tag !== 10) {
|
|
2751
|
+
break;
|
|
2752
|
+
}
|
|
2753
|
+
message.imu = message_formats_1.Imu.decode(reader, reader.uint32());
|
|
2754
|
+
continue;
|
|
2755
|
+
}
|
|
2756
|
+
}
|
|
2757
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2758
|
+
break;
|
|
2759
|
+
}
|
|
2760
|
+
reader.skip(tag & 7);
|
|
2761
|
+
}
|
|
2762
|
+
return message;
|
|
2763
|
+
},
|
|
2764
|
+
fromJSON(object) {
|
|
2765
|
+
return { imu: isSet(object.imu) ? message_formats_1.Imu.fromJSON(object.imu) : undefined };
|
|
2766
|
+
},
|
|
2767
|
+
toJSON(message) {
|
|
2768
|
+
const obj = {};
|
|
2769
|
+
if (message.imu !== undefined) {
|
|
2770
|
+
obj.imu = message_formats_1.Imu.toJSON(message.imu);
|
|
2771
|
+
}
|
|
2772
|
+
return obj;
|
|
2773
|
+
},
|
|
2774
|
+
create(base) {
|
|
2775
|
+
return exports.ImuHpTel.fromPartial(base ?? {});
|
|
2776
|
+
},
|
|
2777
|
+
fromPartial(object) {
|
|
2778
|
+
const message = createBaseImuHpTel();
|
|
2779
|
+
message.imu = (object.imu !== undefined && object.imu !== null) ? message_formats_1.Imu.fromPartial(object.imu) : undefined;
|
|
2780
|
+
return message;
|
|
2781
|
+
},
|
|
2782
|
+
};
|
|
2783
|
+
function createBaseCalibratedImuHpTel() {
|
|
2784
|
+
return { imu: undefined };
|
|
2785
|
+
}
|
|
2786
|
+
exports.CalibratedImuHpTel = {
|
|
2787
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2788
|
+
if (message.imu !== undefined) {
|
|
2789
|
+
message_formats_1.Imu.encode(message.imu, writer.uint32(10).fork()).join();
|
|
2790
|
+
}
|
|
2791
|
+
return writer;
|
|
2792
|
+
},
|
|
2793
|
+
decode(input, length) {
|
|
2794
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2795
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2796
|
+
const message = createBaseCalibratedImuHpTel();
|
|
2797
|
+
while (reader.pos < end) {
|
|
2798
|
+
const tag = reader.uint32();
|
|
2799
|
+
switch (tag >>> 3) {
|
|
2800
|
+
case 1: {
|
|
2801
|
+
if (tag !== 10) {
|
|
2802
|
+
break;
|
|
2803
|
+
}
|
|
2804
|
+
message.imu = message_formats_1.Imu.decode(reader, reader.uint32());
|
|
2805
|
+
continue;
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2809
|
+
break;
|
|
2810
|
+
}
|
|
2811
|
+
reader.skip(tag & 7);
|
|
2812
|
+
}
|
|
2813
|
+
return message;
|
|
2814
|
+
},
|
|
2815
|
+
fromJSON(object) {
|
|
2816
|
+
return { imu: isSet(object.imu) ? message_formats_1.Imu.fromJSON(object.imu) : undefined };
|
|
2817
|
+
},
|
|
2818
|
+
toJSON(message) {
|
|
2819
|
+
const obj = {};
|
|
2820
|
+
if (message.imu !== undefined) {
|
|
2821
|
+
obj.imu = message_formats_1.Imu.toJSON(message.imu);
|
|
2822
|
+
}
|
|
2823
|
+
return obj;
|
|
2824
|
+
},
|
|
2825
|
+
create(base) {
|
|
2826
|
+
return exports.CalibratedImuHpTel.fromPartial(base ?? {});
|
|
2827
|
+
},
|
|
2828
|
+
fromPartial(object) {
|
|
2829
|
+
const message = createBaseCalibratedImuHpTel();
|
|
2830
|
+
message.imu = (object.imu !== undefined && object.imu !== null) ? message_formats_1.Imu.fromPartial(object.imu) : undefined;
|
|
2831
|
+
return message;
|
|
2832
|
+
},
|
|
2833
|
+
};
|
|
2732
2834
|
function createBaseMedusaSpectrometerDataTel() {
|
|
2733
2835
|
return { data: undefined };
|
|
2734
2836
|
}
|
|
@@ -2994,6 +3096,150 @@ exports.CPUInfoTel = {
|
|
|
2994
3096
|
return message;
|
|
2995
3097
|
},
|
|
2996
3098
|
};
|
|
3099
|
+
function createBaseSurfaceUnitTel() {
|
|
3100
|
+
return { batteryInfo: undefined, versionInfo: undefined };
|
|
3101
|
+
}
|
|
3102
|
+
exports.SurfaceUnitTel = {
|
|
3103
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3104
|
+
if (message.batteryInfo !== undefined) {
|
|
3105
|
+
message_formats_1.SurfaceUnitBatteryInfo.encode(message.batteryInfo, writer.uint32(10).fork()).join();
|
|
3106
|
+
}
|
|
3107
|
+
if (message.versionInfo !== undefined) {
|
|
3108
|
+
message_formats_1.SurfaceUnitVersionInfo.encode(message.versionInfo, writer.uint32(18).fork()).join();
|
|
3109
|
+
}
|
|
3110
|
+
return writer;
|
|
3111
|
+
},
|
|
3112
|
+
decode(input, length) {
|
|
3113
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3114
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3115
|
+
const message = createBaseSurfaceUnitTel();
|
|
3116
|
+
while (reader.pos < end) {
|
|
3117
|
+
const tag = reader.uint32();
|
|
3118
|
+
switch (tag >>> 3) {
|
|
3119
|
+
case 1: {
|
|
3120
|
+
if (tag !== 10) {
|
|
3121
|
+
break;
|
|
3122
|
+
}
|
|
3123
|
+
message.batteryInfo = message_formats_1.SurfaceUnitBatteryInfo.decode(reader, reader.uint32());
|
|
3124
|
+
continue;
|
|
3125
|
+
}
|
|
3126
|
+
case 2: {
|
|
3127
|
+
if (tag !== 18) {
|
|
3128
|
+
break;
|
|
3129
|
+
}
|
|
3130
|
+
message.versionInfo = message_formats_1.SurfaceUnitVersionInfo.decode(reader, reader.uint32());
|
|
3131
|
+
continue;
|
|
3132
|
+
}
|
|
3133
|
+
}
|
|
3134
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3135
|
+
break;
|
|
3136
|
+
}
|
|
3137
|
+
reader.skip(tag & 7);
|
|
3138
|
+
}
|
|
3139
|
+
return message;
|
|
3140
|
+
},
|
|
3141
|
+
fromJSON(object) {
|
|
3142
|
+
return {
|
|
3143
|
+
batteryInfo: isSet(object.batteryInfo) ? message_formats_1.SurfaceUnitBatteryInfo.fromJSON(object.batteryInfo) : undefined,
|
|
3144
|
+
versionInfo: isSet(object.versionInfo) ? message_formats_1.SurfaceUnitVersionInfo.fromJSON(object.versionInfo) : undefined,
|
|
3145
|
+
};
|
|
3146
|
+
},
|
|
3147
|
+
toJSON(message) {
|
|
3148
|
+
const obj = {};
|
|
3149
|
+
if (message.batteryInfo !== undefined) {
|
|
3150
|
+
obj.batteryInfo = message_formats_1.SurfaceUnitBatteryInfo.toJSON(message.batteryInfo);
|
|
3151
|
+
}
|
|
3152
|
+
if (message.versionInfo !== undefined) {
|
|
3153
|
+
obj.versionInfo = message_formats_1.SurfaceUnitVersionInfo.toJSON(message.versionInfo);
|
|
3154
|
+
}
|
|
3155
|
+
return obj;
|
|
3156
|
+
},
|
|
3157
|
+
create(base) {
|
|
3158
|
+
return exports.SurfaceUnitTel.fromPartial(base ?? {});
|
|
3159
|
+
},
|
|
3160
|
+
fromPartial(object) {
|
|
3161
|
+
const message = createBaseSurfaceUnitTel();
|
|
3162
|
+
message.batteryInfo = (object.batteryInfo !== undefined && object.batteryInfo !== null)
|
|
3163
|
+
? message_formats_1.SurfaceUnitBatteryInfo.fromPartial(object.batteryInfo)
|
|
3164
|
+
: undefined;
|
|
3165
|
+
message.versionInfo = (object.versionInfo !== undefined && object.versionInfo !== null)
|
|
3166
|
+
? message_formats_1.SurfaceUnitVersionInfo.fromPartial(object.versionInfo)
|
|
3167
|
+
: undefined;
|
|
3168
|
+
return message;
|
|
3169
|
+
},
|
|
3170
|
+
};
|
|
3171
|
+
function createBaseLogEntryTel() {
|
|
3172
|
+
return { blunux: undefined, kernel: undefined };
|
|
3173
|
+
}
|
|
3174
|
+
exports.LogEntryTel = {
|
|
3175
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3176
|
+
if (message.blunux !== undefined) {
|
|
3177
|
+
message_formats_1.LogEntry.encode(message.blunux, writer.uint32(10).fork()).join();
|
|
3178
|
+
}
|
|
3179
|
+
if (message.kernel !== undefined) {
|
|
3180
|
+
message_formats_1.KernelLogEntry.encode(message.kernel, writer.uint32(18).fork()).join();
|
|
3181
|
+
}
|
|
3182
|
+
return writer;
|
|
3183
|
+
},
|
|
3184
|
+
decode(input, length) {
|
|
3185
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3186
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3187
|
+
const message = createBaseLogEntryTel();
|
|
3188
|
+
while (reader.pos < end) {
|
|
3189
|
+
const tag = reader.uint32();
|
|
3190
|
+
switch (tag >>> 3) {
|
|
3191
|
+
case 1: {
|
|
3192
|
+
if (tag !== 10) {
|
|
3193
|
+
break;
|
|
3194
|
+
}
|
|
3195
|
+
message.blunux = message_formats_1.LogEntry.decode(reader, reader.uint32());
|
|
3196
|
+
continue;
|
|
3197
|
+
}
|
|
3198
|
+
case 2: {
|
|
3199
|
+
if (tag !== 18) {
|
|
3200
|
+
break;
|
|
3201
|
+
}
|
|
3202
|
+
message.kernel = message_formats_1.KernelLogEntry.decode(reader, reader.uint32());
|
|
3203
|
+
continue;
|
|
3204
|
+
}
|
|
3205
|
+
}
|
|
3206
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3207
|
+
break;
|
|
3208
|
+
}
|
|
3209
|
+
reader.skip(tag & 7);
|
|
3210
|
+
}
|
|
3211
|
+
return message;
|
|
3212
|
+
},
|
|
3213
|
+
fromJSON(object) {
|
|
3214
|
+
return {
|
|
3215
|
+
blunux: isSet(object.blunux) ? message_formats_1.LogEntry.fromJSON(object.blunux) : undefined,
|
|
3216
|
+
kernel: isSet(object.kernel) ? message_formats_1.KernelLogEntry.fromJSON(object.kernel) : undefined,
|
|
3217
|
+
};
|
|
3218
|
+
},
|
|
3219
|
+
toJSON(message) {
|
|
3220
|
+
const obj = {};
|
|
3221
|
+
if (message.blunux !== undefined) {
|
|
3222
|
+
obj.blunux = message_formats_1.LogEntry.toJSON(message.blunux);
|
|
3223
|
+
}
|
|
3224
|
+
if (message.kernel !== undefined) {
|
|
3225
|
+
obj.kernel = message_formats_1.KernelLogEntry.toJSON(message.kernel);
|
|
3226
|
+
}
|
|
3227
|
+
return obj;
|
|
3228
|
+
},
|
|
3229
|
+
create(base) {
|
|
3230
|
+
return exports.LogEntryTel.fromPartial(base ?? {});
|
|
3231
|
+
},
|
|
3232
|
+
fromPartial(object) {
|
|
3233
|
+
const message = createBaseLogEntryTel();
|
|
3234
|
+
message.blunux = (object.blunux !== undefined && object.blunux !== null)
|
|
3235
|
+
? message_formats_1.LogEntry.fromPartial(object.blunux)
|
|
3236
|
+
: undefined;
|
|
3237
|
+
message.kernel = (object.kernel !== undefined && object.kernel !== null)
|
|
3238
|
+
? message_formats_1.KernelLogEntry.fromPartial(object.kernel)
|
|
3239
|
+
: undefined;
|
|
3240
|
+
return message;
|
|
3241
|
+
},
|
|
3242
|
+
};
|
|
2997
3243
|
const gt = (() => {
|
|
2998
3244
|
if (typeof globalThis !== "undefined") {
|
|
2999
3245
|
return globalThis;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueyerobotics/protocol-definitions",
|
|
3
|
-
"version": "3.2.0-
|
|
3
|
+
"version": "3.2.0-68355164",
|
|
4
4
|
"license": "LGPL-3.0-only",
|
|
5
5
|
"description": "TypeScript definitions for Blueye Robotics protocols",
|
|
6
6
|
"repository": {
|
|
@@ -9,15 +9,17 @@
|
|
|
9
9
|
},
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"types": "dist/index.d.ts",
|
|
12
|
-
"files": [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
16
15
|
"dependencies": {
|
|
17
16
|
"@bufbuild/protobuf": "^2.5.2"
|
|
18
17
|
},
|
|
19
18
|
"devDependencies": {
|
|
20
19
|
"ts-proto": "^2.7.5",
|
|
21
20
|
"typescript": "^5.8.3"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "tsc"
|
|
22
24
|
}
|
|
23
|
-
}
|
|
25
|
+
}
|