@blueyerobotics/protocol-definitions 3.3.0-5481f177 → 3.3.0-788afaed

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.
@@ -1958,6 +1958,14 @@ export interface ErrorFlags {
1958
1958
  videoUrbError: boolean;
1959
1959
  /** Hardware not supported on current blunux version. */
1960
1960
  hardwareNotSupported: boolean;
1961
+ /** MPU 1 unavailable at observer startup. */
1962
+ imu1: boolean;
1963
+ /** MPU 2 unavailable at observer startup. */
1964
+ imu2: boolean;
1965
+ /** HP IMU unavailable on X3 Ultra or X7. */
1966
+ imuHp: boolean;
1967
+ /** No attitude source: manual body-frame control only. */
1968
+ imuAttitude: boolean;
1961
1969
  }
1962
1970
  /** Camera parameters. */
1963
1971
  export interface CameraParameters {
@@ -11007,6 +11007,10 @@ function createBaseErrorFlags() {
11007
11007
  usbDisconnect: false,
11008
11008
  videoUrbError: false,
11009
11009
  hardwareNotSupported: false,
11010
+ imu1: false,
11011
+ imu2: false,
11012
+ imuHp: false,
11013
+ imuAttitude: false,
11010
11014
  };
11011
11015
  }
11012
11016
  exports.ErrorFlags = {
@@ -11263,6 +11267,18 @@ exports.ErrorFlags = {
11263
11267
  if (message.hardwareNotSupported !== false) {
11264
11268
  writer.uint32(376).bool(message.hardwareNotSupported);
11265
11269
  }
11270
+ if (message.imu1 !== false) {
11271
+ writer.uint32(680).bool(message.imu1);
11272
+ }
11273
+ if (message.imu2 !== false) {
11274
+ writer.uint32(688).bool(message.imu2);
11275
+ }
11276
+ if (message.imuHp !== false) {
11277
+ writer.uint32(696).bool(message.imuHp);
11278
+ }
11279
+ if (message.imuAttitude !== false) {
11280
+ writer.uint32(704).bool(message.imuAttitude);
11281
+ }
11266
11282
  return writer;
11267
11283
  },
11268
11284
  decode(input, length) {
@@ -11860,6 +11876,34 @@ exports.ErrorFlags = {
11860
11876
  message.hardwareNotSupported = reader.bool();
11861
11877
  continue;
11862
11878
  }
11879
+ case 85: {
11880
+ if (tag !== 680) {
11881
+ break;
11882
+ }
11883
+ message.imu1 = reader.bool();
11884
+ continue;
11885
+ }
11886
+ case 86: {
11887
+ if (tag !== 688) {
11888
+ break;
11889
+ }
11890
+ message.imu2 = reader.bool();
11891
+ continue;
11892
+ }
11893
+ case 87: {
11894
+ if (tag !== 696) {
11895
+ break;
11896
+ }
11897
+ message.imuHp = reader.bool();
11898
+ continue;
11899
+ }
11900
+ case 88: {
11901
+ if (tag !== 704) {
11902
+ break;
11903
+ }
11904
+ message.imuAttitude = reader.bool();
11905
+ continue;
11906
+ }
11863
11907
  }
11864
11908
  if ((tag & 7) === 4 || tag === 0) {
11865
11909
  break;
@@ -11960,6 +12004,10 @@ exports.ErrorFlags = {
11960
12004
  usbDisconnect: isSet(object.usbDisconnect) ? gt.Boolean(object.usbDisconnect) : false,
11961
12005
  videoUrbError: isSet(object.videoUrbError) ? gt.Boolean(object.videoUrbError) : false,
11962
12006
  hardwareNotSupported: isSet(object.hardwareNotSupported) ? gt.Boolean(object.hardwareNotSupported) : false,
12007
+ imu1: isSet(object.imu1) ? gt.Boolean(object.imu1) : false,
12008
+ imu2: isSet(object.imu2) ? gt.Boolean(object.imu2) : false,
12009
+ imuHp: isSet(object.imuHp) ? gt.Boolean(object.imuHp) : false,
12010
+ imuAttitude: isSet(object.imuAttitude) ? gt.Boolean(object.imuAttitude) : false,
11963
12011
  };
11964
12012
  },
11965
12013
  toJSON(message) {
@@ -12216,6 +12264,18 @@ exports.ErrorFlags = {
12216
12264
  if (message.hardwareNotSupported !== false) {
12217
12265
  obj.hardwareNotSupported = message.hardwareNotSupported;
12218
12266
  }
12267
+ if (message.imu1 !== false) {
12268
+ obj.imu1 = message.imu1;
12269
+ }
12270
+ if (message.imu2 !== false) {
12271
+ obj.imu2 = message.imu2;
12272
+ }
12273
+ if (message.imuHp !== false) {
12274
+ obj.imuHp = message.imuHp;
12275
+ }
12276
+ if (message.imuAttitude !== false) {
12277
+ obj.imuAttitude = message.imuAttitude;
12278
+ }
12219
12279
  return obj;
12220
12280
  },
12221
12281
  create(base) {
@@ -12307,6 +12367,10 @@ exports.ErrorFlags = {
12307
12367
  message.usbDisconnect = object.usbDisconnect ?? false;
12308
12368
  message.videoUrbError = object.videoUrbError ?? false;
12309
12369
  message.hardwareNotSupported = object.hardwareNotSupported ?? false;
12370
+ message.imu1 = object.imu1 ?? false;
12371
+ message.imu2 = object.imu2 ?? false;
12372
+ message.imuHp = object.imuHp ?? false;
12373
+ message.imuAttitude = object.imuAttitude ?? false;
12310
12374
  return message;
12311
12375
  },
12312
12376
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueyerobotics/protocol-definitions",
3
- "version": "3.3.0-5481f177",
3
+ "version": "3.3.0-788afaed",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "TypeScript definitions for Blueye Robotics protocols",
6
6
  "repository": {