@blueyerobotics/protocol-definitions 3.2.0-66350af4 → 3.2.0-6aa68244
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 +157 -2
- package/dist/message_formats.js +1211 -147
- package/dist/telemetry.d.ts +13 -2
- package/dist/telemetry.js +59 -1
- package/package.json +1 -1
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, CameraPanTiltZoom, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, FilterMessage, ForwardDistance, GenericServo, GuestPortCurrent, Imu, IperfStatus, KernelLogEntry, Laser, LatLongPosition, Lights, LogEntry, MagneticDeclination, MedusaSpectrometerData, MultibeamConfig, MultibeamDiscovery, MultibeamPing, MultibeamServo, Notification, NStreamers, ObjectDetections, PositionEstimate, RecordState, Reference, RemovableStorageDevice, StorageSpace, SurfaceUnitBatteryInfo, SurfaceUnitVersionInfo, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
|
|
3
|
+
import { Altitude, Attitude, Battery, BatteryBQ40Z50, CalibrationState, CameraPanTiltZoom, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, FilterMessage, ForwardDistance, GenericServo, GuestPortCurrent, Imu, IperfStatus, KernelLogEntry, Laser, LatLongPosition, Lights, LogEntry, MagneticDeclination, MedusaSpectrometerData, MultibeamConfig, MultibeamDiscovery, MultibeamPing, MultibeamServo, Notification, NStreamers, ObjectDetections, PositionEstimate, RecordState, Reference, RemovableStorageDevice, StorageSpace, SurfaceUnitBatteryInfo, SurfaceUnitVersionInfo, SystemPerformanceInfo, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
|
|
4
4
|
import { MissionStatus, ReferenceAutoPilot } from "./mission_planning";
|
|
5
5
|
/**
|
|
6
6
|
* Telemetry
|
|
@@ -300,11 +300,21 @@ export interface MultibeamDiscoveryTel {
|
|
|
300
300
|
/** Discovery data from a multibeam sonar. */
|
|
301
301
|
discovery: MultibeamDiscovery | undefined;
|
|
302
302
|
}
|
|
303
|
-
/** Information about
|
|
303
|
+
/** Information about CPU and memory usage (deprecated, use SystemPerformanceInfoTel instead). */
|
|
304
304
|
export interface CPUInfoTel {
|
|
305
305
|
/** CPU information. */
|
|
306
306
|
cpuInfo: CPUInfo | undefined;
|
|
307
307
|
}
|
|
308
|
+
/**
|
|
309
|
+
* System performance telemetry message.
|
|
310
|
+
*
|
|
311
|
+
* Comprehensive performance metrics including per-core CPU, GPU, DLA,
|
|
312
|
+
* memory, thermals, and video codec utilization.
|
|
313
|
+
*/
|
|
314
|
+
export interface SystemPerformanceInfoTel {
|
|
315
|
+
/** System performance information. */
|
|
316
|
+
systemPerformanceInfo: SystemPerformanceInfo | undefined;
|
|
317
|
+
}
|
|
308
318
|
/** Surface Unit telemetry message. */
|
|
309
319
|
export interface SurfaceUnitTel {
|
|
310
320
|
/** Battery information. */
|
|
@@ -400,6 +410,7 @@ export declare const MultibeamPingTel: MessageFns<MultibeamPingTel>;
|
|
|
400
410
|
export declare const MultibeamConfigTel: MessageFns<MultibeamConfigTel>;
|
|
401
411
|
export declare const MultibeamDiscoveryTel: MessageFns<MultibeamDiscoveryTel>;
|
|
402
412
|
export declare const CPUInfoTel: MessageFns<CPUInfoTel>;
|
|
413
|
+
export declare const SystemPerformanceInfoTel: MessageFns<SystemPerformanceInfoTel>;
|
|
403
414
|
export declare const SurfaceUnitTel: MessageFns<SurfaceUnitTel>;
|
|
404
415
|
export declare const LogEntryTel: MessageFns<LogEntryTel>;
|
|
405
416
|
export declare const ObjectDetectionsTel: MessageFns<ObjectDetectionsTel>;
|
package/dist/telemetry.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
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.CameraPanTiltZoomTel = exports.TurbidityFilterTel = exports.ObjectDetectionsTel = exports.LogEntryTel = exports.SurfaceUnitTel = exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = exports.CalibratedImuHpTel = exports.ImuHpTel = void 0;
|
|
9
|
+
exports.CameraPanTiltZoomTel = exports.TurbidityFilterTel = exports.ObjectDetectionsTel = exports.LogEntryTel = exports.SurfaceUnitTel = exports.SystemPerformanceInfoTel = 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");
|
|
@@ -3130,6 +3130,64 @@ exports.CPUInfoTel = {
|
|
|
3130
3130
|
return message;
|
|
3131
3131
|
},
|
|
3132
3132
|
};
|
|
3133
|
+
function createBaseSystemPerformanceInfoTel() {
|
|
3134
|
+
return { systemPerformanceInfo: undefined };
|
|
3135
|
+
}
|
|
3136
|
+
exports.SystemPerformanceInfoTel = {
|
|
3137
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3138
|
+
if (message.systemPerformanceInfo !== undefined) {
|
|
3139
|
+
message_formats_1.SystemPerformanceInfo.encode(message.systemPerformanceInfo, writer.uint32(10).fork()).join();
|
|
3140
|
+
}
|
|
3141
|
+
return writer;
|
|
3142
|
+
},
|
|
3143
|
+
decode(input, length) {
|
|
3144
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3145
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3146
|
+
const message = createBaseSystemPerformanceInfoTel();
|
|
3147
|
+
while (reader.pos < end) {
|
|
3148
|
+
const tag = reader.uint32();
|
|
3149
|
+
switch (tag >>> 3) {
|
|
3150
|
+
case 1: {
|
|
3151
|
+
if (tag !== 10) {
|
|
3152
|
+
break;
|
|
3153
|
+
}
|
|
3154
|
+
message.systemPerformanceInfo = message_formats_1.SystemPerformanceInfo.decode(reader, reader.uint32());
|
|
3155
|
+
continue;
|
|
3156
|
+
}
|
|
3157
|
+
}
|
|
3158
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3159
|
+
break;
|
|
3160
|
+
}
|
|
3161
|
+
reader.skip(tag & 7);
|
|
3162
|
+
}
|
|
3163
|
+
return message;
|
|
3164
|
+
},
|
|
3165
|
+
fromJSON(object) {
|
|
3166
|
+
return {
|
|
3167
|
+
systemPerformanceInfo: isSet(object.systemPerformanceInfo)
|
|
3168
|
+
? message_formats_1.SystemPerformanceInfo.fromJSON(object.systemPerformanceInfo)
|
|
3169
|
+
: undefined,
|
|
3170
|
+
};
|
|
3171
|
+
},
|
|
3172
|
+
toJSON(message) {
|
|
3173
|
+
const obj = {};
|
|
3174
|
+
if (message.systemPerformanceInfo !== undefined) {
|
|
3175
|
+
obj.systemPerformanceInfo = message_formats_1.SystemPerformanceInfo.toJSON(message.systemPerformanceInfo);
|
|
3176
|
+
}
|
|
3177
|
+
return obj;
|
|
3178
|
+
},
|
|
3179
|
+
create(base) {
|
|
3180
|
+
return exports.SystemPerformanceInfoTel.fromPartial(base ?? {});
|
|
3181
|
+
},
|
|
3182
|
+
fromPartial(object) {
|
|
3183
|
+
const message = createBaseSystemPerformanceInfoTel();
|
|
3184
|
+
message.systemPerformanceInfo =
|
|
3185
|
+
(object.systemPerformanceInfo !== undefined && object.systemPerformanceInfo !== null)
|
|
3186
|
+
? message_formats_1.SystemPerformanceInfo.fromPartial(object.systemPerformanceInfo)
|
|
3187
|
+
: undefined;
|
|
3188
|
+
return message;
|
|
3189
|
+
},
|
|
3190
|
+
};
|
|
3133
3191
|
function createBaseSurfaceUnitTel() {
|
|
3134
3192
|
return { batteryInfo: undefined, versionInfo: undefined };
|
|
3135
3193
|
}
|