@blueyerobotics/protocol-definitions 3.2.0-c785049b → 3.2.0-d3c78945
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 +24 -2
- package/dist/control.js +175 -16
- 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 +403 -15
- package/dist/message_formats.js +2417 -25
- package/dist/mission_planning.d.ts +54 -0
- package/dist/mission_planning.js +244 -2
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +72 -2
- package/dist/telemetry.js +511 -6
- package/package.json +8 -6
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, 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
|
|
@@ -240,11 +240,15 @@ export interface ConnectedClientsTel {
|
|
|
240
240
|
export interface GenericServoTel {
|
|
241
241
|
/** Servo state. */
|
|
242
242
|
servo: GenericServo | undefined;
|
|
243
|
+
/** Servo set point (0..1). */
|
|
244
|
+
setPoint: number;
|
|
243
245
|
}
|
|
244
246
|
/** State of the servo installed in the multibeam. */
|
|
245
247
|
export interface MultibeamServoTel {
|
|
246
248
|
/** Multibeam servo state. */
|
|
247
249
|
servo: MultibeamServo | undefined;
|
|
250
|
+
/** Servo set point (-30..30). */
|
|
251
|
+
setPoint: number;
|
|
248
252
|
}
|
|
249
253
|
/** GuestPort current readings. */
|
|
250
254
|
export interface GuestPortCurrentTel {
|
|
@@ -266,6 +270,16 @@ export interface Imu2Tel {
|
|
|
266
270
|
/** Raw IMU data. */
|
|
267
271
|
imu: Imu | undefined;
|
|
268
272
|
}
|
|
273
|
+
/** Raw IMU data from High Precision IMU */
|
|
274
|
+
export interface ImuHpTel {
|
|
275
|
+
/** Raw High Precision IMU data (no magnetometer) */
|
|
276
|
+
imu: Imu | undefined;
|
|
277
|
+
}
|
|
278
|
+
/** Calibrated High Precision IMU data */
|
|
279
|
+
export interface CalibratedImuHpTel {
|
|
280
|
+
/** Calibrated High Precision IMU (no magnetometer) */
|
|
281
|
+
imu: Imu | undefined;
|
|
282
|
+
}
|
|
269
283
|
/** Medusa gamma ray sensor spectrometer data. */
|
|
270
284
|
export interface MedusaSpectrometerDataTel {
|
|
271
285
|
/** Medusa gamma ray sensor spectrometer data. */
|
|
@@ -286,11 +300,59 @@ export interface MultibeamDiscoveryTel {
|
|
|
286
300
|
/** Discovery data from a multibeam sonar. */
|
|
287
301
|
discovery: MultibeamDiscovery | undefined;
|
|
288
302
|
}
|
|
289
|
-
/** Information about
|
|
303
|
+
/** Information about CPU and memory usage (deprecated, use SystemPerformanceInfoTel instead). */
|
|
290
304
|
export interface CPUInfoTel {
|
|
291
305
|
/** CPU information. */
|
|
292
306
|
cpuInfo: CPUInfo | undefined;
|
|
293
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
|
+
}
|
|
318
|
+
/** Surface Unit telemetry message. */
|
|
319
|
+
export interface SurfaceUnitTel {
|
|
320
|
+
/** Battery information. */
|
|
321
|
+
batteryInfo: SurfaceUnitBatteryInfo | undefined;
|
|
322
|
+
/** Version information. */
|
|
323
|
+
versionInfo: SurfaceUnitVersionInfo | undefined;
|
|
324
|
+
}
|
|
325
|
+
/** Log entry telemetry message. */
|
|
326
|
+
export interface LogEntryTel {
|
|
327
|
+
/** Blunux log entry. */
|
|
328
|
+
blunux?: LogEntry | undefined;
|
|
329
|
+
/** Kernel log entry. */
|
|
330
|
+
kernel?: KernelLogEntry | undefined;
|
|
331
|
+
}
|
|
332
|
+
/** Object detections from a computer vision model. */
|
|
333
|
+
export interface ObjectDetectionsTel {
|
|
334
|
+
/** List of object detections from a video frame. */
|
|
335
|
+
objectDetections: ObjectDetections | undefined;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Turbidity filter settings telemetry message.
|
|
339
|
+
*
|
|
340
|
+
* Message is published when the filter settings are changed.
|
|
341
|
+
*/
|
|
342
|
+
export interface TurbidityFilterTel {
|
|
343
|
+
/** Turbidity filter settings. */
|
|
344
|
+
turbidityFilter: FilterMessage | undefined;
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Digital pan, tilt, and zoom telemetry from the main camera.
|
|
348
|
+
*
|
|
349
|
+
* Reports the actual pan, tilt, and zoom state of the camera.
|
|
350
|
+
* Only supported on X3 Ultra.
|
|
351
|
+
*/
|
|
352
|
+
export interface CameraPanTiltZoomTel {
|
|
353
|
+
/** Current pan, tilt, and zoom state. */
|
|
354
|
+
cameraPanTiltZoom: CameraPanTiltZoom | undefined;
|
|
355
|
+
}
|
|
294
356
|
export declare const AttitudeTel: MessageFns<AttitudeTel>;
|
|
295
357
|
export declare const MagneticDeclinationTel: MessageFns<MagneticDeclinationTel>;
|
|
296
358
|
export declare const AltitudeTel: MessageFns<AltitudeTel>;
|
|
@@ -341,11 +403,19 @@ export declare const GuestPortCurrentTel: MessageFns<GuestPortCurrentTel>;
|
|
|
341
403
|
export declare const CalibratedImuTel: MessageFns<CalibratedImuTel>;
|
|
342
404
|
export declare const Imu1Tel: MessageFns<Imu1Tel>;
|
|
343
405
|
export declare const Imu2Tel: MessageFns<Imu2Tel>;
|
|
406
|
+
export declare const ImuHpTel: MessageFns<ImuHpTel>;
|
|
407
|
+
export declare const CalibratedImuHpTel: MessageFns<CalibratedImuHpTel>;
|
|
344
408
|
export declare const MedusaSpectrometerDataTel: MessageFns<MedusaSpectrometerDataTel>;
|
|
345
409
|
export declare const MultibeamPingTel: MessageFns<MultibeamPingTel>;
|
|
346
410
|
export declare const MultibeamConfigTel: MessageFns<MultibeamConfigTel>;
|
|
347
411
|
export declare const MultibeamDiscoveryTel: MessageFns<MultibeamDiscoveryTel>;
|
|
348
412
|
export declare const CPUInfoTel: MessageFns<CPUInfoTel>;
|
|
413
|
+
export declare const SystemPerformanceInfoTel: MessageFns<SystemPerformanceInfoTel>;
|
|
414
|
+
export declare const SurfaceUnitTel: MessageFns<SurfaceUnitTel>;
|
|
415
|
+
export declare const LogEntryTel: MessageFns<LogEntryTel>;
|
|
416
|
+
export declare const ObjectDetectionsTel: MessageFns<ObjectDetectionsTel>;
|
|
417
|
+
export declare const TurbidityFilterTel: MessageFns<TurbidityFilterTel>;
|
|
418
|
+
export declare const CameraPanTiltZoomTel: MessageFns<CameraPanTiltZoomTel>;
|
|
349
419
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
350
420
|
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
421
|
[K in keyof T]?: DeepPartial<T[K]>;
|