@deeptrekker/api-domain 1.0.6 → 1.0.8-update-movement-type.0
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.
|
|
1
|
+
export declare const API_VERSION = "1.0.8-update-movement-type.0";
|
|
@@ -77,7 +77,8 @@ export type Movement = {
|
|
|
77
77
|
speed?: number;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* Set position of the movement.
|
|
80
|
+
* Set position of the movement. Measured in meters for distance and degrees for angles.
|
|
81
|
+
* (e.g. currentPosition + distance). Can only move a maximum of 1 meter for distance.
|
|
81
82
|
* This is in meters.
|
|
82
83
|
*/
|
|
83
84
|
position?: number;
|
|
@@ -23,6 +23,12 @@ export declare enum ControlMode {
|
|
|
23
23
|
ClosedLoop = "CLOSED_LOOP",
|
|
24
24
|
Adaptive = "ADAPTIVE"
|
|
25
25
|
}
|
|
26
|
+
export type Quaternion = {
|
|
27
|
+
w: number;
|
|
28
|
+
x: number;
|
|
29
|
+
y: number;
|
|
30
|
+
z: number;
|
|
31
|
+
};
|
|
26
32
|
/**
|
|
27
33
|
* A network device structure that includes properties such as IP address, model, hardware, and time tracking.
|
|
28
34
|
* This structure is used to represent devices that are part of the X4 vehicle's network.
|
|
@@ -314,6 +320,7 @@ export type X4Position = {
|
|
|
314
320
|
* @readonly
|
|
315
321
|
*/
|
|
316
322
|
headingLock?: boolean;
|
|
323
|
+
imuQuat?: Quaternion;
|
|
317
324
|
};
|
|
318
325
|
/**
|
|
319
326
|
* The X4 tracked position type.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deeptrekker/api-domain",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8-update-movement-type.0",
|
|
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
|
}
|