@blueyerobotics/protocol-definitions 3.3.0-5481f177 → 3.3.0-58812d17

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { SetAquaTrollConnectionStatus, SetAquaTrollParameterUnit } from "./aquatroll";
3
- import { Annotation, AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, BoundingBox, CameraPanTiltZoom, ConnectionDuration, FilterMessage, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, OperatorInfo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, VisionTrackingState, WaterDensity, WeatherVaningState } from "./message_formats";
3
+ import { Annotation, AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, BoundingBox, CameraPanTiltZoom, CartesianManipulatorInput, ConnectionDuration, CylindricalManipulatorInput, FilterMessage, GenericServo, GripperVelocities, GuestPortRestartInfo, KnownPoseManipulatorInput, Laser, LatLongPosition, Lights, MarineSnowFilterFrames, MotionInput, MultibeamConfig, MultibeamServo, OperatorInfo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, VisionTrackingState, WaterDensity, WeatherVaningState } from "./message_formats";
4
4
  /**
5
5
  * Control
6
6
  *
@@ -157,10 +157,26 @@ export interface SystemTimeCtrl {
157
157
  /** Message with the system time to set. */
158
158
  systemTime: SystemTime | undefined;
159
159
  }
160
- /** Issue a command to control the gripper. */
160
+ /**
161
+ * Issue a command to control the gripper.
162
+ *
163
+ * On a manipulator arm the command can also move the arm. Each command stands until the next one: the
164
+ * arm stops on a command without arm input, or when the client watchdog (WatchdogCtrl) lapses.
165
+ */
161
166
  export interface GripperCtrl {
162
167
  /** The desired gripping and rotation velocity. */
163
168
  gripperVelocities: GripperVelocities | undefined;
169
+ /** In the drone body frame. */
170
+ cartesian?: CartesianManipulatorInput | undefined;
171
+ /** About the axis of the arm's base joint. */
172
+ cylindrical?: CylindricalManipulatorInput | undefined;
173
+ /** Towards a named pose, such as stowed or deployed. */
174
+ knownPose?: KnownPoseManipulatorInput | undefined;
175
+ /**
176
+ * Speed of the arm input relative to the drone default (-1.0..1.0): negative is slower, positive is
177
+ * faster, and 0 is the default speed. Scales arm_input only, not gripper_velocities.
178
+ */
179
+ speedModifier: number;
164
180
  }
165
181
  /** Issue a command to set a generic servo value. */
