@blueyerobotics/protocol-definitions 3.2.0-fcf0b829 → 3.3.0-053a9cb8
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 +73 -2
- package/dist/control.js +325 -1
- package/dist/message_formats.d.ts +700 -11
- package/dist/message_formats.js +4467 -352
- package/dist/req_rep.d.ts +54 -2
- package/dist/req_rep.js +350 -3
- package/dist/telemetry.d.ts +59 -2
- package/dist/telemetry.js +282 -8
- 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;
|
|
@@ -208,6 +210,24 @@ export declare enum PressureSensorType {
|
|
|
208
210
|
}
|
|
209
211
|
export declare function pressureSensorTypeFromJSON(object: any): PressureSensorType;
|
|
210
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;
|
|
211
231
|
/** Available camera resolutions. */
|
|
212
232
|
export declare enum Resolution {
|
|
213
233
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
@@ -346,6 +366,8 @@ export declare enum FontSize {
|
|
|
346
366
|
FONT_SIZE_PX35 = 5,
|
|
347
367
|
/** FONT_SIZE_PX40 - 40 px. */
|
|
348
368
|
FONT_SIZE_PX40 = 6,
|
|
369
|
+
/** FONT_SIZE_PX50 - 50 px. */
|
|
370
|
+
FONT_SIZE_PX50 = 7,
|
|
349
371
|
UNRECOGNIZED = -1
|
|
350
372
|
}
|
|
351
373
|
export declare function fontSizeFromJSON(object: any): FontSize;
|
|
@@ -450,6 +472,13 @@ export declare enum GuestPortDeviceID {
|
|
|
450
472
|
GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT = 47,
|
|
451
473
|
/** GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER - Blueye Scaling Laser. */
|
|
452
474
|
GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER = 48,
|
|
475
|
+
/**
|
|
476
|
+
* GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 - Cygnus Mini ROV Thickness Gauge on a connector that converts its RS485 to
|
|
477
|
+
* RS232, letting it be used on drones with no RS485, such as the X7.
|
|
478
|
+
*/
|
|
479
|
+
GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 = 49,
|
|
480
|
+
/** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
|
|
481
|
+
GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 = 50,
|
|
453
482
|
UNRECOGNIZED = -1
|
|
454
483
|
}
|
|
455
484
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -464,10 +493,43 @@ export declare enum GuestPortNumber {
|
|
|
464
493
|
GUEST_PORT_NUMBER_PORT_2 = 2,
|
|
465
494
|
/** GUEST_PORT_NUMBER_PORT_3 - Guest port 3. */
|
|
466
495
|
GUEST_PORT_NUMBER_PORT_3 = 3,
|
|
496
|
+
/** GUEST_PORT_NUMBER_PORT_4 - Guest port 4. */
|
|
497
|
+
GUEST_PORT_NUMBER_PORT_4 = 4,
|
|
498
|
+
/** GUEST_PORT_NUMBER_PORT_5 - Guest port 5. */
|
|
499
|
+
GUEST_PORT_NUMBER_PORT_5 = 5,
|
|
500
|
+
/** GUEST_PORT_NUMBER_PORT_6 - Guest port 6. */
|
|
501
|
+
GUEST_PORT_NUMBER_PORT_6 = 6,
|
|
467
502
|
UNRECOGNIZED = -1
|
|
468
503
|
}
|
|
469
504
|
export declare function guestPortNumberFromJSON(object: any): GuestPortNumber;
|
|
470
505
|
export declare function guestPortNumberToJSON(object: GuestPortNumber): string;
|
|
506
|
+
/**
|
|
507
|
+
* Physical interfaces a guest port can provide.
|
|
508
|
+
*
|
|
509
|
+
* Used both for the interfaces a port provides and for the interfaces a
|
|
510
|
+
* device requires from the port it is connected to.
|
|
511
|
+
*/
|
|
512
|
+
export declare enum GuestPortCapability {
|
|
513
|
+
/** GUEST_PORT_CAPABILITY_UNSPECIFIED - Unspecified. */
|
|
514
|
+
GUEST_PORT_CAPABILITY_UNSPECIFIED = 0,
|
|
515
|
+
/** GUEST_PORT_CAPABILITY_ETHERNET - Ethernet. */
|
|
516
|
+
GUEST_PORT_CAPABILITY_ETHERNET = 1,
|
|
517
|
+
/** GUEST_PORT_CAPABILITY_I2C - I2C. */
|
|
518
|
+
GUEST_PORT_CAPABILITY_I2C = 2,
|
|
519
|
+
/** GUEST_PORT_CAPABILITY_RS232 - RS232 serial. */
|
|
520
|
+
GUEST_PORT_CAPABILITY_RS232 = 3,
|
|
521
|
+
/** GUEST_PORT_CAPABILITY_RS485 - RS485 serial. */
|
|
522
|
+
GUEST_PORT_CAPABILITY_RS485 = 4,
|
|
523
|
+
/** GUEST_PORT_CAPABILITY_USB2 - USB 2.0. */
|
|
524
|
+
GUEST_PORT_CAPABILITY_USB2 = 5,
|
|
525
|
+
/** GUEST_PORT_CAPABILITY_PWM - PWM. */
|
|
526
|
+
GUEST_PORT_CAPABILITY_PWM = 6,
|
|
527
|
+
/** GUEST_PORT_CAPABILITY_ETHERNET_1G - Gigabit Ethernet. */
|
|
528
|
+
GUEST_PORT_CAPABILITY_ETHERNET_1G = 7,
|
|
529
|
+
UNRECOGNIZED = -1
|
|
530
|
+
}
|
|
531
|
+
export declare function guestPortCapabilityFromJSON(object: any): GuestPortCapability;
|
|
532
|
+
export declare function guestPortCapabilityToJSON(object: GuestPortCapability): string;
|
|
471
533
|
/** List of navigation sensors that can be used by the position observer. */
|
|
472
534
|
export declare enum NavigationSensorID {
|
|
473
535
|
/** NAVIGATION_SENSOR_ID_UNSPECIFIED - Unspecified. */
|
|
@@ -484,10 +546,42 @@ export declare enum NavigationSensorID {
|
|
|
484
546
|
NAVIGATION_SENSOR_ID_NORTEK_DVL_NUCLEUS = 5,
|
|
485
547
|
/** NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
486
548
|
NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650 = 6,
|
|
549
|
+
/** NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100 - Water Linked DVL A100. */
|
|
550
|
+
NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100 = 7,
|
|
487
551
|
UNRECOGNIZED = -1
|
|
488
552
|
}
|
|
489
553
|
export declare function navigationSensorIDFromJSON(object: any): NavigationSensorID;
|
|
490
554
|
export declare function navigationSensorIDToJSON(object: NavigationSensorID): string;
|
|
555
|
+
/** Position fix mode reported by the NMEA GSA sentence. */
|
|
556
|
+
export declare enum GnssFixMode {
|
|
557
|
+
/** GNSS_FIX_MODE_UNSPECIFIED - No GSA sentence has been received. */
|
|
558
|
+
GNSS_FIX_MODE_UNSPECIFIED = 0,
|
|
559
|
+
/** GNSS_FIX_MODE_NO_FIX - The receiver has no position fix. */
|
|
560
|
+
GNSS_FIX_MODE_NO_FIX = 1,
|
|
561
|
+
/** GNSS_FIX_MODE_2D - Horizontal fix only, no usable altitude. */
|
|
562
|
+
GNSS_FIX_MODE_2D = 2,
|
|
563
|
+
/** GNSS_FIX_MODE_3D - Full three dimensional fix. */
|
|
564
|
+
GNSS_FIX_MODE_3D = 3,
|
|
565
|
+
UNRECOGNIZED = -1
|
|
566
|
+
}
|
|
567
|
+
export declare function gnssFixModeFromJSON(object: any): GnssFixMode;
|
|
568
|
+
export declare function gnssFixModeToJSON(object: GnssFixMode): string;
|
|
569
|
+
/** GNSS constellation a satellite belongs to. */
|
|
570
|
+
export declare enum GnssConstellation {
|
|
571
|
+
/** GNSS_CONSTELLATION_UNSPECIFIED - Unspecified. */
|
|
572
|
+
GNSS_CONSTELLATION_UNSPECIFIED = 0,
|
|
573
|
+
/** GNSS_CONSTELLATION_GPS - GPS. */
|
|
574
|
+
GNSS_CONSTELLATION_GPS = 1,
|
|
575
|
+
/** GNSS_CONSTELLATION_GLONASS - GLONASS. */
|
|
576
|
+
GNSS_CONSTELLATION_GLONASS = 2,
|
|
577
|
+
/** GNSS_CONSTELLATION_GALILEO - Galileo. */
|
|
578
|
+
GNSS_CONSTELLATION_GALILEO = 3,
|
|
579
|
+
/** GNSS_CONSTELLATION_BEIDOU - BeiDou. */
|
|
580
|
+
GNSS_CONSTELLATION_BEIDOU = 4,
|
|
581
|
+
UNRECOGNIZED = -1
|
|
582
|
+
}
|
|
583
|
+
export declare function gnssConstellationFromJSON(object: any): GnssConstellation;
|
|
584
|
+
export declare function gnssConstellationToJSON(object: GnssConstellation): string;
|
|
491
585
|
/** Status for guest port devices that can be attached and detached. */
|
|
492
586
|
export declare enum GuestPortDetachStatus {
|
|
493
587
|
/** GUEST_PORT_DETACH_STATUS_UNSPECIFIED - Unspecified (Default for non-detachable devices). */
|
|
@@ -543,10 +637,40 @@ export declare enum ThermalZoneId {
|
|
|
543
637
|
THERMAL_ZONE_ID_TJ = 1,
|
|
544
638
|
/** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
|
|
545
639
|
THERMAL_ZONE_ID_CANISTER = 2,
|
|
640
|
+
/** THERMAL_ZONE_ID_CPU - CPU thermal zone. */
|
|
641
|
+
THERMAL_ZONE_ID_CPU = 3,
|
|
642
|
+
/** THERMAL_ZONE_ID_GPU - GPU thermal zone. */
|
|
643
|
+
THERMAL_ZONE_ID_GPU = 4,
|
|
644
|
+
/** THERMAL_ZONE_ID_CV0 - Vision accelerator 0 thermal zone. */
|
|
645
|
+
THERMAL_ZONE_ID_CV0 = 5,
|
|
646
|
+
/** THERMAL_ZONE_ID_CV1 - Vision accelerator 1 thermal zone. */
|
|
647
|
+
THERMAL_ZONE_ID_CV1 = 6,
|
|
648
|
+
/** THERMAL_ZONE_ID_CV2 - Vision accelerator 2 thermal zone. */
|
|
649
|
+
THERMAL_ZONE_ID_CV2 = 7,
|
|
650
|
+
/** THERMAL_ZONE_ID_SOC0 - SoC 0 thermal zone. */
|
|
651
|
+
THERMAL_ZONE_ID_SOC0 = 8,
|
|
652
|
+
/** THERMAL_ZONE_ID_SOC1 - SoC 1 thermal zone. */
|
|
653
|
+
THERMAL_ZONE_ID_SOC1 = 9,
|
|
654
|
+
/** THERMAL_ZONE_ID_SOC2 - SoC 2 thermal zone. */
|
|
655
|
+
THERMAL_ZONE_ID_SOC2 = 10,
|
|
546
656
|
UNRECOGNIZED = -1
|
|
547
657
|
}
|
|
548
658
|
export declare function thermalZoneIdFromJSON(object: any): ThermalZoneId;
|
|
549
659
|
export declare function thermalZoneIdToJSON(object: ThermalZoneId): string;
|
|
660
|
+
/** Origin of an annotation. Mirrors the AnnotationSource enum in Blueye Cloud. */
|
|
661
|
+
export declare enum AnnotationSource {
|
|
662
|
+
/** ANNOTATION_SOURCE_UNSPECIFIED - Origin not specified. */
|
|
663
|
+
ANNOTATION_SOURCE_UNSPECIFIED = 0,
|
|
664
|
+
/** ANNOTATION_SOURCE_CLOUD - Created in Blueye Cloud after the dive. */
|
|
665
|
+
ANNOTATION_SOURCE_CLOUD = 1,
|
|
666
|
+
/** ANNOTATION_SOURCE_APP - Created in the app during the dive. */
|
|
667
|
+
ANNOTATION_SOURCE_APP = 2,
|
|
668
|
+
/** ANNOTATION_SOURCE_DRONE - Emitted by the drone itself. */
|
|
669
|
+
ANNOTATION_SOURCE_DRONE = 3,
|
|
670
|
+
UNRECOGNIZED = -1
|
|
671
|
+
}
|
|
672
|
+
export declare function annotationSourceFromJSON(object: any): AnnotationSource;
|
|
673
|
+
export declare function annotationSourceToJSON(object: AnnotationSource): string;
|
|
550
674
|
/**
|
|
551
675
|
* Wrapper message for each entry in the drone telemetry logfile.
|
|
552
676
|
*
|
|
@@ -658,7 +782,7 @@ export interface MotionInput {
|
|
|
658
782
|
roll: number;
|
|
659
783
|
/** Pitch down (negative) or up (positive). (-1..1). */
|
|
660
784
|
pitch: number;
|
|
661
|
-
/**
|
|
785
|
+
/** Clockwise (positive) and counter-clockwise (negative) rotation (-1..1). */
|
|
662
786
|
yaw: number;
|
|
663
787
|
/** Modifier used to reduce the speed of the motion (0..1). */
|
|
664
788
|
slow: number;
|
|
@@ -680,6 +804,46 @@ export interface Lights {
|
|
|
680
804
|
export interface Laser {
|
|
681
805
|
/** Laser intensity, any value above 0 turns the laser on (0..1). */
|
|
682
806
|
value: number;
|
|
807
|
+
/** Modulate the laser at 5Hz for tracking. Only available on Ultra. */
|
|
808
|
+
modulated: boolean;
|
|
809
|
+
}
|
|
810
|
+
/** Point in 2D space. */
|
|
811
|
+
export interface Point2D {
|
|
812
|
+
/** X coordinate of the point (px). */
|
|
813
|
+
x: number;
|
|
814
|
+
/** Y coordinate of the point (px). */
|
|
815
|
+
y: number;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* Message representing the detection of scaling lasers in the main camera.
|
|
819
|
+
*
|
|
820
|
+
* The message contains the centroids of the detected dots, the distance between them in pixels,
|
|
821
|
+
* and the confidence of the detection. The dots are detected through temporal DFT analysis of
|
|
822
|
+
* 5 Hz laser modulation, isolating flickering pixels from the static scene background.
|
|
823
|
+
*
|
|
824
|
+
* Only available on Ultra.
|
|
825
|
+
*/
|
|
826
|
+
export interface LaserDetection {
|
|
827
|
+
/** True if the laser is detected by the drone. */
|
|
828
|
+
detected: boolean;
|
|
829
|
+
/** First dot centroid (leftmost). */
|
|
830
|
+
dot1: Point2D | undefined;
|
|
831
|
+
/** Second dot centroid (rightmost). */
|
|
832
|
+
dot2: Point2D | undefined;
|
|
833
|
+
/** Distance between dots in pixels. */
|
|
834
|
+
pixelDistance: number;
|
|
835
|
+
/** Confidence of the detection (0..1). */
|
|
836
|
+
confidence: number;
|
|
837
|
+
/** Source frame width. */
|
|
838
|
+
imageWidth: number;
|
|
839
|
+
/** Source frame height. */
|
|
840
|
+
imageHeight: number;
|
|
841
|
+
/** Real world distance between the two laser dots (m). */
|
|
842
|
+
laserWidth: number;
|
|
843
|
+
/** Distance after lens undistortion (px). */
|
|
844
|
+
correctedPixelDistance: number;
|
|
845
|
+
/** Estimated subject distance (m). */
|
|
846
|
+
estimatedDistance: number;
|
|
683
847
|
}
|
|
684
848
|
/** Latitude and longitude position in WGS 84 decimal degrees format. */
|
|
685
849
|
export interface LatLongPosition {
|
|
@@ -728,6 +892,66 @@ export interface AutoPilotHeaveState {
|
|
|
728
892
|
/** If auto pilot heave is enabled. */
|
|
729
893
|
enabled: boolean;
|
|
730
894
|
}
|
|
895
|
+
/**
|
|
896
|
+
* Spotlight mode parameters.
|
|
897
|
+
*
|
|
898
|
+
* Vision-based mode that keeps the tracked object centred in the frame
|
|
899
|
+
* while the pilot flies around it. Currently carries no parameters.
|
|
900
|
+
*
|
|
901
|
+
* Automatically controlled: yaw (horizontal centring) and depth
|
|
902
|
+
* (vertical centring).
|
|
903
|
+
* Pilot controlled: surge and sway.
|
|
904
|
+
*/
|
|
905
|
+
export interface SpotlightState {
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* Active track mode parameters.
|
|
909
|
+
*
|
|
910
|
+
* Vision-based mode that follows the tracked object, keeping it centred
|
|
911
|
+
* and at a constant apparent size in the frame. Currently carries no
|
|
912
|
+
* parameters.
|
|
913
|
+
*
|
|
914
|
+
* Automatically controlled: yaw (horizontal centring), depth (vertical
|
|
915
|
+
* centring), and surge (distance keeping).
|
|
916
|
+
* Pilot controlled: sway.
|
|
917
|
+
*/
|
|
918
|
+
export interface ActiveTrackState {
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Orbit mode parameters.
|
|
922
|
+
*
|
|
923
|
+
* Vision-based mode that circles the tracked object while keeping it
|
|
924
|
+
* centred in the frame.
|
|
925
|
+
*
|
|
926
|
+
* Automatically controlled: yaw (horizontal centring), depth (vertical
|
|
927
|
+
* centring), surge (distance keeping), and sway (tangential motion at
|
|
928
|
+
* the commanded angular rate). No degree of freedom is pilot controlled
|
|
929
|
+
* while orbit is active.
|
|
930
|
+
*/
|
|
931
|
+
export interface OrbitState {
|
|
932
|
+
/** Orbit angular rate (deg/s); positive orbits clockwise seen from above. Must be non-zero. */
|
|
933
|
+
rate: number;
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
* The active vision-based tracking mode.
|
|
937
|
+
*
|
|
938
|
+
* The modes are mutually exclusive, which the oneof encodes: at most one
|
|
939
|
+
* mode is set at a time, and no field set means no vision tracking mode
|
|
940
|
+
* is active.
|
|
941
|
+
*
|
|
942
|
+
* Each mode's message documents which degrees of freedom it controls
|
|
943
|
+
* automatically; any degree of freedom not listed as automatic remains
|
|
944
|
+
* under pilot control. Pilot input on an automatically controlled degree
|
|
945
|
+
* of freedom is ignored while the mode is active.
|
|
946
|
+
*/
|
|
947
|
+
export interface VisionTrackingState {
|
|
948
|
+
/** Spotlight mode is active. */
|
|
949
|
+
spotlight?: SpotlightState | undefined;
|
|
950
|
+
/** Active track mode is active. */
|
|
951
|
+
activeTrack?: ActiveTrackState | undefined;
|
|
952
|
+
/** Orbit mode is active, at the reported angular rate. */
|
|
953
|
+
orbit?: OrbitState | undefined;
|
|
954
|
+
}
|
|
731
955
|
/** Control mode from drone supervisor */
|
|
732
956
|
export interface ControlMode {
|
|
733
957
|
/** If auto depth is enabled. */
|
|
@@ -744,6 +968,8 @@ export interface ControlMode {
|
|
|
744
968
|
autoPilotSurgeYaw: boolean;
|
|
745
969
|
/** If auto pilot heave is enabled. */
|
|
746
970
|
autoPilotHeave: boolean;
|
|
971
|
+
/** The active vision-based tracking mode, if any. */
|
|
972
|
+
visionTracking: VisionTrackingState | undefined;
|
|
747
973
|
}
|
|
748
974
|
/**
|
|
749
975
|
* Tilt stabilization state.
|
|
@@ -1439,6 +1665,77 @@ export interface TiltVelocity {
|
|
|
1439
1665
|
/**
|
|
1440
1666
|
* Information about the drone.
|
|
1441
1667
|
*
|
|
1668
|
+
* Information about a loaded computer vision model.
|
|
1669
|
+
*/
|
|
1670
|
+
export interface CvModelInfo {
|
|
1671
|
+
/** Human-readable model name (from model_meta.json). */
|
|
1672
|
+
name: string;
|
|
1673
|
+
/** Type of CV model. */
|
|
1674
|
+
type: CvModelInfo_ModelType;
|
|
1675
|
+
/** Whether the model is currently running. */
|
|
1676
|
+
running: boolean;
|
|
1677
|
+
/** Execution provider (e.g. "cuda", "tensorrt"). */
|
|
1678
|
+
device: string;
|
|
1679
|
+
/** Package directory name (e.g. "tinyyolov2_package"). Stable identifier. */
|
|
1680
|
+
packageId: string;
|
|
1681
|
+
/** Class names the model can detect (indexed by class_id). */
|
|
1682
|
+
labels: string[];
|
|
1683
|
+
/** Runtime state. SOT models report IDLE/TRACKING/LOST instead of RUNNING. */
|
|
1684
|
+
state: CvModelInfo_State;
|
|
1685
|
+
}
|
|
1686
|
+
export declare enum CvModelInfo_ModelType {
|
|
1687
|
+
MODEL_TYPE_UNSPECIFIED = 0,
|
|
1688
|
+
MODEL_TYPE_DETECTION = 1,
|
|
1689
|
+
MODEL_TYPE_SOT = 2,
|
|
1690
|
+
UNRECOGNIZED = -1
|
|
1691
|
+
}
|
|
1692
|
+
export declare function cvModelInfo_ModelTypeFromJSON(object: any): CvModelInfo_ModelType;
|
|
1693
|
+
export declare function cvModelInfo_ModelTypeToJSON(object: CvModelInfo_ModelType): string;
|
|
1694
|
+
/** Runtime state of a computer vision model. */
|
|
1695
|
+
export declare enum CvModelInfo_State {
|
|
1696
|
+
/** STATE_UNSPECIFIED - State unknown / not reported. */
|
|
1697
|
+
STATE_UNSPECIFIED = 0,
|
|
1698
|
+
/** STATE_STOPPED - The model is not running. */
|
|
1699
|
+
STATE_STOPPED = 1,
|
|
1700
|
+
/** STATE_RUNNING - The model is running (detection models). */
|
|
1701
|
+
STATE_RUNNING = 2,
|
|
1702
|
+
/** STATE_IDLE - The SOT model is running with no target selected. */
|
|
1703
|
+
STATE_IDLE = 3,
|
|
1704
|
+
/** STATE_TRACKING - The SOT model is actively tracking a target. */
|
|
1705
|
+
STATE_TRACKING = 4,
|
|
1706
|
+
/** STATE_LOST - The SOT model lost the target it was tracking. */
|
|
1707
|
+
STATE_LOST = 5,
|
|
1708
|
+
UNRECOGNIZED = -1
|
|
1709
|
+
}
|
|
1710
|
+
export declare function cvModelInfo_StateFromJSON(object: any): CvModelInfo_State;
|
|
1711
|
+
export declare function cvModelInfo_StateToJSON(object: CvModelInfo_State): string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Camera intrinsic calibration (pinhole model with OpenCV distortion coefficients).
|
|
1714
|
+
*
|
|
1715
|
+
* All values are in pixels at the calibration resolution (image_width x image_height).
|
|
1716
|
+
* When applying the calibration to an image of a different resolution, scale fx and cx
|
|
1717
|
+
* by the width ratio and fy and cy by the height ratio; the distortion coefficients
|
|
1718
|
+
* are resolution independent.
|
|
1719
|
+
*/
|
|
1720
|
+
export interface CameraCalibration {
|
|
1721
|
+
/** Focal length x (pixels). */
|
|
1722
|
+
fx: number;
|
|
1723
|
+
/** Focal length y (pixels). */
|
|
1724
|
+
fy: number;
|
|
1725
|
+
/** Principal point x (pixels). */
|
|
1726
|
+
cx: number;
|
|
1727
|
+
/** Principal point y (pixels). */
|
|
1728
|
+
cy: number;
|
|
1729
|
+
/** OpenCV order: k1, k2, p1, p2, k3. */
|
|
1730
|
+
distortionCoefficients: number[];
|
|
1731
|
+
/** Image width (pixels) the calibration was computed at. */
|
|
1732
|
+
imageWidth: number;
|
|
1733
|
+
/** Image height (pixels) the calibration was computed at. */
|
|
1734
|
+
imageHeight: number;
|
|
1735
|
+
/** True when this is the built-in default, not a per-drone calibration. */
|
|
1736
|
+
isDefault: boolean;
|
|
1737
|
+
}
|
|
1738
|
+
/**
|
|
1442
1739
|
* This message contains serial numbers and version information for
|
|
1443
1740
|
* internal components in the drone. Primarily used for diagnostics, or to
|
|
1444
1741
|
* determine the origin of a logfile.
|
|
@@ -1466,6 +1763,12 @@ export interface DroneInfo {
|
|
|
1466
1763
|
gp: GuestPortInfo | undefined;
|
|
1467
1764
|
/** Type of depth sensor that is connected to the drone. */
|
|
1468
1765
|
depthSensor: PressureSensorType;
|
|
1766
|
+
/** Installed computer vision models, including models that are not running. */
|
|
1767
|
+
cvModels: CvModelInfo[];
|
|
1768
|
+
/** How the drone is powered. */
|
|
1769
|
+
powerSource: PowerSource;
|
|
1770
|
+
/** Intrinsic calibration of the main camera. Unset when unknown. */
|
|
1771
|
+
mainCameraCalibration: CameraCalibration | undefined;
|
|
1469
1772
|
}
|
|
1470
1773
|
/** Known error states for the drone. */
|
|
1471
1774
|
export interface ErrorFlags {
|
|
@@ -1491,30 +1794,72 @@ export interface ErrorFlags {
|
|
|
1491
1794
|
gp2Read: boolean;
|
|
1492
1795
|
/** Guest port 3 read error. */
|
|
1493
1796
|
gp3Read: boolean;
|
|
1797
|
+
/** Guest port 4 read error. */
|
|
1798
|
+
gp4Read: boolean;
|
|
1799
|
+
/** Guest port 5 read error. */
|
|
1800
|
+
gp5Read: boolean;
|
|
1801
|
+
/** Guest port 6 read error. */
|
|
1802
|
+
gp6Read: boolean;
|
|
1494
1803
|
/** Guest port 1 not flashed. */
|
|
1495
1804
|
gp1NotFlashed: boolean;
|
|
1496
1805
|
/** Guest port 2 not flashed. */
|
|
1497
1806
|
gp2NotFlashed: boolean;
|
|
1498
1807
|
/** Guest port 3 not flashed. */
|
|
1499
1808
|
gp3NotFlashed: boolean;
|
|
1809
|
+
/** Guest port 4 not flashed. */
|
|
1810
|
+
gp4NotFlashed: boolean;
|
|
1811
|
+
/** Guest port 5 not flashed. */
|
|
1812
|
+
gp5NotFlashed: boolean;
|
|
1813
|
+
/** Guest port 6 not flashed. */
|
|
1814
|
+
gp6NotFlashed: boolean;
|
|
1500
1815
|
/** Unknown device on guest port 1. */
|
|
1501
1816
|
gp1UnknownDevice: boolean;
|
|
1502
1817
|
/** Unknown device on guest port 2. */
|
|
1503
1818
|
gp2UnknownDevice: boolean;
|
|
1504
1819
|
/** Unknown device on guest port 3. */
|
|
1505
1820
|
gp3UnknownDevice: boolean;
|
|
1821
|
+
/** Unknown device on guest port 4. */
|
|
1822
|
+
gp4UnknownDevice: boolean;
|
|
1823
|
+
/** Unknown device on guest port 5. */
|
|
1824
|
+
gp5UnknownDevice: boolean;
|
|
1825
|
+
/** Unknown device on guest port 6. */
|
|
1826
|
+
gp6UnknownDevice: boolean;
|
|
1506
1827
|
/** Guest port 1 connection error. */
|
|
1507
1828
|
gp1DeviceConnection: boolean;
|
|
1508
1829
|
/** Guest port 2 connection error. */
|
|
1509
1830
|
gp2DeviceConnection: boolean;
|
|
1510
1831
|
/** Guest port 3 connection error. */
|
|
1511
1832
|
gp3DeviceConnection: boolean;
|
|
1833
|
+
/** Guest port 4 connection error. */
|
|
1834
|
+
gp4DeviceConnection: boolean;
|
|
1835
|
+
/** Guest port 5 connection error. */
|
|
1836
|
+
gp5DeviceConnection: boolean;
|
|
1837
|
+
/** Guest port 6 connection error. */
|
|
1838
|
+
gp6DeviceConnection: boolean;
|
|
1512
1839
|
/** Guest port 1 device error. */
|
|
1513
1840
|
gp1Device: boolean;
|
|
1514
1841
|
/** Guest port 2 device error. */
|
|
1515
1842
|
gp2Device: boolean;
|
|
1516
1843
|
/** Guest port 3 device error. */
|
|
1517
1844
|
gp3Device: boolean;
|
|
1845
|
+
/** Guest port 4 device error. */
|
|
1846
|
+
gp4Device: boolean;
|
|
1847
|
+
/** Guest port 5 device error. */
|
|
1848
|
+
gp5Device: boolean;
|
|
1849
|
+
/** Guest port 6 device error. */
|
|
1850
|
+
gp6Device: boolean;
|
|
1851
|
+
/** Device on guest port 1 requires interfaces the port does not provide. */
|
|
1852
|
+
gp1IncompatibleDevice: boolean;
|
|
1853
|
+
/** Device on guest port 2 requires interfaces the port does not provide. */
|
|
1854
|
+
gp2IncompatibleDevice: boolean;
|
|
1855
|
+
/** Device on guest port 3 requires interfaces the port does not provide. */
|
|
1856
|
+
gp3IncompatibleDevice: boolean;
|
|
1857
|
+
/** Device on guest port 4 requires interfaces the port does not provide. */
|
|
1858
|
+
gp4IncompatibleDevice: boolean;
|
|
1859
|
+
/** Device on guest port 5 requires interfaces the port does not provide. */
|
|
1860
|
+
gp5IncompatibleDevice: boolean;
|
|
1861
|
+
/** Device on guest port 6 requires interfaces the port does not provide. */
|
|
1862
|
+
gp6IncompatibleDevice: boolean;
|
|
1518
1863
|
/** Drone serial number not set. */
|
|
1519
1864
|
droneSerialNotSet: boolean;
|
|
1520
1865
|
/** Drone serial number error. */
|
|
@@ -1545,14 +1890,44 @@ export interface ErrorFlags {
|
|
|
1545
1890
|
gpCurrentRead: boolean;
|
|
1546
1891
|
/** Max GP current exceeded. */
|
|
1547
1892
|
gpCurrent: boolean;
|
|
1548
|
-
/** Max battery current exceeded on
|
|
1893
|
+
/** Max battery current exceeded on guest port 1. */
|
|
1549
1894
|
gp1BatCurrent: boolean;
|
|
1550
|
-
/** Max battery current exceeded on
|
|
1895
|
+
/** Max battery current exceeded on guest port 2. */
|
|
1551
1896
|
gp2BatCurrent: boolean;
|
|
1552
|
-
/** Max battery current exceeded on
|
|
1897
|
+
/** Max battery current exceeded on guest port 3. */
|
|
1553
1898
|
gp3BatCurrent: boolean;
|
|
1554
|
-
/** Max
|
|
1555
|
-
|
|
1899
|
+
/** Max battery current exceeded on guest port 4. */
|
|
1900
|
+
gp4BatCurrent: boolean;
|
|
1901
|
+
/** Max battery current exceeded on guest port 5. */
|
|
1902
|
+
gp5BatCurrent: boolean;
|
|
1903
|
+
/** Max battery current exceeded on guest port 6. */
|
|
1904
|
+
gp6BatCurrent: boolean;
|
|
1905
|
+
/** Max 24V current exceeded on GP. Only present on X1/X3 (not X3 Ultra or X7). */
|
|
1906
|
+
gp24vCurrent: boolean;
|
|
1907
|
+
/** Max 24V current exceeded on guest port 1. */
|
|
1908
|
+
gp124vCurrent: boolean;
|
|
1909
|
+
/** Max 24V current exceeded on guest port 2. */
|
|
1910
|
+
gp224vCurrent: boolean;
|
|
1911
|
+
/** Max 24V current exceeded on guest port 3. */
|
|
1912
|
+
gp324vCurrent: boolean;
|
|
1913
|
+
/** Max 24V current exceeded on guest port 4. */
|
|
1914
|
+
gp424vCurrent: boolean;
|
|
1915
|
+
/** Max 24V current exceeded on guest port 5. */
|
|
1916
|
+
gp524vCurrent: boolean;
|
|
1917
|
+
/** Max 24V current exceeded on guest port 6. */
|
|
1918
|
+
gp624vCurrent: boolean;
|
|
1919
|
+
/** Max 5V current exceeded on guest port 1. */
|
|
1920
|
+
gp15vCurrent: boolean;
|
|
1921
|
+
/** Max 5V current exceeded on guest port 2. */
|
|
1922
|
+
gp25vCurrent: boolean;
|
|
1923
|
+
/** Max 5V current exceeded on guest port 3. */
|
|
1924
|
+
gp35vCurrent: boolean;
|
|
1925
|
+
/** Max 5V current exceeded on guest port 4. */
|
|
1926
|
+
gp45vCurrent: boolean;
|
|
1927
|
+
/** Max 5V current exceeded on guest port 5. */
|
|
1928
|
+
gp55vCurrent: boolean;
|
|
1929
|
+
/** Max 5V current exceeded on guest port 6. */
|
|
1930
|
+
gp65vCurrent: boolean;
|
|
1556
1931
|
/** DVL is in thermal protection mode. */
|
|
1557
1932
|
dvlThermalProtectionMode: boolean;
|
|
1558
1933
|
/** GP protection has been triggered at boot or faulty DVL. */
|
|
@@ -1696,6 +2071,86 @@ export interface NavigationSensorStatus {
|
|
|
1696
2071
|
/** Global position from sensor. */
|
|
1697
2072
|
globalPosition: LatLongPosition | undefined;
|
|
1698
2073
|
}
|
|
2074
|
+
/** Satellite tracked by the Blueye GNSS receiver. */
|
|
2075
|
+
export interface GnssSatellite {
|
|
2076
|
+
/** Constellation the satellite belongs to. */
|
|
2077
|
+
constellation: GnssConstellation;
|
|
2078
|
+
/** Satellite id within the constellation. */
|
|
2079
|
+
satelliteId: number;
|
|
2080
|
+
/** Carrier to noise ratio (dB-Hz). */
|
|
2081
|
+
snr: number;
|
|
2082
|
+
/** Elevation above the horizon (°, 0..90), or -1 when the receiver did not report it. */
|
|
2083
|
+
elevation: number;
|
|
2084
|
+
/** Azimuth clockwise from true north (°, 0..359), or -1 when the receiver did not report it. */
|
|
2085
|
+
azimuth: number;
|
|
2086
|
+
/** Whether GSA lists the satellite as used in the fix. Only meaningful if is_used_in_fix_valid. */
|
|
2087
|
+
usedInFix: boolean;
|
|
2088
|
+
}
|
|
2089
|
+
/** Status of the onboard Blueye GNSS receiver and its driver. */
|
|
2090
|
+
export interface GnssStatus {
|
|
2091
|
+
/** True when the receiver is connected and producing NMEA sentences. */
|
|
2092
|
+
receiverConnected: boolean;
|
|
2093
|
+
/** NMEA GGA fix quality indicator (0 = no fix). */
|
|
2094
|
+
fixQuality: number;
|
|
2095
|
+
/** True when the receiver reports a usable position fix. */
|
|
2096
|
+
isValid: boolean;
|
|
2097
|
+
/** Number of satellites used in the position fix. */
|
|
2098
|
+
satellitesUsed: number;
|
|
2099
|
+
/** Satellites in the satellites list: those with a signal, seen within the last 30 s. */
|
|
2100
|
+
satellitesTracked: number;
|
|
2101
|
+
/** Satellites the receiver reports in view, summed over the constellations. */
|
|
2102
|
+
satellitesInView: number;
|
|
2103
|
+
/** True when GSA could be attributed to a constellation, making used_in_fix usable. */
|
|
2104
|
+
isUsedInFixValid: boolean;
|
|
2105
|
+
/** Fix mode from GSA (2D/3D). */
|
|
2106
|
+
fixMode: GnssFixMode;
|
|
2107
|
+
/** Horizontal dilution of precision. */
|
|
2108
|
+
hdop: number;
|
|
2109
|
+
/** Position (3D) dilution of precision, from GSA. */
|
|
2110
|
+
pdop: number;
|
|
2111
|
+
/** Vertical dilution of precision, from GSA. */
|
|
2112
|
+
vdop: number;
|
|
2113
|
+
/** Reported global position. */
|
|
2114
|
+
globalPosition: LatLongPosition | undefined;
|
|
2115
|
+
/** Altitude above mean sea level (m), from GGA. */
|
|
2116
|
+
altitude: number;
|
|
2117
|
+
/** Standard deviation of the latitude (m). Meaningless unless is_accuracy_valid. */
|
|
2118
|
+
stddevLatitude: number;
|
|
2119
|
+
/** Standard deviation of the longitude (m). Meaningless unless is_accuracy_valid. */
|
|
2120
|
+
stddevLongitude: number;
|
|
2121
|
+
/** Standard deviation of the altitude (m). Meaningless unless is_accuracy_valid. */
|
|
2122
|
+
stddevAltitude: number;
|
|
2123
|
+
/** Semi-major axis of the horizontal error ellipse (m). */
|
|
2124
|
+
stddevSemiMajor: number;
|
|
2125
|
+
/** Semi-minor axis of the horizontal error ellipse (m). */
|
|
2126
|
+
stddevSemiMinor: number;
|
|
2127
|
+
/** Orientation of the semi-major axis, clockwise from true north (°). */
|
|
2128
|
+
errorEllipseOrientation: number;
|
|
2129
|
+
/** RMS of the range residuals (m), from GST. */
|
|
2130
|
+
rangeRms: number;
|
|
2131
|
+
/** True once the receiver has reported a GST sentence to derive the deviations from. */
|
|
2132
|
+
isAccuracyValid: boolean;
|
|
2133
|
+
/** Course over ground (°). Meaningless unless is_course_valid. */
|
|
2134
|
+
courseOverGround: number;
|
|
2135
|
+
/** True when the fix is valid and the receiver actually reported a course. */
|
|
2136
|
+
isCourseValid: boolean;
|
|
2137
|
+
/** Speed over ground (m/s). */
|
|
2138
|
+
speedOverGround: number;
|
|
2139
|
+
/** Age of the differential corrections (s), or -1 without DGPS/RTK. */
|
|
2140
|
+
differentialAge: number;
|
|
2141
|
+
/** Id of the station supplying the differential corrections, or -1 when absent. */
|
|
2142
|
+
differentialStation: number;
|
|
2143
|
+
/** Serial baud rate in use (bit/s). */
|
|
2144
|
+
baudRate: number;
|
|
2145
|
+
/** Times the driver has reconnected to the receiver since boot. */
|
|
2146
|
+
reconnectCount: number;
|
|
2147
|
+
/** Receive errors seen by the driver since boot. */
|
|
2148
|
+
receiveErrorCount: number;
|
|
2149
|
+
/** Time since the last NMEA sentence was received (s). */
|
|
2150
|
+
timeSinceLastSentence: number;
|
|
2151
|
+
/** Satellites currently tracked with signal strength. */
|
|
2152
|
+
satellites: GnssSatellite[];
|
|
2153
|
+
}
|
|
1699
2154
|
/** Information about a device connected to one of the guest ports. */
|
|
1700
2155
|
export interface GuestPortDevice {
|
|
1701
2156
|
/** Blueye device identifier. */
|
|
@@ -1712,6 +2167,13 @@ export interface GuestPortDevice {
|
|
|
1712
2167
|
requiredBlunuxVersion: string;
|
|
1713
2168
|
/** Detach status based on detection pin. */
|
|
1714
2169
|
detachStatus: GuestPortDetachStatus;
|
|
2170
|
+
/** Interfaces the device requires from the port. */
|
|
2171
|
+
requiredCapabilities: GuestPortCapability[];
|
|
2172
|
+
/**
|
|
2173
|
+
* Ports on this drone where the device is fully supported. Computed by the
|
|
2174
|
+
* drone from the port capabilities and the device requirements.
|
|
2175
|
+
*/
|
|
2176
|
+
compatibleGuestPorts: GuestPortNumber[];
|
|
1715
2177
|
}
|
|
1716
2178
|
/** List of guest port devices. */
|
|
1717
2179
|
export interface GuestPortDeviceList {
|
|
@@ -1726,6 +2188,8 @@ export interface GuestPortConnectorInfo {
|
|
|
1726
2188
|
error?: GuestPortError | undefined;
|
|
1727
2189
|
/** Guest port the connector is connected to. */
|
|
1728
2190
|
guestPortNumber: GuestPortNumber;
|
|
2191
|
+
/** Interfaces this port provides. */
|
|
2192
|
+
capabilities: GuestPortCapability[];
|
|
1729
2193
|
}
|
|
1730
2194
|
/** GuestPort information. */
|
|
1731
2195
|
export interface GuestPortInfo {
|
|
@@ -1735,6 +2199,12 @@ export interface GuestPortInfo {
|
|
|
1735
2199
|
gp2: GuestPortConnectorInfo | undefined;
|
|
1736
2200
|
/** Information about guest port 3. */
|
|
1737
2201
|
gp3: GuestPortConnectorInfo | undefined;
|
|
2202
|
+
/** Information about guest port 4. */
|
|
2203
|
+
gp4: GuestPortConnectorInfo | undefined;
|
|
2204
|
+
/** Information about guest port 5. */
|
|
2205
|
+
gp5: GuestPortConnectorInfo | undefined;
|
|
2206
|
+
/** Information about guest port 6. */
|
|
2207
|
+
gp6: GuestPortConnectorInfo | undefined;
|
|
1738
2208
|
}
|
|
1739
2209
|
/** GuestPort restart information. */
|
|
1740
2210
|
export interface GuestPortRestartInfo {
|
|
@@ -1779,8 +2249,38 @@ export interface GuestPortCurrent {
|
|
|
1779
2249
|
gp2Bat: number;
|
|
1780
2250
|
/** Current on GP3 battery voltage (A). */
|
|
1781
2251
|
gp3Bat: number;
|
|
1782
|
-
/** Current on common
|
|
1783
|
-
|
|
2252
|
+
/** Current on common/input 24V supply (A). Only present on X1/X3 (not X3 Ultra or X7). */
|
|
2253
|
+
gp24v: number;
|
|
2254
|
+
/** Current on GP4 battery voltage (A). */
|
|
2255
|
+
gp4Bat: number;
|
|
2256
|
+
/** Current on GP5 battery voltage (A). */
|
|
2257
|
+
gp5Bat: number;
|
|
2258
|
+
/** Current on GP6 battery voltage (A). */
|
|
2259
|
+
gp6Bat: number;
|
|
2260
|
+
/** Current on GP1 24V supply (A). */
|
|
2261
|
+
gp124v: number;
|
|
2262
|
+
/** Current on GP2 24V supply (A). */
|
|
2263
|
+
gp224v: number;
|
|
2264
|
+
/** Current on GP3 24V supply (A). */
|
|
2265
|
+
gp324v: number;
|
|
2266
|
+
/** Current on GP4 24V supply (A). */
|
|
2267
|
+
gp424v: number;
|
|
2268
|
+
/** Current on GP5 24V supply (A). */
|
|
2269
|
+
gp524v: number;
|
|
2270
|
+
/** Current on GP6 24V supply (A). */
|
|
2271
|
+
gp624v: number;
|
|
2272
|
+
/** Current on GP1 5V supply (A). */
|
|
2273
|
+
gp15v: number;
|
|
2274
|
+
/** Current on GP2 5V supply (A). */
|
|
2275
|
+
gp25v: number;
|
|
2276
|
+
/** Current on GP3 5V supply (A). */
|
|
2277
|
+
gp35v: number;
|
|
2278
|
+
/** Current on GP4 5V supply (A). */
|
|
2279
|
+
gp45v: number;
|
|
2280
|
+
/** Current on GP5 5V supply (A). */
|
|
2281
|
+
gp55v: number;
|
|
2282
|
+
/** Current on GP6 5V supply (A). */
|
|
2283
|
+
gp65v: number;
|
|
1784
2284
|
}
|
|
1785
2285
|
/** Vector with 3 elements. */
|
|
1786
2286
|
export interface Vector3 {
|
|
@@ -1858,6 +2358,16 @@ export interface MultibeamPing {
|
|
|
1858
2358
|
deviceId: GuestPortDeviceID;
|
|
1859
2359
|
/** Timestamp when the frame was generated. */
|
|
1860
2360
|
frameGenerationTimestamp: Date | undefined;
|
|
2361
|
+
/** Heading (°). */
|
|
2362
|
+
heading: number;
|
|
2363
|
+
/** Pitch (°). */
|
|
2364
|
+
pitch: number;
|
|
2365
|
+
/** Roll (°). */
|
|
2366
|
+
roll: number;
|
|
2367
|
+
/** External temperature (°C). */
|
|
2368
|
+
temperature: number;
|
|
2369
|
+
/** External pressure (bar). */
|
|
2370
|
+
pressure: number;
|
|
1861
2371
|
}
|
|
1862
2372
|
/** Configuration message for sonar devices. */
|
|
1863
2373
|
export interface MultibeamConfig {
|
|
@@ -2081,13 +2591,78 @@ export interface VideoCodecInfo {
|
|
|
2081
2591
|
vpuCodecIrqCount: number;
|
|
2082
2592
|
/** Cumulative VPU_JPG_IRQ count. */
|
|
2083
2593
|
vpuJpgIrqCount: number;
|
|
2594
|
+
/** Jetson only (host1x actmon engine utilization, 0..1). */
|
|
2595
|
+
encoderLoad: number;
|
|
2596
|
+
/** Video decoder (NVDEC) utilization (0..1). */
|
|
2597
|
+
decoderLoad: number;
|
|
2598
|
+
/** JPEG engine (NVJPG) utilization (0..1). */
|
|
2599
|
+
nvjpgLoad: number;
|
|
2600
|
+
/** Video Image Compositor (VIC) utilization (0..1). */
|
|
2601
|
+
vicLoad: number;
|
|
2602
|
+
}
|
|
2603
|
+
/**
|
|
2604
|
+
* NVMe SSD health, wear and identity (Jetson only; i.MX drones boot/store on
|
|
2605
|
+
* an SD card and have no NVMe device, so this message is omitted there).
|
|
2606
|
+
*/
|
|
2607
|
+
export interface NvmeInfo {
|
|
2608
|
+
/** Tier 1 — health & safety. */
|
|
2609
|
+
compositeTemperature: number;
|
|
2610
|
+
/** NVMe critical-warning bitfield. */
|
|
2611
|
+
criticalWarning: number;
|
|
2612
|
+
/** Wear indicator (%, may exceed 100). */
|
|
2613
|
+
percentageUsed: number;
|
|
2614
|
+
/** Remaining spare capacity (%). */
|
|
2615
|
+
availableSpare: number;
|
|
2616
|
+
/** Spare alarm threshold (%). */
|
|
2617
|
+
availableSpareThreshold: number;
|
|
2618
|
+
/** Uncorrected data-integrity errors. */
|
|
2619
|
+
mediaErrors: number;
|
|
2620
|
+
/** Power-loss / unsafe shutdown count. */
|
|
2621
|
+
unsafeShutdowns: number;
|
|
2622
|
+
/** Tier 2 — thermal throttling. */
|
|
2623
|
+
warningTempTimeMin: number;
|
|
2624
|
+
/** Minutes above the critical temperature. */
|
|
2625
|
+
criticalTempTimeMin: number;
|
|
2626
|
+
/** Times entered light throttling. */
|
|
2627
|
+
thermalMgmtT1TransCount: number;
|
|
2628
|
+
/** Times entered heavy throttling. */
|
|
2629
|
+
thermalMgmtT2TransCount: number;
|
|
2630
|
+
/** Total seconds in light throttling. */
|
|
2631
|
+
thermalMgmtT1TotalTimeS: number;
|
|
2632
|
+
/** Total seconds in heavy throttling. */
|
|
2633
|
+
thermalMgmtT2TotalTimeS: number;
|
|
2634
|
+
/** Tier 3 — endurance / workload. */
|
|
2635
|
+
dataUnitsWrittenBytes: number;
|
|
2636
|
+
/** Host data read (B). */
|
|
2637
|
+
dataUnitsReadBytes: number;
|
|
2638
|
+
/** Host write command count. */
|
|
2639
|
+
hostWriteCommands: number;
|
|
2640
|
+
/** Host read command count. */
|
|
2641
|
+
hostReadCommands: number;
|
|
2642
|
+
/** Power-on hours. */
|
|
2643
|
+
powerOnHours: number;
|
|
2644
|
+
/** Power cycle count. */
|
|
2645
|
+
powerCycles: number;
|
|
2646
|
+
/** Controller busy time (min). */
|
|
2647
|
+
controllerBusyTimeMin: number;
|
|
2648
|
+
/** Error-log entry count. */
|
|
2649
|
+
numErrLogEntries: number;
|
|
2650
|
+
/** Tier 4 — identity & capacity. */
|
|
2651
|
+
model: string;
|
|
2652
|
+
/** Drive serial number. */
|
|
2653
|
+
serial: string;
|
|
2654
|
+
/** Firmware revision. */
|
|
2655
|
+
firmwareRev: string;
|
|
2656
|
+
/** Total drive capacity (B). Partition used/free is */
|
|
2657
|
+
capacityBytes: number;
|
|
2084
2658
|
}
|
|
2085
2659
|
/**
|
|
2086
2660
|
* System performance information.
|
|
2087
2661
|
*
|
|
2088
2662
|
* Comprehensive performance metrics for the drone's compute platform.
|
|
2089
|
-
* Covers CPU, GPU, DLA, memory, thermals,
|
|
2090
|
-
* Fields not applicable to a platform are left at their
|
|
2663
|
+
* Covers CPU, GPU, DLA, memory, thermals, video codec utilization and NVMe
|
|
2664
|
+
* SSD state. Fields not applicable to a platform are left at their
|
|
2665
|
+
* zero/empty defaults.
|
|
2091
2666
|
*/
|
|
2092
2667
|
export interface SystemPerformanceInfo {
|
|
2093
2668
|
/** Per-core CPU utilization. */
|
|
@@ -2116,6 +2691,8 @@ export interface SystemPerformanceInfo {
|
|
|
2116
2691
|
overlayQueueLoad: number;
|
|
2117
2692
|
/** Position observer queue load (0..1). */
|
|
2118
2693
|
positionObserverQueueLoad: number;
|
|
2694
|
+
/** NVMe SSD health/identity (Jetson only). */
|
|
2695
|
+
nvme: NvmeInfo | undefined;
|
|
2119
2696
|
}
|
|
2120
2697
|
/**
|
|
2121
2698
|
* Surface Unit battery information.
|
|
@@ -2164,9 +2741,34 @@ export interface BoundingBox {
|
|
|
2164
2741
|
/** Height of the bounding box (px). */
|
|
2165
2742
|
height: number;
|
|
2166
2743
|
}
|
|
2744
|
+
/**
|
|
2745
|
+
* RLE-encoded binary segmentation mask with its own anchor box.
|
|
2746
|
+
*
|
|
2747
|
+
* The mask bitmap has dimensions (mask_width x mask_height) covering the
|
|
2748
|
+
* mask_box region of the camera image. The counts field stores run-length
|
|
2749
|
+
* encoded data as packed uint16 little-endian: alternating
|
|
2750
|
+
* background/foreground pixel runs starting with background. Runs longer
|
|
2751
|
+
* than 65535 pixels are split by inserting a zero-length run of the
|
|
2752
|
+
* opposite class (e.g. 70000 becomes 65535, 0, 4465), so decoders need no
|
|
2753
|
+
* special handling — a zero-length run just toggles the class.
|
|
2754
|
+
*
|
|
2755
|
+
* Scale the mask to mask_box, not to the detection's bounding_box: the
|
|
2756
|
+
* bounding box may be smoothed by tracking, while mask_box is pinned to the
|
|
2757
|
+
* raw detection position, so the mask stays on the actual object pixels.
|
|
2758
|
+
*/
|
|
2759
|
+
export interface SegmentationMask {
|
|
2760
|
+
/** Width of the RLE bitmap. */
|
|
2761
|
+
maskWidth: number;
|
|
2762
|
+
/** Height of the RLE bitmap. */
|
|
2763
|
+
maskHeight: number;
|
|
2764
|
+
/** RLE counts as packed uint16 little-endian. */
|
|
2765
|
+
counts: Uint8Array;
|
|
2766
|
+
/** Image region the mask bitmap covers (raw detection position, never smoothed). */
|
|
2767
|
+
maskBox: BoundingBox | undefined;
|
|
2768
|
+
}
|
|
2167
2769
|
/** A single object detection from a computer vision model. */
|
|
2168
2770
|
export interface ObjectDetection {
|
|
2169
|
-
/** Bounding box of the detected object. */
|
|
2771
|
+
/** Bounding box of the detected object (may be smoothed by tracking). */
|
|
2170
2772
|
boundingBox: BoundingBox | undefined;
|
|
2171
2773
|
/** Detection confidence score (0..1). */
|
|
2172
2774
|
confidence: number;
|
|
@@ -2176,6 +2778,8 @@ export interface ObjectDetection {
|
|
|
2176
2778
|
className: string;
|
|
2177
2779
|
/** Unique ID for tracking the same object across frames. */
|
|
2178
2780
|
trackingId: number;
|
|
2781
|
+
/** Instance segmentation mask (absent if model has no segmentation). */
|
|
2782
|
+
mask: SegmentationMask | undefined;
|
|
2179
2783
|
}
|
|
2180
2784
|
/** A list of object detections from a single model for a single video frame. */
|
|
2181
2785
|
export interface ModelDetections {
|
|
@@ -2222,6 +2826,77 @@ export interface OperatorInfo {
|
|
|
2222
2826
|
/** E-mail address of the operator. */
|
|
2223
2827
|
email: string;
|
|
2224
2828
|
}
|
|
2829
|
+
/**
|
|
2830
|
+
* Single-object tracking (SOT) state reported by the computer vision pipeline.
|
|
2831
|
+
*
|
|
2832
|
+
* The velocity fields are Kalman filter estimates expressed in the CV frame
|
|
2833
|
+
* coordinate space (image_width x image_height pixels).
|
|
2834
|
+
*/
|
|
2835
|
+
export interface SotState {
|
|
2836
|
+
/** Current tracking state. */
|
|
2837
|
+
state: SotState_State;
|
|
2838
|
+
/** Current tracked bounding box (valid when TRACKING). */
|
|
2839
|
+
boundingBox: BoundingBox | undefined;
|
|
2840
|
+
/** Width of the source frame in pixels. */
|
|
2841
|
+
imageWidth: number;
|
|
2842
|
+
/** Height of the source frame in pixels. */
|
|
2843
|
+
imageHeight: number;
|
|
2844
|
+
/** Tracker confidence of the last model update (0..1). 0 while coasting and when LOST. */
|
|
2845
|
+
confidence: number;
|
|
2846
|
+
/** Kalman velocity estimate of the bounding box centre, horizontal (px/s). */
|
|
2847
|
+
vx: number;
|
|
2848
|
+
/** Kalman velocity estimate of the bounding box centre, vertical (px/s). */
|
|
2849
|
+
vy: number;
|
|
2850
|
+
/** Kalman rate of change of the bounding box area, width * height (px²/s). */
|
|
2851
|
+
vs: number;
|
|
2852
|
+
/** Kalman rate of change of the bounding box aspect ratio, width / height (1/s). */
|
|
2853
|
+
vr: number;
|
|
2854
|
+
}
|
|
2855
|
+
/** Current state of the SOT tracker. */
|
|
2856
|
+
export declare enum SotState_State {
|
|
2857
|
+
/** STATE_UNSPECIFIED - Unspecified state. */
|
|
2858
|
+
STATE_UNSPECIFIED = 0,
|
|
2859
|
+
/** STATE_IDLE - No target selected, waiting for a target bounding box. */
|
|
2860
|
+
STATE_IDLE = 1,
|
|
2861
|
+
/** STATE_TRACKING - Actively tracking a target. */
|
|
2862
|
+
STATE_TRACKING = 2,
|
|
2863
|
+
/** STATE_LOST - Target was lost (tracker failed to follow the object). */
|
|
2864
|
+
STATE_LOST = 3,
|
|
2865
|
+
UNRECOGNIZED = -1
|
|
2866
|
+
}
|
|
2867
|
+
export declare function sotState_StateFromJSON(object: any): SotState_State;
|
|
2868
|
+
export declare function sotState_StateToJSON(object: SotState_State): string;
|
|
2869
|
+
/**
|
|
2870
|
+
* A single annotation added during a dive, e.g. by a diver tapping a type in the
|
|
2871
|
+
* app command palette, or emitted by the drone itself.
|
|
2872
|
+
*
|
|
2873
|
+
* Self-contained: it carries the type's display fields (name/icon/color) inline,
|
|
2874
|
+
* so the drone, any connected client, and the dive logfile can render it without
|
|
2875
|
+
* a separate catalog. The app keeps the full catalog locally (synced from
|
|
2876
|
+
* Blueye Cloud) to drive its palette, but only complete annotations go over the
|
|
2877
|
+
* wire. type_slug lets Blueye Cloud correlate the annotation to its type on import.
|
|
2878
|
+
*
|
|
2879
|
+
* The drone owns the timestamp: when this is logged the enclosing BinlogRecord
|
|
2880
|
+
* carries the time, like any other sample, so there is no time field here.
|
|
2881
|
+
*/
|
|
2882
|
+
export interface Annotation {
|
|
2883
|
+
/** Stable type id for grouping / Cloud correlation. Empty for a free-form annotation. */
|
|
2884
|
+
typeSlug: string;
|
|
2885
|
+
/** Type display name, e.g. "Hazard". Snapshot of the type at creation time. */
|
|
2886
|
+
typeName: string;
|
|
2887
|
+
/** Font Awesome solid icon name, kebab-case (e.g. "triangle-exclamation"). */
|
|
2888
|
+
typeIcon: string;
|
|
2889
|
+
/** Type color, RGB hex incl. leading '#', 7 chars (e.g. "#DC2626"). */
|
|
2890
|
+
typeColor: string;
|
|
2891
|
+
/** Optional annotation title; Cloud falls back to type_name if empty. Max 200 chars. */
|
|
2892
|
+
title: string;
|
|
2893
|
+
/** Optional free-form note. Unbounded. */
|
|
2894
|
+
body: string;
|
|
2895
|
+
/** Optional span; omit for a point-in-time marker. */
|
|
2896
|
+
duration: Duration | undefined;
|
|
2897
|
+
/** Origin of the annotation; the app sets APP, the drone sets DRONE for its own. */
|
|
2898
|
+
source: AnnotationSource;
|
|
2899
|
+
}
|
|
2225
2900
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
2226
2901
|
export declare const LogEntry: MessageFns<LogEntry>;
|
|
2227
2902
|
export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
|
|
@@ -2229,6 +2904,8 @@ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyV
|
|
|
2229
2904
|
export declare const MotionInput: MessageFns<MotionInput>;
|
|
2230
2905
|
export declare const Lights: MessageFns<Lights>;
|
|
2231
2906
|
export declare const Laser: MessageFns<Laser>;
|
|
2907
|
+
export declare const Point2D: MessageFns<Point2D>;
|
|
2908
|
+
export declare const LaserDetection: MessageFns<LaserDetection>;
|
|
2232
2909
|
export declare const LatLongPosition: MessageFns<LatLongPosition>;
|
|
2233
2910
|
export declare const ConnectionDuration: MessageFns<ConnectionDuration>;
|
|
2234
2911
|
export declare const AutoHeadingState: MessageFns<AutoHeadingState>;
|
|
@@ -2238,6 +2915,10 @@ export declare const StationKeepingState: MessageFns<StationKeepingState>;
|
|
|
2238
2915
|
export declare const WeatherVaningState: MessageFns<WeatherVaningState>;
|
|
2239
2916
|
export declare const AutoPilotSurgeYawState: MessageFns<AutoPilotSurgeYawState>;
|
|
2240
2917
|
export declare const AutoPilotHeaveState: MessageFns<AutoPilotHeaveState>;
|
|
2918
|
+
export declare const SpotlightState: MessageFns<SpotlightState>;
|
|
2919
|
+
export declare const ActiveTrackState: MessageFns<ActiveTrackState>;
|
|
2920
|
+
export declare const OrbitState: MessageFns<OrbitState>;
|
|
2921
|
+
export declare const VisionTrackingState: MessageFns<VisionTrackingState>;
|
|
2241
2922
|
export declare const ControlMode: MessageFns<ControlMode>;
|
|
2242
2923
|
export declare const TiltStabilizationState: MessageFns<TiltStabilizationState>;
|
|
2243
2924
|
export declare const SystemTime: MessageFns<SystemTime>;
|
|
@@ -2285,11 +2966,15 @@ export declare const IperfStatus: MessageFns<IperfStatus>;
|
|
|
2285
2966
|
export declare const NStreamers: MessageFns<NStreamers>;
|
|
2286
2967
|
export declare const TiltAngle: MessageFns<TiltAngle>;
|
|
2287
2968
|
export declare const TiltVelocity: MessageFns<TiltVelocity>;
|
|
2969
|
+
export declare const CvModelInfo: MessageFns<CvModelInfo>;
|
|
2970
|
+
export declare const CameraCalibration: MessageFns<CameraCalibration>;
|
|
2288
2971
|
export declare const DroneInfo: MessageFns<DroneInfo>;
|
|
2289
2972
|
export declare const ErrorFlags: MessageFns<ErrorFlags>;
|
|
2290
2973
|
export declare const CameraParameters: MessageFns<CameraParameters>;
|
|
2291
2974
|
export declare const OverlayParameters: MessageFns<OverlayParameters>;
|
|
2292
2975
|
export declare const NavigationSensorStatus: MessageFns<NavigationSensorStatus>;
|
|
2976
|
+
export declare const GnssSatellite: MessageFns<GnssSatellite>;
|
|
2977
|
+
export declare const GnssStatus: MessageFns<GnssStatus>;
|
|
2293
2978
|
export declare const GuestPortDevice: MessageFns<GuestPortDevice>;
|
|
2294
2979
|
export declare const GuestPortDeviceList: MessageFns<GuestPortDeviceList>;
|
|
2295
2980
|
export declare const GuestPortConnectorInfo: MessageFns<GuestPortConnectorInfo>;
|
|
@@ -2317,15 +3002,19 @@ export declare const DlaInfo: MessageFns<DlaInfo>;
|
|
|
2317
3002
|
export declare const MemoryInfo: MessageFns<MemoryInfo>;
|
|
2318
3003
|
export declare const ThermalZone: MessageFns<ThermalZone>;
|
|
2319
3004
|
export declare const VideoCodecInfo: MessageFns<VideoCodecInfo>;
|
|
3005
|
+
export declare const NvmeInfo: MessageFns<NvmeInfo>;
|
|
2320
3006
|
export declare const SystemPerformanceInfo: MessageFns<SystemPerformanceInfo>;
|
|
2321
3007
|
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2322
3008
|
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
2323
3009
|
export declare const BoundingBox: MessageFns<BoundingBox>;
|
|
3010
|
+
export declare const SegmentationMask: MessageFns<SegmentationMask>;
|
|
2324
3011
|
export declare const ObjectDetection: MessageFns<ObjectDetection>;
|
|
2325
3012
|
export declare const ModelDetections: MessageFns<ModelDetections>;
|
|
2326
3013
|
export declare const FilterMessage: MessageFns<FilterMessage>;
|
|
2327
3014
|
export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
|
|
2328
3015
|
export declare const OperatorInfo: MessageFns<OperatorInfo>;
|
|
3016
|
+
export declare const SotState: MessageFns<SotState>;
|
|
3017
|
+
export declare const Annotation: MessageFns<Annotation>;
|
|
2329
3018
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
2330
3019
|
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 {} ? {
|
|
2331
3020
|
[K in keyof T]?: DeepPartial<T[K]>;
|