@blueyerobotics/protocol-definitions 3.2.0-fcf0b829 → 3.3.0-1fa96b97
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 +587 -10
- package/dist/message_formats.js +3508 -167
- package/dist/req_rep.d.ts +54 -2
- package/dist/req_rep.js +350 -3
- package/dist/telemetry.d.ts +53 -2
- package/dist/telemetry.js +228 -7
- 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,6 +546,8 @@ 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;
|
|
@@ -543,10 +607,40 @@ export declare enum ThermalZoneId {
|
|
|
543
607
|
THERMAL_ZONE_ID_TJ = 1,
|
|
544
608
|
/** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
|
|
545
609
|
THERMAL_ZONE_ID_CANISTER = 2,
|
|
610
|
+
/** THERMAL_ZONE_ID_CPU - CPU thermal zone. */
|
|
611
|
+
THERMAL_ZONE_ID_CPU = 3,
|
|
612
|
+
/** THERMAL_ZONE_ID_GPU - GPU thermal zone. */
|
|
613
|
+
THERMAL_ZONE_ID_GPU = 4,
|
|
614
|
+
/** THERMAL_ZONE_ID_CV0 - Vision accelerator 0 thermal zone. */
|
|
615
|
+
THERMAL_ZONE_ID_CV0 = 5,
|
|
616
|
+
/** THERMAL_ZONE_ID_CV1 - Vision accelerator 1 thermal zone. */
|
|
617
|
+
THERMAL_ZONE_ID_CV1 = 6,
|
|
618
|
+
/** THERMAL_ZONE_ID_CV2 - Vision accelerator 2 thermal zone. */
|
|
619
|
+
THERMAL_ZONE_ID_CV2 = 7,
|
|
620
|
+
/** THERMAL_ZONE_ID_SOC0 - SoC 0 thermal zone. */
|
|
621
|
+
THERMAL_ZONE_ID_SOC0 = 8,
|
|
622
|
+
/** THERMAL_ZONE_ID_SOC1 - SoC 1 thermal zone. */
|
|
623
|
+
THERMAL_ZONE_ID_SOC1 = 9,
|
|
624
|
+
/** THERMAL_ZONE_ID_SOC2 - SoC 2 thermal zone. */
|
|
625
|
+
THERMAL_ZONE_ID_SOC2 = 10,
|
|
546
626
|
UNRECOGNIZED = -1
|
|
547
627
|
}
|
|
548
628
|
export declare function thermalZoneIdFromJSON(object: any): ThermalZoneId;
|
|
549
629
|
export declare function thermalZoneIdToJSON(object: ThermalZoneId): string;
|
|
630
|
+
/** Origin of an annotation. Mirrors the AnnotationSource enum in Blueye Cloud. */
|
|
631
|
+
export declare enum AnnotationSource {
|
|
632
|
+
/** ANNOTATION_SOURCE_UNSPECIFIED - Origin not specified. */
|
|
633
|
+
ANNOTATION_SOURCE_UNSPECIFIED = 0,
|
|
634
|
+
/** ANNOTATION_SOURCE_CLOUD - Created in Blueye Cloud after the dive. */
|
|
635
|
+
ANNOTATION_SOURCE_CLOUD = 1,
|
|
636
|
+
/** ANNOTATION_SOURCE_APP - Created in the app during the dive. */
|
|
637
|
+
ANNOTATION_SOURCE_APP = 2,
|
|
638
|
+
/** ANNOTATION_SOURCE_DRONE - Emitted by the drone itself. */
|
|
639
|
+
ANNOTATION_SOURCE_DRONE = 3,
|
|
640
|
+
UNRECOGNIZED = -1
|
|
641
|
+
}
|
|
642
|
+
export declare function annotationSourceFromJSON(object: any): AnnotationSource;
|
|
643
|
+
export declare function annotationSourceToJSON(object: AnnotationSource): string;
|
|
550
644
|
/**
|
|
551
645
|
* Wrapper message for each entry in the drone telemetry logfile.
|
|
552
646
|
*
|
|
@@ -680,6 +774,46 @@ export interface Lights {
|
|
|
680
774
|
export interface Laser {
|
|
681
775
|
/** Laser intensity, any value above 0 turns the laser on (0..1). */
|
|
682
776
|
value: number;
|
|
777
|
+
/** Modulate the laser at 5Hz for tracking. Only available on Ultra. */
|
|
778
|
+
modulated: boolean;
|
|
779
|
+
}
|
|
780
|
+
/** Point in 2D space. */
|
|
781
|
+
export interface Point2D {
|
|
782
|
+
/** X coordinate of the point (px). */
|
|
783
|
+
x: number;
|
|
784
|
+
/** Y coordinate of the point (px). */
|
|
785
|
+
y: number;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Message representing the detection of scaling lasers in the main camera.
|
|
789
|
+
*
|
|
790
|
+
* The message contains the centroids of the detected dots, the distance between them in pixels,
|
|
791
|
+
* and the confidence of the detection. The dots are detected through temporal DFT analysis of
|
|
792
|
+
* 5 Hz laser modulation, isolating flickering pixels from the static scene background.
|
|
793
|
+
*
|
|
794
|
+
* Only available on Ultra.
|
|
795
|
+
*/
|
|
796
|
+
export interface LaserDetection {
|
|
797
|
+
/** True if the laser is detected by the drone. */
|
|
798
|
+
detected: boolean;
|
|
799
|
+
/** First dot centroid (leftmost). */
|
|
800
|
+
dot1: Point2D | undefined;
|
|
801
|
+
/** Second dot centroid (rightmost). */
|
|
802
|
+
dot2: Point2D | undefined;
|
|
803
|
+
/** Distance between dots in pixels. */
|
|
804
|
+
pixelDistance: number;
|
|
805
|
+
/** Confidence of the detection (0..1). */
|
|
806
|
+
confidence: number;
|
|
807
|
+
/** Source frame width. */
|
|
808
|
+
imageWidth: number;
|
|
809
|
+
/** Source frame height. */
|
|
810
|
+
imageHeight: number;
|
|
811
|
+
/** Real world distance between the two laser dots (m). */
|
|
812
|
+
laserWidth: number;
|
|
813
|
+
/** Distance after lens undistortion (px). */
|
|
814
|
+
correctedPixelDistance: number;
|
|
815
|
+
/** Estimated subject distance (m). */
|
|
816
|
+
estimatedDistance: number;
|
|
683
817
|
}
|
|
684
818
|
/** Latitude and longitude position in WGS 84 decimal degrees format. */
|
|
685
819
|
export interface LatLongPosition {
|
|
@@ -728,6 +862,66 @@ export interface AutoPilotHeaveState {
|
|
|
728
862
|
/** If auto pilot heave is enabled. */
|
|
729
863
|
enabled: boolean;
|
|
730
864
|
}
|
|
865
|
+
/**
|
|
866
|
+
* Spotlight mode parameters.
|
|
867
|
+
*
|
|
868
|
+
* Vision-based mode that keeps the tracked object centred in the frame
|
|
869
|
+
* while the pilot flies around it. Currently carries no parameters.
|
|
870
|
+
*
|
|
871
|
+
* Automatically controlled: yaw (horizontal centring) and depth
|
|
872
|
+
* (vertical centring).
|
|
873
|
+
* Pilot controlled: surge and sway.
|
|
874
|
+
*/
|
|
875
|
+
export interface SpotlightState {
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* Active track mode parameters.
|
|
879
|
+
*
|
|
880
|
+
* Vision-based mode that follows the tracked object, keeping it centred
|
|
881
|
+
* and at a constant apparent size in the frame. Currently carries no
|
|
882
|
+
* parameters.
|
|
883
|
+
*
|
|
884
|
+
* Automatically controlled: yaw (horizontal centring), depth (vertical
|
|
885
|
+
* centring), and surge (distance keeping).
|
|
886
|
+
* Pilot controlled: sway.
|
|
887
|
+
*/
|
|
888
|
+
export interface ActiveTrackState {
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* Orbit mode parameters.
|
|
892
|
+
*
|
|
893
|
+
* Vision-based mode that circles the tracked object while keeping it
|
|
894
|
+
* centred in the frame.
|
|
895
|
+
*
|
|
896
|
+
* Automatically controlled: yaw (horizontal centring), depth (vertical
|
|
897
|
+
* centring), surge (distance keeping), and sway (tangential motion at
|
|
898
|
+
* the commanded angular rate). No degree of freedom is pilot controlled
|
|
899
|
+
* while orbit is active.
|
|
900
|
+
*/
|
|
901
|
+
export interface OrbitState {
|
|
902
|
+
/** Orbit angular rate (deg/s); positive orbits clockwise seen from above. Must be non-zero. */
|
|
903
|
+
rate: number;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* The active vision-based tracking mode.
|
|
907
|
+
*
|
|
908
|
+
* The modes are mutually exclusive, which the oneof encodes: at most one
|
|
909
|
+
* mode is set at a time, and no field set means no vision tracking mode
|
|
910
|
+
* is active.
|
|
911
|
+
*
|
|
912
|
+
* Each mode's message documents which degrees of freedom it controls
|
|
913
|
+
* automatically; any degree of freedom not listed as automatic remains
|
|
914
|
+
* under pilot control. Pilot input on an automatically controlled degree
|
|
915
|
+
* of freedom is ignored while the mode is active.
|
|
916
|
+
*/
|
|
917
|
+
export interface VisionTrackingState {
|
|
918
|
+
/** Spotlight mode is active. */
|
|
919
|
+
spotlight?: SpotlightState | undefined;
|
|
920
|
+
/** Active track mode is active. */
|
|
921
|
+
activeTrack?: ActiveTrackState | undefined;
|
|
922
|
+
/** Orbit mode is active, at the reported angular rate. */
|
|
923
|
+
orbit?: OrbitState | undefined;
|
|
924
|
+
}
|
|
731
925
|
/** Control mode from drone supervisor */
|
|
732
926
|
export interface ControlMode {
|
|
733
927
|
/** If auto depth is enabled. */
|
|
@@ -744,6 +938,8 @@ export interface ControlMode {
|
|
|
744
938
|
autoPilotSurgeYaw: boolean;
|
|
745
939
|
/** If auto pilot heave is enabled. */
|
|
746
940
|
autoPilotHeave: boolean;
|
|
941
|
+
/** The active vision-based tracking mode, if any. */
|
|
942
|
+
visionTracking: VisionTrackingState | undefined;
|
|
747
943
|
}
|
|
748
944
|
/**
|
|
749
945
|
* Tilt stabilization state.
|
|
@@ -1439,6 +1635,77 @@ export interface TiltVelocity {
|
|
|
1439
1635
|
/**
|
|
1440
1636
|
* Information about the drone.
|
|
1441
1637
|
*
|
|
1638
|
+
* Information about a loaded computer vision model.
|
|
1639
|
+
*/
|
|
1640
|
+
export interface CvModelInfo {
|
|
1641
|
+
/** Human-readable model name (from model_meta.json). */
|
|
1642
|
+
name: string;
|
|
1643
|
+
/** Type of CV model. */
|
|
1644
|
+
type: CvModelInfo_ModelType;
|
|
1645
|
+
/** Whether the model is currently running. */
|
|
1646
|
+
running: boolean;
|
|
1647
|
+
/** Execution provider (e.g. "cuda", "tensorrt"). */
|
|
1648
|
+
device: string;
|
|
1649
|
+
/** Package directory name (e.g. "tinyyolov2_package"). Stable identifier. */
|
|
1650
|
+
packageId: string;
|
|
1651
|
+
/** Class names the model can detect (indexed by class_id). */
|
|
1652
|
+
labels: string[];
|
|
1653
|
+
/** Runtime state. SOT models report IDLE/TRACKING/LOST instead of RUNNING. */
|
|
1654
|
+
state: CvModelInfo_State;
|
|
1655
|
+
}
|
|
1656
|
+
export declare enum CvModelInfo_ModelType {
|
|
1657
|
+
MODEL_TYPE_UNSPECIFIED = 0,
|
|
1658
|
+
MODEL_TYPE_DETECTION = 1,
|
|
1659
|
+
MODEL_TYPE_SOT = 2,
|
|
1660
|
+
UNRECOGNIZED = -1
|
|
1661
|
+
}
|
|
1662
|
+
export declare function cvModelInfo_ModelTypeFromJSON(object: any): CvModelInfo_ModelType;
|
|
1663
|
+
export declare function cvModelInfo_ModelTypeToJSON(object: CvModelInfo_ModelType): string;
|
|
1664
|
+
/** Runtime state of a computer vision model. */
|
|
1665
|
+
export declare enum CvModelInfo_State {
|
|
1666
|
+
/** STATE_UNSPECIFIED - State unknown / not reported. */
|
|
1667
|
+
STATE_UNSPECIFIED = 0,
|
|
1668
|
+
/** STATE_STOPPED - The model is not running. */
|
|
1669
|
+
STATE_STOPPED = 1,
|
|
1670
|
+
/** STATE_RUNNING - The model is running (detection models). */
|
|
1671
|
+
STATE_RUNNING = 2,
|
|
1672
|
+
/** STATE_IDLE - The SOT model is running with no target selected. */
|
|
1673
|
+
STATE_IDLE = 3,
|
|
1674
|
+
/** STATE_TRACKING - The SOT model is actively tracking a target. */
|
|
1675
|
+
STATE_TRACKING = 4,
|
|
1676
|
+
/** STATE_LOST - The SOT model lost the target it was tracking. */
|
|
1677
|
+
STATE_LOST = 5,
|
|
1678
|
+
UNRECOGNIZED = -1
|
|
1679
|
+
}
|
|
1680
|
+
export declare function cvModelInfo_StateFromJSON(object: any): CvModelInfo_State;
|
|
1681
|
+
export declare function cvModelInfo_StateToJSON(object: CvModelInfo_State): string;
|
|
1682
|
+
/**
|
|
1683
|
+
* Camera intrinsic calibration (pinhole model with OpenCV distortion coefficients).
|
|
1684
|
+
*
|
|
1685
|
+
* All values are in pixels at the calibration resolution (image_width x image_height).
|
|
1686
|
+
* When applying the calibration to an image of a different resolution, scale fx and cx
|
|
1687
|
+
* by the width ratio and fy and cy by the height ratio; the distortion coefficients
|
|
1688
|
+
* are resolution independent.
|
|
1689
|
+
*/
|
|
1690
|
+
export interface CameraCalibration {
|
|
1691
|
+
/** Focal length x (pixels). */
|
|
1692
|
+
fx: number;
|
|
1693
|
+
/** Focal length y (pixels). */
|
|
1694
|
+
fy: number;
|
|
1695
|
+
/** Principal point x (pixels). */
|
|
1696
|
+
cx: number;
|
|
1697
|
+
/** Principal point y (pixels). */
|
|
1698
|
+
cy: number;
|
|
1699
|
+
/** OpenCV order: k1, k2, p1, p2, k3. */
|
|
1700
|
+
distortionCoefficients: number[];
|
|
1701
|
+
/** Image width (pixels) the calibration was computed at. */
|
|
1702
|
+
imageWidth: number;
|
|
1703
|
+
/** Image height (pixels) the calibration was computed at. */
|
|
1704
|
+
imageHeight: number;
|
|
1705
|
+
/** True when this is the built-in default, not a per-drone calibration. */
|
|
1706
|
+
isDefault: boolean;
|
|
1707
|
+
}
|
|
1708
|
+
/**
|
|
1442
1709
|
* This message contains serial numbers and version information for
|
|
1443
1710
|
* internal components in the drone. Primarily used for diagnostics, or to
|
|
1444
1711
|
* determine the origin of a logfile.
|
|
@@ -1466,6 +1733,12 @@ export interface DroneInfo {
|
|
|
1466
1733
|
gp: GuestPortInfo | undefined;
|
|
1467
1734
|
/** Type of depth sensor that is connected to the drone. */
|
|
1468
1735
|
depthSensor: PressureSensorType;
|
|
1736
|
+
/** Installed computer vision models, including models that are not running. */
|
|
1737
|
+
cvModels: CvModelInfo[];
|
|
1738
|
+
/** How the drone is powered. */
|
|
1739
|
+
powerSource: PowerSource;
|
|
1740
|
+
/** Intrinsic calibration of the main camera. Unset when unknown. */
|
|
1741
|
+
mainCameraCalibration: CameraCalibration | undefined;
|
|
1469
1742
|
}
|
|
1470
1743
|
/** Known error states for the drone. */
|
|
1471
1744
|
export interface ErrorFlags {
|
|
@@ -1491,30 +1764,72 @@ export interface ErrorFlags {
|
|
|
1491
1764
|
gp2Read: boolean;
|
|
1492
1765
|
/** Guest port 3 read error. */
|
|
1493
1766
|
gp3Read: boolean;
|
|
1767
|
+
/** Guest port 4 read error. */
|
|
1768
|
+
gp4Read: boolean;
|
|
1769
|
+
/** Guest port 5 read error. */
|
|
1770
|
+
gp5Read: boolean;
|
|
1771
|
+
/** Guest port 6 read error. */
|
|
1772
|
+
gp6Read: boolean;
|
|
1494
1773
|
/** Guest port 1 not flashed. */
|
|
1495
1774
|
gp1NotFlashed: boolean;
|
|
1496
1775
|
/** Guest port 2 not flashed. */
|
|
1497
1776
|
gp2NotFlashed: boolean;
|
|
1498
1777
|
/** Guest port 3 not flashed. */
|
|
1499
1778
|
gp3NotFlashed: boolean;
|
|
1779
|
+
/** Guest port 4 not flashed. */
|
|
1780
|
+
gp4NotFlashed: boolean;
|
|
1781
|
+
/** Guest port 5 not flashed. */
|
|
1782
|
+
gp5NotFlashed: boolean;
|
|
1783
|
+
/** Guest port 6 not flashed. */
|
|
1784
|
+
gp6NotFlashed: boolean;
|
|
1500
1785
|
/** Unknown device on guest port 1. */
|
|
1501
1786
|
gp1UnknownDevice: boolean;
|
|
1502
1787
|
/** Unknown device on guest port 2. */
|
|
1503
1788
|
gp2UnknownDevice: boolean;
|
|
1504
1789
|
/** Unknown device on guest port 3. */
|
|
1505
1790
|
gp3UnknownDevice: boolean;
|
|
1791
|
+
/** Unknown device on guest port 4. */
|
|
1792
|
+
gp4UnknownDevice: boolean;
|
|
1793
|
+
/** Unknown device on guest port 5. */
|
|
1794
|
+
gp5UnknownDevice: boolean;
|
|
1795
|
+
/** Unknown device on guest port 6. */
|
|
1796
|
+
gp6UnknownDevice: boolean;
|
|
1506
1797
|
/** Guest port 1 connection error. */
|
|
1507
1798
|
gp1DeviceConnection: boolean;
|
|
1508
1799
|
/** Guest port 2 connection error. */
|
|
1509
1800
|
gp2DeviceConnection: boolean;
|
|
1510
1801
|
/** Guest port 3 connection error. */
|
|
1511
1802
|
gp3DeviceConnection: boolean;
|
|
1803
|
+
/** Guest port 4 connection error. */
|
|
1804
|
+
gp4DeviceConnection: boolean;
|
|
1805
|
+
/** Guest port 5 connection error. */
|
|
1806
|
+
gp5DeviceConnection: boolean;
|
|
1807
|
+
/** Guest port 6 connection error. */
|
|
1808
|
+
gp6DeviceConnection: boolean;
|
|
1512
1809
|
/** Guest port 1 device error. */
|
|
1513
1810
|
gp1Device: boolean;
|
|
1514
1811
|
/** Guest port 2 device error. */
|
|
1515
1812
|
gp2Device: boolean;
|
|
1516
1813
|
/** Guest port 3 device error. */
|
|
1517
1814
|
gp3Device: boolean;
|
|
1815
|
+
/** Guest port 4 device error. */
|
|
1816
|
+
gp4Device: boolean;
|
|
1817
|
+
/** Guest port 5 device error. */
|
|
1818
|
+
gp5Device: boolean;
|
|
1819
|
+
/** Guest port 6 device error. */
|
|
1820
|
+
gp6Device: boolean;
|
|
1821
|
+
/** Device on guest port 1 requires interfaces the port does not provide. */
|
|
1822
|
+
gp1IncompatibleDevice: boolean;
|
|
1823
|
+
/** Device on guest port 2 requires interfaces the port does not provide. */
|
|
1824
|
+
gp2IncompatibleDevice: boolean;
|
|
1825
|
+
/** Device on guest port 3 requires interfaces the port does not provide. */
|
|
1826
|
+
gp3IncompatibleDevice: boolean;
|
|
1827
|
+
/** Device on guest port 4 requires interfaces the port does not provide. */
|
|
1828
|
+
gp4IncompatibleDevice: boolean;
|
|
1829
|
+
/** Device on guest port 5 requires interfaces the port does not provide. */
|
|
1830
|
+
gp5IncompatibleDevice: boolean;
|
|
1831
|
+
/** Device on guest port 6 requires interfaces the port does not provide. */
|
|
1832
|
+
gp6IncompatibleDevice: boolean;
|
|
1518
1833
|
/** Drone serial number not set. */
|
|
1519
1834
|
droneSerialNotSet: boolean;
|
|
1520
1835
|
/** Drone serial number error. */
|
|
@@ -1545,14 +1860,44 @@ export interface ErrorFlags {
|
|
|
1545
1860
|
gpCurrentRead: boolean;
|
|
1546
1861
|
/** Max GP current exceeded. */
|
|
1547
1862
|
gpCurrent: boolean;
|
|
1548
|
-
/** Max battery current exceeded on
|
|
1863
|
+
/** Max battery current exceeded on guest port 1. */
|
|
1549
1864
|
gp1BatCurrent: boolean;
|
|
1550
|
-
/** Max battery current exceeded on
|
|
1865
|
+
/** Max battery current exceeded on guest port 2. */
|
|
1551
1866
|
gp2BatCurrent: boolean;
|
|
1552
|
-
/** Max battery current exceeded on
|
|
1867
|
+
/** Max battery current exceeded on guest port 3. */
|
|
1553
1868
|
gp3BatCurrent: boolean;
|
|
1554
|
-
/** Max
|
|
1555
|
-
|
|
1869
|
+
/** Max battery current exceeded on guest port 4. */
|
|
1870
|
+
gp4BatCurrent: boolean;
|
|
1871
|
+
/** Max battery current exceeded on guest port 5. */
|
|
1872
|
+
gp5BatCurrent: boolean;
|
|
1873
|
+
/** Max battery current exceeded on guest port 6. */
|
|
1874
|
+
gp6BatCurrent: boolean;
|
|
1875
|
+
/** Max 24V current exceeded on GP. Only present on X1/X3 (not X3 Ultra or X7). */
|
|
1876
|
+
gp24vCurrent: boolean;
|
|
1877
|
+
/** Max 24V current exceeded on guest port 1. */
|
|
1878
|
+
gp124vCurrent: boolean;
|
|
1879
|
+
/** Max 24V current exceeded on guest port 2. */
|
|
1880
|
+
gp224vCurrent: boolean;
|
|
1881
|
+
/** Max 24V current exceeded on guest port 3. */
|
|
1882
|
+
gp324vCurrent: boolean;
|
|
1883
|
+
/** Max 24V current exceeded on guest port 4. */
|
|
1884
|
+
gp424vCurrent: boolean;
|
|
1885
|
+
/** Max 24V current exceeded on guest port 5. */
|
|
1886
|
+
gp524vCurrent: boolean;
|
|
1887
|
+
/** Max 24V current exceeded on guest port 6. */
|
|
1888
|
+
gp624vCurrent: boolean;
|
|
1889
|
+
/** Max 5V current exceeded on guest port 1. */
|
|
1890
|
+
gp15vCurrent: boolean;
|
|
1891
|
+
/** Max 5V current exceeded on guest port 2. */
|
|
1892
|
+
gp25vCurrent: boolean;
|
|
1893
|
+
/** Max 5V current exceeded on guest port 3. */
|
|
1894
|
+
gp35vCurrent: boolean;
|
|
1895
|
+
/** Max 5V current exceeded on guest port 4. */
|
|
1896
|
+
gp45vCurrent: boolean;
|
|
1897
|
+
/** Max 5V current exceeded on guest port 5. */
|
|
1898
|
+
gp55vCurrent: boolean;
|
|
1899
|
+
/** Max 5V current exceeded on guest port 6. */
|
|
1900
|
+
gp65vCurrent: boolean;
|
|
1556
1901
|
/** DVL is in thermal protection mode. */
|
|
1557
1902
|
dvlThermalProtectionMode: boolean;
|
|
1558
1903
|
/** GP protection has been triggered at boot or faulty DVL. */
|
|
@@ -1712,6 +2057,13 @@ export interface GuestPortDevice {
|
|
|
1712
2057
|
requiredBlunuxVersion: string;
|
|
1713
2058
|
/** Detach status based on detection pin. */
|
|
1714
2059
|
detachStatus: GuestPortDetachStatus;
|
|
2060
|
+
/** Interfaces the device requires from the port. */
|
|
2061
|
+
requiredCapabilities: GuestPortCapability[];
|
|
2062
|
+
/**
|
|
2063
|
+
* Ports on this drone where the device is fully supported. Computed by the
|
|
2064
|
+
* drone from the port capabilities and the device requirements.
|
|
2065
|
+
*/
|
|
2066
|
+
compatibleGuestPorts: GuestPortNumber[];
|
|
1715
2067
|
}
|
|
1716
2068
|
/** List of guest port devices. */
|
|
1717
2069
|
export interface GuestPortDeviceList {
|
|
@@ -1726,6 +2078,8 @@ export interface GuestPortConnectorInfo {
|
|
|
1726
2078
|
error?: GuestPortError | undefined;
|
|
1727
2079
|
/** Guest port the connector is connected to. */
|
|
1728
2080
|
guestPortNumber: GuestPortNumber;
|
|
2081
|
+
/** Interfaces this port provides. */
|
|
2082
|
+
capabilities: GuestPortCapability[];
|
|
1729
2083
|
}
|
|
1730
2084
|
/** GuestPort information. */
|
|
1731
2085
|
export interface GuestPortInfo {
|
|
@@ -1735,6 +2089,12 @@ export interface GuestPortInfo {
|
|
|
1735
2089
|
gp2: GuestPortConnectorInfo | undefined;
|
|
1736
2090
|
/** Information about guest port 3. */
|
|
1737
2091
|
gp3: GuestPortConnectorInfo | undefined;
|
|
2092
|
+
/** Information about guest port 4. */
|
|
2093
|
+
gp4: GuestPortConnectorInfo | undefined;
|
|
2094
|
+
/** Information about guest port 5. */
|
|
2095
|
+
gp5: GuestPortConnectorInfo | undefined;
|
|
2096
|
+
/** Information about guest port 6. */
|
|
2097
|
+
gp6: GuestPortConnectorInfo | undefined;
|
|
1738
2098
|
}
|
|
1739
2099
|
/** GuestPort restart information. */
|
|
1740
2100
|
export interface GuestPortRestartInfo {
|
|
@@ -1779,8 +2139,38 @@ export interface GuestPortCurrent {
|
|
|
1779
2139
|
gp2Bat: number;
|
|
1780
2140
|
/** Current on GP3 battery voltage (A). */
|
|
1781
2141
|
gp3Bat: number;
|
|
1782
|
-
/** Current on common
|
|
1783
|
-
|
|
2142
|
+
/** Current on common/input 24V supply (A). Only present on X1/X3 (not X3 Ultra or X7). */
|
|
2143
|
+
gp24v: number;
|
|
2144
|
+
/** Current on GP4 battery voltage (A). */
|
|
2145
|
+
gp4Bat: number;
|
|
2146
|
+
/** Current on GP5 battery voltage (A). */
|
|
2147
|
+
gp5Bat: number;
|
|
2148
|
+
/** Current on GP6 battery voltage (A). */
|
|
2149
|
+
gp6Bat: number;
|
|
2150
|
+
/** Current on GP1 24V supply (A). */
|
|
2151
|
+
gp124v: number;
|
|
2152
|
+
/** Current on GP2 24V supply (A). */
|
|
2153
|
+
gp224v: number;
|
|
2154
|
+
/** Current on GP3 24V supply (A). */
|
|
2155
|
+
gp324v: number;
|
|
2156
|
+
/** Current on GP4 24V supply (A). */
|
|
2157
|
+
gp424v: number;
|
|
2158
|
+
/** Current on GP5 24V supply (A). */
|
|
2159
|
+
gp524v: number;
|
|
2160
|
+
/** Current on GP6 24V supply (A). */
|
|
2161
|
+
gp624v: number;
|
|
2162
|
+
/** Current on GP1 5V supply (A). */
|
|
2163
|
+
gp15v: number;
|
|
2164
|
+
/** Current on GP2 5V supply (A). */
|
|
2165
|
+
gp25v: number;
|
|
2166
|
+
/** Current on GP3 5V supply (A). */
|
|
2167
|
+
gp35v: number;
|
|
2168
|
+
/** Current on GP4 5V supply (A). */
|
|
2169
|
+
gp45v: number;
|
|
2170
|
+
/** Current on GP5 5V supply (A). */
|
|
2171
|
+
gp55v: number;
|
|
2172
|
+
/** Current on GP6 5V supply (A). */
|
|
2173
|
+
gp65v: number;
|
|
1784
2174
|
}
|
|
1785
2175
|
/** Vector with 3 elements. */
|
|
1786
2176
|
export interface Vector3 {
|
|
@@ -1858,6 +2248,16 @@ export interface MultibeamPing {
|
|
|
1858
2248
|
deviceId: GuestPortDeviceID;
|
|
1859
2249
|
/** Timestamp when the frame was generated. */
|
|
1860
2250
|
frameGenerationTimestamp: Date | undefined;
|
|
2251
|
+
/** Heading (°). */
|
|
2252
|
+
heading: number;
|
|
2253
|
+
/** Pitch (°). */
|
|
2254
|
+
pitch: number;
|
|
2255
|
+
/** Roll (°). */
|
|
2256
|
+
roll: number;
|
|
2257
|
+
/** External temperature (°C). */
|
|
2258
|
+
temperature: number;
|
|
2259
|
+
/** External pressure (bar). */
|
|
2260
|
+
pressure: number;
|
|
1861
2261
|
}
|
|
1862
2262
|
/** Configuration message for sonar devices. */
|
|
1863
2263
|
export interface MultibeamConfig {
|
|
@@ -2081,13 +2481,78 @@ export interface VideoCodecInfo {
|
|
|
2081
2481
|
vpuCodecIrqCount: number;
|
|
2082
2482
|
/** Cumulative VPU_JPG_IRQ count. */
|
|
2083
2483
|
vpuJpgIrqCount: number;
|
|
2484
|
+
/** Jetson only (host1x actmon engine utilization, 0..1). */
|
|
2485
|
+
encoderLoad: number;
|
|
2486
|
+
/** Video decoder (NVDEC) utilization (0..1). */
|
|
2487
|
+
decoderLoad: number;
|
|
2488
|
+
/** JPEG engine (NVJPG) utilization (0..1). */
|
|
2489
|
+
nvjpgLoad: number;
|
|
2490
|
+
/** Video Image Compositor (VIC) utilization (0..1). */
|
|
2491
|
+
vicLoad: number;
|
|
2492
|
+
}
|
|
2493
|
+
/**
|
|
2494
|
+
* NVMe SSD health, wear and identity (Jetson only; i.MX drones boot/store on
|
|
2495
|
+
* an SD card and have no NVMe device, so this message is omitted there).
|
|
2496
|
+
*/
|
|
2497
|
+
export interface NvmeInfo {
|
|
2498
|
+
/** Tier 1 — health & safety. */
|
|
2499
|
+
compositeTemperature: number;
|
|
2500
|
+
/** NVMe critical-warning bitfield. */
|
|
2501
|
+
criticalWarning: number;
|
|
2502
|
+
/** Wear indicator (%, may exceed 100). */
|
|
2503
|
+
percentageUsed: number;
|
|
2504
|
+
/** Remaining spare capacity (%). */
|
|
2505
|
+
availableSpare: number;
|
|
2506
|
+
/** Spare alarm threshold (%). */
|
|
2507
|
+
availableSpareThreshold: number;
|
|
2508
|
+
/** Uncorrected data-integrity errors. */
|
|
2509
|
+
mediaErrors: number;
|
|
2510
|
+
/** Power-loss / unsafe shutdown count. */
|
|
2511
|
+
unsafeShutdowns: number;
|
|
2512
|
+
/** Tier 2 — thermal throttling. */
|
|
2513
|
+
warningTempTimeMin: number;
|
|
2514
|
+
/** Minutes above the critical temperature. */
|
|
2515
|
+
criticalTempTimeMin: number;
|
|
2516
|
+
/** Times entered light throttling. */
|
|
2517
|
+
thermalMgmtT1TransCount: number;
|
|
2518
|
+
/** Times entered heavy throttling. */
|
|
2519
|
+
thermalMgmtT2TransCount: number;
|
|
2520
|
+
/** Total seconds in light throttling. */
|
|
2521
|
+
thermalMgmtT1TotalTimeS: number;
|
|
2522
|
+
/** Total seconds in heavy throttling. */
|
|
2523
|
+
thermalMgmtT2TotalTimeS: number;
|
|
2524
|
+
/** Tier 3 — endurance / workload. */
|
|
2525
|
+
dataUnitsWrittenBytes: number;
|
|
2526
|
+
/** Host data read (B). */
|
|
2527
|
+
dataUnitsReadBytes: number;
|
|
2528
|
+
/** Host write command count. */
|
|
2529
|
+
hostWriteCommands: number;
|
|
2530
|
+
/** Host read command count. */
|
|
2531
|
+
hostReadCommands: number;
|
|
2532
|
+
/** Power-on hours. */
|
|
2533
|
+
powerOnHours: number;
|
|
2534
|
+
/** Power cycle count. */
|
|
2535
|
+
powerCycles: number;
|
|
2536
|
+
/** Controller busy time (min). */
|
|
2537
|
+
controllerBusyTimeMin: number;
|
|
2538
|
+
/** Error-log entry count. */
|
|
2539
|
+
numErrLogEntries: number;
|
|
2540
|
+
/** Tier 4 — identity & capacity. */
|
|
2541
|
+
model: string;
|
|
2542
|
+
/** Drive serial number. */
|
|
2543
|
+
serial: string;
|
|
2544
|
+
/** Firmware revision. */
|
|
2545
|
+
firmwareRev: string;
|
|
2546
|
+
/** Total drive capacity (B). Partition used/free is */
|
|
2547
|
+
capacityBytes: number;
|
|
2084
2548
|
}
|
|
2085
2549
|
/**
|
|
2086
2550
|
* System performance information.
|
|
2087
2551
|
*
|
|
2088
2552
|
* 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
|
|
2553
|
+
* Covers CPU, GPU, DLA, memory, thermals, video codec utilization and NVMe
|
|
2554
|
+
* SSD state. Fields not applicable to a platform are left at their
|
|
2555
|
+
* zero/empty defaults.
|
|
2091
2556
|
*/
|
|
2092
2557
|
export interface SystemPerformanceInfo {
|
|
2093
2558
|
/** Per-core CPU utilization. */
|
|
@@ -2116,6 +2581,8 @@ export interface SystemPerformanceInfo {
|
|
|
2116
2581
|
overlayQueueLoad: number;
|
|
2117
2582
|
/** Position observer queue load (0..1). */
|
|
2118
2583
|
positionObserverQueueLoad: number;
|
|
2584
|
+
/** NVMe SSD health/identity (Jetson only). */
|
|
2585
|
+
nvme: NvmeInfo | undefined;
|
|
2119
2586
|
}
|
|
2120
2587
|
/**
|
|
2121
2588
|
* Surface Unit battery information.
|
|
@@ -2164,9 +2631,34 @@ export interface BoundingBox {
|
|
|
2164
2631
|
/** Height of the bounding box (px). */
|
|
2165
2632
|
height: number;
|
|
2166
2633
|
}
|
|
2634
|
+
/**
|
|
2635
|
+
* RLE-encoded binary segmentation mask with its own anchor box.
|
|
2636
|
+
*
|
|
2637
|
+
* The mask bitmap has dimensions (mask_width x mask_height) covering the
|
|
2638
|
+
* mask_box region of the camera image. The counts field stores run-length
|
|
2639
|
+
* encoded data as packed uint16 little-endian: alternating
|
|
2640
|
+
* background/foreground pixel runs starting with background. Runs longer
|
|
2641
|
+
* than 65535 pixels are split by inserting a zero-length run of the
|
|
2642
|
+
* opposite class (e.g. 70000 becomes 65535, 0, 4465), so decoders need no
|
|
2643
|
+
* special handling — a zero-length run just toggles the class.
|
|
2644
|
+
*
|
|
2645
|
+
* Scale the mask to mask_box, not to the detection's bounding_box: the
|
|
2646
|
+
* bounding box may be smoothed by tracking, while mask_box is pinned to the
|
|
2647
|
+
* raw detection position, so the mask stays on the actual object pixels.
|
|
2648
|
+
*/
|
|
2649
|
+
export interface SegmentationMask {
|
|
2650
|
+
/** Width of the RLE bitmap. */
|
|
2651
|
+
maskWidth: number;
|
|
2652
|
+
/** Height of the RLE bitmap. */
|
|
2653
|
+
maskHeight: number;
|
|
2654
|
+
/** RLE counts as packed uint16 little-endian. */
|
|
2655
|
+
counts: Uint8Array;
|
|
2656
|
+
/** Image region the mask bitmap covers (raw detection position, never smoothed). */
|
|
2657
|
+
maskBox: BoundingBox | undefined;
|
|
2658
|
+
}
|
|
2167
2659
|
/** A single object detection from a computer vision model. */
|
|
2168
2660
|
export interface ObjectDetection {
|
|
2169
|
-
/** Bounding box of the detected object. */
|
|
2661
|
+
/** Bounding box of the detected object (may be smoothed by tracking). */
|
|
2170
2662
|
boundingBox: BoundingBox | undefined;
|
|
2171
2663
|
/** Detection confidence score (0..1). */
|
|
2172
2664
|
confidence: number;
|
|
@@ -2176,6 +2668,8 @@ export interface ObjectDetection {
|
|
|
2176
2668
|
className: string;
|
|
2177
2669
|
/** Unique ID for tracking the same object across frames. */
|
|
2178
2670
|
trackingId: number;
|
|
2671
|
+
/** Instance segmentation mask (absent if model has no segmentation). */
|
|
2672
|
+
mask: SegmentationMask | undefined;
|
|
2179
2673
|
}
|
|
2180
2674
|
/** A list of object detections from a single model for a single video frame. */
|
|
2181
2675
|
export interface ModelDetections {
|
|
@@ -2222,6 +2716,77 @@ export interface OperatorInfo {
|
|
|
2222
2716
|
/** E-mail address of the operator. */
|
|
2223
2717
|
email: string;
|
|
2224
2718
|
}
|
|
2719
|
+
/**
|
|
2720
|
+
* Single-object tracking (SOT) state reported by the computer vision pipeline.
|
|
2721
|
+
*
|
|
2722
|
+
* The velocity fields are Kalman filter estimates expressed in the CV frame
|
|
2723
|
+
* coordinate space (image_width x image_height pixels).
|
|
2724
|
+
*/
|
|
2725
|
+
export interface SotState {
|
|
2726
|
+
/** Current tracking state. */
|
|
2727
|
+
state: SotState_State;
|
|
2728
|
+
/** Current tracked bounding box (valid when TRACKING). */
|
|
2729
|
+
boundingBox: BoundingBox | undefined;
|
|
2730
|
+
/** Width of the source frame in pixels. */
|
|
2731
|
+
imageWidth: number;
|
|
2732
|
+
/** Height of the source frame in pixels. */
|
|
2733
|
+
imageHeight: number;
|
|
2734
|
+
/** Tracker confidence of the last model update (0..1). 0 while coasting and when LOST. */
|
|
2735
|
+
confidence: number;
|
|
2736
|
+
/** Kalman velocity estimate of the bounding box centre, horizontal (px/s). */
|
|
2737
|
+
vx: number;
|
|
2738
|
+
/** Kalman velocity estimate of the bounding box centre, vertical (px/s). */
|
|
2739
|
+
vy: number;
|
|
2740
|
+
/** Kalman rate of change of the bounding box area, width * height (px²/s). */
|
|
2741
|
+
vs: number;
|
|
2742
|
+
/** Kalman rate of change of the bounding box aspect ratio, width / height (1/s). */
|
|
2743
|
+
vr: number;
|
|
2744
|
+
}
|
|
2745
|
+
/** Current state of the SOT tracker. */
|
|
2746
|
+
export declare enum SotState_State {
|
|
2747
|
+
/** STATE_UNSPECIFIED - Unspecified state. */
|
|
2748
|
+
STATE_UNSPECIFIED = 0,
|
|
2749
|
+
/** STATE_IDLE - No target selected, waiting for a target bounding box. */
|
|
2750
|
+
STATE_IDLE = 1,
|
|
2751
|
+
/** STATE_TRACKING - Actively tracking a target. */
|
|
2752
|
+
STATE_TRACKING = 2,
|
|
2753
|
+
/** STATE_LOST - Target was lost (tracker failed to follow the object). */
|
|
2754
|
+
STATE_LOST = 3,
|
|
2755
|
+
UNRECOGNIZED = -1
|
|
2756
|
+
}
|
|
2757
|
+
export declare function sotState_StateFromJSON(object: any): SotState_State;
|
|
2758
|
+
export declare function sotState_StateToJSON(object: SotState_State): string;
|
|
2759
|
+
/**
|
|
2760
|
+
* A single annotation added during a dive, e.g. by a diver tapping a type in the
|
|
2761
|
+
* app command palette, or emitted by the drone itself.
|
|
2762
|
+
*
|
|
2763
|
+
* Self-contained: it carries the type's display fields (name/icon/color) inline,
|
|
2764
|
+
* so the drone, any connected client, and the dive logfile can render it without
|
|
2765
|
+
* a separate catalog. The app keeps the full catalog locally (synced from
|
|
2766
|
+
* Blueye Cloud) to drive its palette, but only complete annotations go over the
|
|
2767
|
+
* wire. type_slug lets Blueye Cloud correlate the annotation to its type on import.
|
|
2768
|
+
*
|
|
2769
|
+
* The drone owns the timestamp: when this is logged the enclosing BinlogRecord
|
|
2770
|
+
* carries the time, like any other sample, so there is no time field here.
|
|
2771
|
+
*/
|
|
2772
|
+
export interface Annotation {
|
|
2773
|
+
/** Stable type id for grouping / Cloud correlation. Empty for a free-form annotation. */
|
|
2774
|
+
typeSlug: string;
|
|
2775
|
+
/** Type display name, e.g. "Hazard". Snapshot of the type at creation time. */
|
|
2776
|
+
typeName: string;
|
|
2777
|
+
/** Font Awesome solid icon name, kebab-case (e.g. "triangle-exclamation"). */
|
|
2778
|
+
typeIcon: string;
|
|
2779
|
+
/** Type color, RGB hex incl. leading '#', 7 chars (e.g. "#DC2626"). */
|
|
2780
|
+
typeColor: string;
|
|
2781
|
+
/** Optional annotation title; Cloud falls back to type_name if empty. Max 200 chars. */
|
|
2782
|
+
title: string;
|
|
2783
|
+
/** Optional free-form note. Unbounded. */
|
|
2784
|
+
body: string;
|
|
2785
|
+
/** Optional span; omit for a point-in-time marker. */
|
|
2786
|
+
duration: Duration | undefined;
|
|
2787
|
+
/** Origin of the annotation; the app sets APP, the drone sets DRONE for its own. */
|
|
2788
|
+
source: AnnotationSource;
|
|
2789
|
+
}
|
|
2225
2790
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
2226
2791
|
export declare const LogEntry: MessageFns<LogEntry>;
|
|
2227
2792
|
export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
|
|
@@ -2229,6 +2794,8 @@ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyV
|
|
|
2229
2794
|
export declare const MotionInput: MessageFns<MotionInput>;
|
|
2230
2795
|
export declare const Lights: MessageFns<Lights>;
|
|
2231
2796
|
export declare const Laser: MessageFns<Laser>;
|
|
2797
|
+
export declare const Point2D: MessageFns<Point2D>;
|
|
2798
|
+
export declare const LaserDetection: MessageFns<LaserDetection>;
|
|
2232
2799
|
export declare const LatLongPosition: MessageFns<LatLongPosition>;
|
|
2233
2800
|
export declare const ConnectionDuration: MessageFns<ConnectionDuration>;
|
|
2234
2801
|
export declare const AutoHeadingState: MessageFns<AutoHeadingState>;
|
|
@@ -2238,6 +2805,10 @@ export declare const StationKeepingState: MessageFns<StationKeepingState>;
|
|
|
2238
2805
|
export declare const WeatherVaningState: MessageFns<WeatherVaningState>;
|
|
2239
2806
|
export declare const AutoPilotSurgeYawState: MessageFns<AutoPilotSurgeYawState>;
|
|
2240
2807
|
export declare const AutoPilotHeaveState: MessageFns<AutoPilotHeaveState>;
|
|
2808
|
+
export declare const SpotlightState: MessageFns<SpotlightState>;
|
|
2809
|
+
export declare const ActiveTrackState: MessageFns<ActiveTrackState>;
|
|
2810
|
+
export declare const OrbitState: MessageFns<OrbitState>;
|
|
2811
|
+
export declare const VisionTrackingState: MessageFns<VisionTrackingState>;
|
|
2241
2812
|
export declare const ControlMode: MessageFns<ControlMode>;
|
|
2242
2813
|
export declare const TiltStabilizationState: MessageFns<TiltStabilizationState>;
|
|
2243
2814
|
export declare const SystemTime: MessageFns<SystemTime>;
|
|
@@ -2285,6 +2856,8 @@ export declare const IperfStatus: MessageFns<IperfStatus>;
|
|
|
2285
2856
|
export declare const NStreamers: MessageFns<NStreamers>;
|
|
2286
2857
|
export declare const TiltAngle: MessageFns<TiltAngle>;
|
|
2287
2858
|
export declare const TiltVelocity: MessageFns<TiltVelocity>;
|
|
2859
|
+
export declare const CvModelInfo: MessageFns<CvModelInfo>;
|
|
2860
|
+
export declare const CameraCalibration: MessageFns<CameraCalibration>;
|
|
2288
2861
|
export declare const DroneInfo: MessageFns<DroneInfo>;
|
|
2289
2862
|
export declare const ErrorFlags: MessageFns<ErrorFlags>;
|
|
2290
2863
|
export declare const CameraParameters: MessageFns<CameraParameters>;
|
|
@@ -2317,15 +2890,19 @@ export declare const DlaInfo: MessageFns<DlaInfo>;
|
|
|
2317
2890
|
export declare const MemoryInfo: MessageFns<MemoryInfo>;
|
|
2318
2891
|
export declare const ThermalZone: MessageFns<ThermalZone>;
|
|
2319
2892
|
export declare const VideoCodecInfo: MessageFns<VideoCodecInfo>;
|
|
2893
|
+
export declare const NvmeInfo: MessageFns<NvmeInfo>;
|
|
2320
2894
|
export declare const SystemPerformanceInfo: MessageFns<SystemPerformanceInfo>;
|
|
2321
2895
|
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2322
2896
|
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
2323
2897
|
export declare const BoundingBox: MessageFns<BoundingBox>;
|
|
2898
|
+
export declare const SegmentationMask: MessageFns<SegmentationMask>;
|
|
2324
2899
|
export declare const ObjectDetection: MessageFns<ObjectDetection>;
|
|
2325
2900
|
export declare const ModelDetections: MessageFns<ModelDetections>;
|
|
2326
2901
|
export declare const FilterMessage: MessageFns<FilterMessage>;
|
|
2327
2902
|
export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
|
|
2328
2903
|
export declare const OperatorInfo: MessageFns<OperatorInfo>;
|
|
2904
|
+
export declare const SotState: MessageFns<SotState>;
|
|
2905
|
+
export declare const Annotation: MessageFns<Annotation>;
|
|
2329
2906
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
2330
2907
|
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
2908
|
[K in keyof T]?: DeepPartial<T[K]>;
|