166
182
  export interface GenericServoCtrl {
@@ -254,6 +270,18 @@ export interface SetColorCorrectionCtrl {
254
270
  /** Message with the color correction settings to set. */
255
271
  colorCorrectionFilter: FilterMessage | undefined;
256
272
  }
273
+ /**
274
+ * Message sent when the user wants to set marine snow filter settings.
275
+ * Removes bright particles, such as marine snow, from the video. The intensity field sets how faint a particle can be
276
+ * and still be removed (0.0 = only the brightest, 1.0 = faint particles as well). Turn it off during laser detection.
277
+ * Only supported on X3 Ultra.
278
+ */
279
+ export interface SetMarineSnowFilterCtrl {
280
+ /** Message with the marine snow filter settings to set. */
281
+ marineSnowFilter: FilterMessage | undefined;
282
+ /** Frames to compare with. Leave it unset to keep the current frames. */
283
+ frames: MarineSnowFilterFrames | undefined;
284
+ }
257
285
  /**
258
286
  * Issue a command to set the digital pan, tilt, and zoom of the main camera.
259
287
  *
@@ -352,6 +380,7 @@ export declare const EndDiveCtrl: MessageFns<EndDiveCtrl>;
352
380
  export declare const FormatRemovableStorageDeviceCtrl: MessageFns<FormatRemovableStorageDeviceCtrl>;
353
381
  export declare const SetTurbidityFilterCtrl: MessageFns<SetTurbidityFilterCtrl>;
354
382
  export declare const SetColorCorrectionCtrl: MessageFns<SetColorCorrectionCtrl>;
383
+ export declare const SetMarineSnowFilterCtrl: MessageFns<SetMarineSnowFilterCtrl>;
355
384
  export declare const CameraPanTiltZoomCtrl: MessageFns<CameraPanTiltZoomCtrl>;
356
385
  export declare const StartLogStreamingCtrl: MessageFns<StartLogStreamingCtrl>;
357
386
  export declare const StopLogStreamingCtrl: MessageFns<StopLogStreamingCtrl>;
package/dist/control.js CHANGED
@@ -5,8 +5,8 @@
5
5
  // protoc v3.21.12
6
6
  // source: control.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.SetSotTargetCtrl = exports.StopLogStreamingCtrl = exports.StartLogStreamingCtrl = exports.CameraPanTiltZoomCtrl = exports.SetColorCorrectionCtrl = exports.SetTurbidityFilterCtrl = exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.VisionTrackingCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
9
- exports.AnnotationCtrl = exports.RescanCvModelsCtrl = exports.ClearSotTargetCtrl = void 0;
8
+ exports.StopLogStreamingCtrl = exports.StartLogStreamingCtrl = exports.CameraPanTiltZoomCtrl = exports.SetMarineSnowFilterCtrl = exports.SetColorCorrectionCtrl = exports.SetTurbidityFilterCtrl = exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.VisionTrackingCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
9
+ exports.AnnotationCtrl = exports.RescanCvModelsCtrl = exports.ClearSotTargetCtrl = exports.SetSotTargetCtrl = void 0;
10
10
  /* eslint-disable */
11
11
  const wire_1 = require("@bufbuild/protobuf/wire");
12
12
  const aquatroll_1 = require("./aquatroll");
@@ -1508,13 +1508,31 @@ exports.SystemTimeCtrl = {
1508
1508
  },
1509
1509
  };
1510
1510
  function createBaseGripperCtrl() {
1511
- return { gripperVelocities: undefined };
1511
+ return {
1512
+ gripperVelocities: undefined,
1513
+ cartesian: undefined,
1514
+ cylindrical: undefined,
1515
+ knownPose: undefined,
1516
+ speedModifier: 0,
1517
+ };
1512
1518
  }
