@deeptrekker/api-domain 1.0.5-rca-1594-add-photogrammetry-support-for.3 → 1.0.5
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.
- package/dist/constants/versions/index.d.ts +1 -1
- package/dist/constants/versions/index.js +1 -1
- package/dist/types/core/index.d.ts +0 -13
- package/dist/types/devices/core/index.d.ts +0 -1
- package/dist/types/devices/core/index.js +0 -1
- package/dist/types/devices/vehicles/x4/index.d.ts +15 -6
- package/package.json +8 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_VERSION = "1.0.5
|
|
1
|
+
export declare const API_VERSION = "1.0.5";
|
|
@@ -231,19 +231,6 @@ export type TransferError = {
|
|
|
231
231
|
*/
|
|
232
232
|
message: string;
|
|
233
233
|
};
|
|
234
|
-
/**
|
|
235
|
-
* Error message from the Bridge Box
|
|
236
|
-
* @category Core
|
|
237
|
-
* @group X4
|
|
238
|
-
*/
|
|
239
|
-
export type OnBoardRecording = {
|
|
240
|
-
/**
|
|
241
|
-
* Snapshots, holds the values for onBoard snapshots, enabled dictating if they're on.
|
|
242
|
-
*/
|
|
243
|
-
snapshots: {
|
|
244
|
-
enabled: boolean;
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
234
|
/**
|
|
248
235
|
* Error Codes
|
|
249
236
|
* @category Core
|
|
@@ -97,7 +97,6 @@ var PivotRotaryPosition;
|
|
|
97
97
|
*/
|
|
98
98
|
var SnapshotIntervals;
|
|
99
99
|
(function (SnapshotIntervals) {
|
|
100
|
-
SnapshotIntervals[SnapshotIntervals["HALF"] = 0.5] = "HALF";
|
|
101
100
|
SnapshotIntervals[SnapshotIntervals["ONE"] = 1] = "ONE";
|
|
102
101
|
SnapshotIntervals[SnapshotIntervals["TWO"] = 2] = "TWO";
|
|
103
102
|
SnapshotIntervals[SnapshotIntervals["THREE"] = 3] = "THREE";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Movement } from "../../../core";
|
|
2
2
|
import { DeviceModel, MotorDiagnostics, Sonar, StereoCamera, X4CameraHead } from "../../cameraHeads";
|
|
3
3
|
import { SensorPod, X4Light } from "../../peripherals";
|
|
4
4
|
/**
|
|
@@ -446,6 +446,7 @@ export type PCM = {
|
|
|
446
446
|
* "vehicleTurns": 69,
|
|
447
447
|
* "vehicleTime": 68,
|
|
448
448
|
* "waterTemperature": 70,
|
|
449
|
+
* "motorsEnabled": true,
|
|
449
450
|
* "networkDevices": {
|
|
450
451
|
* "MAC": {
|
|
451
452
|
* "model": 13,
|
|
@@ -632,6 +633,19 @@ export type X4 = {
|
|
|
632
633
|
* @readonly
|
|
633
634
|
*/
|
|
634
635
|
networkDevices?: Record<string, NetworkDevice>;
|
|
636
|
+
/**
|
|
637
|
+
* Indicates whether the vehicle's motors are currently enabled.
|
|
638
|
+
* When set to false, all thruster motors are disabled and will not
|
|
639
|
+
* accept commands.
|
|
640
|
+
*
|
|
641
|
+
* @example
|
|
642
|
+
* ```json
|
|
643
|
+
* {
|
|
644
|
+
* "motorsEnabled": true
|
|
645
|
+
* }
|
|
646
|
+
* ```
|
|
647
|
+
*/
|
|
648
|
+
motorsEnabled?: boolean;
|
|
635
649
|
/**
|
|
636
650
|
* A record of sensor pods associated with the X4 vehicle.
|
|
637
651
|
* Each sensor pod is identified by its unique MAC address and contains properties such as IMU calibration,
|
|
@@ -729,9 +743,4 @@ export type X4 = {
|
|
|
729
743
|
* The current water temperature around the vehicle.
|
|
730
744
|
*/
|
|
731
745
|
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
|
-
onBoardRecording?: OnBoardRecording;
|
|
737
746
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deeptrekker/api-domain",
|
|
3
|
-
"version": "1.0.5
|
|
3
|
+
"version": "1.0.5",
|
|
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
|
}
|