@deeptrekker/api-domain 1.0.20-60fps.1 → 1.0.20-x4networktable.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/versions/index.d.ts +1 -1
- package/dist/constants/versions/index.js +1 -1
- package/dist/types/devices/cameras/stereoCamera/index.d.ts +5 -6
- package/dist/types/devices/cameras/stereoCamera/index.js +5 -6
- package/dist/types/devices/index.d.ts +83 -12
- package/dist/types/devices/index.js +112 -26
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_VERSION = "1.0.20-
|
|
1
|
+
export declare const API_VERSION = "1.0.20-x4networktable.0";
|
|
@@ -15,14 +15,13 @@ export type StereoCamera = Omit<OcleaCam, "model"> & {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
export declare enum FPSCmdOptions {
|
|
18
|
-
FPS_30 =
|
|
19
|
-
FPS_60 =
|
|
18
|
+
FPS_30 = 1,
|
|
19
|
+
FPS_60 = 2
|
|
20
20
|
}
|
|
21
21
|
export declare enum FPSStateOptions {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
FPS_60 = 3
|
|
22
|
+
LOADING = 0,// For both bootup, and while switching
|
|
23
|
+
FPS_30 = 1,
|
|
24
|
+
FPS_60 = 2
|
|
26
25
|
}
|
|
27
26
|
export declare enum FPSErrorCodeOptions {
|
|
28
27
|
NONE = 0,
|
|
@@ -3,15 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FPSErrorCodeOptions = exports.FPSStateOptions = exports.FPSCmdOptions = void 0;
|
|
4
4
|
var FPSCmdOptions;
|
|
5
5
|
(function (FPSCmdOptions) {
|
|
6
|
-
FPSCmdOptions[FPSCmdOptions["FPS_30"] =
|
|
7
|
-
FPSCmdOptions[FPSCmdOptions["FPS_60"] =
|
|
6
|
+
FPSCmdOptions[FPSCmdOptions["FPS_30"] = 1] = "FPS_30";
|
|
7
|
+
FPSCmdOptions[FPSCmdOptions["FPS_60"] = 2] = "FPS_60";
|
|
8
8
|
})(FPSCmdOptions || (exports.FPSCmdOptions = FPSCmdOptions = {}));
|
|
9
9
|
var FPSStateOptions;
|
|
10
10
|
(function (FPSStateOptions) {
|
|
11
|
-
FPSStateOptions[FPSStateOptions["
|
|
12
|
-
FPSStateOptions[FPSStateOptions["
|
|
13
|
-
FPSStateOptions[FPSStateOptions["
|
|
14
|
-
FPSStateOptions[FPSStateOptions["FPS_60"] = 3] = "FPS_60";
|
|
11
|
+
FPSStateOptions[FPSStateOptions["LOADING"] = 0] = "LOADING";
|
|
12
|
+
FPSStateOptions[FPSStateOptions["FPS_30"] = 1] = "FPS_30";
|
|
13
|
+
FPSStateOptions[FPSStateOptions["FPS_60"] = 2] = "FPS_60";
|
|
15
14
|
})(FPSStateOptions || (exports.FPSStateOptions = FPSStateOptions = {}));
|
|
16
15
|
var FPSErrorCodeOptions;
|
|
17
16
|
(function (FPSErrorCodeOptions) {
|
|
@@ -4,38 +4,47 @@
|
|
|
4
4
|
* @group Devices
|
|
5
5
|
*/
|
|
6
6
|
export declare enum DeviceModel {
|
|
7
|
+
BridgeBox = "BRIDGEBOX",
|
|
7
8
|
A150Crawler = 20,
|
|
8
9
|
A200Crawler = 19,
|
|
9
10
|
DT645 = 22,
|
|
10
|
-
TamronHarrierZoomCamera = 240,
|
|
11
11
|
DTCam = 5,
|
|
12
|
+
TamronHarrierZoomCamera = 240,
|
|
12
13
|
OcleaCam = 206,
|
|
13
14
|
TamronOcleaZoomCamera = 243,
|
|
14
15
|
JZC18ZoomCamera = 207,
|
|
15
16
|
MiniAuxCamera = 241,
|
|
16
|
-
|
|
17
|
+
AegisCam = 242,
|
|
18
|
+
DTG3 = 12,
|
|
17
19
|
Onyx = 16,
|
|
18
20
|
Revolution = 13,
|
|
19
21
|
Pivot = 18,
|
|
22
|
+
Photon = 24,
|
|
20
23
|
X4 = 32,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
X4Thruster = 114,// DNE
|
|
24
|
+
X4PDM = 113,
|
|
25
|
+
X4Thruster = 114,
|
|
24
26
|
X4Lights = 115,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
X4Grabber = 118,// DNE
|
|
27
|
+
X4CameraHead = 116,
|
|
28
|
+
SensorPodX = 118,
|
|
28
29
|
RevolutionCameraHead = 102,
|
|
29
30
|
PivotCameraHead = 103,
|
|
30
|
-
A150CameraHead = 109,
|
|
31
31
|
A200CameraHead = 106,
|
|
32
|
+
A150CameraHead = 109,
|
|
32
33
|
ManualReel = 107,
|
|
33
34
|
PoweredReel = 108,
|
|
34
|
-
BridgeBox = "BRIDGEBOX",
|
|
35
35
|
SensorPodPlus = 100,
|
|
36
36
|
SensorPod = 101,
|
|
37
|
-
|
|
37
|
+
DT840Hoser = 104,
|
|
38
|
+
DT840Arm = 105,
|
|
39
|
+
RovGps = 110,
|
|
40
|
+
SerialBox = 111,
|
|
41
|
+
WaterlinkedGps = 200,
|
|
42
|
+
Seatrac = 201,
|
|
38
43
|
DVL = 202,
|
|
44
|
+
PathfindrDVL = 203,
|
|
45
|
+
OculusSonar = 204,
|
|
46
|
+
GeminiSonar = 205,
|
|
47
|
+
CeruleanEchosounder = 244,
|
|
39
48
|
WATERLINKED_3D_SONAR = 245
|
|
40
49
|
}
|
|
41
50
|
/**
|
|
@@ -87,6 +96,31 @@ export declare const VEHICLE_DEVICE_MODEL_LABELS: {
|
|
|
87
96
|
readonly 24: "PHOTON";
|
|
88
97
|
readonly 16: "ONYX";
|
|
89
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Deep Trekker's Peripheral Device Model Labels
|
|
101
|
+
* @group Devices
|
|
102
|
+
* @category Peripherals
|
|
103
|
+
*/
|
|
104
|
+
export declare const PERIPHERAL_DEVICE_MODEL_LABELS: {
|
|
105
|
+
readonly 101: "Sensor Pod";
|
|
106
|
+
readonly 100: "Sensor Pod+";
|
|
107
|
+
readonly 118: "Sensor Pod X";
|
|
108
|
+
readonly 110: "ROV GPS";
|
|
109
|
+
readonly 111: "Serial Interface Box";
|
|
110
|
+
readonly 200: "WaterLinked UGPS";
|
|
111
|
+
readonly 201: "SeaTrac USBL";
|
|
112
|
+
readonly 202: "WaterLinked DVL";
|
|
113
|
+
readonly 203: "Pathfindr DVL";
|
|
114
|
+
readonly 204: "Oculus Sonar";
|
|
115
|
+
readonly 205: "Gemini Sonar";
|
|
116
|
+
readonly 244: "Cerulean Echosounder";
|
|
117
|
+
readonly 245: "Water Linked 3D Sonar";
|
|
118
|
+
readonly 104: "DT840 Hoser";
|
|
119
|
+
readonly 105: "DT840 Manipulator Arm";
|
|
120
|
+
readonly 113: "Power Distribution Module";
|
|
121
|
+
readonly 114: "Thruster";
|
|
122
|
+
readonly 115: "Lights";
|
|
123
|
+
};
|
|
90
124
|
/**
|
|
91
125
|
* Deep Trekker's Camera Head Device Model Labels
|
|
92
126
|
* @group Devices
|
|
@@ -97,6 +131,7 @@ export declare const CAMERA_HEAD_DEVICE_MODEL_LABELS: {
|
|
|
97
131
|
readonly 106: "A-200 Camera Head";
|
|
98
132
|
readonly 102: "REVOLUTION Camera Head";
|
|
99
133
|
readonly 103: "PIVOT Camera Head";
|
|
134
|
+
readonly 116: "Spectra Camera Head";
|
|
100
135
|
};
|
|
101
136
|
/**
|
|
102
137
|
* Deep Trekker's Reel Device Model Labels
|
|
@@ -120,13 +155,31 @@ export declare const CAMERA_DEVICE_MODELS: readonly [DeviceModel.TamronHarrierZo
|
|
|
120
155
|
*/
|
|
121
156
|
export declare const DEVICE_MODEL_LABELS: {
|
|
122
157
|
readonly BRIDGEBOX: "BridgeBox";
|
|
158
|
+
readonly 101: "Sensor Pod";
|
|
159
|
+
readonly 100: "Sensor Pod+";
|
|
160
|
+
readonly 118: "Sensor Pod X";
|
|
161
|
+
readonly 110: "ROV GPS";
|
|
162
|
+
readonly 111: "Serial Interface Box";
|
|
163
|
+
readonly 200: "WaterLinked UGPS";
|
|
164
|
+
readonly 201: "SeaTrac USBL";
|
|
165
|
+
readonly 202: "WaterLinked DVL";
|
|
166
|
+
readonly 203: "Pathfindr DVL";
|
|
167
|
+
readonly 204: "Oculus Sonar";
|
|
168
|
+
readonly 205: "Gemini Sonar";
|
|
169
|
+
readonly 244: "Cerulean Echosounder";
|
|
123
170
|
readonly 245: "Water Linked 3D Sonar";
|
|
171
|
+
readonly 104: "DT840 Hoser";
|
|
172
|
+
readonly 105: "DT840 Manipulator Arm";
|
|
173
|
+
readonly 113: "Power Distribution Module";
|
|
174
|
+
readonly 114: "Thruster";
|
|
175
|
+
readonly 115: "Lights";
|
|
124
176
|
readonly 107: "Tether Reel";
|
|
125
177
|
readonly 108: "Powered Tether Reel";
|
|
126
178
|
readonly 109: "A-150 Camera Head";
|
|
127
179
|
readonly 106: "A-200 Camera Head";
|
|
128
180
|
readonly 102: "REVOLUTION Camera Head";
|
|
129
181
|
readonly 103: "PIVOT Camera Head";
|
|
182
|
+
readonly 116: "Spectra Camera Head";
|
|
130
183
|
readonly 20: "A-150";
|
|
131
184
|
readonly 19: "A-200";
|
|
132
185
|
readonly 13: "REVOLUTION";
|
|
@@ -146,7 +199,7 @@ export declare const DEVICE_MODEL_LABELS: {
|
|
|
146
199
|
* @group Devices
|
|
147
200
|
* @category Camera Heads
|
|
148
201
|
*/
|
|
149
|
-
export declare const CAMERA_HEAD_DEVICE_MODELS: readonly [DeviceModel.A150CameraHead, DeviceModel.A200CameraHead, DeviceModel.RevolutionCameraHead, DeviceModel.PivotCameraHead];
|
|
202
|
+
export declare const CAMERA_HEAD_DEVICE_MODELS: readonly [DeviceModel.A150CameraHead, DeviceModel.A200CameraHead, DeviceModel.RevolutionCameraHead, DeviceModel.PivotCameraHead, DeviceModel.X4CameraHead];
|
|
150
203
|
/**
|
|
151
204
|
* Deep Trekker's Vehicle Device Models
|
|
152
205
|
* @group Devices
|
|
@@ -165,6 +218,24 @@ export declare const CRAWLER_DEVICE_MODELS: readonly [DeviceModel.A150Crawler, D
|
|
|
165
218
|
* @category Reels
|
|
166
219
|
*/
|
|
167
220
|
export declare const REEL_DEVICE_MODELS: readonly [DeviceModel.ManualReel, DeviceModel.PoweredReel];
|
|
221
|
+
/**
|
|
222
|
+
* Deep Trekker's Sensor Pod Device Models
|
|
223
|
+
* @group Devices
|
|
224
|
+
* @category SensorPods
|
|
225
|
+
*/
|
|
226
|
+
export declare const SENSOR_POD_DEVICE_MODELS: readonly [DeviceModel.SensorPod, DeviceModel.SensorPodPlus, DeviceModel.SensorPodX];
|
|
227
|
+
/**
|
|
228
|
+
* Deep Trekker's Gen4 Peripheral Device Models
|
|
229
|
+
* @group Devices
|
|
230
|
+
* @category Gen4 Peripherals
|
|
231
|
+
*/
|
|
232
|
+
export declare const X4_PERIPHERAL_DEVICE_MODELS: readonly [DeviceModel.X4PDM, DeviceModel.X4Thruster, DeviceModel.X4Lights];
|
|
233
|
+
/**
|
|
234
|
+
* All External Peripheral Device Models
|
|
235
|
+
* @group Devices
|
|
236
|
+
* @category Peripherals
|
|
237
|
+
*/
|
|
238
|
+
export declare const PERIPHERAL_DEVICE_MODELS: readonly [DeviceModel.RovGps, DeviceModel.SerialBox, DeviceModel.WaterlinkedGps, DeviceModel.Seatrac, DeviceModel.DVL, DeviceModel.PathfindrDVL, DeviceModel.OculusSonar, DeviceModel.GeminiSonar, DeviceModel.CeruleanEchosounder, DeviceModel.WATERLINKED_3D_SONAR, DeviceModel.SensorPod, DeviceModel.SensorPodPlus, DeviceModel.SensorPodX, DeviceModel.X4PDM, DeviceModel.X4Thruster, DeviceModel.X4Lights];
|
|
168
239
|
/**
|
|
169
240
|
* Device Version is a base interface for hardware and software version sample payloads.
|
|
170
241
|
* -1 hardware versions and 0.0 software versions refer to not applicable
|
|
@@ -24,9 +24,18 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
24
24
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
25
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
26
|
};
|
|
27
|
-
var
|
|
27
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
28
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
29
|
+
if (ar || !(i in from)) {
|
|
30
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
31
|
+
ar[i] = from[i];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
35
|
+
};
|
|
36
|
+
var _a, _b, _c, _d, _e, _f;
|
|
28
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.REEL_DEVICE_MODELS = exports.CRAWLER_DEVICE_MODELS = exports.VEHICLE_DEVICE_MODELS = exports.CAMERA_HEAD_DEVICE_MODELS = exports.DEVICE_MODEL_LABELS = exports.CAMERA_DEVICE_MODELS = exports.REEL_DEVICE_MODEL_LABELS = exports.CAMERA_HEAD_DEVICE_MODEL_LABELS = exports.VEHICLE_DEVICE_MODEL_LABELS = exports.CAMERA_DEVICE_MODEL_LABELS = exports.CpuTemperatureThreshold = exports.BandwidthDegradationThreshold = exports.DeviceModel = void 0;
|
|
38
|
+
exports.PERIPHERAL_DEVICE_MODELS = exports.X4_PERIPHERAL_DEVICE_MODELS = exports.SENSOR_POD_DEVICE_MODELS = exports.REEL_DEVICE_MODELS = exports.CRAWLER_DEVICE_MODELS = exports.VEHICLE_DEVICE_MODELS = exports.CAMERA_HEAD_DEVICE_MODELS = exports.DEVICE_MODEL_LABELS = exports.CAMERA_DEVICE_MODELS = exports.REEL_DEVICE_MODEL_LABELS = exports.CAMERA_HEAD_DEVICE_MODEL_LABELS = exports.PERIPHERAL_DEVICE_MODEL_LABELS = exports.VEHICLE_DEVICE_MODEL_LABELS = exports.CAMERA_DEVICE_MODEL_LABELS = exports.CpuTemperatureThreshold = exports.BandwidthDegradationThreshold = exports.DeviceModel = void 0;
|
|
30
39
|
/**
|
|
31
40
|
* Deep Trekker internal device model numbers.
|
|
32
41
|
* @category Core
|
|
@@ -34,45 +43,55 @@ exports.REEL_DEVICE_MODELS = exports.CRAWLER_DEVICE_MODELS = exports.VEHICLE_DEV
|
|
|
34
43
|
*/
|
|
35
44
|
var DeviceModel;
|
|
36
45
|
(function (DeviceModel) {
|
|
46
|
+
/*Controllers */
|
|
47
|
+
DeviceModel["BridgeBox"] = "BRIDGEBOX";
|
|
37
48
|
/* Crawlers */
|
|
38
49
|
DeviceModel[DeviceModel["A150Crawler"] = 20] = "A150Crawler";
|
|
39
50
|
DeviceModel[DeviceModel["A200Crawler"] = 19] = "A200Crawler";
|
|
40
51
|
DeviceModel[DeviceModel["DT645"] = 22] = "DT645";
|
|
41
|
-
/*Cameras */
|
|
42
|
-
DeviceModel[DeviceModel["TamronHarrierZoomCamera"] = 240] = "TamronHarrierZoomCamera";
|
|
52
|
+
/* Cameras */
|
|
43
53
|
DeviceModel[DeviceModel["DTCam"] = 5] = "DTCam";
|
|
54
|
+
DeviceModel[DeviceModel["TamronHarrierZoomCamera"] = 240] = "TamronHarrierZoomCamera";
|
|
44
55
|
DeviceModel[DeviceModel["OcleaCam"] = 206] = "OcleaCam";
|
|
45
56
|
DeviceModel[DeviceModel["TamronOcleaZoomCamera"] = 243] = "TamronOcleaZoomCamera";
|
|
46
57
|
DeviceModel[DeviceModel["JZC18ZoomCamera"] = 207] = "JZC18ZoomCamera";
|
|
47
58
|
DeviceModel[DeviceModel["MiniAuxCamera"] = 241] = "MiniAuxCamera";
|
|
48
|
-
|
|
49
|
-
|
|
59
|
+
DeviceModel[DeviceModel["AegisCam"] = 242] = "AegisCam";
|
|
60
|
+
/* ROV Vehicles */
|
|
61
|
+
DeviceModel[DeviceModel["DTG3"] = 12] = "DTG3";
|
|
50
62
|
DeviceModel[DeviceModel["Onyx"] = 16] = "Onyx";
|
|
51
63
|
DeviceModel[DeviceModel["Revolution"] = 13] = "Revolution";
|
|
52
64
|
DeviceModel[DeviceModel["Pivot"] = 18] = "Pivot";
|
|
53
|
-
|
|
65
|
+
DeviceModel[DeviceModel["Photon"] = 24] = "Photon";
|
|
66
|
+
/* Gen 4 Series */
|
|
54
67
|
DeviceModel[DeviceModel["X4"] = 32] = "X4";
|
|
55
|
-
DeviceModel[DeviceModel["X4PCM"] = 112] = "X4PCM";
|
|
56
68
|
DeviceModel[DeviceModel["X4PDM"] = 113] = "X4PDM";
|
|
57
69
|
DeviceModel[DeviceModel["X4Thruster"] = 114] = "X4Thruster";
|
|
58
70
|
DeviceModel[DeviceModel["X4Lights"] = 115] = "X4Lights";
|
|
59
|
-
DeviceModel[DeviceModel["
|
|
60
|
-
DeviceModel[DeviceModel["
|
|
61
|
-
DeviceModel[DeviceModel["X4Grabber"] = 118] = "X4Grabber";
|
|
71
|
+
DeviceModel[DeviceModel["X4CameraHead"] = 116] = "X4CameraHead";
|
|
72
|
+
DeviceModel[DeviceModel["SensorPodX"] = 118] = "SensorPodX";
|
|
62
73
|
/* Camera Heads */
|
|
63
74
|
DeviceModel[DeviceModel["RevolutionCameraHead"] = 102] = "RevolutionCameraHead";
|
|
64
75
|
DeviceModel[DeviceModel["PivotCameraHead"] = 103] = "PivotCameraHead";
|
|
65
|
-
DeviceModel[DeviceModel["A150CameraHead"] = 109] = "A150CameraHead";
|
|
66
76
|
DeviceModel[DeviceModel["A200CameraHead"] = 106] = "A200CameraHead";
|
|
77
|
+
DeviceModel[DeviceModel["A150CameraHead"] = 109] = "A150CameraHead";
|
|
67
78
|
/* Reels */
|
|
68
79
|
DeviceModel[DeviceModel["ManualReel"] = 107] = "ManualReel";
|
|
69
80
|
DeviceModel[DeviceModel["PoweredReel"] = 108] = "PoweredReel";
|
|
70
|
-
/*Peripherals */
|
|
71
|
-
DeviceModel["BridgeBox"] = "BRIDGEBOX";
|
|
81
|
+
/* Peripherals & Sonar */
|
|
72
82
|
DeviceModel[DeviceModel["SensorPodPlus"] = 100] = "SensorPodPlus";
|
|
73
83
|
DeviceModel[DeviceModel["SensorPod"] = 101] = "SensorPod";
|
|
74
|
-
DeviceModel[DeviceModel["
|
|
84
|
+
DeviceModel[DeviceModel["DT840Hoser"] = 104] = "DT840Hoser";
|
|
85
|
+
DeviceModel[DeviceModel["DT840Arm"] = 105] = "DT840Arm";
|
|
86
|
+
DeviceModel[DeviceModel["RovGps"] = 110] = "RovGps";
|
|
87
|
+
DeviceModel[DeviceModel["SerialBox"] = 111] = "SerialBox";
|
|
88
|
+
DeviceModel[DeviceModel["WaterlinkedGps"] = 200] = "WaterlinkedGps";
|
|
89
|
+
DeviceModel[DeviceModel["Seatrac"] = 201] = "Seatrac";
|
|
75
90
|
DeviceModel[DeviceModel["DVL"] = 202] = "DVL";
|
|
91
|
+
DeviceModel[DeviceModel["PathfindrDVL"] = 203] = "PathfindrDVL";
|
|
92
|
+
DeviceModel[DeviceModel["OculusSonar"] = 204] = "OculusSonar";
|
|
93
|
+
DeviceModel[DeviceModel["GeminiSonar"] = 205] = "GeminiSonar";
|
|
94
|
+
DeviceModel[DeviceModel["CeruleanEchosounder"] = 244] = "CeruleanEchosounder";
|
|
76
95
|
DeviceModel[DeviceModel["WATERLINKED_3D_SONAR"] = 245] = "WATERLINKED_3D_SONAR";
|
|
77
96
|
})(DeviceModel || (exports.DeviceModel = DeviceModel = {}));
|
|
78
97
|
/**
|
|
@@ -126,26 +145,55 @@ exports.VEHICLE_DEVICE_MODEL_LABELS = (_b = {},
|
|
|
126
145
|
_b[DeviceModel.Photon] = "PHOTON",
|
|
127
146
|
_b[DeviceModel.Onyx] = "ONYX",
|
|
128
147
|
_b);
|
|
148
|
+
/**
|
|
149
|
+
* Deep Trekker's Peripheral Device Model Labels
|
|
150
|
+
* @group Devices
|
|
151
|
+
* @category Peripherals
|
|
152
|
+
*/
|
|
153
|
+
exports.PERIPHERAL_DEVICE_MODEL_LABELS = (_c = {},
|
|
154
|
+
/* Standard Peripherals */
|
|
155
|
+
_c[DeviceModel.SensorPod] = "Sensor Pod",
|
|
156
|
+
_c[DeviceModel.SensorPodPlus] = "Sensor Pod+",
|
|
157
|
+
_c[DeviceModel.SensorPodX] = "Sensor Pod X",
|
|
158
|
+
_c[DeviceModel.RovGps] = "ROV GPS",
|
|
159
|
+
_c[DeviceModel.SerialBox] = "Serial Interface Box",
|
|
160
|
+
_c[DeviceModel.WaterlinkedGps] = "WaterLinked UGPS",
|
|
161
|
+
_c[DeviceModel.Seatrac] = "SeaTrac USBL",
|
|
162
|
+
_c[DeviceModel.DVL] = "WaterLinked DVL",
|
|
163
|
+
_c[DeviceModel.PathfindrDVL] = "Pathfindr DVL",
|
|
164
|
+
_c[DeviceModel.OculusSonar] = "Oculus Sonar",
|
|
165
|
+
_c[DeviceModel.GeminiSonar] = "Gemini Sonar",
|
|
166
|
+
_c[DeviceModel.CeruleanEchosounder] = "Cerulean Echosounder",
|
|
167
|
+
_c[DeviceModel.WATERLINKED_3D_SONAR] = "Water Linked 3D Sonar",
|
|
168
|
+
/* Legacy / Special Components */
|
|
169
|
+
_c[DeviceModel.DT840Hoser] = "DT840 Hoser",
|
|
170
|
+
_c[DeviceModel.DT840Arm] = "DT840 Manipulator Arm",
|
|
171
|
+
/* X4 Specific Internal Peripherals */
|
|
172
|
+
_c[DeviceModel.X4PDM] = "Power Distribution Module",
|
|
173
|
+
_c[DeviceModel.X4Thruster] = "Thruster",
|
|
174
|
+
_c[DeviceModel.X4Lights] = "Lights",
|
|
175
|
+
_c);
|
|
129
176
|
/**
|
|
130
177
|
* Deep Trekker's Camera Head Device Model Labels
|
|
131
178
|
* @group Devices
|
|
132
179
|
* @category Camera Heads
|
|
133
180
|
*/
|
|
134
|
-
exports.CAMERA_HEAD_DEVICE_MODEL_LABELS = (
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
181
|
+
exports.CAMERA_HEAD_DEVICE_MODEL_LABELS = (_d = {},
|
|
182
|
+
_d[DeviceModel.A150CameraHead] = "A-150 Camera Head",
|
|
183
|
+
_d[DeviceModel.A200CameraHead] = "A-200 Camera Head",
|
|
184
|
+
_d[DeviceModel.RevolutionCameraHead] = "REVOLUTION Camera Head",
|
|
185
|
+
_d[DeviceModel.PivotCameraHead] = "PIVOT Camera Head",
|
|
186
|
+
_d[DeviceModel.X4CameraHead] = "Spectra Camera Head",
|
|
187
|
+
_d);
|
|
140
188
|
/**
|
|
141
189
|
* Deep Trekker's Reel Device Model Labels
|
|
142
190
|
* @group Devices
|
|
143
191
|
* @category Reels
|
|
144
192
|
*/
|
|
145
|
-
exports.REEL_DEVICE_MODEL_LABELS = (
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
193
|
+
exports.REEL_DEVICE_MODEL_LABELS = (_e = {},
|
|
194
|
+
_e[DeviceModel.ManualReel] = "Tether Reel",
|
|
195
|
+
_e[DeviceModel.PoweredReel] = "Powered Tether Reel",
|
|
196
|
+
_e);
|
|
149
197
|
/**
|
|
150
198
|
* Deep Trekker's Camera Device Models
|
|
151
199
|
* @group Devices
|
|
@@ -164,7 +212,7 @@ exports.CAMERA_DEVICE_MODELS = [
|
|
|
164
212
|
* @group Devices
|
|
165
213
|
* @category Core
|
|
166
214
|
*/
|
|
167
|
-
exports.DEVICE_MODEL_LABELS = __assign(__assign(__assign(__assign(__assign({}, exports.CAMERA_DEVICE_MODEL_LABELS), exports.VEHICLE_DEVICE_MODEL_LABELS), exports.CAMERA_HEAD_DEVICE_MODEL_LABELS), exports.REEL_DEVICE_MODEL_LABELS), (
|
|
215
|
+
exports.DEVICE_MODEL_LABELS = __assign(__assign(__assign(__assign(__assign(__assign({}, exports.CAMERA_DEVICE_MODEL_LABELS), exports.VEHICLE_DEVICE_MODEL_LABELS), exports.CAMERA_HEAD_DEVICE_MODEL_LABELS), exports.REEL_DEVICE_MODEL_LABELS), exports.PERIPHERAL_DEVICE_MODEL_LABELS), (_f = {}, _f[DeviceModel.BridgeBox] = "BridgeBox", _f));
|
|
168
216
|
/**
|
|
169
217
|
* Deep Trekker's Camera Head Device Models
|
|
170
218
|
* @group Devices
|
|
@@ -175,6 +223,7 @@ exports.CAMERA_HEAD_DEVICE_MODELS = [
|
|
|
175
223
|
DeviceModel.A200CameraHead,
|
|
176
224
|
DeviceModel.RevolutionCameraHead,
|
|
177
225
|
DeviceModel.PivotCameraHead,
|
|
226
|
+
DeviceModel.X4CameraHead,
|
|
178
227
|
];
|
|
179
228
|
/**
|
|
180
229
|
* Deep Trekker's Vehicle Device Models
|
|
@@ -206,6 +255,43 @@ exports.REEL_DEVICE_MODELS = [
|
|
|
206
255
|
DeviceModel.ManualReel,
|
|
207
256
|
DeviceModel.PoweredReel,
|
|
208
257
|
];
|
|
258
|
+
/**
|
|
259
|
+
* Deep Trekker's Sensor Pod Device Models
|
|
260
|
+
* @group Devices
|
|
261
|
+
* @category SensorPods
|
|
262
|
+
*/
|
|
263
|
+
exports.SENSOR_POD_DEVICE_MODELS = [
|
|
264
|
+
DeviceModel.SensorPod,
|
|
265
|
+
DeviceModel.SensorPodPlus,
|
|
266
|
+
DeviceModel.SensorPodX,
|
|
267
|
+
];
|
|
268
|
+
/**
|
|
269
|
+
* Deep Trekker's Gen4 Peripheral Device Models
|
|
270
|
+
* @group Devices
|
|
271
|
+
* @category Gen4 Peripherals
|
|
272
|
+
*/
|
|
273
|
+
exports.X4_PERIPHERAL_DEVICE_MODELS = [
|
|
274
|
+
DeviceModel.X4PDM,
|
|
275
|
+
DeviceModel.X4Thruster,
|
|
276
|
+
DeviceModel.X4Lights,
|
|
277
|
+
];
|
|
278
|
+
/**
|
|
279
|
+
* All External Peripheral Device Models
|
|
280
|
+
* @group Devices
|
|
281
|
+
* @category Peripherals
|
|
282
|
+
*/
|
|
283
|
+
exports.PERIPHERAL_DEVICE_MODELS = __spreadArray(__spreadArray([
|
|
284
|
+
DeviceModel.RovGps,
|
|
285
|
+
DeviceModel.SerialBox,
|
|
286
|
+
DeviceModel.WaterlinkedGps,
|
|
287
|
+
DeviceModel.Seatrac,
|
|
288
|
+
DeviceModel.DVL,
|
|
289
|
+
DeviceModel.PathfindrDVL,
|
|
290
|
+
DeviceModel.OculusSonar,
|
|
291
|
+
DeviceModel.GeminiSonar,
|
|
292
|
+
DeviceModel.CeruleanEchosounder,
|
|
293
|
+
DeviceModel.WATERLINKED_3D_SONAR
|
|
294
|
+
], exports.SENSOR_POD_DEVICE_MODELS, true), exports.X4_PERIPHERAL_DEVICE_MODELS, true);
|
|
209
295
|
__exportStar(require("./cameraHeads"), exports);
|
|
210
296
|
__exportStar(require("./cameras"), exports);
|
|
211
297
|
__exportStar(require("./core"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deeptrekker/api-domain",
|
|
3
|
-
"version": "1.0.20-
|
|
3
|
+
"version": "1.0.20-x4networktable.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": {
|