@deeptrekker/api-domain 1.0.45 → 1.0.46-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 +37 -1
- 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
|
@@ -1030,7 +1030,8 @@
|
|
|
1030
1030
|
204,
|
|
1031
1031
|
205,
|
|
1032
1032
|
244,
|
|
1033
|
-
245
|
|
1033
|
+
245,
|
|
1034
|
+
247
|
|
1034
1035
|
],
|
|
1035
1036
|
"type": ["string", "number"]
|
|
1036
1037
|
},
|
|
@@ -1697,6 +1698,25 @@
|
|
|
1697
1698
|
"enum": [0, 1, 2, 3, 4],
|
|
1698
1699
|
"type": "number"
|
|
1699
1700
|
},
|
|
1701
|
+
"Omniscan": {
|
|
1702
|
+
"additionalProperties": false,
|
|
1703
|
+
"description": "Cerulean Omniscan 450 sonar",
|
|
1704
|
+
"properties": {
|
|
1705
|
+
"ip": {
|
|
1706
|
+
"description": "IP address",
|
|
1707
|
+
"type": "string"
|
|
1708
|
+
},
|
|
1709
|
+
"mac": {
|
|
1710
|
+
"type": "string"
|
|
1711
|
+
},
|
|
1712
|
+
"model": {
|
|
1713
|
+
"$ref": "#/definitions/DeviceModel",
|
|
1714
|
+
"description": "Deep Trekker internal device model numbers. This can be used for selecting the associated device schema."
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
"required": ["model"],
|
|
1718
|
+
"type": "object"
|
|
1719
|
+
},
|
|
1700
1720
|
"Onyx": {
|
|
1701
1721
|
"additionalProperties": false,
|
|
1702
1722
|
"description": "Onyx Class",
|
|
@@ -1816,6 +1836,10 @@
|
|
|
1816
1836
|
"$ref": "#/definitions/NavigationOptions",
|
|
1817
1837
|
"description": "Navigation Options"
|
|
1818
1838
|
},
|
|
1839
|
+
"omniscan": {
|
|
1840
|
+
"$ref": "#/definitions/Omniscan",
|
|
1841
|
+
"description": "Omniscan 450 sonar device information without the HW and FW versions"
|
|
1842
|
+
},
|
|
1819
1843
|
"pitch": {
|
|
1820
1844
|
"maximum": 180,
|
|
1821
1845
|
"minimum": -180,
|
|
@@ -2008,6 +2032,10 @@
|
|
|
2008
2032
|
"$ref": "#/definitions/NavigationOptions",
|
|
2009
2033
|
"description": "Navigation Options"
|
|
2010
2034
|
},
|
|
2035
|
+
"omniscan": {
|
|
2036
|
+
"$ref": "#/definitions/Omniscan",
|
|
2037
|
+
"description": "Omniscan 450 sonar device information without the HW and FW versions"
|
|
2038
|
+
},
|
|
2011
2039
|
"pitch": {
|
|
2012
2040
|
"maximum": 180,
|
|
2013
2041
|
"minimum": -180,
|
|
@@ -2186,6 +2214,10 @@
|
|
|
2186
2214
|
"$ref": "#/definitions/NavigationOptions",
|
|
2187
2215
|
"description": "Navigation Options"
|
|
2188
2216
|
},
|
|
2217
|
+
"omniscan": {
|
|
2218
|
+
"$ref": "#/definitions/Omniscan",
|
|
2219
|
+
"description": "Omniscan 450 sonar device information without the HW and FW versions"
|
|
2220
|
+
},
|
|
2189
2221
|
"pitch": {
|
|
2190
2222
|
"maximum": 180,
|
|
2191
2223
|
"minimum": -180,
|
|
@@ -2691,6 +2723,10 @@
|
|
|
2691
2723
|
"$ref": "#/definitions/NavigationOptions",
|
|
2692
2724
|
"description": "Navigation Options"
|
|
2693
2725
|
},
|
|
2726
|
+
"omniscan": {
|
|
2727
|
+
"$ref": "#/definitions/Omniscan",
|
|
2728
|
+
"description": "Omniscan 450 sonar device information without the HW and FW versions"
|
|
2729
|
+
},
|
|
2694
2730
|
"pitch": {
|
|
2695
2731
|
"maximum": 180,
|
|
2696
2732
|
"minimum": -180,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_VERSION = "1.0.
|
|
1
|
+
export declare const API_VERSION = "1.0.46-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);
|
|
@@ -98,3 +98,11 @@ export type Sonar3D = {
|
|
|
98
98
|
*/
|
|
99
99
|
acoustics?: boolean;
|
|
100
100
|
} & Omit<Device, "version">;
|
|
101
|
+
/**
|
|
102
|
+
* Cerulean Omniscan 450 sonar
|
|
103
|
+
* @group Devices
|
|
104
|
+
* @category Peripherals
|
|
105
|
+
*/
|
|
106
|
+
export type Omniscan = {
|
|
107
|
+
mac?: string;
|
|
108
|
+
} & 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.46-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
|
}
|