@deeptrekker/api-domain 1.0.38-collisionavoidanceprototype.1 → 1.0.38-collisionavoidanceprototype.2
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.
|
@@ -776,6 +776,9 @@
|
|
|
776
776
|
"downError": {
|
|
777
777
|
"type": "string"
|
|
778
778
|
},
|
|
779
|
+
"downLatched": {
|
|
780
|
+
"type": "boolean"
|
|
781
|
+
},
|
|
779
782
|
"downState": {
|
|
780
783
|
"description": "\"unknown\" | \"outside\" | \"inside\"",
|
|
781
784
|
"type": "string"
|
|
@@ -787,6 +790,10 @@
|
|
|
787
790
|
"fwdError": {
|
|
788
791
|
"type": "string"
|
|
789
792
|
},
|
|
793
|
+
"fwdLatched": {
|
|
794
|
+
"description": "True when the axis reports \"inside\" because it latched - it saw an obstacle in the keep-out zone and has held that state through sensor data it cannot use - rather than because it can currently see the obstacle. Only a latched axis responds to forceUnlock.",
|
|
795
|
+
"type": "boolean"
|
|
796
|
+
},
|
|
790
797
|
"fwdState": {
|
|
791
798
|
"description": "\"unknown\" | \"outside\" | \"inside\"",
|
|
792
799
|
"type": "string"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_VERSION = "1.0.38-collisionavoidanceprototype.
|
|
1
|
+
export declare const API_VERSION = "1.0.38-collisionavoidanceprototype.2";
|
|
@@ -47,6 +47,16 @@ export type DistanceLock = {
|
|
|
47
47
|
setPoint?: number;
|
|
48
48
|
error?: string;
|
|
49
49
|
};
|
|
50
|
+
/**
|
|
51
|
+
* Which environment collision avoidance tunes its forward axis for.
|
|
52
|
+
*
|
|
53
|
+
* @group Devices
|
|
54
|
+
* @category ROV
|
|
55
|
+
*/
|
|
56
|
+
export declare enum CollisionAvoidanceEnvironment {
|
|
57
|
+
EnclosedSpace = "enclosedSpace",
|
|
58
|
+
OpenWater = "openWater"
|
|
59
|
+
}
|
|
50
60
|
/**
|
|
51
61
|
* Collision Avoidance
|
|
52
62
|
*
|
|
@@ -72,6 +82,16 @@ export type CollisionAvoidance = {
|
|
|
72
82
|
downState?: string;
|
|
73
83
|
downError?: string;
|
|
74
84
|
downLatched?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Which environment the forward axis is tuned for: "enclosedSpace" or "openWater".
|
|
87
|
+
*
|
|
88
|
+
* Only the handling of low-confidence Echosounder returns differs. In an enclosed
|
|
89
|
+
* space a doubtful range is still a range off an awkward surface and is acted on; in
|
|
90
|
+
* open water, with nothing in range, the same returns arrive sporadically at arbitrary
|
|
91
|
+
* distances and are ignored. Stored in the BridgeBox's preferences, so it persists
|
|
92
|
+
* across restarts and applies to every client.
|
|
93
|
+
*/
|
|
94
|
+
environment?: CollisionAvoidanceEnvironment;
|
|
75
95
|
/**
|
|
76
96
|
* Write-only. Set true to force any axis currently latched INSIDE (holding that
|
|
77
97
|
* state through stale/unusable sensor data) back to unknown, so the next sensor
|
|
@@ -1,2 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CollisionAvoidanceEnvironment = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Which environment collision avoidance tunes its forward axis for.
|
|
6
|
+
*
|
|
7
|
+
* @group Devices
|
|
8
|
+
* @category ROV
|
|
9
|
+
*/
|
|
10
|
+
var CollisionAvoidanceEnvironment;
|
|
11
|
+
(function (CollisionAvoidanceEnvironment) {
|
|
12
|
+
CollisionAvoidanceEnvironment["EnclosedSpace"] = "enclosedSpace";
|
|
13
|
+
CollisionAvoidanceEnvironment["OpenWater"] = "openWater";
|
|
14
|
+
})(CollisionAvoidanceEnvironment || (exports.CollisionAvoidanceEnvironment = CollisionAvoidanceEnvironment = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deeptrekker/api-domain",
|
|
3
|
-
"version": "1.0.38-collisionavoidanceprototype.
|
|
3
|
+
"version": "1.0.38-collisionavoidanceprototype.2",
|
|
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": {
|