@deeptrekker/api-domain 1.0.3 → 1.0.5-rca-1594-add-photogrammetry-support-for.1

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.
@@ -1 +1 @@
1
- export declare const API_VERSION = "1.0.3";
1
+ export declare const API_VERSION = "1.0.5-rca-1594-add-photogrammetry-support-for.1";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.API_VERSION = void 0;
4
4
  /* AUTO GENERATED FILE */
5
- exports.API_VERSION = "1.0.3";
5
+ exports.API_VERSION = "1.0.5-rca-1594-add-photogrammetry-support-for.1";
@@ -57,7 +57,9 @@ export type TransferPayload<T> = {
57
57
  /**
58
58
  * Movement
59
59
  *
60
- * Represents a movement command with speed and position.
60
+ * Represents a movement command with speed and position. Only one movement command can be active at a time.
61
+ *
62
+ * **When position is the active command, the vehicle will target and hold that position until a velocity command is received**
61
63
  *
62
64
  * @category Controls
63
65
  * @group X4
@@ -229,6 +231,17 @@ export type TransferError = {
229
231
  */
230
232
  message: string;
231
233
  };
234
+ /**
235
+ * Error message from the Bridge Box
236
+ * @category Core
237
+ * @group X4
238
+ */
239
+ export type AutoSnapshots = {
240
+ /**
241
+ * enabled, value used to determine if autoSnapshots are active.
242
+ */
243
+ enabled: boolean;
244
+ };
232
245
  /**
233
246
  * Error Codes
234
247
  * @category Core
@@ -1,4 +1,4 @@
1
- import { Movement } from "../../../core";
1
+ import { AutoSnapshots, Movement } from "../../../core";
2
2
  import { DeviceModel, MotorDiagnostics, Sonar, StereoCamera, X4CameraHead } from "../../cameraHeads";
3
3
  import { SensorPod, X4Light } from "../../peripherals";
4
4
  /**
@@ -86,8 +86,9 @@ export type X4Thruster = {
86
86
  };
87
87
  /**
88
88
  * The X4 drive command type.
89
- * It includes properties for controlling the vehicle's movement in various directions (forward, lateral, vertical depth, roll, pitch, yaw).
89
+ * It includes properties for controlling the vehicle's movement in various directions (forward, lateral, vertical depth, roll, pitch, yaw). **The vehicle will disable all motors after 500ms if no commands are received.**
90
90
  * It also includes options for coordinate type and reference frame. As the vehicle can be controlled in different coordinate systems, this type allows for flexibility in how commands are issued.
91
+ *
91
92
  * @internal
92
93
  * @alpha
93
94
  * @group X4
@@ -265,6 +266,54 @@ export type X4Position = {
265
266
  * @readonly
266
267
  */
267
268
  heading?: number;
269
+ /**
270
+ * Indicates that a position for x has been set. Sending a velocity command for x will disable the lock.
271
+ *
272
+ * @readonly
273
+ */
274
+ xLock?: boolean;
275
+ /**
276
+ * Indicates that a position for y has been set. Sending a velocity command for y will disable the lock.
277
+ *
278
+ * @readonly
279
+ */
280
+ yLock?: boolean;
281
+ /**
282
+ * Indicates that a position for zDepth has been set. Sending a velocity command for zDepth will disable the lock.
283
+ *
284
+ * @readonly
285
+ */
286
+ zDepthLock?: boolean;
287
+ /**
288
+ * Indicates that a position for zAltitude has been set. Sending a velocity command for zAltitude will disable the lock.
289
+ *
290
+ * @readonly
291
+ */
292
+ zAltitudeLock?: boolean;
293
+ /**
294
+ * Indicates that a position for roll has been set. Sending a velocity command for roll will disable the lock.
295
+ *
296
+ * @readonly
297
+ */
298
+ rollLock?: boolean;
299
+ /**
300
+ * Indicates that a position for pitch has been set. Sending a velocity command for pitch will disable the lock.
301
+ *
302
+ * @readonly
303
+ */
304
+ pitchLock?: boolean;
305
+ /**
306
+ * Indicates that a position for yaw has been set. Sending a velocity command for yaw or a drive command for heading will disable the yaw lock.
307
+ *
308
+ * @readonly
309
+ */
310
+ yawLock?: boolean;
311
+ /**
312
+ * Indicates that a position for heading has been set. Sending a velocity command for heading or a drive command for yaw will disable the heading lock.
313
+ *
314
+ * @readonly
315
+ */
316
+ headingLock?: boolean;
268
317
  };
269
318
  /**
270
319
  * The X4 tracked position type.
@@ -680,4 +729,9 @@ export type X4 = {
680
729
  * The current water temperature around the vehicle.
681
730
  */
682
731
  waterTemperature?: number;
732
+ /**
733
+ * Indicates that autoSnapshots has been set. Sending a enabled command for will turn on autoSnapshots, disabled turning it off.
734
+ *
735
+ */
736
+ autoSnapshot?: AutoSnapshots;
683
737
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeptrekker/api-domain",
3
- "version": "1.0.3",
3
+ "version": "1.0.5-rca-1594-add-photogrammetry-support-for.1",
4
4
  "description": "A business domain of types and schemas that the Deep Trekker topside communicates with via an API.",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -37,16 +37,16 @@
37
37
  "@knodes/typedoc-plugin-code-blocks": "^0.22.7",
38
38
  "@types/lodash": "^4.14.182",
39
39
  "@types/node": "^22.0.0",
40
- "@typescript-eslint/eslint-plugin": "^6.1.0",
41
- "@typescript-eslint/parser": "^6.1.0",
42
40
  "@zamiell/typedoc-plugin-not-exported": "^0.2.0",
43
- "eslint": "^8.45.0",
44
- "eslint-config-prettier": "^8.8.0",
45
- "eslint-plugin-unused-imports": "^3.0.0",
46
41
  "prettier": "3.0.3",
47
42
  "rimraf": "^3.0.2",
48
43
  "semver-compare-cli": "^2.0.0",
49
44
  "ts-json-schema-generator": "2.4.0",
45
+ "eslint": "^8.45.0",
46
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
47
+ "@typescript-eslint/parser": "^6.1.0",
48
+ "eslint-plugin-unused-imports": "^3.0.0",
49
+ "eslint-config-prettier": "^8.8.0",
50
50
  "ts-node": "^10.8.1",
51
51
  "tslib": "^2.4.0",
52
52
  "typedoc": "^0.28.9",
@@ -62,7 +62,6 @@
62
62
  "mkdirp": "^1.0.4",
63
63
  "ts-pattern": "^4.3.0",
64
64
  "ts-toolbelt": "^9.6.0",
65
- "type-zoo": "^3.4.1",
66
- "yarn": "^1.22.22"
65
+ "type-zoo": "^3.4.1"
67
66
  }
68
67
  }