@blueyerobotics/protocol-definitions 3.2.0-153cd3ce → 3.2.0-2de0da47
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.md +40 -0
- package/README.npm.md +40 -0
- package/dist/aquatroll.d.ts +2 -8
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +35 -10
- package/dist/control.js +190 -10
- package/dist/google/protobuf/any.d.ts +2 -8
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.d.ts +2 -8
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.d.ts +2 -8
- 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 +339 -22
- package/dist/message_formats.js +3436 -1514
- package/dist/mission_planning.d.ts +56 -8
- package/dist/mission_planning.js +244 -2
- package/dist/req_rep.d.ts +24 -8
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +71 -10
- package/dist/telemetry.js +530 -9
- package/package.json +14 -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, 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, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
|
|
4
4
|
import { MissionStatus, ReferenceAutoPilot } from "./mission_planning";
|
|
5
5
|
/**
|
|
6
6
|
* Telemetry
|
|
@@ -149,8 +149,15 @@ export interface CanisterBottomHumidityTel {
|
|
|
149
149
|
}
|
|
150
150
|
/** Video storage info. */
|
|
151
151
|
export interface VideoStorageSpaceTel {
|
|
152
|
-
/** Video storage information. */
|
|
152
|
+
/** Internal Video storage information. */
|
|
153
153
|
storageSpace: StorageSpace | undefined;
|
|
154
|
+
/** Removable Video storage information. Can be empty. */
|
|
155
|
+
removableSpace: StorageSpace | undefined;
|
|
156
|
+
}
|
|
157
|
+
/** Information about removable storage device. */
|
|
158
|
+
export interface RemovableStorageTel {
|
|
159
|
+
/** Information about the storage device (such as partitions) */
|
|
160
|
+
storageDevice: RemovableStorageDevice | undefined;
|
|
154
161
|
}
|
|
155
162
|
/** Data storage info. */
|
|
156
163
|
export interface DataStorageSpaceTel {
|
|
@@ -233,11 +240,15 @@ export interface ConnectedClientsTel {
|
|
|
233
240
|
export interface GenericServoTel {
|
|
234
241
|
/** Servo state. */
|
|
235
242
|
servo: GenericServo | undefined;
|
|
243
|
+
/** Servo set point (0..1). */
|
|
244
|
+
setPoint: number;
|
|
236
245
|
}
|
|
237
246
|
/** State of the servo installed in the multibeam. */
|
|
238
247
|
export interface MultibeamServoTel {
|
|
239
248
|
/** Multibeam servo state. */
|
|
240
249
|
servo: MultibeamServo | undefined;
|
|
250
|
+
/** Servo set point (-30..30). */
|
|
251
|
+
setPoint: number;
|
|
241
252
|
}
|
|
242
253
|
/** GuestPort current readings. */
|
|
243
254
|
export interface GuestPortCurrentTel {
|
|
@@ -259,6 +270,16 @@ export interface Imu2Tel {
|
|
|
259
270
|
/** Raw IMU data. */
|
|
260
271
|
imu: Imu | undefined;
|
|
261
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
|
+
}
|
|
262
283
|
/** Medusa gamma ray sensor spectrometer data. */
|
|
263
284
|
export interface MedusaSpectrometerDataTel {
|
|
264
285
|
/** Medusa gamma ray sensor spectrometer data. */
|
|
@@ -284,6 +305,44 @@ export interface CPUInfoTel {
|
|
|
284
305
|
/** CPU information. */
|
|
285
306
|
cpuInfo: CPUInfo | undefined;
|
|
286
307
|
}
|
|
308
|
+
/** Surface Unit telemetry message. */
|
|
309
|
+
export interface SurfaceUnitTel {
|
|
310
|
+
/** Battery information. */
|
|
311
|
+
batteryInfo: SurfaceUnitBatteryInfo | undefined;
|
|
312
|
+
/** Version information. */
|
|
313
|
+
versionInfo: SurfaceUnitVersionInfo | undefined;
|
|
314
|
+
}
|
|
315
|
+
/** Log entry telemetry message. */
|
|
316
|
+
export interface LogEntryTel {
|
|
317
|
+
/** Blunux log entry. */
|
|
318
|
+
blunux?: LogEntry | undefined;
|
|
319
|
+
/** Kernel log entry. */
|
|
320
|
+
kernel?: KernelLogEntry | undefined;
|
|
321
|
+
}
|
|
322
|
+
/** Object detections from a computer vision model. */
|
|
323
|
+
export interface ObjectDetectionsTel {
|
|
324
|
+
/** List of object detections from a video frame. */
|
|
325
|
+
objectDetections: ObjectDetections | undefined;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Turbidity filter settings telemetry message.
|
|
329
|
+
*
|
|
330
|
+
* Message is published when the filter settings are changed.
|
|
331
|
+
*/
|
|
332
|
+
export interface TurbidityFilterTel {
|
|
333
|
+
/** Turbidity filter settings. */
|
|
334
|
+
turbidityFilter: FilterMessage | undefined;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Digital pan, tilt, and zoom telemetry from the main camera.
|
|
338
|
+
*
|
|
339
|
+
* Reports the actual pan, tilt, and zoom state of the camera.
|
|
340
|
+
* Only supported on X3 Ultra.
|
|
341
|
+
*/
|
|
342
|
+
export interface CameraPanTiltZoomTel {
|
|
343
|
+
/** Current pan, tilt, and zoom state. */
|
|
344
|
+
cameraPanTiltZoom: CameraPanTiltZoom | undefined;
|
|
345
|
+
}
|
|
287
346
|
export declare const AttitudeTel: MessageFns<AttitudeTel>;
|
|
288
347
|
export declare const MagneticDeclinationTel: MessageFns<MagneticDeclinationTel>;
|
|
289
348
|
export declare const AltitudeTel: MessageFns<AltitudeTel>;
|
|
@@ -312,6 +371,7 @@ export declare const CPUTemperatureTel: MessageFns<CPUTemperatureTel>;
|
|
|
312
371
|
export declare const CanisterBottomTemperatureTel: MessageFns<CanisterBottomTemperatureTel>;
|
|
313
372
|
export declare const CanisterBottomHumidityTel: MessageFns<CanisterBottomHumidityTel>;
|
|
314
373
|
export declare const VideoStorageSpaceTel: MessageFns<VideoStorageSpaceTel>;
|
|
374
|
+
export declare const RemovableStorageTel: MessageFns<RemovableStorageTel>;
|
|
315
375
|
export declare const DataStorageSpaceTel: MessageFns<DataStorageSpaceTel>;
|
|
316
376
|
export declare const CalibrationStateTel: MessageFns<CalibrationStateTel>;
|
|
317
377
|
export declare const TiltStabilizationTel: MessageFns<TiltStabilizationTel>;
|
|
@@ -333,27 +393,28 @@ export declare const GuestPortCurrentTel: MessageFns<GuestPortCurrentTel>;
|
|
|
333
393
|
export declare const CalibratedImuTel: MessageFns<CalibratedImuTel>;
|
|
334
394
|
export declare const Imu1Tel: MessageFns<Imu1Tel>;
|
|
335
395
|
export declare const Imu2Tel: MessageFns<Imu2Tel>;
|
|
396
|
+
export declare const ImuHpTel: MessageFns<ImuHpTel>;
|
|
397
|
+
export declare const CalibratedImuHpTel: MessageFns<CalibratedImuHpTel>;
|
|
336
398
|
export declare const MedusaSpectrometerDataTel: MessageFns<MedusaSpectrometerDataTel>;
|
|
337
399
|
export declare const MultibeamPingTel: MessageFns<MultibeamPingTel>;
|
|
338
400
|
export declare const MultibeamConfigTel: MessageFns<MultibeamConfigTel>;
|
|
339
401
|
export declare const MultibeamDiscoveryTel: MessageFns<MultibeamDiscoveryTel>;
|
|
340
402
|
export declare const CPUInfoTel: MessageFns<CPUInfoTel>;
|
|
403
|
+
export declare const SurfaceUnitTel: MessageFns<SurfaceUnitTel>;
|
|
404
|
+
export declare const LogEntryTel: MessageFns<LogEntryTel>;
|
|
405
|
+
export declare const ObjectDetectionsTel: MessageFns<ObjectDetectionsTel>;
|
|
406
|
+
export declare const TurbidityFilterTel: MessageFns<TurbidityFilterTel>;
|
|
407
|
+
export declare const CameraPanTiltZoomTel: MessageFns<CameraPanTiltZoomTel>;
|
|
341
408
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
342
409
|
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 {} ? {
|
|
343
410
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
344
411
|
} : Partial<T>;
|
|
345
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
346
|
-
type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
347
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
348
|
-
} & {
|
|
349
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
350
|
-
};
|
|
351
412
|
interface MessageFns<T> {
|
|
352
413
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
353
414
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
354
415
|
fromJSON(object: any): T;
|
|
355
416
|
toJSON(message: T): unknown;
|
|
356
|
-
create
|
|
357
|
-
fromPartial
|
|
417
|
+
create(base?: DeepPartial<T>): T;
|
|
418
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
358
419
|
}
|
|
359
420
|
export {};
|