1513
1519
  exports.GripperCtrl = {
1514
1520
  encode(message, writer = new wire_1.BinaryWriter()) {
1515
1521
  if (message.gripperVelocities !== undefined) {
1516
1522
  message_formats_1.GripperVelocities.encode(message.gripperVelocities, writer.uint32(10).fork()).join();
1517
1523
  }
1524
+ if (message.cartesian !== undefined) {
1525
+ message_formats_1.CartesianManipulatorInput.encode(message.cartesian, writer.uint32(18).fork()).join();
1526
+ }
1527
+ if (message.cylindrical !== undefined) {
1528
+ message_formats_1.CylindricalManipulatorInput.encode(message.cylindrical, writer.uint32(26).fork()).join();
1529
+ }
1530
+ if (message.knownPose !== undefined) {
1531
+ message_formats_1.KnownPoseManipulatorInput.encode(message.knownPose, writer.uint32(42).fork()).join();
1532
+ }
1533
+ if (message.speedModifier !== 0) {
1534
+ writer.uint32(37).float(message.speedModifier);
1535
+ }
1518
1536
  return writer;
1519
1537
  },
1520
1538
  decode(input, length) {
@@ -1531,6 +1549,34 @@ exports.GripperCtrl = {
1531
1549
  message.gripperVelocities = message_formats_1.GripperVelocities.decode(reader, reader.uint32());
1532
1550
  continue;
1533
1551
  }
1552
+ case 2: {
1553
+ if (tag !== 18) {
1554
+ break;
1555
+ }
1556
+ message.cartesian = message_formats_1.CartesianManipulatorInput.decode(reader, reader.uint32());
1557
+ continue;
1558
+ }
1559
+ case 3: {
1560
+ if (tag !== 26) {
1561
+ break;
1562
+ }
1563
+ message.cylindrical = message_formats_1.CylindricalManipulatorInput.decode(reader, reader.uint32());
1564
+ continue;
1565
+ }
1566
+ case 5: {
1567
+ if (tag !== 42) {
1568
+ break;
1569
+ }
1570
+ message.knownPose = message_formats_1.KnownPoseManipulatorInput.decode(reader, reader.uint32());
1571
+ continue;
1572
+ }
1573
+ case 4: {
1574
+ if (tag !== 37) {
1575
+ break;
1576
+ }
1577
+ message.speedModifier = reader.float();
1578
+ continue;
1579
+ }
1534
1580
  }
1535
1581
  if ((tag & 7) === 4 || tag === 0) {
1536
1582
  break;
@@ -1544,6 +1590,10 @@ exports.GripperCtrl = {
1544
1590
  gripperVelocities: isSet(object.gripperVelocities)
1545
1591
  ? message_formats_1.GripperVelocities.fromJSON(object.gripperVelocities)
1546
1592
  : undefined,
1593
+ cartesian: isSet(object.cartesian) ? message_formats_1.CartesianManipulatorInput.fromJSON(object.cartesian) : undefined,
1594
+ cylindrical: isSet(object.cylindrical) ? message_formats_1.CylindricalManipulatorInput.fromJSON(object.cylindrical) : undefined,
1595
+ knownPose: isSet(object.knownPose) ? message_formats_1.KnownPoseManipulatorInput.fromJSON(object.knownPose) : undefined,
1596
+ speedModifier: isSet(object.speedModifier) ? gt.Number(object.speedModifier) : 0,
1547
1597
  };
1548
1598
  },
1549
1599
  toJSON(message) {
@@ -1551,6 +1601,18 @@ exports.GripperCtrl = {
1551
1601
  if (message.gripperVelocities !== undefined) {
1552
1602
  obj.gripperVelocities = message_formats_1.GripperVelocities.toJSON(message.gripperVelocities);
1553
1603
  }
1604
+ if (message.cartesian !== undefined) {
1605
+ obj.cartesian = message_formats_1.CartesianManipulatorInput.toJSON(message.cartesian);
1606
+ }
1607
+ if (message.cylindrical !== undefined) {
1608
+ obj.cylindrical = message_formats_1.CylindricalManipulatorInput.toJSON(message.cylindrical);
1609
+ }
1610
+ if (message.knownPose !== undefined) {
1611
+ obj.knownPose = message_formats_1.KnownPoseManipulatorInput.toJSON(message.knownPose);
1612
+ }
1613
+ if (message.speedModifier !== 0) {
1614
+ obj.speedModifier = message.speedModifier;
1615
+ }
1554
1616
  return obj;
1555
1617
  },
1556
1618
  create(base) {
@@ -1561,6 +1623,16 @@ exports.GripperCtrl = {
1561
1623
  message.gripperVelocities = (object.gripperVelocities !== undefined && object.gripperVelocities !== null)
1562
1624
  ? message_formats_1.GripperVelocities.fromPartial(object.gripperVelocities)
1563
1625
  : undefined;
1626
+ message.cartesian = (object.cartesian !== undefined && object.cartesian !== null)
1627
+ ? message_formats_1.CartesianManipulatorInput.fromPartial(object.cartesian)
1628
+ : undefined;
1629
+ message.cylindrical = (object.cylindrical !== undefined && object.cylindrical !== null)
1630
+ ? message_formats_1.CylindricalManipulatorInput.fromPartial(object.cylindrical)
1631
+ : undefined;
1632
+ message.knownPose = (object.knownPose !== undefined && object.knownPose !== null)
1633
+ ? message_formats_1.KnownPoseManipulatorInput.fromPartial(object.knownPose)
1634
+ : undefined;
1635
+ message.speedModifier = object.speedModifier ?? 0;
1564
1636
  return message;
1565
1637
  },
1566
1638
  };
@@ -2292,6 +2364,78 @@ exports.SetColorCorrectionCtrl = {
2292
2364
  return message;
2293
2365
  },
2294
2366
  };
2367
+ function createBaseSetMarineSnowFilterCtrl() {
2368
+ return { marineSnowFilter: undefined, frames: undefined };
2369
+ }
2370
+ exports.SetMarineSnowFilterCtrl = {
2371
+ encode(message, writer = new wire_1.BinaryWriter()) {
2372
+ if (message.marineSnowFilter !== undefined) {
2373
+ message_formats_1.FilterMessage.encode(message.marineSnowFilter, writer.uint32(10).fork()).join();
2374
+ }
2375
+ if (message.frames !== undefined) {
2376
+ message_formats_1.MarineSnowFilterFrames.encode(message.frames, writer.uint32(18).fork()).join();
2377
+ }
2378
+ return writer;
2379
+ },
2380
+ decode(input, length) {
2381
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2382
+ const end = length === undefined ? reader.len : reader.pos + length;
2383
+ const message = createBaseSetMarineSnowFilterCtrl();
2384
+ while (reader.pos < end) {
2385
+ const tag = reader.uint32();
2386
+ switch (tag >>> 3) {
2387
+ case 1: {
2388
+ if (tag !== 10) {
2389
+ break;
2390
+ }
2391
+ message.marineSnowFilter = message_formats_1.FilterMessage.decode(reader, reader.uint32());
2392
+ continue;
2393
+ }
2394
+ case 2: {
2395
+ if (tag !== 18) {
2396
+ break;
2397
+ }
2398
+ message.frames = message_formats_1.MarineSnowFilterFrames.decode(reader, reader.uint32());
2399
+ continue;
2400
+ }
2401
+ }
2402
+ if ((tag & 7) === 4 || tag === 0) {
2403
+ break;
2404
+ }
2405
+ reader.skip(tag & 7);
2406
+ }
2407
+ return message;
2408
+ },
2409
+ fromJSON(object) {
2410
+ return {
2411
+ marineSnowFilter: isSet(object.marineSnowFilter) ? message_formats_1.FilterMessage.fromJSON(object.marineSnowFilter) : undefined,
2412
+ frames: isSet(object.frames) ? message_formats_1.MarineSnowFilterFrames.fromJSON(object.frames) : undefined,
2413
+ };
2414
+ },
2415
+ toJSON(message) {
2416
+ const obj = {};
2417
+ if (message.marineSnowFilter !== undefined) {
2418
+ obj.marineSnowFilter = message_formats_1.FilterMessage.toJSON(message.marineSnowFilter);
2419
+ }
2420
+ if (message.frames !== undefined) {
2421
+ obj.frames = message_formats_1.MarineSnowFilterFrames.toJSON(message.frames);
2422
+ }
2423
+ return obj;
2424
+ },
2425
+ create(base) {
2426
+ return exports.SetMarineSnowFilterCtrl.fromPartial(base ?? {});
2427
+ },
2428
+ fromPartial(object) {
2429
+ const message = createBaseSetMarineSnowFilterCtrl();
2430
+ message.marineSnowFilter = (object.marineSnowFilter !== undefined && object.marineSnowFilter !== null)
2431
+ ? message_formats_1.FilterMessage.fromPartial(object.marineSnowFilter)
2432
+ : undefined;
2433
+ message.frames = (object.frames !== undefined && object.frames !== null)
2434
+ ? message_formats_1.MarineSnowFilterFrames.fromPartial(object.frames)
2435
+ : undefined;
2436
+ return message;
2437
+ },
2438
+ };
2295
2439
  function createBaseCameraPanTiltZoomCtrl() {
2296
2440
  return { cameraPanTiltZoom: undefined };
2297
2441
  }
@@ -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. */
@@ -354,7 +380,10 @@ export declare function thicknessUnitFromJSON(object: any): ThicknessUnit;
354
380
  export declare function thicknessUnitToJSON(object: ThicknessUnit): string;
355
381
  /** Available font sizes for overlay text elements. */
356
382
  export declare enum FontSize {
357
- /** FONT_SIZE_UNSPECIFIED - Font size not specified. */
383
+ /**
384
+ * FONT_SIZE_UNSPECIFIED - Font size and margins derived from the recording resolution (Blunux >= 5.2).
385
+ * Older firmware defaults to 25px.
386
+ */
358
387
  FONT_SIZE_UNSPECIFIED = 0,
359
388
  /** FONT_SIZE_PX15 - 15 px. */
360
389
  FONT_SIZE_PX15 = 1,
@@ -483,6 +512,8 @@ export declare enum GuestPortDeviceID {
483
512
  GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 = 50,
484
513
  /** GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200 - Outland Technology MP-200 Manipulator. */
485
514
  GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200 = 51,
515
+ /** GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5 - Reach Robotics Reach Alpha 5 Manipulator. */
516
+ GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5 = 52,
486
517
  UNRECOGNIZED = -1
487
518
  }
488
519
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -1001,6 +1032,63 @@ export interface GripperVelocities {
1001
1032
  /** The rotating velocity (-1.0..1.0). */
1002
1033
  rotateVelocity: number;
1003
1034
  }
1035
+ /**
1036
+ * Cartesian velocity of the end of a manipulator arm, in the drone body frame.
1037
+ *
1038
+ * Each value is normalized (-1.0..1.0) and scaled by the drone to its configured maximum speed.
1039
+ */
1040
+ export interface CartesianManipulatorInput {
1041
+ /** Forward (positive) and backward (negative). */
1042
+ x: number;
1043
+ /** Right (positive) and left (negative). */
1044
+ y: number;
1045
+ /** Down (positive) and up (negative). */
1046
+ z: number;
1047
+ }
1048
+ /**
1049
+ * Cylindrical velocity of the end of a manipulator arm, about the axis of the arm's base joint.
1050
+ *
1051
+ * Each value is normalized (-1.0..1.0) and scaled by the drone to its configured maximum speed.
1052
+ */
1053
+ export interface CylindricalManipulatorInput {
1054
+ /** Out from the base axis (positive) and in towards it (negative). */
1055
+ radial: number;
1056
+ /** Along the base axis: down (positive) and up (negative), as in the drone body frame. */
1057
+ vertical: number;
1058
+ /** Swing about the base axis: clockwise seen from above (positive). */
1059
+ azimuth: number;
1060
+ }
1061
+ /**
1062
+ * Movement of a manipulator arm towards a named pose, along a path the drone chooses.
1063
+ *
1064
+ * Hold-to-run: the arm moves only while the velocity is above zero, and resumes from wherever it
1065
+ * stopped.
1066
+ */
1067
+ export interface KnownPoseManipulatorInput {
1068
+ /** The pose to move towards. */
1069
+ pose: ManipulatorPose;
1070
+ /** Speed along the path (0.0..1.0): 0 holds the arm where it is. */
1071
+ velocity: number;
1072
+ }
1073
+ /** Gripper state: of its arm too, when the gripper is a manipulator arm. */
1074
+ export interface Gripper {
1075
+ /** How the arm input of the last command was read. */
1076
+ mode: ManipulatorControlMode;
1077
+ /** Joint positions from the jaws to the base: jaws opening (m), then joint angles (rad). */
1078
+ jointPositions: number[];
1079
+ /** Position of the base of the jaws in the drone body frame (m). */
1080
+ endPosition: Vector3 | undefined;
1081
+ /** A joint at the end of its range keeps the arm from going further. */
1082
+ atLimit: boolean;
1083
+ /** The arm stopped itself short of an obstacle or of itself. */
1084
+ collision: boolean;
1085
+ /** The jaws closed on something. */
1086
+ holding: boolean;
1087
+ /** A joint reports a hardware fault. */
1088
+ fault: boolean;
1089
+ /** Named pose the arm is moving towards, if any. */
1090
+ movingTo: ManipulatorPose;
1091
+ }
1004
1092
  /** Information about a remote client. */
1005
1093
  export interface ClientInfo {
1006
1094
  /** The type of client (such as Blueye App, Observer App, SDK, etc). */
@@ -1958,6 +2046,14 @@ export interface ErrorFlags {
1958
2046
  videoUrbError: boolean;
1959
2047
  /** Hardware not supported on current blunux version. */
1960
2048
  hardwareNotSupported: boolean;
2049
+ /** MPU 1 unavailable at observer startup. */
2050
+ imu1: boolean;
2051
+ /** MPU 2 unavailable at observer startup. */
2052
+ imu2: boolean;
2053
+ /** HP IMU unavailable on X3 Ultra or X7. */
2054
+ imuHp: boolean;
2055
+ /** No attitude source: manual body-frame control only. */
2056
+ imuAttitude: boolean;
1961
2057
  }
1962
2058
  /** Camera parameters. */
1963
2059
  export interface CameraParameters {
@@ -2057,11 +2153,14 @@ export interface OverlayParameters {
2057
2153
  thicknessUnit: ThicknessUnit;
2058
2154
  /** Timezone offset from UTC (min). */
2059
2155
  timezoneOffset: number;
2060
- /** Horizontal margins of text elements (px). */
2156
+ /** Horizontal margins of text elements (px). Ignored when font_size is FONT_SIZE_UNSPECIFIED (Blunux >= 5.2). */
2061
2157
  marginWidth: number;
2062
- /** Vertical margins of text elements (px). */
2158
+ /** Vertical margins of text elements (px). Ignored when font_size is FONT_SIZE_UNSPECIFIED (Blunux >= 5.2). */
2063
2159
  marginHeight: number;
2064
- /** Font size of text elements. */
2160
+ /**
2161
+ * Font size of text elements. FONT_SIZE_UNSPECIFIED derives font size and margins from the
2162
+ * recording resolution (Blunux >= 5.2). Older firmware defaults to 25px.
2163
+ */
2065
2164
  fontSize: FontSize;
2066
2165
  /** Optional title. */
2067
2166
  title: string;
@@ -2832,6 +2931,13 @@ export interface FilterMessage {
2832
2931
  /** Intensity of the filter (0..1). */
2833
2932
  intensity: number;
2834
2933
  }
2934
+ /** Frames that the marine snow filter compares each frame with. */
2935
+ export interface MarineSnowFilterFrames {
2936
+ /** Past frames to compare with (1..4). */
2937
+ pastFrames: number;
2938
+ /** Future frames to compare with (0..2). Each one delays the video by 33 to 40 ms. */
2939
+ futureFrames: number;
2940
+ }
2835
2941
  /**
2836
2942
  * Digital pan, tilt, and zoom state for the main camera.
2837
2943
  *
@@ -2954,6 +3060,10 @@ export declare const ControlMode: MessageFns<ControlMode>;
2954
3060
  export declare const TiltStabilizationState: MessageFns<TiltStabilizationState>;
2955
3061
  export declare const SystemTime: MessageFns<SystemTime>;
2956
3062
  export declare const GripperVelocities: MessageFns<GripperVelocities>;
3063
+ export declare const CartesianManipulatorInput: MessageFns<CartesianManipulatorInput>;
3064
+ export declare const CylindricalManipulatorInput: MessageFns<CylindricalManipulatorInput>;
3065
+ export declare const KnownPoseManipulatorInput: MessageFns<KnownPoseManipulatorInput>;
3066
+ export declare const Gripper: MessageFns<Gripper>;
2957
3067
  export declare const ClientInfo: MessageFns<ClientInfo>;
2958
3068
  export declare const ConnectedClient: MessageFns<ConnectedClient>;
2959
3069
  export declare const RecordState: MessageFns<RecordState>;
@@ -3045,6 +3155,7 @@ export declare const SegmentationMask: MessageFns<SegmentationMask>;
3045
3155
  export declare const ObjectDetection: MessageFns<ObjectDetection>;
3046
3156
  export declare const ModelDetections: MessageFns<ModelDetections>;
3047
3157
  export declare const FilterMessage: MessageFns<FilterMessage>;
3158
+ export declare const MarineSnowFilterFrames: MessageFns<MarineSnowFilterFrames>;
3048
3159
  export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
3049
3160
  export declare const OperatorInfo: MessageFns<OperatorInfo>;
3050
3161
  export declare const SotState: MessageFns<SotState>;