@blueyerobotics/protocol-definitions 3.3.0-8c916b96 → 3.3.0-ba79714d

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.
@@ -354,7 +354,10 @@ export declare function thicknessUnitFromJSON(object: any): ThicknessUnit;
354
354
  export declare function thicknessUnitToJSON(object: ThicknessUnit): string;
355
355
  /** Available font sizes for overlay text elements. */
356
356
  export declare enum FontSize {
357
- /** FONT_SIZE_UNSPECIFIED - Font size not specified. */
357
+ /**
358
+ * FONT_SIZE_UNSPECIFIED - Font size and margins derived from the recording resolution (Blunux >= 5.2).
359
+ * Older firmware defaults to 25px.
360
+ */
358
361
  FONT_SIZE_UNSPECIFIED = 0,
359
362
  /** FONT_SIZE_PX15 - 15 px. */
360
363
  FONT_SIZE_PX15 = 1,
@@ -481,6 +484,8 @@ export declare enum GuestPortDeviceID {
481
484
  GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 = 49,
482
485
  /** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
483
486
  GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 = 50,
487
+ /** GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200 - Outland Technology MP-200 Manipulator. */
488
+ GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200 = 51,
484
489
  UNRECOGNIZED = -1
485
490
  }
486
491
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -1956,6 +1961,14 @@ export interface ErrorFlags {
1956
1961
  videoUrbError: boolean;
1957
1962
  /** Hardware not supported on current blunux version. */
1958
1963
  hardwareNotSupported: boolean;
1964
+ /** MPU 1 unavailable at observer startup. */
1965
+ imu1: boolean;
1966
+ /** MPU 2 unavailable at observer startup. */
1967
+ imu2: boolean;
1968
+ /** HP IMU unavailable on X3 Ultra or X7. */
1969
+ imuHp: boolean;
1970
+ /** No attitude source: manual body-frame control only. */
1971
+ imuAttitude: boolean;
1959
1972
  }
1960
1973
  /** Camera parameters. */
1961
1974
  export interface CameraParameters {
@@ -2055,11 +2068,14 @@ export interface OverlayParameters {
2055
2068
  thicknessUnit: ThicknessUnit;
2056
2069
  /** Timezone offset from UTC (min). */
2057
2070
  timezoneOffset: number;
2058
- /** Horizontal margins of text elements (px). */
2071
+ /** Horizontal margins of text elements (px). Ignored when font_size is FONT_SIZE_UNSPECIFIED (Blunux >= 5.2). */
2059
2072
  marginWidth: number;
2060
- /** Vertical margins of text elements (px). */
2073
+ /** Vertical margins of text elements (px). Ignored when font_size is FONT_SIZE_UNSPECIFIED (Blunux >= 5.2). */
2061
2074
  marginHeight: number;
2062
- /** Font size of text elements. */
2075
+ /**
2076
+ * Font size of text elements. FONT_SIZE_UNSPECIFIED derives font size and margins from the
2077
+ * recording resolution (Blunux >= 5.2). Older firmware defaults to 25px.
2078
+ */
2063
2079
  fontSize: FontSize;
2064
2080
  /** Optional title. */
2065
2081
  title: string;
@@ -1266,7 +1266,10 @@ function thicknessUnitToJSON(object) {
1266
1266
  /** Available font sizes for overlay text elements. */
1267
1267
  var FontSize;
1268
1268
  (function (FontSize) {
1269
- /** FONT_SIZE_UNSPECIFIED - Font size not specified. */
1269
+ /**
1270
+ * FONT_SIZE_UNSPECIFIED - Font size and margins derived from the recording resolution (Blunux >= 5.2).
1271
+ * Older firmware defaults to 25px.
1272
+ */
1270
1273
  FontSize[FontSize["FONT_SIZE_UNSPECIFIED"] = 0] = "FONT_SIZE_UNSPECIFIED";
1271
1274
  /** FONT_SIZE_PX15 - 15 px. */
1272
1275
  FontSize[FontSize["FONT_SIZE_PX15"] = 1] = "FONT_SIZE_PX15";
@@ -1447,6 +1450,8 @@ var GuestPortDeviceID;
1447
1450
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232"] = 49] = "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232";
1448
1451
  /** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
1449
1452
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100"] = 50] = "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100";
1453
+ /** GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200 - Outland Technology MP-200 Manipulator. */
1454
+ GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200"] = 51] = "GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200";
1450
1455
  GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1451
1456
  })(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
1452
1457
  function guestPortDeviceIDFromJSON(object) {
@@ -1604,6 +1609,9 @@ function guestPortDeviceIDFromJSON(object) {
1604
1609
  case 50:
1605
1610
  case "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100":
1606
1611
  return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100;
1612
+ case 51:
1613
+ case "GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200":
1614
+ return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200;
1607
1615
  case -1:
1608
1616
  case "UNRECOGNIZED":
1609
1617
  default:
@@ -1714,6 +1722,8 @@ function guestPortDeviceIDToJSON(object) {
1714
1722
  return "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232";
1715
1723
  case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100:
1716
1724
  return "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100";
1725
+ case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200:
1726
+ return "GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200";
1717
1727
  case GuestPortDeviceID.UNRECOGNIZED:
1718
1728
  default:
1719
1729
  return "UNRECOGNIZED";
@@ -11000,6 +11010,10 @@ function createBaseErrorFlags() {
11000
11010
  usbDisconnect: false,
11001
11011
  videoUrbError: false,
11002
11012
  hardwareNotSupported: false,
11013
+ imu1: false,
11014
+ imu2: false,
11015
+ imuHp: false,
11016
+ imuAttitude: false,
11003
11017
  };
11004
11018
  }
11005
11019
  exports.ErrorFlags = {
@@ -11256,6 +11270,18 @@ exports.ErrorFlags = {
11256
11270
  if (message.hardwareNotSupported !== false) {
11257
11271
  writer.uint32(376).bool(message.hardwareNotSupported);
11258
11272
  }
11273
+ if (message.imu1 !== false) {
11274
+ writer.uint32(680).bool(message.imu1);
11275
+ }
11276
+ if (message.imu2 !== false) {
11277
+ writer.uint32(688).bool(message.imu2);
11278
+ }
11279
+ if (message.imuHp !== false) {
11280
+ writer.uint32(696).bool(message.imuHp);
11281
+ }
11282
+ if (message.imuAttitude !== false) {
11283
+ writer.uint32(704).bool(message.imuAttitude);
11284
+ }
11259
11285
  return writer;
11260
11286
  },
11261
11287
  decode(input, length) {
@@ -11853,6 +11879,34 @@ exports.ErrorFlags = {
11853
11879
  message.hardwareNotSupported = reader.bool();
11854
11880
  continue;
11855
11881
  }
11882
+ case 85: {
11883
+ if (tag !== 680) {
11884
+ break;
11885
+ }
11886
+ message.imu1 = reader.bool();
11887
+ continue;
11888
+ }
11889
+ case 86: {
11890
+ if (tag !== 688) {
11891
+ break;
11892
+ }
11893
+ message.imu2 = reader.bool();
11894
+ continue;
11895
+ }
11896
+ case 87: {
11897
+ if (tag !== 696) {
11898
+ break;
11899
+ }
11900
+ message.imuHp = reader.bool();
11901
+ continue;
11902
+ }
11903
+ case 88: {
11904
+ if (tag !== 704) {
11905
+ break;
11906
+ }
11907
+ message.imuAttitude = reader.bool();
11908
+ continue;
11909
+ }
11856
11910
  }
11857
11911
  if ((tag & 7) === 4 || tag === 0) {
11858
11912
  break;
@@ -11953,6 +12007,10 @@ exports.ErrorFlags = {
11953
12007
  usbDisconnect: isSet(object.usbDisconnect) ? gt.Boolean(object.usbDisconnect) : false,
11954
12008
  videoUrbError: isSet(object.videoUrbError) ? gt.Boolean(object.videoUrbError) : false,
11955
12009
  hardwareNotSupported: isSet(object.hardwareNotSupported) ? gt.Boolean(object.hardwareNotSupported) : false,
12010
+ imu1: isSet(object.imu1) ? gt.Boolean(object.imu1) : false,
12011
+ imu2: isSet(object.imu2) ? gt.Boolean(object.imu2) : false,
12012
+ imuHp: isSet(object.imuHp) ? gt.Boolean(object.imuHp) : false,
12013
+ imuAttitude: isSet(object.imuAttitude) ? gt.Boolean(object.imuAttitude) : false,
11956
12014
  };
11957
12015
  },
11958
12016
  toJSON(message) {
@@ -12209,6 +12267,18 @@ exports.ErrorFlags = {
12209
12267
  if (message.hardwareNotSupported !== false) {
12210
12268
  obj.hardwareNotSupported = message.hardwareNotSupported;
12211
12269
  }
12270
+ if (message.imu1 !== false) {
12271
+ obj.imu1 = message.imu1;
12272
+ }
12273
+ if (message.imu2 !== false) {
12274
+ obj.imu2 = message.imu2;
12275
+ }
12276
+ if (message.imuHp !== false) {
12277
+ obj.imuHp = message.imuHp;
12278
+ }
12279
+ if (message.imuAttitude !== false) {
12280
+ obj.imuAttitude = message.imuAttitude;
12281
+ }
12212
12282
  return obj;
12213
12283
  },
12214
12284
  create(base) {
@@ -12300,6 +12370,10 @@ exports.ErrorFlags = {
12300
12370
  message.usbDisconnect = object.usbDisconnect ?? false;
12301
12371
  message.videoUrbError = object.videoUrbError ?? false;
12302
12372
  message.hardwareNotSupported = object.hardwareNotSupported ?? false;
12373
+ message.imu1 = object.imu1 ?? false;
12374
+ message.imu2 = object.imu2 ?? false;
12375
+ message.imuHp = object.imuHp ?? false;
12376
+ message.imuAttitude = object.imuAttitude ?? false;
12303
12377
  return message;
12304
12378
  },
12305
12379
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueyerobotics/protocol-definitions",
3
- "version": "3.3.0-8c916b96",
3
+ "version": "3.3.0-ba79714d",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "TypeScript definitions for Blueye Robotics protocols",
6
6
  "repository": {