@deeptrekker/api-domain 1.0.6-imu-quat-msg.1 → 1.0.6
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.6
|
|
1
|
+
export declare const API_VERSION = "1.0.6";
|
|
@@ -23,12 +23,6 @@ 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
|
-
};
|
|
32
26
|
/**
|
|
33
27
|
* A network device structure that includes properties such as IP address, model, hardware, and time tracking.
|
|
34
28
|
* This structure is used to represent devices that are part of the X4 vehicle's network.
|
|
@@ -320,7 +314,6 @@ export type X4Position = {
|
|
|
320
314
|
* @readonly
|
|
321
315
|
*/
|
|
322
316
|
headingLock?: boolean;
|
|
323
|
-
imuQuat?: Quaternion;
|
|
324
317
|
};
|
|
325
318
|
/**
|
|
326
319
|
* The X4 tracked position type.
|
|
@@ -339,18 +332,18 @@ export type X4TrackedPosition = {
|
|
|
339
332
|
* This is used to track specific locations of interest in the vehicle's movement.
|
|
340
333
|
*
|
|
341
334
|
* The coordinates can be updated via SLAM or other localization methods.
|
|
342
|
-
* See {@link
|
|
335
|
+
* See {@link X4Coordinate | X4Coordinate} for more details.
|
|
343
336
|
*/
|
|
344
|
-
pois?: Record<string,
|
|
337
|
+
pois?: Record<string, X4Coordinate>;
|
|
345
338
|
/**
|
|
346
339
|
* A record of the snail trail associated with the X4 vehicle.
|
|
347
340
|
* Each point in the snail trail is identified by a unique key and contains coordinates (x, y, z).
|
|
348
341
|
* This is used to track the vehicle's path over time.
|
|
349
342
|
*
|
|
350
343
|
* The coordinates can be updated via SLAM or other localization methods.
|
|
351
|
-
* See {@link
|
|
344
|
+
* See {@link X4Coordinate | X4Coordinate} for more details.
|
|
352
345
|
*/
|
|
353
|
-
snailTrail?: Record<string,
|
|
346
|
+
snailTrail?: Record<string, X4Coordinate>;
|
|
354
347
|
};
|
|
355
348
|
/**
|
|
356
349
|
* The X4 grabber type.
|
|
@@ -410,19 +403,8 @@ export type X4Coordinate = {
|
|
|
410
403
|
x?: number;
|
|
411
404
|
y?: number;
|
|
412
405
|
z?: number;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
* The X4 coordinate type.
|
|
416
|
-
* It includes properties for the x, y, and z coordinates of a point in space.
|
|
417
|
-
* This type is used to represent a point in the X4 vehicle's movement or position.
|
|
418
|
-
* @internal
|
|
419
|
-
* @alpha
|
|
420
|
-
* @group X4
|
|
421
|
-
* @category Navigation
|
|
422
|
-
*/
|
|
423
|
-
export type X4TrackedPositionCoordinates = {
|
|
424
|
-
world?: X4Coordinate;
|
|
425
|
-
map?: X4Coordinate;
|
|
406
|
+
latitude?: number;
|
|
407
|
+
longitude?: number;
|
|
426
408
|
};
|
|
427
409
|
/**
|
|
428
410
|
* The PDM (Power Distribution Module) type.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deeptrekker/api-domain",
|
|
3
|
-
"version": "1.0.6
|
|
3
|
+
"version": "1.0.6",
|
|
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",
|
|
40
42
|
"@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",
|
|
41
46
|
"prettier": "3.0.3",
|
|
42
47
|
"rimraf": "^3.0.2",
|
|
43
48
|
"semver-compare-cli": "^2.0.0",
|
|
44
49
|
"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,6 +62,7 @@
|
|
|
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"
|
|
65
|
+
"type-zoo": "^3.4.1",
|
|
66
|
+
"yarn": "^1.22.22"
|
|
66
67
|
}
|
|
67
68
|
}
|