@deeptrekker/api-domain 1.0.48-omniscan.0 → 1.0.48

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.
@@ -642,6 +642,15 @@
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
+ },
645
654
  "version": {
646
655
  "$ref": "#/definitions/DeviceVersion"
647
656
  }
@@ -1076,8 +1085,7 @@
1076
1085
  204,
1077
1086
  205,
1078
1087
  244,
1079
- 245,
1080
- 247
1088
+ 245
1081
1089
  ],
1082
1090
  "type": [
1083
1091
  "string",
@@ -1791,27 +1799,6 @@
1791
1799
  ],
1792
1800
  "type": "number"
1793
1801
  },
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
- },
1815
1802
  "Onyx": {
1816
1803
  "additionalProperties": false,
1817
1804
  "description": "Onyx Class",
@@ -1931,10 +1918,6 @@
1931
1918
  "$ref": "#/definitions/NavigationOptions",
1932
1919
  "description": "Navigation Options"
1933
1920
  },
1934
- "omniscan": {
1935
- "$ref": "#/definitions/Omniscan",
1936
- "description": "Omniscan 450 sonar device information without the HW and FW versions"
1937
- },
1938
1921
  "pitch": {
1939
1922
  "maximum": 180,
1940
1923
  "minimum": -180,
@@ -2129,10 +2112,6 @@
2129
2112
  "$ref": "#/definitions/NavigationOptions",
2130
2113
  "description": "Navigation Options"
2131
2114
  },
2132
- "omniscan": {
2133
- "$ref": "#/definitions/Omniscan",
2134
- "description": "Omniscan 450 sonar device information without the HW and FW versions"
2135
- },
2136
2115
  "pitch": {
2137
2116
  "maximum": 180,
2138
2117
  "minimum": -180,
@@ -2316,10 +2295,6 @@
2316
2295
  "$ref": "#/definitions/NavigationOptions",
2317
2296
  "description": "Navigation Options"
2318
2297
  },
2319
- "omniscan": {
2320
- "$ref": "#/definitions/Omniscan",
2321
- "description": "Omniscan 450 sonar device information without the HW and FW versions"
2322
- },
2323
2298
  "pitch": {
2324
2299
  "maximum": 180,
2325
2300
  "minimum": -180,
@@ -2833,10 +2808,6 @@
2833
2808
  "$ref": "#/definitions/NavigationOptions",
2834
2809
  "description": "Navigation Options"
2835
2810
  },
2836
- "omniscan": {
2837
- "$ref": "#/definitions/Omniscan",
2838
- "description": "Omniscan 450 sonar device information without the HW and FW versions"
2839
- },
2840
2811
  "pitch": {
2841
2812
  "maximum": 180,
2842
2813
  "minimum": -180,
@@ -1 +1 @@
1
- export declare const API_VERSION = "1.0.48-omniscan.0";
1
+ export declare const API_VERSION = "1.0.48";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.API_VERSION = void 0;
4
4
  /* AUTO GENERATED FILE */
5
- exports.API_VERSION = "1.0.48-omniscan.0";
5
+ exports.API_VERSION = "1.0.48";
@@ -49,8 +49,7 @@ export declare enum DeviceModel {
49
49
  OculusSonar = 204,
50
50
  GeminiSonar = 205,
51
51
  Echosounder = 244,
52
- WATERLINKED_3D_SONAR = 245,
53
- CeruleanOmniscan = 247
52
+ WATERLINKED_3D_SONAR = 245
54
53
  }
55
54
  /**
56
55
  * Deep Trekker's Bandwidth Degradation Thresholds
@@ -125,7 +124,6 @@ export declare const PERIPHERAL_DEVICE_MODEL_LABELS: {
125
124
  readonly 205: "Gemini Sonar";
126
125
  readonly 244: "Echosounder";
127
126
  readonly 245: "Water Linked 3D Sonar";
128
- readonly 247: "Omniscan 450";
129
127
  readonly 104: "DT840 Hoser";
130
128
  readonly 105: "DT840 Manipulator Arm";
131
129
  readonly 113: "Power Distribution Module";
@@ -181,7 +179,6 @@ export declare const DEVICE_MODEL_LABELS: {
181
179
  readonly 205: "Gemini Sonar";
182
180
  readonly 244: "Echosounder";
183
181
  readonly 245: "Water Linked 3D Sonar";
184
- readonly 247: "Omniscan 450";
185
182
  readonly 104: "DT840 Hoser";
186
183
  readonly 105: "DT840 Manipulator Arm";
187
184
  readonly 113: "Power Distribution Module";
@@ -253,7 +250,7 @@ export declare const X4_PERIPHERAL_DEVICE_MODELS: readonly [DeviceModel.X4PDM, D
253
250
  * @group Devices
254
251
  * @category Peripherals
255
252
  */
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];
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];
257
254
  /**
258
255
  * Device Version is a base interface for hardware and software version sample payloads.
259
256
  * -1 hardware versions and 0.0 software versions refer to not applicable
@@ -97,7 +97,6 @@ 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";
101
100
  })(DeviceModel || (exports.DeviceModel = DeviceModel = {}));
102
101
  /**
103
102
  * Deep Trekker's Bandwidth Degradation Thresholds
@@ -175,7 +174,6 @@ exports.PERIPHERAL_DEVICE_MODEL_LABELS = (_c = {},
175
174
  _c[DeviceModel.GeminiSonar] = "Gemini Sonar",
176
175
  _c[DeviceModel.Echosounder] = "Echosounder",
177
176
  _c[DeviceModel.WATERLINKED_3D_SONAR] = "Water Linked 3D Sonar",
178
- _c[DeviceModel.CeruleanOmniscan] = "Omniscan 450",
179
177
  /* Legacy / Special Components */
