@deeptrekker/api-domain 1.0.34-collisionavoidanceprototype.0 → 1.0.34-laketesting.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.
@@ -766,30 +766,6 @@
766
766
  },
767
767
  "type": "object"
768
768
  },
769
- "CollisionAvoidance": {
770
- "additionalProperties": false,
771
- "description": "Collision Avoidance",
772
- "properties": {
773
- "active": {
774
- "type": "boolean"
775
- },
776
- "downError": {
777
- "type": "string"
778
- },
779
- "downState": {
780
- "description": "\"unknown\" | \"outside\" | \"inside\"",
781
- "type": "string"
782
- },
783
- "fwdError": {
784
- "type": "string"
785
- },
786
- "fwdState": {
787
- "description": "\"unknown\" | \"outside\" | \"inside\"",
788
- "type": "string"
789
- }
790
- },
791
- "type": "object"
792
- },
793
769
  "CrawlerDrive": {
794
770
  "additionalProperties": false,
795
771
  "description": "Crawler drive",
@@ -1037,6 +1013,32 @@
1037
1013
  },
1038
1014
  "type": "object"
1039
1015
  },
1016
+ "DenoiseMode": {
1017
+ "description": "Denoise mode",
1018
+ "enum": [
1019
+ "off",
1020
+ "fast",
1021
+ "high_quality"
1022
+ ],
1023
+ "type": "string"
1024
+ },
1025
+ "DenoiseSettings": {
1026
+ "additionalProperties": false,
1027
+ "description": "Denoise Settings",
1028
+ "properties": {
1029
+ "mode": {
1030
+ "$ref": "#/definitions/DenoiseMode",
1031
+ "description": "Mode"
1032
+ },
1033
+ "strength": {
1034
+ "description": "Strength\n\nControls the strength of the denoise filter.",
1035
+ "maximum": 100,
1036
+ "minimum": 0,
1037
+ "type": "number"
1038
+ }
1039
+ },
1040
+ "type": "object"
1041
+ },
1040
1042
  "DeviceModel": {
1041
1043
  "description": "Deep Trekker internal device model numbers.",
1042
1044
  "enum": [
@@ -1652,6 +1654,9 @@
1652
1654
  "cpuTemp": {
1653
1655
  "type": "number"
1654
1656
  },
1657
+ "denoise": {
1658
+ "$ref": "#/definitions/DenoiseSettings"
1659
+ },
1655
1660
  "dptz": {
1656
1661
  "$ref": "#/definitions/OcleaDptz"
1657
1662
  },
@@ -2895,9 +2900,6 @@
2895
2900
  "autoStabilization": {
2896
2901
  "type": "boolean"
2897
2902
  },
2898
- "collisionAvoidance": {
2899
- "$ref": "#/definitions/CollisionAvoidance"
2900
- },
2901
2903
  "depthLock": {
2902
2904
  "type": "boolean"
2903
2905
  },
@@ -1 +1 @@
1
- export declare const API_VERSION = "1.0.34-collisionavoidanceprototype.0";
1
+ export declare const API_VERSION = "1.0.34-laketesting.0";
@@ -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.34-collisionavoidanceprototype.0";
5
+ exports.API_VERSION = "1.0.34-laketesting.0";
@@ -55,13 +55,16 @@ export type TransferPayload<T> = {
55
55
  payload: T;
56
56
  };
57
57
  export declare enum ReferencePoints {
58
- Body = "body",
59
58
  Altitude = "altitude",
60
59
  Depth = "depth",
61
60
  Global = "global",
62
61
  Local = "local",
63
62
  Distance = "distance"
64
63
  }
64
+ export declare enum ControlFrames {
65
+ Body = "body",
66
+ Footprint = "footprint"
67
+ }
65
68
  /**
66
69
  * Movement
67
70
  *
@@ -99,6 +102,11 @@ export type Movement = {
99
102
  * A reference to the position or heading that the vehicle should target and base its locking on.
100
103
  */
101
104
  reference?: ReferencePoints;
105
+ /**
106
+ * @remarks
107
+ * The frame of reference for the movement. This is used to determine how the vehicle should interpret the movement command.
108
+ */
109
+ controlFrame?: ControlFrames;
102
110
  };
103
111
  /**
104
112
  * The different kinds of payload requests that can be sent and received.
@@ -15,16 +15,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  var _a;
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ERROR_MESSAGES = exports.ErrorCode = exports.TransferMethodType = exports.ReferencePoints = void 0;
18
+ exports.ERROR_MESSAGES = exports.ErrorCode = exports.TransferMethodType = exports.ControlFrames = exports.ReferencePoints = void 0;
19
19
  var ReferencePoints;
20
20
  (function (ReferencePoints) {
21
- ReferencePoints["Body"] = "body";
22
21
  ReferencePoints["Altitude"] = "altitude";
23
22
  ReferencePoints["Depth"] = "depth";
24
23
  ReferencePoints["Global"] = "global";
25
24
  ReferencePoints["Local"] = "local";
26
25
  ReferencePoints["Distance"] = "distance";
27
26
  })(ReferencePoints || (exports.ReferencePoints = ReferencePoints = {}));
27
+ var ControlFrames;
28
+ (function (ControlFrames) {
29
+ ControlFrames["Body"] = "body";
30
+ ControlFrames["Footprint"] = "footprint";
31
+ })(ControlFrames || (exports.ControlFrames = ControlFrames = {}));
28
32
  /**
29
33
  * The different kinds of payload requests that can be sent and received.
30
34
  * @category Core
@@ -213,6 +213,26 @@ export type TurbidityFilter = {
213
213
  */
214
214
  strength?: number;
215
215
  };
