@deeptrekker/api-domain 1.0.5 → 1.0.6-imu-quat-msg.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.
|
|
1
|
+
export declare const API_VERSION = "1.0.6-imu-quat-msg.1";
|
|
@@ -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.
|
|
@@ -332,18 +339,18 @@ export type X4TrackedPosition = {
|
|
|
332
339
|
* This is used to track specific locations of interest in the vehicle's movement.
|
|
333
340
|
*
|
|
334
341
|
* The coordinates can be updated via SLAM or other localization methods.
|
|
335
|
-
* See {@link
|
|
342
|
+
* See {@link X4TrackedPositionCoordinates | X4TrackedPositionCoordinates} for more details.
|
|
336
343
|
*/
|
|
337
|
-
pois?: Record<string,
|
|
344
|
+
pois?: Record<string, X4TrackedPositionCoordinates>;
|
|
338
345
|
/**
|
|
339
346
|
* A record of the snail trail associated with the X4 vehicle.
|
|
340
347
|
* Each point in the snail trail is identified by a unique key and contains coordinates (x, y, z).
|
|
341
348
|
* This is used to track the vehicle's path over time.
|
|
342
349
|
*
|
|
343
350
|
* The coordinates can be updated via SLAM or other localization methods.
|
|
344
|
-
* See {@link
|
|
351
|
+
* See {@link X4TrackedPositionCoordinates | X4TrackedPositionCoordinates} for more details.
|
|
345
352
|
*/
|
|
346
|
-
snailTrail?: Record<string,
|
|
353
|
+
snailTrail?: Record<string, X4TrackedPositionCoordinates>;
|
|
347
354
|
};
|
|
348
355
|
/**
|
|
349
356
|
* The X4 grabber type.
|
|
@@ -404,6 +411,19 @@ export type X4Coordinate = {
|
|
|
404
411
|
y?: number;
|
|
405
412
|
z?: number;
|
|
406
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;
|
|
426
|
+
};
|
|
407
427
|
/**
|
|
408
428
|
* The PDM (Power Distribution Module) type.
|
|
409
429
|
* It includes properties for controlling the ports, busses, and monitoring temperatures of the PDM.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deeptrekker/api-domain",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6-imu-quat-msg.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
|
}
|