@blueyerobotics/protocol-definitions 3.2.0-45dcae42 → 3.2.0-469f6b07
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/control.d.ts +75 -1
- package/dist/control.js +443 -7
- package/dist/message_formats.d.ts +694 -16
- package/dist/message_formats.js +4471 -132
- package/dist/mission_planning.d.ts +54 -0
- package/dist/mission_planning.js +243 -1
- package/dist/req_rep.d.ts +46 -0
- package/dist/req_rep.js +398 -1
- package/dist/telemetry.d.ts +108 -3
- package/dist/telemetry.js +593 -11
- package/package.json +1 -1
|
@@ -136,6 +136,8 @@ export declare enum NotificationType {
|
|
|
136
136
|
NOTIFICATION_TYPE_DVL_HIGH_TEMPERATURE_DETECTED = 31,
|
|
137
137
|
/** NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED - DVL thermal protection mode detected. */
|
|
138
138
|
NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED = 32,
|
|
139
|
+
/** NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED - Video partition not mounted. */
|
|
140
|
+
NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED = 33,
|
|
139
141
|
UNRECOGNIZED = -1
|
|
140
142
|
}
|
|
141
143
|
export declare function notificationTypeFromJSON(object: any): NotificationType;
|
|
@@ -184,6 +186,8 @@ export declare enum Model {
|
|
|
184
186
|
MODEL_X3 = 3,
|
|
185
187
|
/** MODEL_X3_ULTRA - Blueye X3 Ultra. */
|
|
186
188
|
MODEL_X3_ULTRA = 6,
|
|
189
|
+
/** MODEL_X7 - Blueye X7. */
|
|
190
|
+
MODEL_X7 = 7,
|
|
187
191
|
/** MODEL_NEXT - Blueye ? */
|
|
188
192
|
MODEL_NEXT = 5,
|
|
189
193
|
UNRECOGNIZED = -1
|
|
@@ -206,6 +210,24 @@ export declare enum PressureSensorType {
|
|
|
206
210
|
}
|
|
207
211
|
export declare function pressureSensorTypeFromJSON(object: any): PressureSensorType;
|
|
208
212
|
export declare function pressureSensorTypeToJSON(object: PressureSensorType): string;
|
|
213
|
+
/**
|
|
214
|
+
* How the drone is powered.
|
|
215
|
+
*
|
|
216
|
+
* Lets clients determine the power configuration (e.g. parallel batteries on the
|
|
217
|
+
* X7) directly from DroneInfo, without waiting for telemetry. May be extended in
|
|
218
|
+
* the future, e.g. with topside power.
|
|
219
|
+
*/
|
|
220
|
+
export declare enum PowerSource {
|
|
221
|
+
/** POWER_SOURCE_UNSPECIFIED - Power source unknown / not determined. */
|
|
222
|
+
POWER_SOURCE_UNSPECIFIED = 0,
|
|
223
|
+
/** POWER_SOURCE_SINGLE_BATTERY - A single battery. */
|
|
224
|
+
POWER_SOURCE_SINGLE_BATTERY = 1,
|
|
225
|
+
/** POWER_SOURCE_PARALLEL_BATTERIES - Two batteries running in parallel (e.g. X7). */
|
|
226
|
+
POWER_SOURCE_PARALLEL_BATTERIES = 2,
|
|
227
|
+
UNRECOGNIZED = -1
|
|
228
|
+
}
|
|
229
|
+
export declare function powerSourceFromJSON(object: any): PowerSource;
|
|
230
|
+
export declare function powerSourceToJSON(object: PowerSource): string;
|
|
209
231
|
/** Available camera resolutions. */
|
|
210
232
|
export declare enum Resolution {
|
|
211
233
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
@@ -218,11 +240,18 @@ export declare enum Resolution {
|
|
|
218
240
|
RESOLUTION_FULLHD_1080P = 1,
|
|
219
241
|
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
220
242
|
RESOLUTION_UHD_4K = 3,
|
|
243
|
+
/** RESOLUTION_QHD_2K - 2K QHD (2560x1440, Only supported on X3 Ultra). */
|
|
244
|
+
RESOLUTION_QHD_2K = 5,
|
|
221
245
|
UNRECOGNIZED = -1
|
|
222
246
|
}
|
|
223
247
|
export declare function resolutionFromJSON(object: any): Resolution;
|
|
224
248
|
export declare function resolutionToJSON(object: Resolution): string;
|
|
225
|
-
/**
|
|
249
|
+
/**
|
|
250
|
+
* Available camera frame rates.
|
|
251
|
+
*
|
|
252
|
+
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
253
|
+
* the frame rate will be reduced while the resolution is respected.
|
|
254
|
+
*/
|
|
226
255
|
export declare enum Framerate {
|
|
227
256
|
/** FRAMERATE_UNSPECIFIED - Framerate not specified. */
|
|
228
257
|
FRAMERATE_UNSPECIFIED = 0,
|
|
@@ -230,6 +259,8 @@ export declare enum Framerate {
|
|
|
230
259
|
FRAMERATE_FPS_30 = 1,
|
|
231
260
|
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
232
261
|
FRAMERATE_FPS_25 = 2,
|
|
262
|
+
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
263
|
+
FRAMERATE_FPS_60 = 3,
|
|
233
264
|
UNRECOGNIZED = -1
|
|
234
265
|
}
|
|
235
266
|
export declare function framerateFromJSON(object: any): Framerate;
|
|
@@ -257,6 +288,18 @@ export declare enum StreamingProtocol {
|
|
|
257
288
|
}
|
|
258
289
|
export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
|
|
259
290
|
export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
|
|
291
|
+
/** Recording video codec. */
|
|
292
|
+
export declare enum RecordingCodec {
|
|
293
|
+
/** RECORDING_CODEC_UNSPECIFIED - Use platform default (H.264). */
|
|
294
|
+
RECORDING_CODEC_UNSPECIFIED = 0,
|
|
295
|
+
/** RECORDING_CODEC_H264 - H.264/AVC codec. Wider compatibility with players/editors. */
|
|
296
|
+
RECORDING_CODEC_H264 = 1,
|
|
297
|
+
/** RECORDING_CODEC_H265 - H.265/HEVC codec. Better compression, limited compatibility. Ultra only. */
|
|
298
|
+
RECORDING_CODEC_H265 = 2,
|
|
299
|
+
UNRECOGNIZED = -1
|
|
300
|
+
}
|
|
301
|
+
export declare function recordingCodecFromJSON(object: any): RecordingCodec;
|
|
302
|
+
export declare function recordingCodecToJSON(object: RecordingCodec): string;
|
|
260
303
|
/** Available temperature units. */
|
|
261
304
|
export declare enum TemperatureUnit {
|
|
262
305
|
/** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
|
|
@@ -323,6 +366,8 @@ export declare enum FontSize {
|
|
|
323
366
|
FONT_SIZE_PX35 = 5,
|
|
324
367
|
/** FONT_SIZE_PX40 - 40 px. */
|
|
325
368
|
FONT_SIZE_PX40 = 6,
|
|
369
|
+
/** FONT_SIZE_PX50 - 50 px. */
|
|
370
|
+
FONT_SIZE_PX50 = 7,
|
|
326
371
|
UNRECOGNIZED = -1
|
|
327
372
|
}
|
|
328
373
|
export declare function fontSizeFromJSON(object: any): FontSize;
|
|
@@ -419,8 +464,14 @@ export declare enum GuestPortDeviceID {
|
|
|
419
464
|
GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
|
|
420
465
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
421
466
|
GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
|
|
422
|
-
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
467
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
423
468
|
GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
|
|
469
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
470
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 = 46,
|
|
471
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
472
|
+
GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT = 47,
|
|
473
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER - Blueye Scaling Laser. */
|
|
474
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER = 48,
|
|
424
475
|
UNRECOGNIZED = -1
|
|
425
476
|
}
|
|
426
477
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -435,10 +486,41 @@ export declare enum GuestPortNumber {
|
|
|
435
486
|
GUEST_PORT_NUMBER_PORT_2 = 2,
|
|
436
487
|
/** GUEST_PORT_NUMBER_PORT_3 - Guest port 3. */
|
|
437
488
|
GUEST_PORT_NUMBER_PORT_3 = 3,
|
|
489
|
+
/** GUEST_PORT_NUMBER_PORT_4 - Guest port 4. */
|
|
490
|
+
GUEST_PORT_NUMBER_PORT_4 = 4,
|
|
491
|
+
/** GUEST_PORT_NUMBER_PORT_5 - Guest port 5. */
|
|
492
|
+
GUEST_PORT_NUMBER_PORT_5 = 5,
|
|
493
|
+
/** GUEST_PORT_NUMBER_PORT_6 - Guest port 6. */
|
|
494
|
+
GUEST_PORT_NUMBER_PORT_6 = 6,
|
|
438
495
|
UNRECOGNIZED = -1
|
|
439
496
|
}
|
|
440
497
|
export declare function guestPortNumberFromJSON(object: any): GuestPortNumber;
|
|
441
498
|
export declare function guestPortNumberToJSON(object: GuestPortNumber): string;
|
|
499
|
+
/**
|
|
500
|
+
* Physical interfaces a guest port can provide.
|
|
501
|
+
*
|
|
502
|
+
* Used both for the interfaces a port provides and for the interfaces a
|
|
503
|
+
* device requires from the port it is connected to.
|
|
504
|
+
*/
|
|
505
|
+
export declare enum GuestPortCapability {
|
|
506
|
+
/** GUEST_PORT_CAPABILITY_UNSPECIFIED - Unspecified. */
|
|
507
|
+
GUEST_PORT_CAPABILITY_UNSPECIFIED = 0,
|
|
508
|
+
/** GUEST_PORT_CAPABILITY_ETHERNET - Ethernet. */
|
|
509
|
+
GUEST_PORT_CAPABILITY_ETHERNET = 1,
|
|
510
|
+
/** GUEST_PORT_CAPABILITY_I2C - I2C. */
|
|
511
|
+
GUEST_PORT_CAPABILITY_I2C = 2,
|
|
512
|
+
/** GUEST_PORT_CAPABILITY_RS232 - RS232 serial. */
|
|
513
|
+
GUEST_PORT_CAPABILITY_RS232 = 3,
|
|
514
|
+
/** GUEST_PORT_CAPABILITY_RS485 - RS485 serial. */
|
|
515
|
+
GUEST_PORT_CAPABILITY_RS485 = 4,
|
|
516
|
+
/** GUEST_PORT_CAPABILITY_USB2 - USB 2.0. */
|
|
517
|
+
GUEST_PORT_CAPABILITY_USB2 = 5,
|
|
518
|
+
/** GUEST_PORT_CAPABILITY_PWM - PWM. */
|
|
519
|
+
GUEST_PORT_CAPABILITY_PWM = 6,
|
|
520
|
+
UNRECOGNIZED = -1
|
|
521
|
+
}
|
|
522
|
+
export declare function guestPortCapabilityFromJSON(object: any): GuestPortCapability;
|
|
523
|
+
export declare function guestPortCapabilityToJSON(object: GuestPortCapability): string;
|
|
442
524
|
/** List of navigation sensors that can be used by the position observer. */
|
|
443
525
|
export declare enum NavigationSensorID {
|
|
444
526
|
/** NAVIGATION_SENSOR_ID_UNSPECIFIED - Unspecified. */
|
|
@@ -506,6 +588,48 @@ export declare enum MultibeamFrequencyMode {
|
|
|
506
588
|
}
|
|
507
589
|
export declare function multibeamFrequencyModeFromJSON(object: any): MultibeamFrequencyMode;
|
|
508
590
|
export declare function multibeamFrequencyModeToJSON(object: MultibeamFrequencyMode): string;
|
|
591
|
+
/** Thermal zone identifiers. */
|
|
592
|
+
export declare enum ThermalZoneId {
|
|
593
|
+
/** THERMAL_ZONE_ID_UNSPECIFIED - Unspecified thermal zone. */
|
|
594
|
+
THERMAL_ZONE_ID_UNSPECIFIED = 0,
|
|
595
|
+
/** THERMAL_ZONE_ID_TJ - Junction temperature (Tj). */
|
|
596
|
+
THERMAL_ZONE_ID_TJ = 1,
|
|
597
|
+
/** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
|
|
598
|
+
THERMAL_ZONE_ID_CANISTER = 2,
|
|
599
|
+
/** THERMAL_ZONE_ID_CPU - CPU thermal zone. */
|
|
600
|
+
THERMAL_ZONE_ID_CPU = 3,
|
|
601
|
+
/** THERMAL_ZONE_ID_GPU - GPU thermal zone. */
|
|
602
|
+
THERMAL_ZONE_ID_GPU = 4,
|
|
603
|
+
/** THERMAL_ZONE_ID_CV0 - Vision accelerator 0 thermal zone. */
|
|
604
|
+
THERMAL_ZONE_ID_CV0 = 5,
|
|
605
|
+
/** THERMAL_ZONE_ID_CV1 - Vision accelerator 1 thermal zone. */
|
|
606
|
+
THERMAL_ZONE_ID_CV1 = 6,
|
|
607
|
+
/** THERMAL_ZONE_ID_CV2 - Vision accelerator 2 thermal zone. */
|
|
608
|
+
THERMAL_ZONE_ID_CV2 = 7,
|
|
609
|
+
/** THERMAL_ZONE_ID_SOC0 - SoC 0 thermal zone. */
|
|
610
|
+
THERMAL_ZONE_ID_SOC0 = 8,
|
|
611
|
+
/** THERMAL_ZONE_ID_SOC1 - SoC 1 thermal zone. */
|
|
612
|
+
THERMAL_ZONE_ID_SOC1 = 9,
|
|
613
|
+
/** THERMAL_ZONE_ID_SOC2 - SoC 2 thermal zone. */
|
|
614
|
+
THERMAL_ZONE_ID_SOC2 = 10,
|
|
615
|
+
UNRECOGNIZED = -1
|
|
616
|
+
}
|
|
617
|
+
export declare function thermalZoneIdFromJSON(object: any): ThermalZoneId;
|
|
618
|
+
export declare function thermalZoneIdToJSON(object: ThermalZoneId): string;
|
|
619
|
+
/** Origin of an annotation. Mirrors the AnnotationSource enum in Blueye Cloud. */
|
|
620
|
+
export declare enum AnnotationSource {
|
|
621
|
+
/** ANNOTATION_SOURCE_UNSPECIFIED - Origin not specified. */
|
|
622
|
+
ANNOTATION_SOURCE_UNSPECIFIED = 0,
|
|
623
|
+
/** ANNOTATION_SOURCE_CLOUD - Created in Blueye Cloud after the dive. */
|
|
624
|
+
ANNOTATION_SOURCE_CLOUD = 1,
|
|
625
|
+
/** ANNOTATION_SOURCE_APP - Created in the app during the dive. */
|
|
626
|
+
ANNOTATION_SOURCE_APP = 2,
|
|
627
|
+
/** ANNOTATION_SOURCE_DRONE - Emitted by the drone itself. */
|
|
628
|
+
ANNOTATION_SOURCE_DRONE = 3,
|
|
629
|
+
UNRECOGNIZED = -1
|
|
630
|
+
}
|
|
631
|
+
export declare function annotationSourceFromJSON(object: any): AnnotationSource;
|
|
632
|
+
export declare function annotationSourceToJSON(object: AnnotationSource): string;
|
|
509
633
|
/**
|
|
510
634
|
* Wrapper message for each entry in the drone telemetry logfile.
|
|
511
635
|
*
|
|
@@ -639,6 +763,46 @@ export interface Lights {
|
|
|
639
763
|
export interface Laser {
|
|
640
764
|
/** Laser intensity, any value above 0 turns the laser on (0..1). */
|
|
641
765
|
value: number;
|
|
766
|
+
/** Modulate the laser at 5Hz for tracking. Only available on Ultra. */
|
|
767
|
+
modulated: boolean;
|
|
768
|
+
}
|
|
769
|
+
/** Point in 2D space. */
|
|
770
|
+
export interface Point2D {
|
|
771
|
+
/** X coordinate of the point (px). */
|
|
772
|
+
x: number;
|
|
773
|
+
/** Y coordinate of the point (px). */
|
|
774
|
+
y: number;
|
|
775
|
+
}
|
|
776
|
+
/**
|
|
777
|
+
* Message representing the detection of scaling lasers in the main camera.
|
|
778
|
+
*
|
|
779
|
+
* The message contains the centroids of the detected dots, the distance between them in pixels,
|
|
780
|
+
* and the confidence of the detection. The dots are detected through temporal DFT analysis of
|
|
781
|
+
* 5 Hz laser modulation, isolating flickering pixels from the static scene background.
|
|
782
|
+
*
|
|
783
|
+
* Only available on Ultra.
|
|
784
|
+
*/
|
|
785
|
+
export interface LaserDetection {
|
|
786
|
+
/** True if the laser is detected by the drone. */
|
|
787
|
+
detected: boolean;
|
|
788
|
+
/** First dot centroid (leftmost). */
|
|
789
|
+
dot1: Point2D | undefined;
|
|
790
|
+
/** Second dot centroid (rightmost). */
|
|
791
|
+
dot2: Point2D | undefined;
|
|
792
|
+
/** Distance between dots in pixels. */
|
|
793
|
+
pixelDistance: number;
|
|
794
|
+
/** Confidence of the detection (0..1). */
|
|
795
|
+
confidence: number;
|
|
796
|
+
/** Source frame width. */
|
|
797
|
+
imageWidth: number;
|
|
798
|
+
/** Source frame height. */
|
|
799
|
+
imageHeight: number;
|
|
800
|
+
/** Real world distance between the two laser dots (m). */
|
|
801
|
+
laserWidth: number;
|
|
802
|
+
/** Distance after lens undistortion (px). */
|
|
803
|
+
correctedPixelDistance: number;
|
|
804
|
+
/** Estimated subject distance (m). */
|
|
805
|
+
estimatedDistance: number;
|
|
642
806
|
}
|
|
643
807
|
/** Latitude and longitude position in WGS 84 decimal degrees format. */
|
|
644
808
|
export interface LatLongPosition {
|
|
@@ -774,8 +938,12 @@ export interface RecordState {
|
|
|
774
938
|
multibeamSeconds: number;
|
|
775
939
|
/** Multibeam record fps. */
|
|
776
940
|
multibeamFps: number;
|
|
777
|
-
/** Storage location used for recording. */
|
|
778
|
-
|
|
941
|
+
/** Storage location used for main camera recording. */
|
|
942
|
+
mainStorageLocation: StorageLocation;
|
|
943
|
+
/** Storage location used for guestport camera recording. */
|
|
944
|
+
guestportStorageLocation: StorageLocation;
|
|
945
|
+
/** Storage location used for multibeam recording. */
|
|
946
|
+
multibeamStorageLocation: StorageLocation;
|
|
779
947
|
}
|
|
780
948
|
/** Time-lapse state published if time-lapse mission is running. */
|
|
781
949
|
export interface TimeLapseState {
|
|
@@ -821,7 +989,7 @@ export interface WaterTemperature {
|
|
|
821
989
|
/** Water temperature (°C). */
|
|
822
990
|
value: number;
|
|
823
991
|
}
|
|
824
|
-
/** CPU temperature. */
|
|
992
|
+
/** CPU temperature (deprecated, use SystemPerformanceInfo.thermal_zones instead). */
|
|
825
993
|
export interface CPUTemperature {
|
|
826
994
|
/** CPU temperature (°C). */
|
|
827
995
|
value: number;
|
|
@@ -1269,6 +1437,8 @@ export interface StoragePartition {
|
|
|
1269
1437
|
devicePath: string;
|
|
1270
1438
|
/** Mount path of the partition. */
|
|
1271
1439
|
mountPath: string;
|
|
1440
|
+
/** Label of the partition. */
|
|
1441
|
+
label: string;
|
|
1272
1442
|
}
|
|
1273
1443
|
/** Removable storage device. */
|
|
1274
1444
|
export interface RemovableStorageDevice {
|
|
@@ -1291,10 +1461,12 @@ export declare enum RemovableStorageDevice_Status {
|
|
|
1291
1461
|
STATUS_UNSPECIFIED = 0,
|
|
1292
1462
|
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1293
1463
|
STATUS_READY = 1,
|
|
1294
|
-
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
1464
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
1295
1465
|
STATUS_FORMATTING = 2,
|
|
1296
1466
|
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1297
1467
|
STATUS_ERROR = 3,
|
|
1468
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
1469
|
+
STATUS_UNPLUGGED = 4,
|
|
1298
1470
|
UNRECOGNIZED = -1
|
|
1299
1471
|
}
|
|
1300
1472
|
export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
|
|
@@ -1390,6 +1562,31 @@ export interface TiltVelocity {
|
|
|
1390
1562
|
/**
|
|
1391
1563
|
* Information about the drone.
|
|
1392
1564
|
*
|
|
1565
|
+
* Information about a loaded computer vision model.
|
|
1566
|
+
*/
|
|
1567
|
+
export interface CvModelInfo {
|
|
1568
|
+
/** Human-readable model name (from model_meta.json). */
|
|
1569
|
+
name: string;
|
|
1570
|
+
/** Type of CV model. */
|
|
1571
|
+
type: CvModelInfo_ModelType;
|
|
1572
|
+
/** Whether the model is currently running. */
|
|
1573
|
+
running: boolean;
|
|
1574
|
+
/** Execution provider (e.g. "cuda", "tensorrt"). */
|
|
1575
|
+
device: string;
|
|
1576
|
+
/** Package directory name (e.g. "tinyyolov2_package"). Stable identifier. */
|
|
1577
|
+
packageId: string;
|
|
1578
|
+
/** Class names the model can detect (indexed by class_id). */
|
|
1579
|
+
labels: string[];
|
|
1580
|
+
}
|
|
1581
|
+
export declare enum CvModelInfo_ModelType {
|
|
1582
|
+
MODEL_TYPE_UNSPECIFIED = 0,
|
|
1583
|
+
MODEL_TYPE_DETECTION = 1,
|
|
1584
|
+
MODEL_TYPE_SOT = 2,
|
|
1585
|
+
UNRECOGNIZED = -1
|
|
1586
|
+
}
|
|
1587
|
+
export declare function cvModelInfo_ModelTypeFromJSON(object: any): CvModelInfo_ModelType;
|
|
1588
|
+
export declare function cvModelInfo_ModelTypeToJSON(object: CvModelInfo_ModelType): string;
|
|
1589
|
+
/**
|
|
1393
1590
|
* This message contains serial numbers and version information for
|
|
1394
1591
|
* internal components in the drone. Primarily used for diagnostics, or to
|
|
1395
1592
|
* determine the origin of a logfile.
|
|
@@ -1417,6 +1614,10 @@ export interface DroneInfo {
|
|
|
1417
1614
|
gp: GuestPortInfo | undefined;
|
|
1418
1615
|
/** Type of depth sensor that is connected to the drone. */
|
|
1419
1616
|
depthSensor: PressureSensorType;
|
|
1617
|
+
/** List of loaded computer vision models. */
|
|
1618
|
+
cvModels: CvModelInfo[];
|
|
1619
|
+
/** How the drone is powered. */
|
|
1620
|
+
powerSource: PowerSource;
|
|
1420
1621
|
}
|
|
1421
1622
|
/** Known error states for the drone. */
|
|
1422
1623
|
export interface ErrorFlags {
|
|
@@ -1442,30 +1643,72 @@ export interface ErrorFlags {
|
|
|
1442
1643
|
gp2Read: boolean;
|
|
1443
1644
|
/** Guest port 3 read error. */
|
|
1444
1645
|
gp3Read: boolean;
|
|
1646
|
+
/** Guest port 4 read error. */
|
|
1647
|
+
gp4Read: boolean;
|
|
1648
|
+
/** Guest port 5 read error. */
|
|
1649
|
+
gp5Read: boolean;
|
|
1650
|
+
/** Guest port 6 read error. */
|
|
1651
|
+
gp6Read: boolean;
|
|
1445
1652
|
/** Guest port 1 not flashed. */
|
|
1446
1653
|
gp1NotFlashed: boolean;
|
|
1447
1654
|
/** Guest port 2 not flashed. */
|
|
1448
1655
|
gp2NotFlashed: boolean;
|
|
1449
1656
|
/** Guest port 3 not flashed. */
|
|
1450
1657
|
gp3NotFlashed: boolean;
|
|
1658
|
+
/** Guest port 4 not flashed. */
|
|
1659
|
+
gp4NotFlashed: boolean;
|
|
1660
|
+
/** Guest port 5 not flashed. */
|
|
1661
|
+
gp5NotFlashed: boolean;
|
|
1662
|
+
/** Guest port 6 not flashed. */
|
|
1663
|
+
gp6NotFlashed: boolean;
|
|
1451
1664
|
/** Unknown device on guest port 1. */
|
|
1452
1665
|
gp1UnknownDevice: boolean;
|
|
1453
1666
|
/** Unknown device on guest port 2. */
|
|
1454
1667
|
gp2UnknownDevice: boolean;
|
|
1455
1668
|
/** Unknown device on guest port 3. */
|
|
1456
1669
|
gp3UnknownDevice: boolean;
|
|
1670
|
+
/** Unknown device on guest port 4. */
|
|
1671
|
+
gp4UnknownDevice: boolean;
|
|
1672
|
+
/** Unknown device on guest port 5. */
|
|
1673
|
+
gp5UnknownDevice: boolean;
|
|
1674
|
+
/** Unknown device on guest port 6. */
|
|
1675
|
+
gp6UnknownDevice: boolean;
|
|
1457
1676
|
/** Guest port 1 connection error. */
|
|
1458
1677
|
gp1DeviceConnection: boolean;
|
|
1459
1678
|
/** Guest port 2 connection error. */
|
|
1460
1679
|
gp2DeviceConnection: boolean;
|
|
1461
1680
|
/** Guest port 3 connection error. */
|
|
1462
1681
|
gp3DeviceConnection: boolean;
|
|
1682
|
+
/** Guest port 4 connection error. */
|
|
1683
|
+
gp4DeviceConnection: boolean;
|
|
1684
|
+
/** Guest port 5 connection error. */
|
|
1685
|
+
gp5DeviceConnection: boolean;
|
|
1686
|
+
/** Guest port 6 connection error. */
|
|
1687
|
+
gp6DeviceConnection: boolean;
|
|
1463
1688
|
/** Guest port 1 device error. */
|
|
1464
1689
|
gp1Device: boolean;
|
|
1465
1690
|
/** Guest port 2 device error. */
|
|
1466
1691
|
gp2Device: boolean;
|
|
1467
1692
|
/** Guest port 3 device error. */
|
|
1468
1693
|
gp3Device: boolean;
|
|
1694
|
+
/** Guest port 4 device error. */
|
|
1695
|
+
gp4Device: boolean;
|
|
1696
|
+
/** Guest port 5 device error. */
|
|
1697
|
+
gp5Device: boolean;
|
|
1698
|
+
/** Guest port 6 device error. */
|
|
1699
|
+
gp6Device: boolean;
|
|
1700
|
+
/** Device on guest port 1 requires interfaces the port does not provide. */
|
|
1701
|
+
gp1IncompatibleDevice: boolean;
|
|
1702
|
+
/** Device on guest port 2 requires interfaces the port does not provide. */
|
|
1703
|
+
gp2IncompatibleDevice: boolean;
|
|
1704
|
+
/** Device on guest port 3 requires interfaces the port does not provide. */
|
|
1705
|
+
gp3IncompatibleDevice: boolean;
|
|
1706
|
+
/** Device on guest port 4 requires interfaces the port does not provide. */
|
|
1707
|
+
gp4IncompatibleDevice: boolean;
|
|
1708
|
+
/** Device on guest port 5 requires interfaces the port does not provide. */
|
|
1709
|
+
gp5IncompatibleDevice: boolean;
|
|
1710
|
+
/** Device on guest port 6 requires interfaces the port does not provide. */
|
|
1711
|
+
gp6IncompatibleDevice: boolean;
|
|
1469
1712
|
/** Drone serial number not set. */
|
|
1470
1713
|
droneSerialNotSet: boolean;
|
|
1471
1714
|
/** Drone serial number error. */
|
|
@@ -1496,14 +1739,44 @@ export interface ErrorFlags {
|
|
|
1496
1739
|
gpCurrentRead: boolean;
|
|
1497
1740
|
/** Max GP current exceeded. */
|
|
1498
1741
|
gpCurrent: boolean;
|
|
1499
|
-
/** Max battery current exceeded on
|
|
1742
|
+
/** Max battery current exceeded on guest port 1. */
|
|
1500
1743
|
gp1BatCurrent: boolean;
|
|
1501
|
-
/** Max battery current exceeded on
|
|
1744
|
+
/** Max battery current exceeded on guest port 2. */
|
|
1502
1745
|
gp2BatCurrent: boolean;
|
|
1503
|
-
/** Max battery current exceeded on
|
|
1746
|
+
/** Max battery current exceeded on guest port 3. */
|
|
1504
1747
|
gp3BatCurrent: boolean;
|
|
1505
|
-
/** Max
|
|
1506
|
-
|
|
1748
|
+
/** Max battery current exceeded on guest port 4. */
|
|
1749
|
+
gp4BatCurrent: boolean;
|
|
1750
|
+
/** Max battery current exceeded on guest port 5. */
|
|
1751
|
+
gp5BatCurrent: boolean;
|
|
1752
|
+
/** Max battery current exceeded on guest port 6. */
|
|
1753
|
+
gp6BatCurrent: boolean;
|
|
1754
|
+
/** Max 24V current exceeded on GP. Only present on X1/X3 (not X3 Ultra or X7). */
|
|
1755
|
+
gp24vCurrent: boolean;
|
|
1756
|
+
/** Max 24V current exceeded on guest port 1. */
|
|
1757
|
+
gp124vCurrent: boolean;
|
|
1758
|
+
/** Max 24V current exceeded on guest port 2. */
|
|
1759
|
+
gp224vCurrent: boolean;
|
|
1760
|
+
/** Max 24V current exceeded on guest port 3. */
|
|
1761
|
+
gp324vCurrent: boolean;
|
|
1762
|
+
/** Max 24V current exceeded on guest port 4. */
|
|
1763
|
+
gp424vCurrent: boolean;
|
|
1764
|
+
/** Max 24V current exceeded on guest port 5. */
|
|
1765
|
+
gp524vCurrent: boolean;
|
|
1766
|
+
/** Max 24V current exceeded on guest port 6. */
|
|
1767
|
+
gp624vCurrent: boolean;
|
|
1768
|
+
/** Max 5V current exceeded on guest port 1. */
|
|
1769
|
+
gp15vCurrent: boolean;
|
|
1770
|
+
/** Max 5V current exceeded on guest port 2. */
|
|
1771
|
+
gp25vCurrent: boolean;
|
|
1772
|
+
/** Max 5V current exceeded on guest port 3. */
|
|
1773
|
+
gp35vCurrent: boolean;
|
|
1774
|
+
/** Max 5V current exceeded on guest port 4. */
|
|
1775
|
+
gp45vCurrent: boolean;
|
|
1776
|
+
/** Max 5V current exceeded on guest port 5. */
|
|
1777
|
+
gp55vCurrent: boolean;
|
|
1778
|
+
/** Max 5V current exceeded on guest port 6. */
|
|
1779
|
+
gp65vCurrent: boolean;
|
|
1507
1780
|
/** DVL is in thermal protection mode. */
|
|
1508
1781
|
dvlThermalProtectionMode: boolean;
|
|
1509
1782
|
/** GP protection has been triggered at boot or faulty DVL. */
|
|
@@ -1561,6 +1834,19 @@ export interface CameraParameters {
|
|
|
1561
1834
|
framerate: Framerate;
|
|
1562
1835
|
/** Which camera the parameters belong to. */
|
|
1563
1836
|
camera: Camera;
|
|
1837
|
+
/**
|
|
1838
|
+
* Network MTU (Maximum Transmission Unit) size for video streaming in bytes (68..65535).
|
|
1839
|
+
* If 0 or unset, the system will use a default of 1400.
|
|
1840
|
+
* The Blueye App allows users to set values between 500 and 1460.
|
|
1841
|
+
*/
|
|
1842
|
+
mtuSize: number;
|
|
1843
|
+
/** Recording video codec. If unset, uses platform default. */
|
|
1844
|
+
recordingCodec: RecordingCodec;
|
|
1845
|
+
/**
|
|
1846
|
+
* Recording bitrate in bits/sec. If 0 or unset, a default is computed based
|
|
1847
|
+
* on resolution, framerate, and encoding. Set explicitly to override.
|
|
1848
|
+
*/
|
|
1849
|
+
recordingBitrate: number;
|
|
1564
1850
|
}
|
|
1565
1851
|
/**
|
|
1566
1852
|
* Overlay parameters.
|
|
@@ -1650,6 +1936,13 @@ export interface GuestPortDevice {
|
|
|
1650
1936
|
requiredBlunuxVersion: string;
|
|
1651
1937
|
/** Detach status based on detection pin. */
|
|
1652
1938
|
detachStatus: GuestPortDetachStatus;
|
|
1939
|
+
/** Interfaces the device requires from the port. */
|
|
1940
|
+
requiredCapabilities: GuestPortCapability[];
|
|
1941
|
+
/**
|
|
1942
|
+
* Ports on this drone where the device is fully supported. Computed by the
|
|
1943
|
+
* drone from the port capabilities and the device requirements.
|
|
1944
|
+
*/
|
|
1945
|
+
compatibleGuestPorts: GuestPortNumber[];
|
|
1653
1946
|
}
|
|
1654
1947
|
/** List of guest port devices. */
|
|
1655
1948
|
export interface GuestPortDeviceList {
|
|
@@ -1664,6 +1957,8 @@ export interface GuestPortConnectorInfo {
|
|
|
1664
1957
|
error?: GuestPortError | undefined;
|
|
1665
1958
|
/** Guest port the connector is connected to. */
|
|
1666
1959
|
guestPortNumber: GuestPortNumber;
|
|
1960
|
+
/** Interfaces this port provides. */
|
|
1961
|
+
capabilities: GuestPortCapability[];
|
|
1667
1962
|
}
|
|
1668
1963
|
/** GuestPort information. */
|
|
1669
1964
|
export interface GuestPortInfo {
|
|
@@ -1673,6 +1968,12 @@ export interface GuestPortInfo {
|
|
|
1673
1968
|
gp2: GuestPortConnectorInfo | undefined;
|
|
1674
1969
|
/** Information about guest port 3. */
|
|
1675
1970
|
gp3: GuestPortConnectorInfo | undefined;
|
|
1971
|
+
/** Information about guest port 4. */
|
|
1972
|
+
gp4: GuestPortConnectorInfo | undefined;
|
|
1973
|
+
/** Information about guest port 5. */
|
|
1974
|
+
gp5: GuestPortConnectorInfo | undefined;
|
|
1975
|
+
/** Information about guest port 6. */
|
|
1976
|
+
gp6: GuestPortConnectorInfo | undefined;
|
|
1676
1977
|
}
|
|
1677
1978
|
/** GuestPort restart information. */
|
|
1678
1979
|
export interface GuestPortRestartInfo {
|
|
@@ -1717,8 +2018,38 @@ export interface GuestPortCurrent {
|
|
|
1717
2018
|
gp2Bat: number;
|
|
1718
2019
|
/** Current on GP3 battery voltage (A). */
|
|
1719
2020
|
gp3Bat: number;
|
|
1720
|
-
/** Current on common
|
|
1721
|
-
|
|
2021
|
+
/** Current on common/input 24V supply (A). Only present on X1/X3 (not X3 Ultra or X7). */
|
|
2022
|
+
gp24v: number;
|
|
2023
|
+
/** Current on GP4 battery voltage (A). */
|
|
2024
|
+
gp4Bat: number;
|
|
2025
|
+
/** Current on GP5 battery voltage (A). */
|
|
2026
|
+
gp5Bat: number;
|
|
2027
|
+
/** Current on GP6 battery voltage (A). */
|
|
2028
|
+
gp6Bat: number;
|
|
2029
|
+
/** Current on GP1 24V supply (A). */
|
|
2030
|
+
gp124v: number;
|
|
2031
|
+
/** Current on GP2 24V supply (A). */
|
|
2032
|
+
gp224v: number;
|
|
2033
|
+
/** Current on GP3 24V supply (A). */
|
|
2034
|
+
gp324v: number;
|
|
2035
|
+
/** Current on GP4 24V supply (A). */
|
|
2036
|
+
gp424v: number;
|
|
2037
|
+
/** Current on GP5 24V supply (A). */
|
|
2038
|
+
gp524v: number;
|
|
2039
|
+
/** Current on GP6 24V supply (A). */
|
|
2040
|
+
gp624v: number;
|
|
2041
|
+
/** Current on GP1 5V supply (A). */
|
|
2042
|
+
gp15v: number;
|
|
2043
|
+
/** Current on GP2 5V supply (A). */
|
|
2044
|
+
gp25v: number;
|
|
2045
|
+
/** Current on GP3 5V supply (A). */
|
|
2046
|
+
gp35v: number;
|
|
2047
|
+
/** Current on GP4 5V supply (A). */
|
|
2048
|
+
gp45v: number;
|
|
2049
|
+
/** Current on GP5 5V supply (A). */
|
|
2050
|
+
gp55v: number;
|
|
2051
|
+
/** Current on GP6 5V supply (A). */
|
|
2052
|
+
gp65v: number;
|
|
1722
2053
|
}
|
|
1723
2054
|
/** Vector with 3 elements. */
|
|
1724
2055
|
export interface Vector3 {
|
|
@@ -1786,8 +2117,7 @@ export interface MultibeamPing {
|
|
|
1786
2117
|
/** Size in bytes of each row in the ping data image. */
|
|
1787
2118
|
step: number;
|
|
1788
2119
|
/**
|
|
1789
|
-
* Bearing angle of each column of the sonar data
|
|
1790
|
-
* (in 100th of a degree, multiply by 0.01 to get a value in degrees).
|
|
2120
|
+
* Bearing angle of each column of the sonar data in degrees.
|
|
1791
2121
|
* The sonar image is not sampled uniformly in the bearing direction.
|
|
1792
2122
|
*/
|
|
1793
2123
|
bearings: number[];
|
|
@@ -1927,7 +2257,7 @@ export interface PersistentStorageSettings {
|
|
|
1927
2257
|
accCalibration: boolean;
|
|
1928
2258
|
}
|
|
1929
2259
|
/**
|
|
1930
|
-
* CPU information.
|
|
2260
|
+
* CPU information (deprecated, use SystemPerformanceInfo instead).
|
|
1931
2261
|
*
|
|
1932
2262
|
* Contains information about the CPU load and memory usage of the drone.
|
|
1933
2263
|
*/
|
|
@@ -1943,6 +2273,186 @@ export interface CPUInfo {
|
|
|
1943
2273
|
/** Communication queue load (0..1). */
|
|
1944
2274
|
commQueueLoad: number;
|
|
1945
2275
|
}
|
|
2276
|
+
/** Per-core CPU utilization. */
|
|
2277
|
+
export interface CpuCoreLoad {
|
|
2278
|
+
/** Core index (0-based). */
|
|
2279
|
+
coreIndex: number;
|
|
2280
|
+
/** Core load (0..1). */
|
|
2281
|
+
load: number;
|
|
2282
|
+
/** Current clock frequency (MHz). */
|
|
2283
|
+
frequencyMhz: number;
|
|
2284
|
+
}
|
|
2285
|
+
/** GPU utilization and status. */
|
|
2286
|
+
export interface GpuInfo {
|
|
2287
|
+
/** GPU load (0..1). */
|
|
2288
|
+
load: number;
|
|
2289
|
+
/** Current GPU clock frequency (MHz). */
|
|
2290
|
+
frequencyMhz: number;
|
|
2291
|
+
}
|
|
2292
|
+
/**
|
|
2293
|
+
* Deep Learning Accelerator (DLA) utilization.
|
|
2294
|
+
*
|
|
2295
|
+
* Jetson Orin NX has two DLA engines used for inference offload.
|
|
2296
|
+
*/
|
|
2297
|
+
export interface DlaInfo {
|
|
2298
|
+
/** DLA engine index (0-based). */
|
|
2299
|
+
engineIndex: number;
|
|
2300
|
+
/** DLA engine load (0..1). */
|
|
2301
|
+
load: number;
|
|
2302
|
+
/** Core clock frequency (MHz). 0 when disabled. */
|
|
2303
|
+
frequencyMhz: number;
|
|
2304
|
+
/** True when the DLA engine is actively processing. */
|
|
2305
|
+
enabled: boolean;
|
|
2306
|
+
/** Falcon microcontroller clock frequency (MHz). 0 when disabled. */
|
|
2307
|
+
falconFrequencyMhz: number;
|
|
2308
|
+
}
|
|
2309
|
+
/** System memory information. */
|
|
2310
|
+
export interface MemoryInfo {
|
|
2311
|
+
/** Total RAM (bytes). */
|
|
2312
|
+
totalBytes: number;
|
|
2313
|
+
/** Used RAM (bytes). */
|
|
2314
|
+
usedBytes: number;
|
|
2315
|
+
/** Cached RAM (bytes). */
|
|
2316
|
+
cachedBytes: number;
|
|
2317
|
+
/** Memory bus utilization (0..1). i.MX only. */
|
|
2318
|
+
busLoad: number;
|
|
2319
|
+
}
|
|
2320
|
+
/** Thermal zone reading. */
|
|
2321
|
+
export interface ThermalZone {
|
|
2322
|
+
/** Thermal zone identifier. */
|
|
2323
|
+
zone: ThermalZoneId;
|
|
2324
|
+
/** Temperature (°C). */
|
|
2325
|
+
temperature: number;
|
|
2326
|
+
}
|
|
2327
|
+
/** Video codec engine status. */
|
|
2328
|
+
export interface VideoCodecInfo {
|
|
2329
|
+
/** Jetson only (NVENC/NVDEC/NVJPG/VIC devfreq). */
|
|
2330
|
+
encoderActive: boolean;
|
|
2331
|
+
/** Video encoder clock frequency (MHz). */
|
|
2332
|
+
encoderFrequencyMhz: number;
|
|
2333
|
+
/** Video decoder (NVDEC) is active. */
|
|
2334
|
+
decoderActive: boolean;
|
|
2335
|
+
/** Video decoder clock frequency (MHz). */
|
|
2336
|
+
decoderFrequencyMhz: number;
|
|
2337
|
+
/** JPEG engine (NVJPG) is active. */
|
|
2338
|
+
nvjpgActive: boolean;
|
|
2339
|
+
/** JPEG engine clock frequency (MHz). */
|
|
2340
|
+
nvjpgFrequencyMhz: number;
|
|
2341
|
+
/** Video Image Compositor (VIC) is active. */
|
|
2342
|
+
vicActive: boolean;
|
|
2343
|
+
/** VIC clock frequency (MHz). */
|
|
2344
|
+
vicFrequencyMhz: number;
|
|
2345
|
+
/** i.MX only (CODA VPU). */
|
|
2346
|
+
vpuActive: boolean;
|
|
2347
|
+
/** VPU AXI clock frequency (MHz). */
|
|
2348
|
+
vpuFrequencyMhz: number;
|
|
2349
|
+
/** Cumulative VPU_CODEC_IRQ count. */
|
|
2350
|
+
vpuCodecIrqCount: number;
|
|
2351
|
+
/** Cumulative VPU_JPG_IRQ count. */
|
|
2352
|
+
vpuJpgIrqCount: number;
|
|
2353
|
+
/** Jetson only (host1x actmon engine utilization, 0..1). */
|
|
2354
|
+
encoderLoad: number;
|
|
2355
|
+
/** Video decoder (NVDEC) utilization (0..1). */
|
|
2356
|
+
decoderLoad: number;
|
|
2357
|
+
/** JPEG engine (NVJPG) utilization (0..1). */
|
|
2358
|
+
nvjpgLoad: number;
|
|
2359
|
+
/** Video Image Compositor (VIC) utilization (0..1). */
|
|
2360
|
+
vicLoad: number;
|
|
2361
|
+
}
|
|
2362
|
+
/**
|
|
2363
|
+
* NVMe SSD health, wear and identity (Jetson only; i.MX drones boot/store on
|
|
2364
|
+
* an SD card and have no NVMe device, so this message is omitted there).
|
|
2365
|
+
*/
|
|
2366
|
+
export interface NvmeInfo {
|
|
2367
|
+
/** Tier 1 — health & safety. */
|
|
2368
|
+
compositeTemperature: number;
|
|
2369
|
+
/** NVMe critical-warning bitfield. */
|
|
2370
|
+
criticalWarning: number;
|
|
2371
|
+
/** Wear indicator (%, may exceed 100). */
|
|
2372
|
+
percentageUsed: number;
|
|
2373
|
+
/** Remaining spare capacity (%). */
|
|
2374
|
+
availableSpare: number;
|
|
2375
|
+
/** Spare alarm threshold (%). */
|
|
2376
|
+
availableSpareThreshold: number;
|
|
2377
|
+
/** Uncorrected data-integrity errors. */
|
|
2378
|
+
mediaErrors: number;
|
|
2379
|
+
/** Power-loss / unsafe shutdown count. */
|
|
2380
|
+
unsafeShutdowns: number;
|
|
2381
|
+
/** Tier 2 — thermal throttling. */
|
|
2382
|
+
warningTempTimeMin: number;
|
|
2383
|
+
/** Minutes above the critical temperature. */
|
|
2384
|
+
criticalTempTimeMin: number;
|
|
2385
|
+
/** Times entered light throttling. */
|
|
2386
|
+
thermalMgmtT1TransCount: number;
|
|
2387
|
+
/** Times entered heavy throttling. */
|
|
2388
|
+
thermalMgmtT2TransCount: number;
|
|
2389
|
+
/** Total seconds in light throttling. */
|
|
2390
|
+
thermalMgmtT1TotalTimeS: number;
|
|
2391
|
+
/** Total seconds in heavy throttling. */
|
|
2392
|
+
thermalMgmtT2TotalTimeS: number;
|
|
2393
|
+
/** Tier 3 — endurance / workload. */
|
|
2394
|
+
dataUnitsWrittenBytes: number;
|
|
2395
|
+
/** Host data read (B). */
|
|
2396
|
+
dataUnitsReadBytes: number;
|
|
2397
|
+
/** Host write command count. */
|
|
2398
|
+
hostWriteCommands: number;
|
|
2399
|
+
/** Host read command count. */
|
|
2400
|
+
hostReadCommands: number;
|
|
2401
|
+
/** Power-on hours. */
|
|
2402
|
+
powerOnHours: number;
|
|
2403
|
+
/** Power cycle count. */
|
|
2404
|
+
powerCycles: number;
|
|
2405
|
+
/** Controller busy time (min). */
|
|
2406
|
+
controllerBusyTimeMin: number;
|
|
2407
|
+
/** Error-log entry count. */
|
|
2408
|
+
numErrLogEntries: number;
|
|
2409
|
+
/** Tier 4 — identity & capacity. */
|
|
2410
|
+
model: string;
|
|
2411
|
+
/** Drive serial number. */
|
|
2412
|
+
serial: string;
|
|
2413
|
+
/** Firmware revision. */
|
|
2414
|
+
firmwareRev: string;
|
|
2415
|
+
/** Total drive capacity (B). Partition used/free is */
|
|
2416
|
+
capacityBytes: number;
|
|
2417
|
+
}
|
|
2418
|
+
/**
|
|
2419
|
+
* System performance information.
|
|
2420
|
+
*
|
|
2421
|
+
* Comprehensive performance metrics for the drone's compute platform.
|
|
2422
|
+
* Covers CPU, GPU, DLA, memory, thermals, video codec utilization and NVMe
|
|
2423
|
+
* SSD state. Fields not applicable to a platform are left at their
|
|
2424
|
+
* zero/empty defaults.
|
|
2425
|
+
*/
|
|
2426
|
+
export interface SystemPerformanceInfo {
|
|
2427
|
+
/** Per-core CPU utilization. */
|
|
2428
|
+
cpuCores: CpuCoreLoad[];
|
|
2429
|
+
/** Mean CPU utilization across all cores (0..1). */
|
|
2430
|
+
cpuUtilization: number;
|
|
2431
|
+
/** GPU utilization. */
|
|
2432
|
+
gpu: GpuInfo | undefined;
|
|
2433
|
+
/** DLA engine utilization (Jetson only). */
|
|
2434
|
+
dlaEngines: DlaInfo[];
|
|
2435
|
+
/** RAM usage. */
|
|
2436
|
+
memory: MemoryInfo | undefined;
|
|
2437
|
+
/** All thermal zone readings. */
|
|
2438
|
+
thermalZones: ThermalZone[];
|
|
2439
|
+
/** Video encoder/decoder status. */
|
|
2440
|
+
videoCodec: VideoCodecInfo | undefined;
|
|
2441
|
+
/** Main queue load (0..1). */
|
|
2442
|
+
mainQueueLoad: number;
|
|
2443
|
+
/** Guestport queue load (0..1). */
|
|
2444
|
+
guestportQueueLoad: number;
|
|
2445
|
+
/** Communication queue load (0..1). */
|
|
2446
|
+
commQueueLoad: number;
|
|
2447
|
+
/** Camera queue load (0..1). */
|
|
2448
|
+
cameraQueueLoad: number;
|
|
2449
|
+
/** Overlay queue load (0..1). */
|
|
2450
|
+
overlayQueueLoad: number;
|
|
2451
|
+
/** Position observer queue load (0..1). */
|
|
2452
|
+
positionObserverQueueLoad: number;
|
|
2453
|
+
/** NVMe SSD health/identity (Jetson only). */
|
|
2454
|
+
nvme: NvmeInfo | undefined;
|
|
2455
|
+
}
|
|
1946
2456
|
/**
|
|
1947
2457
|
* Surface Unit battery information.
|
|
1948
2458
|
*
|
|
@@ -1974,6 +2484,154 @@ export interface SurfaceUnitVersionInfo {
|
|
|
1974
2484
|
/** Surface Unit firmware version (x.y.z). */
|
|
1975
2485
|
version: string;
|
|
1976
2486
|
}
|
|
2487
|
+
/**
|
|
2488
|
+
* Bounding box for object detection.
|
|
2489
|
+
*
|
|
2490
|
+
* Coordinates are in pixels relative to the camera image,
|
|
2491
|
+
* where (x, y) is the top-left corner of the bounding box.
|
|
2492
|
+
*/
|
|
2493
|
+
export interface BoundingBox {
|
|
2494
|
+
/** Horizontal offset of the top-left corner (px). */
|
|
2495
|
+
x: number;
|
|
2496
|
+
/** Vertical offset of the top-left corner (px). */
|
|
2497
|
+
y: number;
|
|
2498
|
+
/** Width of the bounding box (px). */
|
|
2499
|
+
width: number;
|
|
2500
|
+
/** Height of the bounding box (px). */
|
|
2501
|
+
height: number;
|
|
2502
|
+
}
|
|
2503
|
+
/**
|
|
2504
|
+
* RLE-encoded binary segmentation mask relative to the bounding box.
|
|
2505
|
+
*
|
|
2506
|
+
* The mask bitmap has dimensions (mask_width x mask_height) covering the
|
|
2507
|
+
* detection's bounding box area. The counts field stores run-length encoded
|
|
2508
|
+
* data as packed uint16 little-endian: alternating background/foreground
|
|
2509
|
+
* pixel runs starting with background.
|
|
2510
|
+
*/
|
|
2511
|
+
export interface SegmentationMask {
|
|
2512
|
+
/** Width of the RLE bitmap. */
|
|
2513
|
+
maskWidth: number;
|
|
2514
|
+
/** Height of the RLE bitmap. */
|
|
2515
|
+
maskHeight: number;
|
|
2516
|
+
/** RLE counts as packed uint16 little-endian. */
|
|
2517
|
+
counts: Uint8Array;
|
|
2518
|
+
}
|
|
2519
|
+
/** A single object detection from a computer vision model. */
|
|
2520
|
+
export interface ObjectDetection {
|
|
2521
|
+
/** Bounding box of the detected object. */
|
|
2522
|
+
boundingBox: BoundingBox | undefined;
|
|
2523
|
+
/** Detection confidence score (0..1). */
|
|
2524
|
+
confidence: number;
|
|
2525
|
+
/** Numeric class identifier from the model. */
|
|
2526
|
+
classId: number;
|
|
2527
|
+
/** Human-readable class name. */
|
|
2528
|
+
className: string;
|
|
2529
|
+
/** Unique ID for tracking the same object across frames. */
|
|
2530
|
+
trackingId: number;
|
|
2531
|
+
/** Instance segmentation mask (absent if model has no segmentation). */
|
|
2532
|
+
mask: SegmentationMask | undefined;
|
|
2533
|
+
}
|
|
2534
|
+
/** A list of object detections from a single model for a single video frame. */
|
|
2535
|
+
export interface ModelDetections {
|
|
2536
|
+
/** List of detections in the frame. */
|
|
2537
|
+
detections: ObjectDetection[];
|
|
2538
|
+
/** Which camera the detections are from. */
|
|
2539
|
+
camera: Camera;
|
|
2540
|
+
/** Width of the source image (px). */
|
|
2541
|
+
imageWidth: number;
|
|
2542
|
+
/** Height of the source image (px). */
|
|
2543
|
+
imageHeight: number;
|
|
2544
|
+
/** Name of the computer vision model that produced the detections. */
|
|
2545
|
+
modelName: string;
|
|
2546
|
+
}
|
|
2547
|
+
/** Generic filter settings. */
|
|
2548
|
+
export interface FilterMessage {
|
|
2549
|
+
/** If the filter is enabled. */
|
|
2550
|
+
enabled: boolean;
|
|
2551
|
+
/** Intensity of the filter (0..1). */
|
|
2552
|
+
intensity: number;
|
|
2553
|
+
}
|
|
2554
|
+
/**
|
|
2555
|
+
* Digital pan, tilt, and zoom state for the main camera.
|
|
2556
|
+
*
|
|
2557
|
+
* Only supported on X3 Ultra. Controls digital (not mechanical) zoom.
|
|
2558
|
+
*/
|
|
2559
|
+
export interface CameraPanTiltZoom {
|
|
2560
|
+
/** Horizontal pan (-1.0..1.0), where 0.0 is center. */
|
|
2561
|
+
pan: number;
|
|
2562
|
+
/** Vertical tilt (-1.0..1.0), where 0.0 is center. */
|
|
2563
|
+
tilt: number;
|
|
2564
|
+
/** Zoom level (0.0..1.0), where 0.0 is no zoom and 1.0 is maximum zoom. */
|
|
2565
|
+
zoom: number;
|
|
2566
|
+
}
|
|
2567
|
+
/**
|
|
2568
|
+
* Information about the operator controlling the drone.
|
|
2569
|
+
*
|
|
2570
|
+
* Used to identify who started a dive, for reporting and when importing
|
|
2571
|
+
* dives to Blueye Cloud.
|
|
2572
|
+
*/
|
|
2573
|
+
export interface OperatorInfo {
|
|
2574
|
+
/** Full name of the operator. */
|
|
2575
|
+
name: string;
|
|
2576
|
+
/** E-mail address of the operator. */
|
|
2577
|
+
email: string;
|
|
2578
|
+
}
|
|
2579
|
+
/** Single-object tracking (SOT) state reported by the computer vision pipeline. */
|
|
2580
|
+
export interface SotState {
|
|
2581
|
+
/** Current tracking state. */
|
|
2582
|
+
state: SotState_State;
|
|
2583
|
+
/** Current tracked bounding box (valid when TRACKING). */
|
|
2584
|
+
boundingBox: BoundingBox | undefined;
|
|
2585
|
+
/** Width of the source frame in pixels. */
|
|
2586
|
+
imageWidth: number;
|
|
2587
|
+
/** Height of the source frame in pixels. */
|
|
2588
|
+
imageHeight: number;
|
|
2589
|
+
}
|
|
2590
|
+
/** Current state of the SOT tracker. */
|
|
2591
|
+
export declare enum SotState_State {
|
|
2592
|
+
/** STATE_UNSPECIFIED - Unspecified state. */
|
|
2593
|
+
STATE_UNSPECIFIED = 0,
|
|
2594
|
+
/** STATE_IDLE - No target selected, waiting for a target bounding box. */
|
|
2595
|
+
STATE_IDLE = 1,
|
|
2596
|
+
/** STATE_TRACKING - Actively tracking a target. */
|
|
2597
|
+
STATE_TRACKING = 2,
|
|
2598
|
+
/** STATE_LOST - Target was lost (tracker failed to follow the object). */
|
|
2599
|
+
STATE_LOST = 3,
|
|
2600
|
+
UNRECOGNIZED = -1
|
|
2601
|
+
}
|
|
2602
|
+
export declare function sotState_StateFromJSON(object: any): SotState_State;
|
|
2603
|
+
export declare function sotState_StateToJSON(object: SotState_State): string;
|
|
2604
|
+
/**
|
|
2605
|
+
* A single annotation added during a dive, e.g. by a diver tapping a type in the
|
|
2606
|
+
* app command palette, or emitted by the drone itself.
|
|
2607
|
+
*
|
|
2608
|
+
* Self-contained: it carries the type's display fields (name/icon/color) inline,
|
|
2609
|
+
* so the drone, any connected client, and the dive logfile can render it without
|
|
2610
|
+
* a separate catalog. The app keeps the full catalog locally (synced from
|
|
2611
|
+
* Blueye Cloud) to drive its palette, but only complete annotations go over the
|
|
2612
|
+
* wire. type_slug lets Blueye Cloud correlate the annotation to its type on import.
|
|
2613
|
+
*
|
|
2614
|
+
* The drone owns the timestamp: when this is logged the enclosing BinlogRecord
|
|
2615
|
+
* carries the time, like any other sample, so there is no time field here.
|
|
2616
|
+
*/
|
|
2617
|
+
export interface Annotation {
|
|
2618
|
+
/** Stable type id for grouping / Cloud correlation. Empty for a free-form annotation. */
|
|
2619
|
+
typeSlug: string;
|
|
2620
|
+
/** Type display name, e.g. "Hazard". Snapshot of the type at creation time. */
|
|
2621
|
+
typeName: string;
|
|
2622
|
+
/** Font Awesome solid icon name, kebab-case (e.g. "triangle-exclamation"). */
|
|
2623
|
+
typeIcon: string;
|
|
2624
|
+
/** Type color, RGB hex incl. leading '#', 7 chars (e.g. "#DC2626"). */
|
|
2625
|
+
typeColor: string;
|
|
2626
|
+
/** Optional annotation title; Cloud falls back to type_name if empty. Max 200 chars. */
|
|
2627
|
+
title: string;
|
|
2628
|
+
/** Optional free-form note. Unbounded. */
|
|
2629
|
+
body: string;
|
|
2630
|
+
/** Optional span; omit for a point-in-time marker. */
|
|
2631
|
+
duration: Duration | undefined;
|
|
2632
|
+
/** Origin of the annotation; the app sets APP, the drone sets DRONE for its own. */
|
|
2633
|
+
source: AnnotationSource;
|
|
2634
|
+
}
|
|
1977
2635
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1978
2636
|
export declare const LogEntry: MessageFns<LogEntry>;
|
|
1979
2637
|
export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
|
|
@@ -1981,6 +2639,8 @@ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyV
|
|
|
1981
2639
|
export declare const MotionInput: MessageFns<MotionInput>;
|
|
1982
2640
|
export declare const Lights: MessageFns<Lights>;
|
|
1983
2641
|
export declare const Laser: MessageFns<Laser>;
|
|
2642
|
+
export declare const Point2D: MessageFns<Point2D>;
|
|
2643
|
+
export declare const LaserDetection: MessageFns<LaserDetection>;
|
|
1984
2644
|
export declare const LatLongPosition: MessageFns<LatLongPosition>;
|
|
1985
2645
|
export declare const ConnectionDuration: MessageFns<ConnectionDuration>;
|
|
1986
2646
|
export declare const AutoHeadingState: MessageFns<AutoHeadingState>;
|
|
@@ -2037,6 +2697,7 @@ export declare const IperfStatus: MessageFns<IperfStatus>;
|
|
|
2037
2697
|
export declare const NStreamers: MessageFns<NStreamers>;
|
|
2038
2698
|
export declare const TiltAngle: MessageFns<TiltAngle>;
|
|
2039
2699
|
export declare const TiltVelocity: MessageFns<TiltVelocity>;
|
|
2700
|
+
export declare const CvModelInfo: MessageFns<CvModelInfo>;
|
|
2040
2701
|
export declare const DroneInfo: MessageFns<DroneInfo>;
|
|
2041
2702
|
export declare const ErrorFlags: MessageFns<ErrorFlags>;
|
|
2042
2703
|
export declare const CameraParameters: MessageFns<CameraParameters>;
|
|
@@ -2063,8 +2724,25 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
|
2063
2724
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
2064
2725
|
export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
|
|
2065
2726
|
export declare const CPUInfo: MessageFns<CPUInfo>;
|
|
2727
|
+
export declare const CpuCoreLoad: MessageFns<CpuCoreLoad>;
|
|
2728
|
+
export declare const GpuInfo: MessageFns<GpuInfo>;
|
|
2729
|
+
export declare const DlaInfo: MessageFns<DlaInfo>;
|
|
2730
|
+
export declare const MemoryInfo: MessageFns<MemoryInfo>;
|
|
2731
|
+
export declare const ThermalZone: MessageFns<ThermalZone>;
|
|
2732
|
+
export declare const VideoCodecInfo: MessageFns<VideoCodecInfo>;
|
|
2733
|
+
export declare const NvmeInfo: MessageFns<NvmeInfo>;
|
|
2734
|
+
export declare const SystemPerformanceInfo: MessageFns<SystemPerformanceInfo>;
|
|
2066
2735
|
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2067
2736
|
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
2737
|
+
export declare const BoundingBox: MessageFns<BoundingBox>;
|
|
2738
|
+
export declare const SegmentationMask: MessageFns<SegmentationMask>;
|
|
2739
|
+
export declare const ObjectDetection: MessageFns<ObjectDetection>;
|
|
2740
|
+
export declare const ModelDetections: MessageFns<ModelDetections>;
|
|
2741
|
+
export declare const FilterMessage: MessageFns<FilterMessage>;
|
|
2742
|
+
export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
|
|
2743
|
+
export declare const OperatorInfo: MessageFns<OperatorInfo>;
|
|
2744
|
+
export declare const SotState: MessageFns<SotState>;
|
|
2745
|
+
export declare const Annotation: MessageFns<Annotation>;
|
|
2068
2746
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
2069
2747
|
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 {} ? {
|
|
2070
2748
|
[K in keyof T]?: DeepPartial<T[K]>;
|