216
+ /**
217
+ * Denoise Settings
218
+ * @group Devices
219
+ * @category Cameras
220
+ */
221
+ export type DenoiseSettings = {
222
+ /**
223
+ * Strength
224
+ *
225
+ * Controls the strength of the denoise filter.
226
+ * @minimum 0
227
+ * @maximum 100
228
+ */
229
+ strength?: number;
230
+ /**
231
+ * Enabled
232
+ *
233
+ */
234
+ enabled?: boolean;
235
+ };
216
236
  /**
217
237
  * Exposure Settings
218
238
  * @group Devices
@@ -1,5 +1,5 @@
1
1
  import { Camera, DeviceModel } from "../..";
2
- import { ExposureSettings, OcleaDptz, OcleaVersion, TurbidityFilter, WhiteBalanceSettings } from "../core";
2
+ import { DenoiseSettings, ExposureSettings, OcleaDptz, OcleaVersion, TurbidityFilter, WhiteBalanceSettings } from "../core";
3
3
  /**
4
4
  *
5
5
  * 📷 4k UHD Camera
@@ -92,4 +92,11 @@ export type OcleaCam = Camera & {
92
92
  * @see {@link TurbidityFilter | TurbidityFilter}
93
93
  */
94
94
  turbidityFilter?: TurbidityFilter;
95
+ /**
96
+ * @remarks
97
+ * Denoise filter settings
98
+ *
99
+ * @see {@link DenoiseSettings | DenoiseSettings}
100
+ */
101
+ denoise?: DenoiseSettings;
95
102
  };
@@ -34,7 +34,6 @@ export type RovDrive = {
34
34
  motorsDisabled?: boolean;
35
35
  stationHolding?: boolean;
36
36
  distanceLock?: DistanceLock;
37
- collisionAvoidance?: CollisionAvoidance;
38
37
  };
39
38
  };
40
39
  /**
@@ -47,21 +46,3 @@ export type DistanceLock = {
47
46
  setPoint?: number;
48
47
  error?: string;
49
48
  };
50
- /**
51
- * Collision Avoidance
52
- *
53
- * @remarks Toggling this mode toggles both forward and downward collision avoidance together,
54
- * though the two axes are tracked and reported independently. Cannot be active at the same
55
- * time as Distance Lock.
56
- * @group Devices
57
- * @category ROV
58
- */
59
- export type CollisionAvoidance = {
60
- active?: boolean;
61
- /** "unknown" | "outside" | "inside" */
62
- fwdState?: string;
63
- fwdError?: string;
64
- /** "unknown" | "outside" | "inside" */
65
- downState?: string;
66
- downError?: string;
67
- };
@@ -158,6 +158,11 @@ export type X4DriveCommand = {
158
158
  * See {@link ControlMode | ControlMode} for more details.
159
159
  */
160
160
  controlMode?: ControlMode;
161
+ /**
162
+ * The velocity control option for the drive command, which can be used to specify whether the vehicle should use velocity control or position control.
163
+ * If true the vehicle is locked to velocity control.
164
+ */
165
+ useVelocityControl?: boolean;
161
166
  /**
162
167
  * The forward movement command, which includes speed and position.
163
168
  * This allows the user to control the vehicle's forward movement. (Forward and backward)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeptrekker/api-domain",
3
- "version": "1.0.34-collisionavoidanceprototype.0",
3
+ "version": "1.0.34-laketesting.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": {