180
178
  _c[DeviceModel.DT840Hoser] = "DT840 Hoser",
181
179
  _c[DeviceModel.DT840Arm] = "DT840 Manipulator Arm",
@@ -303,8 +301,7 @@ exports.PERIPHERAL_DEVICE_MODELS = __spreadArray(__spreadArray([
303
301
  DeviceModel.OculusSonar,
304
302
  DeviceModel.GeminiSonar,
305
303
  DeviceModel.Echosounder,
306
- DeviceModel.WATERLINKED_3D_SONAR,
307
- DeviceModel.CeruleanOmniscan
304
+ DeviceModel.WATERLINKED_3D_SONAR
308
305
  ], exports.SENSOR_POD_DEVICE_MODELS, true), exports.X4_PERIPHERAL_DEVICE_MODELS, true);
309
306
  __exportStar(require("./cameraHeads"), exports);
310
307
  __exportStar(require("./cameras"), exports);
@@ -93,12 +93,8 @@ export type Sonar = {
93
93
  */
94
94
  export type Sonar3D = {
95
95
  mac?: string;
96
- } & Omit<Device, "version">;
97
- /**
98
- * Cerulean Omniscan 450 sonar
99
- * @group Devices
100
- * @category Peripherals
101
- */
102
- export type Omniscan = {
103
- mac?: string;
96
+ /**
97
+ * Enables/disables acoustics
98
+ */
99
+ acoustics?: boolean;
104
100
  } & Omit<Device, "version">;
@@ -1,4 +1,4 @@
1
- import { CalibratableSensorPod, DeviceVersion, Echosounder, Omniscan, Sonar3D, UsageTime, Vehicle } from "../../cameraHeads";
1
+ import { CalibratableSensorPod, DeviceVersion, Echosounder, Sonar3D, UsageTime, Vehicle } from "../../cameraHeads";
2
2
  import { RovDrive } from "../rovDrive";
3
3
  import { Navigation } from "../navigation";
4
4
  import { RovInputDiagnostics } from "../../diagnostics";
@@ -275,9 +275,4 @@ 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;
283
278
  } & Vehicle & Navigation;
@@ -1,5 +1,5 @@
1
1
  import { Movement } from "../../../core";
2
- import { DeviceModel, MotorDiagnostics, Sonar, StereoCamera, X4CameraHead } from "../../cameraHeads";
2
+ import { DeviceModel, MotorDiagnostics, Sonar, Sonar3D, StereoCamera, X4CameraHead } from "../../cameraHeads";
3
3
  import { ImpaqDriver, SensorPod, X4Light } from "../../peripherals";
4
4
  import { LightConfig, ThrusterConfig } from "./deviceAllocation";
5
5
  export * from "./deviceAllocation";
@@ -715,9 +715,10 @@ export type X4 = {
715
715
  /**
716
716
  * A record of sonars associated with the X4 vehicle.
717
717
  * Each sonar is identified by its unique MAC address and contains properties such as range, gain, frequency, and more.
718
- * See {@link Sonar | Sonar} for more details.
718
+ * Also includes 3D sonar devices.
719
+ * See {@link Sonar | Sonar} and {@link Sonar3D | Sonar3D} for more details.
719
720
  */
720
- sonars?: Record<string, Sonar>;
721
+ sonars?: Record<string, Sonar | Sonar3D>;
721
722
  /**
722
723
  * A record of lights associated with the X4 vehicle.
723
724
  * Each light is identified by its unique MAC address and contains properties such as brightness and color.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeptrekker/api-domain",
3
- "version": "1.0.48-omniscan.0",
3
+ "version": "1.0.48",
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
  }