@blueyerobotics/protocol-definitions 3.3.0-fe575d02 → 3.4.0-01d6bec3
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/README.md +24 -0
- package/README.npm.md +24 -0
- package/dist/aquatroll.js +113 -132
- package/dist/control.d.ts +32 -3
- package/dist/control.js +539 -399
- package/dist/google/protobuf/any.js +5 -8
- package/dist/google/protobuf/duration.js +5 -8
- package/dist/google/protobuf/timestamp.js +5 -8
- package/dist/index.blueye.d.ts +1 -1
- package/dist/index.blueye.js +1 -37
- package/dist/index.blueye.protocol.d.ts +6 -6
- package/dist/index.blueye.protocol.js +6 -22
- package/dist/index.d.ts +2 -2
- package/dist/index.google.d.ts +1 -1
- package/dist/index.google.js +1 -37
- package/dist/index.google.protobuf.d.ts +3 -3
- package/dist/index.google.protobuf.js +3 -19
- package/dist/index.js +2 -38
- package/dist/message_formats.d.ts +269 -8
- package/dist/message_formats.js +2672 -1096
- package/dist/mission_planning.d.ts +1 -1
- package/dist/mission_planning.js +208 -223
- package/dist/req_rep.d.ts +23 -3
- package/dist/req_rep.js +473 -296
- package/dist/telemetry.d.ts +45 -3
- package/dist/telemetry.js +930 -646
- package/package.json +13 -3
|
@@ -1,11 +1,37 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import { Any } from "./google/protobuf/any";
|
|
3
|
-
import { Duration } from "./google/protobuf/duration";
|
|
2
|
+
import { Any } from "./google/protobuf/any.js";
|
|
3
|
+
import { Duration } from "./google/protobuf/duration.js";
|
|
4
4
|
/**
|
|
5
5
|
* Common messages
|
|
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. */
|
|
@@ -252,17 +278,19 @@ export declare function resolutionToJSON(object: Resolution): string;
|
|
|
252
278
|
* Available camera frame rates.
|
|
253
279
|
*
|
|
254
280
|
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
255
|
-
* 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.
|
|
256
282
|
*/
|
|
257
283
|
export declare enum Framerate {
|
|
258
284
|
/** FRAMERATE_UNSPECIFIED - Framerate not specified. */
|
|
259
285
|
FRAMERATE_UNSPECIFIED = 0,
|
|
260
286
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
261
287
|
FRAMERATE_FPS_30 = 1,
|
|
262
|
-
/** FRAMERATE_FPS_25 - 25 frames per second.
|
|
288
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
263
289
|
FRAMERATE_FPS_25 = 2,
|
|
264
290
|
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
265
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,
|
|
266
294
|
UNRECOGNIZED = -1
|
|
267
295
|
}
|
|
268
296
|
export declare function framerateFromJSON(object: any): Framerate;
|
|
@@ -354,7 +382,10 @@ export declare function thicknessUnitFromJSON(object: any): ThicknessUnit;
|
|
|
354
382
|
export declare function thicknessUnitToJSON(object: ThicknessUnit): string;
|
|
355
383
|
/** Available font sizes for overlay text elements. */
|
|
356
384
|
export declare enum FontSize {
|
|
357
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* FONT_SIZE_UNSPECIFIED - Font size and margins derived from the recording resolution (Blunux >= 5.2).
|
|
387
|
+
* Older firmware defaults to 25px.
|
|
388
|
+
*/
|
|
358
389
|
FONT_SIZE_UNSPECIFIED = 0,
|
|
359
390
|
/** FONT_SIZE_PX15 - 15 px. */
|
|
360
391
|
FONT_SIZE_PX15 = 1,
|
|
@@ -481,6 +512,16 @@ export declare enum GuestPortDeviceID {
|
|
|
481
512
|
GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 = 49,
|
|
482
513
|
/** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
|
|
483
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,
|
|
519
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V3 - Blueye Multibeam Skid Servo V3. */
|
|
520
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V3 = 53,
|
|
521
|
+
/** GUEST_PORT_DEVICE_ID_BLUE_ROBOTICS_DETACHABLE_NEWTON_V2 - Detachable Blue Robotics Newton V2. */
|
|
522
|
+
GUEST_PORT_DEVICE_ID_BLUE_ROBOTICS_DETACHABLE_NEWTON_V2 = 54,
|
|
523
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER_V2 - Blueye Scaling Laser V2. */
|
|
524
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER_V2 = 55,
|
|
484
525
|
UNRECOGNIZED = -1
|
|
485
526
|
}
|
|
486
527
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -528,6 +569,10 @@ export declare enum GuestPortCapability {
|
|
|
528
569
|
GUEST_PORT_CAPABILITY_PWM = 6,
|
|
529
570
|
/** GUEST_PORT_CAPABILITY_ETHERNET_1G - Gigabit Ethernet. */
|
|
530
571
|
GUEST_PORT_CAPABILITY_ETHERNET_1G = 7,
|
|
572
|
+
/** GUEST_PORT_CAPABILITY_I2C_IO - TCA9536 I/O expander. */
|
|
573
|
+
GUEST_PORT_CAPABILITY_I2C_IO = 8,
|
|
574
|
+
/** GUEST_PORT_CAPABILITY_I2C_IO_V2 - PCA9554A I/O expander. */
|
|
575
|
+
GUEST_PORT_CAPABILITY_I2C_IO_V2 = 9,
|
|
531
576
|
UNRECOGNIZED = -1
|
|
532
577
|
}
|
|
533
578
|
export declare function guestPortCapabilityFromJSON(object: any): GuestPortCapability;
|
|
@@ -999,6 +1044,167 @@ export interface GripperVelocities {
|
|
|
999
1044
|
/** The rotating velocity (-1.0..1.0). */
|
|
1000
1045
|
rotateVelocity: number;
|
|
1001
1046
|
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Cartesian velocity of the end of a manipulator arm, in the drone body frame.
|
|
1049
|
+
*
|
|
1050
|
+
* Each value is normalized (-1.0..1.0) and scaled by the drone to its configured maximum speed.
|
|
1051
|
+
*/
|
|
1052
|
+
export interface CartesianManipulatorInput {
|
|
1053
|
+
/** Forward (positive) and backward (negative). */
|
|
1054
|
+
x: number;
|
|
1055
|
+
/** Right (positive) and left (negative). */
|
|
1056
|
+
y: number;
|
|
1057
|
+
/** Down (positive) and up (negative). */
|
|
1058
|
+
z: number;
|
|
1059
|
+
}
|
|
1060
|
+
/**
|
|
1061
|
+
* Cylindrical velocity of the end of a manipulator arm, about the axis of the arm's base joint.
|
|
1062
|
+
*
|
|
1063
|
+
* Each value is normalized (-1.0..1.0) and scaled by the drone to its configured maximum speed.
|
|
1064
|
+
*/
|
|
1065
|
+
export interface CylindricalManipulatorInput {
|
|
1066
|
+
/** Out from the base axis (positive) and in towards it (negative). */
|
|
1067
|
+
radial: number;
|
|
1068
|
+
/** Along the base axis: down (positive) and up (negative), as in the drone body frame. */
|
|
1069
|
+
vertical: number;
|
|
1070
|
+
/** Swing about the base axis: clockwise seen from above (positive). */
|
|
1071
|
+
azimuth: number;
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* Movement of a manipulator arm towards a named pose, along a path the drone chooses.
|
|
1075
|
+
*
|
|
1076
|
+
* Hold-to-run: the arm moves only while the velocity is above zero, and resumes from wherever it
|
|
1077
|
+
* stopped.
|
|
1078
|
+
*/
|
|
1079
|
+
export interface KnownPoseManipulatorInput {
|
|
1080
|
+
/** The pose to move towards. */
|
|
1081
|
+
pose: ManipulatorPose;
|
|
1082
|
+
/** Speed along the path (0.0..1.0): 0 holds the arm where it is. */
|
|
1083
|
+
velocity: number;
|
|
1084
|
+
}
|
|
1085
|
+
/** Gripper state: of its arm too, when the gripper is a manipulator arm. */
|
|
1086
|
+
export interface Gripper {
|
|
1087
|
+
/** How the arm input of the last command was read. */
|
|
1088
|
+
mode: ManipulatorControlMode;
|
|
1089
|
+
/** Joint positions from the jaws to the base: jaws opening (m), then joint angles (rad). */
|
|
1090
|
+
jointPositions: number[];
|
|
1091
|
+
/** Position of the base of the jaws in the drone body frame (m). */
|
|
1092
|
+
endPosition: Vector3 | undefined;
|
|
1093
|
+
/** A joint at the end of its range keeps the arm from going further. */
|
|
1094
|
+
atLimit: boolean;
|
|
1095
|
+
/** The arm stopped itself short of an obstacle or of itself. */
|
|
1096
|
+
collision: boolean;
|
|
1097
|
+
/** The jaws closed on something. */
|
|
1098
|
+
holding: boolean;
|
|
1099
|
+
/** A joint reports a hardware fault. */
|
|
1100
|
+
fault: boolean;
|
|
1101
|
+
/** Named pose the arm is moving towards, if any. */
|
|
1102
|
+
movingTo: ManipulatorPose;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* Hardware status flags a device of a Reach Robotics gripper raises about itself, named as Reach names them.
|
|
1106
|
+
* A gripper of another make would need flags of its own.
|
|
1107
|
+
*/
|
|
1108
|
+
export interface ReachHardwareStatus {
|
|
1109
|
+
/** Reading the device's flash memory failed. */
|
|
1110
|
+
flashFailedRead: boolean;
|
|
1111
|
+
/** Humidity in the housing is too high: water may have got in. */
|
|
1112
|
+
overHumidity: boolean;
|
|
1113
|
+
/** The housing is too hot. */
|
|
1114
|
+
overTemperature: boolean;
|
|
1115
|
+
/** Error on the serial line. */
|
|
1116
|
+
commsSerialError: boolean;
|
|
1117
|
+
/** A packet failed its checksum. */
|
|
1118
|
+
commsCrcError: boolean;
|
|
1119
|
+
/** The motor driver reports a fault. */
|
|
1120
|
+
motorDriverFault: boolean;
|
|
1121
|
+
/** The position encoder reads an invalid position. */
|
|
1122
|
+
encoderPositionError: boolean;
|
|
1123
|
+
/** The position encoder is not detected. */
|
|
1124
|
+
encoderNotDetected: boolean;
|
|
1125
|
+
/** Another device has the same axis. */
|
|
1126
|
+
deviceAxisConflict: boolean;
|
|
1127
|
+
/** The motor is not connected. */
|
|
1128
|
+
motorNotConnected: boolean;
|
|
1129
|
+
/** The motor draws too much current. */
|
|
1130
|
+
motorOverCurrent: boolean;
|
|
1131
|
+
/** The input encoder reads an invalid position. */
|
|
1132
|
+
inputEncoderPositionError: boolean;
|
|
1133
|
+
/** Another device has the same ID. */
|
|
1134
|
+
deviceIdConflict: boolean;
|
|
1135
|
+
/** Pressure in the housing is too high: the seal may have failed. */
|
|
1136
|
+
overPressure: boolean;
|
|
1137
|
+
/** Over current or under voltage in the motor driver. */
|
|
1138
|
+
motorDriverOverCurrentAndUnderVoltage: boolean;
|
|
1139
|
+
/** The motor driver is too hot. */
|
|
1140
|
+
motorDriverOverTemperature: boolean;
|
|
1141
|
+
/** The device is due for service. */
|
|
1142
|
+
jointServiceDue: boolean;
|
|
1143
|
+
/** The position encoder reports a fault. */
|
|
1144
|
+
encoderFault: boolean;
|
|
1145
|
+
/** The supply voltage is too low. */
|
|
1146
|
+
lowSupplyVoltage: boolean;
|
|
1147
|
+
/** A position report the device waits for has not arrived. */
|
|
1148
|
+
positionReportNotReceived: boolean;
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Health of one device of a gripper: a joint, or a device of its own.
|
|
1152
|
+
*
|
|
1153
|
+
* A value the device did not report is 0, with its is_*_valid false.
|
|
1154
|
+
*/
|
|
1155
|
+
export interface GripperDeviceDiagnostics {
|
|
1156
|
+
/** Address of the device on the gripper's bus. On a Reach Robotics arm, 1 is the jaws. */
|
|
1157
|
+
address: number;
|
|
1158
|
+
/** Supply voltage (V). */
|
|
1159
|
+
supplyVoltage: number;
|
|
1160
|
+
/** True when the device reported its supply voltage. */
|
|
1161
|
+
isSupplyVoltageValid: boolean;
|
|
1162
|
+
/** Temperature in the housing (°C). */
|
|
1163
|
+
temperature: number;
|
|
1164
|
+
/** True when the device reported the temperature in its housing. */
|
|
1165
|
+
isTemperatureValid: boolean;
|
|
1166
|
+
/** Relative humidity in the housing (%). */
|
|
1167
|
+
humidity: number;
|
|
1168
|
+
/** True when the device reported the humidity in its housing. */
|
|
1169
|
+
isHumidityValid: boolean;
|
|
1170
|
+
/** Absolute pressure in the housing (bar), a partial vacuum: a rise can mean a leak. */
|
|
1171
|
+
internalPressure: number;
|
|
1172
|
+
/** True when the device reported the pressure in its housing. */
|
|
1173
|
+
isInternalPressureValid: boolean;
|
|
1174
|
+
/** Motor current (A). */
|
|
1175
|
+
current: number;
|
|
1176
|
+
/** True when the device reported its motor current. */
|
|
1177
|
+
isCurrentValid: boolean;
|
|
1178
|
+
/**
|
|
1179
|
+
* Flags the device reported, and those it raised since the last report.
|
|
1180
|
+
* Not set if the device sent no hardware status.
|
|
1181
|
+
*/
|
|
1182
|
+
hardwareStatus: ReachHardwareStatus | undefined;
|
|
1183
|
+
}
|
|
1184
|
+
/**
|
|
1185
|
+
* Identity of a gripper: what it is, and what it reports of itself.
|
|
1186
|
+
*
|
|
1187
|
+
* A value the gripper does not report is empty.
|
|
1188
|
+
*/
|
|
1189
|
+
export interface GripperInfo {
|
|
1190
|
+
/** Guest port the gripper is on. */
|
|
1191
|
+
guestPortNumber: GuestPortNumber;
|
|
1192
|
+
/** What the gripper is, as its guest-port connector names it. */
|
|
1193
|
+
deviceId: GuestPortDeviceID;
|
|
1194
|
+
/** Serial number of the gripper, such as 5854. */
|
|
1195
|
+
serialNumber: string;
|
|
1196
|
+
/** Model number of the gripper, such as 5001 for a Reach Alpha 5 or 2130 for a Reach Alpha 2. */
|
|
1197
|
+
modelNumber: string;
|
|
1198
|
+
/** Firmware version of the gripper, such as 5.2.0. */
|
|
1199
|
+
firmwareVersion: string;
|
|
1200
|
+
}
|
|
1201
|
+
/** Health of a gripper and its devices, for diagnostics. */
|
|
1202
|
+
export interface GripperDiagnostics {
|
|
1203
|
+
/** One for each device of the gripper that answered. */
|
|
1204
|
+
devices: GripperDeviceDiagnostics[];
|
|
1205
|
+
/** Guest port the gripper is on. */
|
|
1206
|
+
guestPortNumber: GuestPortNumber;
|
|
1207
|
+
}
|
|
1002
1208
|
/** Information about a remote client. */
|
|
1003
1209
|
export interface ClientInfo {
|
|
1004
1210
|
/** The type of client (such as Blueye App, Observer App, SDK, etc). */
|
|
@@ -1117,6 +1323,20 @@ export interface CanisterHumidity {
|
|
|
1117
1323
|
/** Air humidity (%). */
|
|
1118
1324
|
humidity: number;
|
|
1119
1325
|
}
|
|
1326
|
+
/** Sensor readings inside the X7 power canister. */
|
|
1327
|
+
export interface PowerCanister {
|
|
1328
|
+
/** Front ESC board; absent when no recent reading is available. */
|
|
1329
|
+
frontEsc: PowerCanister_Sensors | undefined;
|
|
1330
|
+
/** Rear ESC board; absent when no recent reading is available. */
|
|
1331
|
+
rearEsc: PowerCanister_Sensors | undefined;
|
|
1332
|
+
}
|
|
1333
|
+
/** Sensor readings from an ESC board. */
|
|
1334
|
+
export interface PowerCanister_Sensors {
|
|
1335
|
+
/** Temperature (°C). */
|
|
1336
|
+
temperature: number;
|
|
1337
|
+
/** Relative humidity (%). */
|
|
1338
|
+
humidity: number;
|
|
1339
|
+
}
|
|
1120
1340
|
/** Essential battery information. */
|
|
1121
1341
|
export interface Battery {
|
|
1122
1342
|
/** Battery voltage (V). */
|
|
@@ -1942,6 +2162,14 @@ export interface ErrorFlags {
|
|
|
1942
2162
|
videoUrbError: boolean;
|
|
1943
2163
|
/** Hardware not supported on current blunux version. */
|
|
1944
2164
|
hardwareNotSupported: boolean;
|
|
2165
|
+
/** MPU 1 unavailable at observer startup. */
|
|
2166
|
+
imu1: boolean;
|
|
2167
|
+
/** MPU 2 unavailable at observer startup. */
|
|
2168
|
+
imu2: boolean;
|
|
2169
|
+
/** HP IMU unavailable on X3 Ultra or X7. */
|
|
2170
|
+
imuHp: boolean;
|
|
2171
|
+
/** No attitude source: manual body-frame control only. */
|
|
2172
|
+
imuAttitude: boolean;
|
|
1945
2173
|
}
|
|
1946
2174
|
/** Camera parameters. */
|
|
1947
2175
|
export interface CameraParameters {
|
|
@@ -2041,11 +2269,14 @@ export interface OverlayParameters {
|
|
|
2041
2269
|
thicknessUnit: ThicknessUnit;
|
|
2042
2270
|
/** Timezone offset from UTC (min). */
|
|
2043
2271
|
timezoneOffset: number;
|
|
2044
|
-
/** Horizontal margins of text elements (px). */
|
|
2272
|
+
/** Horizontal margins of text elements (px). Ignored when font_size is FONT_SIZE_UNSPECIFIED (Blunux >= 5.2). */
|
|
2045
2273
|
marginWidth: number;
|
|
2046
|
-
/** Vertical margins of text elements (px). */
|
|
2274
|
+
/** Vertical margins of text elements (px). Ignored when font_size is FONT_SIZE_UNSPECIFIED (Blunux >= 5.2). */
|
|
2047
2275
|
marginHeight: number;
|
|
2048
|
-
/**
|
|
2276
|
+
/**
|
|
2277
|
+
* Font size of text elements. FONT_SIZE_UNSPECIFIED derives font size and margins from the
|
|
2278
|
+
* recording resolution (Blunux >= 5.2). Older firmware defaults to 25px.
|
|
2279
|
+
*/
|
|
2049
2280
|
fontSize: FontSize;
|
|
2050
2281
|
/** Optional title. */
|
|
2051
2282
|
title: string;
|
|
@@ -2451,6 +2682,17 @@ export interface MultibeamDiscovery {
|
|
|
2451
2682
|
/** Error flags specific for the connected multibeam device. */
|
|
2452
2683
|
errorFlags: MultibeamErrorFlags | undefined;
|
|
2453
2684
|
}
|
|
2685
|
+
/**
|
|
2686
|
+
* Color filter used to render the multibeam sonar fan.
|
|
2687
|
+
*
|
|
2688
|
+
* The fan renderer maps each echo intensity (0..255) to a color through this
|
|
2689
|
+
* lookup table. The drone keeps the last filter received in memory and applies
|
|
2690
|
+
* it to the sonar RTSP stream; grayscale is used until one is set.
|
|
2691
|
+
*/
|
|
2692
|
+
export interface MultibeamColorFilter {
|
|
2693
|
+
/** 768 bytes: 256 consecutive R,G,B triplets, indexed by echo intensity. */
|
|
2694
|
+
rgb: Uint8Array;
|
|
2695
|
+
}
|
|
2454
2696
|
/** Error flags for multibeam sonar devices. */
|
|
2455
2697
|
export interface MultibeamErrorFlags {
|
|
2456
2698
|
/**
|
|
@@ -2805,6 +3047,13 @@ export interface FilterMessage {
|
|
|
2805
3047
|
/** Intensity of the filter (0..1). */
|
|
2806
3048
|
intensity: number;
|
|
2807
3049
|
}
|
|
3050
|
+
/** Frames that the marine snow filter compares each frame with. */
|
|
3051
|
+
export interface MarineSnowFilterFrames {
|
|
3052
|
+
/** Past frames to compare with (1..4). */
|
|
3053
|
+
pastFrames: number;
|
|
3054
|
+
/** Future frames to compare with (0..2). Each one delays the video by 33 to 40 ms. */
|
|
3055
|
+
futureFrames: number;
|
|
3056
|
+
}
|
|
2808
3057
|
/**
|
|
2809
3058
|
* Digital pan, tilt, and zoom state for the main camera.
|
|
2810
3059
|
*
|
|
@@ -2927,6 +3176,14 @@ export declare const ControlMode: MessageFns<ControlMode>;
|
|
|
2927
3176
|
export declare const TiltStabilizationState: MessageFns<TiltStabilizationState>;
|
|
2928
3177
|
export declare const SystemTime: MessageFns<SystemTime>;
|
|
2929
3178
|
export declare const GripperVelocities: MessageFns<GripperVelocities>;
|
|
3179
|
+
export declare const CartesianManipulatorInput: MessageFns<CartesianManipulatorInput>;
|
|
3180
|
+
export declare const CylindricalManipulatorInput: MessageFns<CylindricalManipulatorInput>;
|
|
3181
|
+
export declare const KnownPoseManipulatorInput: MessageFns<KnownPoseManipulatorInput>;
|
|
3182
|
+
export declare const Gripper: MessageFns<Gripper>;
|
|
3183
|
+
export declare const ReachHardwareStatus: MessageFns<ReachHardwareStatus>;
|
|
3184
|
+
export declare const GripperDeviceDiagnostics: MessageFns<GripperDeviceDiagnostics>;
|
|
3185
|
+
export declare const GripperInfo: MessageFns<GripperInfo>;
|
|
3186
|
+
export declare const GripperDiagnostics: MessageFns<GripperDiagnostics>;
|
|
2930
3187
|
export declare const ClientInfo: MessageFns<ClientInfo>;
|
|
2931
3188
|
export declare const ConnectedClient: MessageFns<ConnectedClient>;
|
|
2932
3189
|
export declare const RecordState: MessageFns<RecordState>;
|
|
@@ -2937,6 +3194,8 @@ export declare const WaterTemperature: MessageFns<WaterTemperature>;
|
|
|
2937
3194
|
export declare const CPUTemperature: MessageFns<CPUTemperature>;
|
|
2938
3195
|
export declare const CanisterTemperature: MessageFns<CanisterTemperature>;
|
|
2939
3196
|
export declare const CanisterHumidity: MessageFns<CanisterHumidity>;
|
|
3197
|
+
export declare const PowerCanister: MessageFns<PowerCanister>;
|
|
3198
|
+
export declare const PowerCanister_Sensors: MessageFns<PowerCanister_Sensors>;
|
|
2940
3199
|
export declare const Battery: MessageFns<Battery>;
|
|
2941
3200
|
export declare const BatteryBQ40Z50: MessageFns<BatteryBQ40Z50>;
|
|
2942
3201
|
export declare const BatteryBQ40Z50_Voltage: MessageFns<BatteryBQ40Z50_Voltage>;
|
|
@@ -2995,6 +3254,7 @@ export declare const MedusaSpectrometerData: MessageFns<MedusaSpectrometerData>;
|
|
|
2995
3254
|
export declare const MultibeamPing: MessageFns<MultibeamPing>;
|
|
2996
3255
|
export declare const MultibeamConfig: MessageFns<MultibeamConfig>;
|
|
2997
3256
|
export declare const MultibeamDiscovery: MessageFns<MultibeamDiscovery>;
|
|
3257
|
+
export declare const MultibeamColorFilter: MessageFns<MultibeamColorFilter>;
|
|
2998
3258
|
export declare const MultibeamErrorFlags: MessageFns<MultibeamErrorFlags>;
|
|
2999
3259
|
export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
3000
3260
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
@@ -3015,6 +3275,7 @@ export declare const SegmentationMask: MessageFns<SegmentationMask>;
|
|
|
3015
3275
|
export declare const ObjectDetection: MessageFns<ObjectDetection>;
|
|
3016
3276
|
export declare const ModelDetections: MessageFns<ModelDetections>;
|
|
3017
3277
|
export declare const FilterMessage: MessageFns<FilterMessage>;
|
|
3278
|
+
export declare const MarineSnowFilterFrames: MessageFns<MarineSnowFilterFrames>;
|
|
3018
3279
|
export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
|
|
3019
3280
|
export declare const OperatorInfo: MessageFns<OperatorInfo>;
|
|
3020
3281
|
export declare const SotState: MessageFns<SotState>;
|