@deeptrekker/api-domain 1.0.47 → 1.0.48-omniscan.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/schema/schema.json +44 -11
- package/dist/constants/versions/index.d.ts +1 -1
- package/dist/constants/versions/index.js +1 -1
- package/dist/types/devices/index.d.ts +5 -2
- package/dist/types/devices/index.js +4 -1
- package/dist/types/devices/sonar/index.d.ts +8 -0
- package/dist/types/devices/vehicles/rov/index.d.ts +6 -1
- package/package.json +7 -8
|
@@ -642,15 +642,6 @@
|
|
|
642
642
|
"$ref": "#/definitions/DeviceModel",
|
|
643
643
|
"description": "Deep Trekker internal device model numbers. This can be used for selecting the associated device schema."
|
|
644
644
|
},
|
|
645
|
-
"pressure": {
|
|
646
|
-
"additionalProperties": false,
|
|
647
|
-
"properties": {
|
|
648
|
-
"calibrate": {
|
|
649
|
-
"type": "boolean"
|
|
650
|
-
}
|
|
651
|
-
},
|
|
652
|
-
"type": "object"
|
|
653
|
-
},
|
|
654
645
|
"version": {
|
|
655
646
|
"$ref": "#/definitions/DeviceVersion"
|
|
656
647
|
}
|
|
@@ -1085,7 +1076,8 @@
|
|
|
1085
1076
|
204,
|
|
1086
1077
|
205,
|
|
1087
1078
|
244,
|
|
1088
|
-
245
|
|
1079
|
+
245,
|
|
1080
|
+
247
|
|
1089
1081
|
],
|
|
1090
1082
|
"type": [
|
|
1091
1083
|
"string",
|
|
@@ -1799,6 +1791,27 @@
|
|
|
1799
1791
|
],
|
|
1800
1792
|
"type": "number"
|
|
1801
1793
|
},
|
|
1794
|
+
"Omniscan": {
|
|
1795
|
+
"additionalProperties": false,
|
|
1796
|
+
"description": "Cerulean Omniscan 450 sonar",
|
|
1797
|
+
"properties": {
|
|
1798
|
+
"ip": {
|
|
1799
|
+
"description": "IP address",
|
|
1800
|
+
"type": "string"
|
|
1801
|
+
},
|
|
1802
|
+
"mac": {
|
|
1803
|
+
"type": "string"
|
|
1804
|
+
},
|
|
1805
|
+
"model": {
|
|
1806
|
+
"$ref": "#/definitions/DeviceModel",
|
|
1807
|
+
"description": "Deep Trekker internal device model numbers. This can be used for selecting the associated device schema."
|
|
1808
|
+
}
|
|
1809
|
+
},
|
|
1810
|
+
"required": [
|
|
1811
|
+
"model"
|
|
1812
|
+
],
|
|
1813
|
+
"type": "object"
|
|
1814
|
+
},
|
|
1802
1815
|
"Onyx": {
|
|
1803
1816
|
"additionalProperties": false,
|
|
1804
1817
|
"description": "Onyx Class",
|
|
@@ -1918,6 +1931,10 @@
|
|
|
1918
1931
|
"$ref": "#/definitions/NavigationOptions",
|
|
1919
1932
|
"description": "Navigation Options"
|
|
1920
1933
|
},
|
|
1934
|
+
"omniscan": {
|
|
1935
|
+
"$ref": "#/definitions/Omniscan",
|
|
1936
|
+
"description": "Omniscan 450 sonar device information without the HW and FW versions"
|
|
1937
|
+
},
|
|
1921
1938
|
"pitch": {
|
|
1922
1939
|
"maximum": 180,
|
|
1923
1940
|
"minimum": -180,
|
|
@@ -2112,6 +2129,10 @@
|
|
|
2112
2129
|
"$ref": "#/definitions/NavigationOptions",
|
|
2113
2130
|
"description": "Navigation Options"
|
|
2114
2131
|
},
|
|
2132
|
+
"omniscan": {
|
|
2133
|
+
"$ref": "#/definitions/Omniscan",
|
|
2134
|
+
"description": "Omniscan 450 sonar device information without the HW and FW versions"
|
|
2135
|
+
},
|
|
2115
2136
|
"pitch": {
|
|
2116
2137
|
"maximum": 180,
|
|
2117
2138
|
"minimum": -180,
|
|
@@ -2295,6 +2316,10 @@
|
|
|
2295
2316
|
"$ref": "#/definitions/NavigationOptions",
|
|
2296
2317
|
"description": "Navigation Options"
|
|
2297
2318
|
},
|
|
2319
|
+
"omniscan": {
|
|
2320
|
+
"$ref": "#/definitions/Omniscan",
|
|
2321
|
+
"description": "Omniscan 450 sonar device information without the HW and FW versions"
|
|
2322
|
+
},
|
|
2298
2323
|
"pitch": {
|
|
2299
2324
|
"maximum": 180,
|
|
2300
2325
|
"minimum": -180,
|
|
@@ -2808,6 +2833,10 @@
|
|
|
2808
2833
|
"$ref": "#/definitions/NavigationOptions",
|
|
2809
2834
|
"description": "Navigation Options"
|
|
2810
2835
|
},
|
|
2836
|
+
"omniscan": {
|
|
2837
|
+
"$ref": "#/definitions/Omniscan",
|
|
2838
|
+
"description": "Omniscan 450 sonar device information without the HW and FW versions"
|
|
2839
|
+
},
|
|
2811
2840
|
"pitch": {
|
|
2812
2841
|
"maximum": 180,
|
|
2813
2842
|
"minimum": -180,
|
|
@@ -3127,7 +3156,7 @@
|
|
|
3127
3156
|
"type": "boolean"
|
|
3128
3157
|
},
|
|
3129
3158
|
"errorCode": {
|
|
3130
|
-
"description": "Oculus sonar throws errors if something goes wrong within it.
|
|
3159
|
+
"description": "Oculus sonar throws errors if something goes wrong within it. This property will only appear if there is an active error and will show the error code.",
|
|
3131
3160
|
"type": "number"
|
|
3132
3161
|
},
|
|
3133
3162
|
"frequency": {
|
|
@@ -3177,6 +3206,10 @@
|
|
|
3177
3206
|
"additionalProperties": false,
|
|
3178
3207
|
"description": "Sonar 3D",
|
|
3179
3208
|
"properties": {
|
|
3209
|
+
"acoustics": {
|
|
3210
|
+
"description": "Enables/disables acoustics",
|
|
3211
|
+
"type": "boolean"
|
|
3212
|
+
},
|
|
3180
3213
|
"ip": {
|
|
3181
3214
|
"description": "IP address",
|
|
3182
3215
|
"type": "string"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_VERSION = "1.0.
|
|
1
|
+
export declare const API_VERSION = "1.0.48-omniscan.0";
|
|
@@ -49,7 +49,8 @@ export declare enum DeviceModel {
|
|
|
49
49
|
OculusSonar = 204,
|
|
50
50
|
GeminiSonar = 205,
|
|
51
51
|
Echosounder = 244,
|
|
52
|
-
WATERLINKED_3D_SONAR = 245
|
|
52
|
+
WATERLINKED_3D_SONAR = 245,
|
|
53
|
+
CeruleanOmniscan = 247
|
|
53
54
|
}
|
|
54
55
|
/**
|
|
55
56
|
* Deep Trekker's Bandwidth Degradation Thresholds
|
|
@@ -124,6 +125,7 @@ export declare const PERIPHERAL_DEVICE_MODEL_LABELS: {
|
|
|
124
125
|
readonly 205: "Gemini Sonar";
|
|
125
126
|
readonly 244: "Echosounder";
|
|
126
127
|
readonly 245: "Water Linked 3D Sonar";
|
|
128
|
+
readonly 247: "Omniscan 450";
|
|
127
129
|
readonly 104: "DT840 Hoser";
|
|
128
130
|
readonly 105: "DT840 Manipulator Arm";
|
|
129
131
|
readonly 113: "Power Distribution Module";
|
|
@@ -179,6 +181,7 @@ export declare const DEVICE_MODEL_LABELS: {
|
|
|
179
181
|
readonly 205: "Gemini Sonar";
|
|
180
182
|
readonly 244: "Echosounder";
|
|
181
183
|
readonly 245: "Water Linked 3D Sonar";
|
|
184
|
+
readonly 247: "Omniscan 450";
|
|
182
185
|
readonly 104: "DT840 Hoser";
|
|
183
186
|
readonly 105: "DT840 Manipulator Arm";
|
|
184
187
|
readonly 113: "Power Distribution Module";
|
|
@@ -250,7 +253,7 @@ export declare const X4_PERIPHERAL_DEVICE_MODELS: readonly [DeviceModel.X4PDM, D
|
|
|
250
253
|
* @group Devices
|
|
251
254
|
* @category Peripherals
|
|
252
255
|
*/
|
|
253
|
-
export declare const PERIPHERAL_DEVICE_MODELS: readonly [DeviceModel.RovGps, DeviceModel.SerialBox, DeviceModel.WaterlinkedGps, DeviceModel.Seatrac, DeviceModel.DVL, DeviceModel.PathfindrDVL, DeviceModel.OculusSonar, DeviceModel.GeminiSonar, DeviceModel.Echosounder, DeviceModel.WATERLINKED_3D_SONAR, DeviceModel.SensorPod, DeviceModel.SensorPodPlus, DeviceModel.SensorPodX, DeviceModel.X4PDM, DeviceModel.X4Thruster, DeviceModel.X4Lights, DeviceModel.X4GrabberModel];
|
|
256
|
+
export declare const PERIPHERAL_DEVICE_MODELS: readonly [DeviceModel.RovGps, DeviceModel.SerialBox, DeviceModel.WaterlinkedGps, DeviceModel.Seatrac, DeviceModel.DVL, DeviceModel.PathfindrDVL, DeviceModel.OculusSonar, DeviceModel.GeminiSonar, DeviceModel.Echosounder, DeviceModel.WATERLINKED_3D_SONAR, DeviceModel.CeruleanOmniscan, DeviceModel.SensorPod, DeviceModel.SensorPodPlus, DeviceModel.SensorPodX, DeviceModel.X4PDM, DeviceModel.X4Thruster, DeviceModel.X4Lights, DeviceModel.X4GrabberModel];
|
|
254
257
|
/**
|
|
255
258
|
* Device Version is a base interface for hardware and software version sample payloads.
|
|
256
259
|
* -1 hardware versions and 0.0 software versions refer to not applicable
|
|
@@ -97,6 +97,7 @@ var DeviceModel;
|
|
|
97
97
|
DeviceModel[DeviceModel["GeminiSonar"] = 205] = "GeminiSonar";
|
|
98
98
|
DeviceModel[DeviceModel["Echosounder"] = 244] = "Echosounder";
|
|
99
99
|
DeviceModel[DeviceModel["WATERLINKED_3D_SONAR"] = 245] = "WATERLINKED_3D_SONAR";
|
|
100
|
+
DeviceModel[DeviceModel["CeruleanOmniscan"] = 247] = "CeruleanOmniscan";
|
|
100
101
|
})(DeviceModel || (exports.DeviceModel = DeviceModel = {}));
|
|
101
102
|
/**
|
|
102
103
|
* Deep Trekker's Bandwidth Degradation Thresholds
|
|
@@ -174,6 +175,7 @@ exports.PERIPHERAL_DEVICE_MODEL_LABELS = (_c = {},
|
|
|
174
175
|
_c[DeviceModel.GeminiSonar] = "Gemini Sonar",
|
|
175
176
|
_c[DeviceModel.Echosounder] = "Echosounder",
|
|
176
177
|
_c[DeviceModel.WATERLINKED_3D_SONAR] = "Water Linked 3D Sonar",
|
|
178
|
+
_c[DeviceModel.CeruleanOmniscan] = "Omniscan 450",
|
|
177
179
|
/* Legacy / Special Components */
|
|
178
180
|
_c[DeviceModel.DT840Hoser] = "DT840 Hoser",
|
|
179
181
|
_c[DeviceModel.DT840Arm] = "DT840 Manipulator Arm",
|
|
@@ -301,7 +303,8 @@ exports.PERIPHERAL_DEVICE_MODELS = __spreadArray(__spreadArray([
|
|
|
301
303
|
DeviceModel.OculusSonar,
|
|
302
304
|
DeviceModel.GeminiSonar,
|
|
303
305
|
DeviceModel.Echosounder,
|
|
304
|
-
DeviceModel.WATERLINKED_3D_SONAR
|
|
306
|
+
DeviceModel.WATERLINKED_3D_SONAR,
|
|
307
|
+
DeviceModel.CeruleanOmniscan
|
|
305
308
|
], exports.SENSOR_POD_DEVICE_MODELS, true), exports.X4_PERIPHERAL_DEVICE_MODELS, true);
|
|
306
309
|
__exportStar(require("./cameraHeads"), exports);
|
|
307
310
|
__exportStar(require("./cameras"), exports);
|
|
@@ -94,3 +94,11 @@ export type Sonar = {
|
|
|
94
94
|
export type Sonar3D = {
|
|
95
95
|
mac?: string;
|
|
96
96
|
} & Omit<Device, "version">;
|
|
97
|
+
/**
|
|
98
|
+
* Cerulean Omniscan 450 sonar
|
|
99
|
+
* @group Devices
|
|
100
|
+
* @category Peripherals
|
|
101
|
+
*/
|
|
102
|
+
export type Omniscan = {
|
|
103
|
+
mac?: string;
|
|
104
|
+
} & Omit<Device, "version">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalibratableSensorPod, DeviceVersion, Echosounder, Sonar3D, UsageTime, Vehicle } from "../../cameraHeads";
|
|
1
|
+
import { CalibratableSensorPod, DeviceVersion, Echosounder, Omniscan, Sonar3D, UsageTime, Vehicle } from "../../cameraHeads";
|
|
2
2
|
import { RovDrive } from "../rovDrive";
|
|
3
3
|
import { Navigation } from "../navigation";
|
|
4
4
|
import { RovInputDiagnostics } from "../../diagnostics";
|
|
@@ -275,4 +275,9 @@ export type RovVehicle = {
|
|
|
275
275
|
* @see {@link Sonar3D | Sonar3D}
|
|
276
276
|
*/
|
|
277
277
|
sonar3d?: Sonar3D;
|
|
278
|
+
/**
|
|
279
|
+
* Omniscan 450 sonar device information without the HW and FW versions
|
|
280
|
+
* @see {@link Omniscan | Omniscan}
|
|
281
|
+
*/
|
|
282
|
+
omniscan?: Omniscan;
|
|
278
283
|
} & Vehicle & Navigation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deeptrekker/api-domain",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.48-omniscan.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
|
}
|