@deeptrekker/api-domain 1.0.5-rca-1594-add-photogrammetry-support-for.3 → 1.0.6-add-world-frame-position.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.
- 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 +17 -6
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_VERSION = "1.0.
|
|
1
|
+
export declare const API_VERSION = "1.0.6-add-world-frame-position.0";
|
|
@@ -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
|
/**
|
|
@@ -403,6 +403,8 @@ export type X4Coordinate = {
|
|
|
403
403
|
x?: number;
|
|
404
404
|
y?: number;
|
|
405
405
|
z?: number;
|
|
406
|
+
latitude?: number;
|
|
407
|
+
longitude?: number;
|
|
406
408
|
};
|
|
407
409
|
/**
|
|
408
410
|
* The PDM (Power Distribution Module) type.
|
|
@@ -446,6 +448,7 @@ export type PCM = {
|
|
|
446
448
|
* "vehicleTurns": 69,
|
|
447
449
|
* "vehicleTime": 68,
|
|
448
450
|
* "waterTemperature": 70,
|
|
451
|
+
* "motorsEnabled": true,
|
|
449
452
|
* "networkDevices": {
|
|
450
453
|
* "MAC": {
|
|
451
454
|
* "model": 13,
|
|
@@ -632,6 +635,19 @@ export type X4 = {
|
|
|
632
635
|
* @readonly
|
|
633
636
|
*/
|
|
634
637
|
networkDevices?: Record<string, NetworkDevice>;
|
|
638
|
+
/**
|
|
639
|
+
* Indicates whether the vehicle's motors are currently enabled.
|
|
640
|
+
* When set to false, all thruster motors are disabled and will not
|
|
641
|
+
* accept commands.
|
|
642
|
+
*
|
|
643
|
+
* @example
|
|
644
|
+
* ```json
|
|
645
|
+
* {
|
|
646
|
+
* "motorsEnabled": true
|
|
647
|
+
* }
|
|
648
|
+
* ```
|
|
649
|
+
*/
|
|
650
|
+
motorsEnabled?: boolean;
|
|
635
651
|
/**
|
|
636
652
|
* A record of sensor pods associated with the X4 vehicle.
|
|
637
653
|
* Each sensor pod is identified by its unique MAC address and contains properties such as IMU calibration,
|
|
@@ -729,9 +745,4 @@ export type X4 = {
|
|
|
729
745
|
* The current water temperature around the vehicle.
|
|
730
746
|
*/
|
|
731
747
|
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
748
|
};
|
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-add-world-frame-position.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": {
|