@blueyerobotics/protocol-definitions 3.3.0-991d560c → 3.3.0-9bfb9893
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 +31 -2
- package/dist/control.js +147 -3
- package/dist/message_formats.d.ts +280 -12
- package/dist/message_formats.js +2078 -410
- package/dist/req_rep.d.ts +30 -2
- package/dist/req_rep.js +202 -2
- package/dist/telemetry.d.ts +31 -1
- package/dist/telemetry.js +233 -2
- package/package.json +1 -1
|
@@ -6,6 +6,32 @@ import { Duration } from "./google/protobuf/duration";
|
|
|
6
6
|
*
|
|
7
7
|
* These are used for logging as well as building requests and responses.
|
|
8
8
|
*/
|
|
9
|
+
/** How the arm input of the last command was read, as reported in telemetry. */
|
|
10
|
+
export declare enum ManipulatorControlMode {
|
|
11
|
+
/** MANIPULATOR_CONTROL_MODE_UNSPECIFIED - No arm input. */
|
|
12
|
+
MANIPULATOR_CONTROL_MODE_UNSPECIFIED = 0,
|
|
13
|
+
/** MANIPULATOR_CONTROL_MODE_CYLINDRICAL - CylindricalManipulatorInput. */
|
|
14
|
+
MANIPULATOR_CONTROL_MODE_CYLINDRICAL = 1,
|
|
15
|
+
/** MANIPULATOR_CONTROL_MODE_CARTESIAN - CartesianManipulatorInput. */
|
|
16
|
+
MANIPULATOR_CONTROL_MODE_CARTESIAN = 2,
|
|
17
|
+
/** MANIPULATOR_CONTROL_MODE_KNOWN_POSE - KnownPoseManipulatorInput. */
|
|
18
|
+
MANIPULATOR_CONTROL_MODE_KNOWN_POSE = 3,
|
|
19
|
+
UNRECOGNIZED = -1
|
|
20
|
+
}
|
|
21
|
+
export declare function manipulatorControlModeFromJSON(object: any): ManipulatorControlMode;
|
|
22
|
+
export declare function manipulatorControlModeToJSON(object: ManipulatorControlMode): string;
|
|
23
|
+
/** Named manipulator poses. */
|
|
24
|
+
export declare enum ManipulatorPose {
|
|
25
|
+
/** MANIPULATOR_POSE_UNSPECIFIED - No pose. */
|
|
26
|
+
MANIPULATOR_POSE_UNSPECIFIED = 0,
|
|
27
|
+
/** MANIPULATOR_POSE_STOWED - Folded for transport, launch and recovery. */
|
|
28
|
+
MANIPULATOR_POSE_STOWED = 1,
|
|
29
|
+
/** MANIPULATOR_POSE_DEPLOYED - Unfolded and ready to work. */
|
|
30
|
+
MANIPULATOR_POSE_DEPLOYED = 2,
|
|
31
|
+
UNRECOGNIZED = -1
|
|
32
|
+
}
|
|
33
|
+
export declare function manipulatorPoseFromJSON(object: any): ManipulatorPose;
|
|
34
|
+
export declare function manipulatorPoseToJSON(object: ManipulatorPose): string;
|
|
9
35
|
/** Interval type for time-lapse photos. */
|
|
10
36
|
export declare enum IntervalType {
|
|
11
37
|
/** INTERVAL_TYPE_UNSPECIFIED - Unspecified. */
|
|
@@ -138,6 +164,8 @@ export declare enum NotificationType {
|
|
|
138
164
|
NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED = 32,
|
|
139
165
|
/** NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED - Video partition not mounted. */
|
|
140
166
|
NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED = 33,
|
|
167
|
+
/** NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED - DVL firmware speaks a protocol version Blunux does not support. */
|
|
168
|
+
NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED = 34,
|
|
141
169
|
UNRECOGNIZED = -1
|
|
142
170
|
}
|
|
143
171
|
export declare function notificationTypeFromJSON(object: any): NotificationType;
|
|
@@ -250,17 +278,19 @@ export declare function resolutionToJSON(object: Resolution): string;
|
|
|
250
278
|
* Available camera frame rates.
|
|
251
279
|
*
|
|
252
280
|
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
253
|
-
* the frame rate will be reduced while the resolution is respected.
|
|
281
|
+
* the frame rate will be reduced while the resolution is respected: 60 to 30 and 50 to 25.
|
|
254
282
|
*/
|
|
255
283
|
export declare enum Framerate {
|
|
256
284
|
/** FRAMERATE_UNSPECIFIED - Framerate not specified. */
|
|
257
285
|
FRAMERATE_UNSPECIFIED = 0,
|
|
258
286
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
259
287
|
FRAMERATE_FPS_30 = 1,
|
|
260
|
-
/** FRAMERATE_FPS_25 - 25 frames per second.
|
|
288
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
261
289
|
FRAMERATE_FPS_25 = 2,
|
|
262
290
|
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
263
291
|
FRAMERATE_FPS_60 = 3,
|
|
292
|
+
/** FRAMERATE_FPS_50 - 50 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
293
|
+
FRAMERATE_FPS_50 = 4,
|
|
264
294
|
UNRECOGNIZED = -1
|
|
265
295
|
}
|
|
266
296
|
export declare function framerateFromJSON(object: any): Framerate;
|
|
@@ -352,7 +382,10 @@ export declare function thicknessUnitFromJSON(object: any): ThicknessUnit;
|
|
|
352
382
|
export declare function thicknessUnitToJSON(object: ThicknessUnit): string;
|
|
353
383
|
/** Available font sizes for overlay text elements. */
|
|
354
384
|
export declare enum FontSize {
|
|
355
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* FONT_SIZE_UNSPECIFIED - Font size and margins derived from the recording resolution (Blunux >= 5.2).
|
|
387
|
+
* Older firmware defaults to 25px.
|
|
388
|
+
*/
|
|
356
389
|
FONT_SIZE_UNSPECIFIED = 0,
|
|
357
390
|
/** FONT_SIZE_PX15 - 15 px. */
|
|
358
391
|
FONT_SIZE_PX15 = 1,
|
|
@@ -479,6 +512,10 @@ export declare enum GuestPortDeviceID {
|
|
|
479
512
|
GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 = 49,
|
|
480
513
|
/** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
|
|
481
514
|
GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 = 50,
|
|
515
|
+
/** GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200 - Outland Technology MP-200 Manipulator. */
|
|
516
|
+
GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200 = 51,
|
|
517
|
+
/** GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5 - Reach Robotics Reach Alpha 5 Manipulator. */
|
|
518
|
+
GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5 = 52,
|
|
482
519
|
UNRECOGNIZED = -1
|
|
483
520
|
}
|
|
484
521
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -552,6 +589,36 @@ export declare enum NavigationSensorID {
|
|
|
552
589
|
}
|
|
553
590
|
export declare function navigationSensorIDFromJSON(object: any): NavigationSensorID;
|
|
554
591
|
export declare function navigationSensorIDToJSON(object: NavigationSensorID): string;
|
|
592
|
+
/** Position fix mode reported by the NMEA GSA sentence. */
|
|
593
|
+
export declare enum GnssFixMode {
|
|
594
|
+
/** GNSS_FIX_MODE_UNSPECIFIED - No GSA sentence has been received. */
|
|
595
|
+
GNSS_FIX_MODE_UNSPECIFIED = 0,
|
|
596
|
+
/** GNSS_FIX_MODE_NO_FIX - The receiver has no position fix. */
|
|
597
|
+
GNSS_FIX_MODE_NO_FIX = 1,
|
|
598
|
+
/** GNSS_FIX_MODE_2D - Horizontal fix only, no usable altitude. */
|
|
599
|
+
GNSS_FIX_MODE_2D = 2,
|
|
600
|
+
/** GNSS_FIX_MODE_3D - Full three dimensional fix. */
|
|
601
|
+
GNSS_FIX_MODE_3D = 3,
|
|
602
|
+
UNRECOGNIZED = -1
|
|
603
|
+
}
|
|
604
|
+
export declare function gnssFixModeFromJSON(object: any): GnssFixMode;
|
|
605
|
+
export declare function gnssFixModeToJSON(object: GnssFixMode): string;
|
|
606
|
+
/** GNSS constellation a satellite belongs to. */
|
|
607
|
+
export declare enum GnssConstellation {
|
|
608
|
+
/** GNSS_CONSTELLATION_UNSPECIFIED - Unspecified. */
|
|
609
|
+
GNSS_CONSTELLATION_UNSPECIFIED = 0,
|
|
610
|
+
/** GNSS_CONSTELLATION_GPS - GPS. */
|
|
611
|
+
GNSS_CONSTELLATION_GPS = 1,
|
|
612
|
+
/** GNSS_CONSTELLATION_GLONASS - GLONASS. */
|
|
613
|
+
GNSS_CONSTELLATION_GLONASS = 2,
|
|
614
|
+
/** GNSS_CONSTELLATION_GALILEO - Galileo. */
|
|
615
|
+
GNSS_CONSTELLATION_GALILEO = 3,
|
|
616
|
+
/** GNSS_CONSTELLATION_BEIDOU - BeiDou. */
|
|
617
|
+
GNSS_CONSTELLATION_BEIDOU = 4,
|
|
618
|
+
UNRECOGNIZED = -1
|
|
619
|
+
}
|
|
620
|
+
export declare function gnssConstellationFromJSON(object: any): GnssConstellation;
|
|
621
|
+
export declare function gnssConstellationToJSON(object: GnssConstellation): string;
|
|
555
622
|
/** Status for guest port devices that can be attached and detached. */
|
|
556
623
|
export declare enum GuestPortDetachStatus {
|
|
557
624
|
/** GUEST_PORT_DETACH_STATUS_UNSPECIFIED - Unspecified (Default for non-detachable devices). */
|
|
@@ -752,7 +819,7 @@ export interface MotionInput {
|
|
|
752
819
|
roll: number;
|
|
753
820
|
/** Pitch down (negative) or up (positive). (-1..1). */
|
|
754
821
|
pitch: number;
|
|
755
|
-
/**
|
|
822
|
+
/** Clockwise (positive) and counter-clockwise (negative) rotation (-1..1). */
|
|
756
823
|
yaw: number;
|
|
757
824
|
/** Modifier used to reduce the speed of the motion (0..1). */
|
|
758
825
|
slow: number;
|
|
@@ -967,6 +1034,63 @@ export interface GripperVelocities {
|
|
|
967
1034
|
/** The rotating velocity (-1.0..1.0). */
|
|
968
1035
|
rotateVelocity: number;
|
|
969
1036
|
}
|
|
1037
|
+
/**
|
|
1038
|
+
* Cartesian velocity of the end of a manipulator arm, in the drone body frame.
|
|
1039
|
+
*
|
|
1040
|
+
* Each value is normalized (-1.0..1.0) and scaled by the drone to its configured maximum speed.
|
|
1041
|
+
*/
|
|
1042
|
+
export interface CartesianManipulatorInput {
|
|
1043
|
+
/** Forward (positive) and backward (negative). */
|
|
1044
|
+
x: number;
|
|
1045
|
+
/** Right (positive) and left (negative). */
|
|
1046
|
+
y: number;
|
|
1047
|
+
/** Down (positive) and up (negative). */
|
|
1048
|
+
z: number;
|
|
1049
|
+
}
|
|
1050
|
+
/**
|
|
1051
|
+
* Cylindrical velocity of the end of a manipulator arm, about the axis of the arm's base joint.
|
|
1052
|
+
*
|
|
1053
|
+
* Each value is normalized (-1.0..1.0) and scaled by the drone to its configured maximum speed.
|
|
1054
|
+
*/
|
|
1055
|
+
export interface CylindricalManipulatorInput {
|
|
1056
|
+
/** Out from the base axis (positive) and in towards it (negative). */
|
|
1057
|
+
radial: number;
|
|
1058
|
+
/** Along the base axis: down (positive) and up (negative), as in the drone body frame. */
|
|
1059
|
+
vertical: number;
|
|
1060
|
+
/** Swing about the base axis: clockwise seen from above (positive). */
|
|
1061
|
+
azimuth: number;
|
|
1062
|
+
}
|
|
1063
|
+
/**
|
|
1064
|
+
* Movement of a manipulator arm towards a named pose, along a path the drone chooses.
|
|
1065
|
+
*
|
|
1066
|
+
* Hold-to-run: the arm moves only while the velocity is above zero, and resumes from wherever it
|
|
1067
|
+
* stopped.
|
|
1068
|
+
*/
|
|
1069
|
+
export interface KnownPoseManipulatorInput {
|
|
1070
|
+
/** The pose to move towards. */
|
|
1071
|
+
pose: ManipulatorPose;
|
|
1072
|
+
/** Speed along the path (0.0..1.0): 0 holds the arm where it is. */
|
|
1073
|
+
velocity: number;
|
|
1074
|
+
}
|
|
1075
|
+
/** Gripper state: of its arm too, when the gripper is a manipulator arm. */
|
|
1076
|
+
export interface Gripper {
|
|
1077
|
+
/** How the arm input of the last command was read. */
|
|
1078
|
+
mode: ManipulatorControlMode;
|
|
1079
|
+
/** Joint positions from the jaws to the base: jaws opening (m), then joint angles (rad). */
|
|
1080
|
+
jointPositions: number[];
|
|
1081
|
+
/** Position of the base of the jaws in the drone body frame (m). */
|
|
1082
|
+
endPosition: Vector3 | undefined;
|
|
1083
|
+
/** A joint at the end of its range keeps the arm from going further. */
|
|
1084
|
+
atLimit: boolean;
|
|
1085
|
+
/** The arm stopped itself short of an obstacle or of itself. */
|
|
1086
|
+
collision: boolean;
|
|
1087
|
+
/** The jaws closed on something. */
|
|
1088
|
+
holding: boolean;
|
|
1089
|
+
/** A joint reports a hardware fault. */
|
|
1090
|
+
fault: boolean;
|
|
1091
|
+
/** Named pose the arm is moving towards, if any. */
|
|
1092
|
+
movingTo: ManipulatorPose;
|
|
1093
|
+
}
|
|
970
1094
|
/** Information about a remote client. */
|
|
971
1095
|
export interface ClientInfo {
|
|
972
1096
|
/** The type of client (such as Blueye App, Observer App, SDK, etc). */
|
|
@@ -1085,6 +1209,20 @@ export interface CanisterHumidity {
|
|
|
1085
1209
|
/** Air humidity (%). */
|
|
1086
1210
|
humidity: number;
|
|
1087
1211
|
}
|
|
1212
|
+
/** Sensor readings inside the X7 power canister. */
|
|
1213
|
+
export interface PowerCanister {
|
|
1214
|
+
/** Front ESC board; absent when no recent reading is available. */
|
|
1215
|
+
frontEsc: PowerCanister_Sensors | undefined;
|
|
1216
|
+
/** Rear ESC board; absent when no recent reading is available. */
|
|
1217
|
+
rearEsc: PowerCanister_Sensors | undefined;
|
|
1218
|
+
}
|
|
1219
|
+
/** Sensor readings from an ESC board. */
|
|
1220
|
+
export interface PowerCanister_Sensors {
|
|
1221
|
+
/** Temperature (°C). */
|
|
1222
|
+
temperature: number;
|
|
1223
|
+
/** Relative humidity (%). */
|
|
1224
|
+
humidity: number;
|
|
1225
|
+
}
|
|
1088
1226
|
/** Essential battery information. */
|
|
1089
1227
|
export interface Battery {
|
|
1090
1228
|
/** Battery voltage (V). */
|
|
@@ -1902,12 +2040,22 @@ export interface ErrorFlags {
|
|
|
1902
2040
|
dvlThermalProtectionMode: boolean;
|
|
1903
2041
|
/** GP protection has been triggered at boot or faulty DVL. */
|
|
1904
2042
|
dvlNoPower: boolean;
|
|
2043
|
+
/** DVL firmware speaks a protocol version Blunux does not support. */
|
|
2044
|
+
dvlProtocolUnsupported: boolean;
|
|
1905
2045
|
/** USB disconnect. */
|
|
1906
2046
|
usbDisconnect: boolean;
|
|
1907
2047
|
/** Video URB error. */
|
|
1908
2048
|
videoUrbError: boolean;
|
|
1909
2049
|
/** Hardware not supported on current blunux version. */
|
|
1910
2050
|
hardwareNotSupported: boolean;
|
|
2051
|
+
/** MPU 1 unavailable at observer startup. */
|
|
2052
|
+
imu1: boolean;
|
|
2053
|
+
/** MPU 2 unavailable at observer startup. */
|
|
2054
|
+
imu2: boolean;
|
|
2055
|
+
/** HP IMU unavailable on X3 Ultra or X7. */
|
|
2056
|
+
imuHp: boolean;
|
|
2057
|
+
/** No attitude source: manual body-frame control only. */
|
|
2058
|
+
imuAttitude: boolean;
|
|
1911
2059
|
}
|
|
1912
2060
|
/** Camera parameters. */
|
|
1913
2061
|
export interface CameraParameters {
|
|
@@ -2007,11 +2155,14 @@ export interface OverlayParameters {
|
|
|
2007
2155
|
thicknessUnit: ThicknessUnit;
|
|
2008
2156
|
/** Timezone offset from UTC (min). */
|
|
2009
2157
|
timezoneOffset: number;
|
|
2010
|
-
/** Horizontal margins of text elements (px). */
|
|
2158
|
+
/** Horizontal margins of text elements (px). Ignored when font_size is FONT_SIZE_UNSPECIFIED (Blunux >= 5.2). */
|
|
2011
2159
|
marginWidth: number;
|
|
2012
|
-
/** Vertical margins of text elements (px). */
|
|
2160
|
+
/** Vertical margins of text elements (px). Ignored when font_size is FONT_SIZE_UNSPECIFIED (Blunux >= 5.2). */
|
|
2013
2161
|
marginHeight: number;
|
|
2014
|
-
/**
|
|
2162
|
+
/**
|
|
2163
|
+
* Font size of text elements. FONT_SIZE_UNSPECIFIED derives font size and margins from the
|
|
2164
|
+
* recording resolution (Blunux >= 5.2). Older firmware defaults to 25px.
|
|
2165
|
+
*/
|
|
2015
2166
|
fontSize: FontSize;
|
|
2016
2167
|
/** Optional title. */
|
|
2017
2168
|
title: string;
|
|
@@ -2041,6 +2192,86 @@ export interface NavigationSensorStatus {
|
|
|
2041
2192
|
/** Global position from sensor. */
|
|
2042
2193
|
globalPosition: LatLongPosition | undefined;
|
|
2043
2194
|
}
|
|
2195
|
+
/** Satellite tracked by the Blueye GNSS receiver. */
|
|
2196
|
+
export interface GnssSatellite {
|
|
2197
|
+
/** Constellation the satellite belongs to. */
|
|
2198
|
+
constellation: GnssConstellation;
|
|
2199
|
+
/** Satellite id within the constellation. */
|
|
2200
|
+
satelliteId: number;
|
|
2201
|
+
/** Carrier to noise ratio (dB-Hz). */
|
|
2202
|
+
snr: number;
|
|
2203
|
+
/** Elevation above the horizon (°, 0..90), or -1 when the receiver did not report it. */
|
|
2204
|
+
elevation: number;
|
|
2205
|
+
/** Azimuth clockwise from true north (°, 0..359), or -1 when the receiver did not report it. */
|
|
2206
|
+
azimuth: number;
|
|
2207
|
+
/** Whether GSA lists the satellite as used in the fix. Only meaningful if is_used_in_fix_valid. */
|
|
2208
|
+
usedInFix: boolean;
|
|
2209
|
+
}
|
|
2210
|
+
/** Status of the onboard Blueye GNSS receiver and its driver. */
|
|
2211
|
+
export interface GnssStatus {
|
|
2212
|
+
/** True when the receiver is connected and producing NMEA sentences. */
|
|
2213
|
+
receiverConnected: boolean;
|
|
2214
|
+
/** NMEA GGA fix quality indicator (0 = no fix). */
|
|
2215
|
+
fixQuality: number;
|
|
2216
|
+
/** True when the receiver reports a usable position fix. */
|
|
2217
|
+
isValid: boolean;
|
|
2218
|
+
/** Number of satellites used in the position fix. */
|
|
2219
|
+
satellitesUsed: number;
|
|
2220
|
+
/** Satellites in the satellites list: those with a signal in the latest GSV burst. */
|
|
2221
|
+
satellitesTracked: number;
|
|
2222
|
+
/** Satellites predicted above the horizon, over all constellations; needs no signal. */
|
|
2223
|
+
satellitesInView: number;
|
|
2224
|
+
/** True when GSA could be attributed to a constellation, making used_in_fix usable. */
|
|
2225
|
+
isUsedInFixValid: boolean;
|
|
2226
|
+
/** Fix mode from GSA (2D/3D). */
|
|
2227
|
+
fixMode: GnssFixMode;
|
|
2228
|
+
/** Horizontal dilution of precision. */
|
|
2229
|
+
hdop: number;
|
|
2230
|
+
/** Position (3D) dilution of precision, from GSA. */
|
|
2231
|
+
pdop: number;
|
|
2232
|
+
/** Vertical dilution of precision, from GSA. */
|
|
2233
|
+
vdop: number;
|
|
2234
|
+
/** Reported global position. */
|
|
2235
|
+
globalPosition: LatLongPosition | undefined;
|
|
2236
|
+
/** Altitude above mean sea level (m), from GGA. */
|
|
2237
|
+
altitude: number;
|
|
2238
|
+
/** Standard deviation of the latitude (m). Meaningless unless is_accuracy_valid. */
|
|
2239
|
+
stddevLatitude: number;
|
|
2240
|
+
/** Standard deviation of the longitude (m). Meaningless unless is_accuracy_valid. */
|
|
2241
|
+
stddevLongitude: number;
|
|
2242
|
+
/** Standard deviation of the altitude (m). Meaningless unless is_accuracy_valid. */
|
|
2243
|
+
stddevAltitude: number;
|
|
2244
|
+
/** Semi-major axis of the horizontal error ellipse (m). */
|
|
2245
|
+
stddevSemiMajor: number;
|
|
2246
|
+
/** Semi-minor axis of the horizontal error ellipse (m). */
|
|
2247
|
+
stddevSemiMinor: number;
|
|
2248
|
+
/** Orientation of the semi-major axis, clockwise from true north (°). */
|
|
2249
|
+
errorEllipseOrientation: number;
|
|
2250
|
+
/** RMS of the range residuals (m), from GST. */
|
|
2251
|
+
rangeRms: number;
|
|
2252
|
+
/** True once the receiver has reported a GST sentence to derive the deviations from. */
|
|
2253
|
+
isAccuracyValid: boolean;
|
|
2254
|
+
/** Course over ground (°). Meaningless unless is_course_valid. */
|
|
2255
|
+
courseOverGround: number;
|
|
2256
|
+
/** True when the fix is valid and the receiver actually reported a course. */
|
|
2257
|
+
isCourseValid: boolean;
|
|
2258
|
+
/** Speed over ground (m/s). */
|
|
2259
|
+
speedOverGround: number;
|
|
2260
|
+
/** Age of the differential corrections (s), or -1 without DGPS/RTK. */
|
|
2261
|
+
differentialAge: number;
|
|
2262
|
+
/** Id of the station supplying the differential corrections, or -1 when absent. */
|
|
2263
|
+
differentialStation: number;
|
|
2264
|
+
/** Serial baud rate in use (bit/s). */
|
|
2265
|
+
baudRate: number;
|
|
2266
|
+
/** Times the driver has reconnected to the receiver since boot. */
|
|
2267
|
+
reconnectCount: number;
|
|
2268
|
+
/** Receive errors seen by the driver since boot. */
|
|
2269
|
+
receiveErrorCount: number;
|
|
2270
|
+
/** Time since the last NMEA sentence was received (s). */
|
|
2271
|
+
timeSinceLastSentence: number;
|
|
2272
|
+
/** Satellites currently tracked with signal strength. */
|
|
2273
|
+
satellites: GnssSatellite[];
|
|
2274
|
+
}
|
|
2044
2275
|
/** Information about a device connected to one of the guest ports. */
|
|
2045
2276
|
export interface GuestPortDevice {
|
|
2046
2277
|
/** Blueye device identifier. */
|
|
@@ -2337,6 +2568,17 @@ export interface MultibeamDiscovery {
|
|
|
2337
2568
|
/** Error flags specific for the connected multibeam device. */
|
|
2338
2569
|
errorFlags: MultibeamErrorFlags | undefined;
|
|
2339
2570
|
}
|
|
2571
|
+
/**
|
|
2572
|
+
* Color filter used to render the multibeam sonar fan.
|
|
2573
|
+
*
|
|
2574
|
+
* The fan renderer maps each echo intensity (0..255) to a color through this
|
|
2575
|
+
* lookup table. The drone keeps the last filter received in memory and applies
|
|
2576
|
+
* it to the sonar RTSP stream; grayscale is used until one is set.
|
|
2577
|
+
*/
|
|
2578
|
+
export interface MultibeamColorFilter {
|
|
2579
|
+
/** 768 bytes: 256 consecutive R,G,B triplets, indexed by echo intensity. */
|
|
2580
|
+
rgb: Uint8Array;
|
|
2581
|
+
}
|
|
2340
2582
|
/** Error flags for multibeam sonar devices. */
|
|
2341
2583
|
export interface MultibeamErrorFlags {
|
|
2342
2584
|
/**
|
|
@@ -2632,12 +2874,19 @@ export interface BoundingBox {
|
|
|
2632
2874
|
height: number;
|
|
2633
2875
|
}
|
|
2634
2876
|
/**
|
|
2635
|
-
* RLE-encoded binary segmentation mask
|
|
2877
|
+
* RLE-encoded binary segmentation mask with its own anchor box.
|
|
2636
2878
|
*
|
|
2637
2879
|
* The mask bitmap has dimensions (mask_width x mask_height) covering the
|
|
2638
|
-
*
|
|
2639
|
-
* data as packed uint16 little-endian: alternating
|
|
2640
|
-
* pixel runs starting with background.
|
|
2880
|
+
* mask_box region of the camera image. The counts field stores run-length
|
|
2881
|
+
* encoded data as packed uint16 little-endian: alternating
|
|
2882
|
+
* background/foreground pixel runs starting with background. Runs longer
|
|
2883
|
+
* than 65535 pixels are split by inserting a zero-length run of the
|
|
2884
|
+
* opposite class (e.g. 70000 becomes 65535, 0, 4465), so decoders need no
|
|
2885
|
+
* special handling — a zero-length run just toggles the class.
|
|
2886
|
+
*
|
|
2887
|
+
* Scale the mask to mask_box, not to the detection's bounding_box: the
|
|
2888
|
+
* bounding box may be smoothed by tracking, while mask_box is pinned to the
|
|
2889
|
+
* raw detection position, so the mask stays on the actual object pixels.
|
|
2641
2890
|
*/
|
|
2642
2891
|
export interface SegmentationMask {
|
|
2643
2892
|
/** Width of the RLE bitmap. */
|
|
@@ -2646,10 +2895,12 @@ export interface SegmentationMask {
|
|
|
2646
2895
|
maskHeight: number;
|
|
2647
2896
|
/** RLE counts as packed uint16 little-endian. */
|
|
2648
2897
|
counts: Uint8Array;
|
|
2898
|
+
/** Image region the mask bitmap covers (raw detection position, never smoothed). */
|
|
2899
|
+
maskBox: BoundingBox | undefined;
|
|
2649
2900
|
}
|
|
2650
2901
|
/** A single object detection from a computer vision model. */
|
|
2651
2902
|
export interface ObjectDetection {
|
|
2652
|
-
/** Bounding box of the detected object. */
|
|
2903
|
+
/** Bounding box of the detected object (may be smoothed by tracking). */
|
|
2653
2904
|
boundingBox: BoundingBox | undefined;
|
|
2654
2905
|
/** Detection confidence score (0..1). */
|
|
2655
2906
|
confidence: number;
|
|
@@ -2682,6 +2933,13 @@ export interface FilterMessage {
|
|
|
2682
2933
|
/** Intensity of the filter (0..1). */
|
|
2683
2934
|
intensity: number;
|
|
2684
2935
|
}
|
|
2936
|
+
/** Frames that the marine snow filter compares each frame with. */
|
|
2937
|
+
export interface MarineSnowFilterFrames {
|
|
2938
|
+
/** Past frames to compare with (1..4). */
|
|
2939
|
+
pastFrames: number;
|
|
2940
|
+
/** Future frames to compare with (0..2). Each one delays the video by 33 to 40 ms. */
|
|
2941
|
+
futureFrames: number;
|
|
2942
|
+
}
|
|
2685
2943
|
/**
|
|
2686
2944
|
* Digital pan, tilt, and zoom state for the main camera.
|
|
2687
2945
|
*
|
|
@@ -2804,6 +3062,10 @@ export declare const ControlMode: MessageFns<ControlMode>;
|
|
|
2804
3062
|
export declare const TiltStabilizationState: MessageFns<TiltStabilizationState>;
|
|
2805
3063
|
export declare const SystemTime: MessageFns<SystemTime>;
|
|
2806
3064
|
export declare const GripperVelocities: MessageFns<GripperVelocities>;
|
|
3065
|
+
export declare const CartesianManipulatorInput: MessageFns<CartesianManipulatorInput>;
|
|
3066
|
+
export declare const CylindricalManipulatorInput: MessageFns<CylindricalManipulatorInput>;
|
|
3067
|
+
export declare const KnownPoseManipulatorInput: MessageFns<KnownPoseManipulatorInput>;
|
|
3068
|
+
export declare const Gripper: MessageFns<Gripper>;
|
|
2807
3069
|
export declare const ClientInfo: MessageFns<ClientInfo>;
|
|
2808
3070
|
export declare const ConnectedClient: MessageFns<ConnectedClient>;
|
|
2809
3071
|
export declare const RecordState: MessageFns<RecordState>;
|
|
@@ -2814,6 +3076,8 @@ export declare const WaterTemperature: MessageFns<WaterTemperature>;
|
|
|
2814
3076
|
export declare const CPUTemperature: MessageFns<CPUTemperature>;
|
|
2815
3077
|
export declare const CanisterTemperature: MessageFns<CanisterTemperature>;
|
|
2816
3078
|
export declare const CanisterHumidity: MessageFns<CanisterHumidity>;
|
|
3079
|
+
export declare const PowerCanister: MessageFns<PowerCanister>;
|
|
3080
|
+
export declare const PowerCanister_Sensors: MessageFns<PowerCanister_Sensors>;
|
|
2817
3081
|
export declare const Battery: MessageFns<Battery>;
|
|
2818
3082
|
export declare const BatteryBQ40Z50: MessageFns<BatteryBQ40Z50>;
|
|
2819
3083
|
export declare const BatteryBQ40Z50_Voltage: MessageFns<BatteryBQ40Z50_Voltage>;
|
|
@@ -2854,6 +3118,8 @@ export declare const ErrorFlags: MessageFns<ErrorFlags>;
|
|
|
2854
3118
|
export declare const CameraParameters: MessageFns<CameraParameters>;
|
|
2855
3119
|
export declare const OverlayParameters: MessageFns<OverlayParameters>;
|
|
2856
3120
|
export declare const NavigationSensorStatus: MessageFns<NavigationSensorStatus>;
|
|
3121
|
+
export declare const GnssSatellite: MessageFns<GnssSatellite>;
|
|
3122
|
+
export declare const GnssStatus: MessageFns<GnssStatus>;
|
|
2857
3123
|
export declare const GuestPortDevice: MessageFns<GuestPortDevice>;
|
|
2858
3124
|
export declare const GuestPortDeviceList: MessageFns<GuestPortDeviceList>;
|
|
2859
3125
|
export declare const GuestPortConnectorInfo: MessageFns<GuestPortConnectorInfo>;
|
|
@@ -2870,6 +3136,7 @@ export declare const MedusaSpectrometerData: MessageFns<MedusaSpectrometerData>;
|
|
|
2870
3136
|
export declare const MultibeamPing: MessageFns<MultibeamPing>;
|
|
2871
3137
|
export declare const MultibeamConfig: MessageFns<MultibeamConfig>;
|
|
2872
3138
|
export declare const MultibeamDiscovery: MessageFns<MultibeamDiscovery>;
|
|
3139
|
+
export declare const MultibeamColorFilter: MessageFns<MultibeamColorFilter>;
|
|
2873
3140
|
export declare const MultibeamErrorFlags: MessageFns<MultibeamErrorFlags>;
|
|
2874
3141
|
export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
2875
3142
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
@@ -2890,6 +3157,7 @@ export declare const SegmentationMask: MessageFns<SegmentationMask>;
|
|
|
2890
3157
|
export declare const ObjectDetection: MessageFns<ObjectDetection>;
|
|
2891
3158
|
export declare const ModelDetections: MessageFns<ModelDetections>;
|
|
2892
3159
|
export declare const FilterMessage: MessageFns<FilterMessage>;
|
|
3160
|
+
export declare const MarineSnowFilterFrames: MessageFns<MarineSnowFilterFrames>;
|
|
2893
3161
|
export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
|
|
2894
3162
|
export declare const OperatorInfo: MessageFns<OperatorInfo>;
|
|
2895
3163
|
export declare const SotState: MessageFns<SotState>;
|