@deeptrekker/api-domain 1.0.20-x4networktable.6 → 1.0.20-x4networktable.9
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 +2 -0
- package/dist/constants/versions/index.d.ts +1 -1
- package/dist/constants/versions/index.js +1 -1
- package/dist/types/devices/index.d.ts +4 -0
- package/dist/types/devices/index.js +3 -0
- package/dist/types/devices/vehicles/x4/index.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_VERSION = "1.0.20-x4networktable.
|
|
1
|
+
export declare const API_VERSION = "1.0.20-x4networktable.9";
|
|
@@ -28,6 +28,8 @@ export declare enum DeviceModel {
|
|
|
28
28
|
X4CameraHead = 116,
|
|
29
29
|
SensorPodX = 117,
|
|
30
30
|
X4GrabberModel = 118,
|
|
31
|
+
X4BrushedMotor = 116,
|
|
32
|
+
X4OculusSonar = 246,
|
|
31
33
|
RevolutionCameraHead = 102,
|
|
32
34
|
PivotCameraHead = 103,
|
|
33
35
|
A200CameraHead = 106,
|
|
@@ -118,6 +120,7 @@ export declare const PERIPHERAL_DEVICE_MODEL_LABELS: {
|
|
|
118
120
|
readonly 202: "WaterLinked DVL";
|
|
119
121
|
readonly 203: "Pathfindr DVL";
|
|
120
122
|
readonly 204: "Oculus Sonar";
|
|
123
|
+
readonly 246: "Oculus Sonar";
|
|
121
124
|
readonly 205: "Gemini Sonar";
|
|
122
125
|
readonly 244: "Echosounder";
|
|
123
126
|
readonly 245: "Water Linked 3D Sonar";
|
|
@@ -172,6 +175,7 @@ export declare const DEVICE_MODEL_LABELS: {
|
|
|
172
175
|
readonly 202: "WaterLinked DVL";
|
|
173
176
|
readonly 203: "Pathfindr DVL";
|
|
174
177
|
readonly 204: "Oculus Sonar";
|
|
178
|
+
readonly 246: "Oculus Sonar";
|
|
175
179
|
readonly 205: "Gemini Sonar";
|
|
176
180
|
readonly 244: "Echosounder";
|
|
177
181
|
readonly 245: "Water Linked 3D Sonar";
|
|
@@ -72,6 +72,8 @@ var DeviceModel;
|
|
|
72
72
|
DeviceModel[DeviceModel["X4CameraHead"] = 116] = "X4CameraHead";
|
|
73
73
|
DeviceModel[DeviceModel["SensorPodX"] = 117] = "SensorPodX";
|
|
74
74
|
DeviceModel[DeviceModel["X4GrabberModel"] = 118] = "X4GrabberModel";
|
|
75
|
+
DeviceModel[DeviceModel["X4BrushedMotor"] = 116] = "X4BrushedMotor";
|
|
76
|
+
DeviceModel[DeviceModel["X4OculusSonar"] = 246] = "X4OculusSonar";
|
|
75
77
|
/* Camera Heads */
|
|
76
78
|
DeviceModel[DeviceModel["RevolutionCameraHead"] = 102] = "RevolutionCameraHead";
|
|
77
79
|
DeviceModel[DeviceModel["PivotCameraHead"] = 103] = "PivotCameraHead";
|
|
@@ -168,6 +170,7 @@ exports.PERIPHERAL_DEVICE_MODEL_LABELS = (_c = {},
|
|
|
168
170
|
_c[DeviceModel.DVL] = "WaterLinked DVL",
|
|
169
171
|
_c[DeviceModel.PathfindrDVL] = "Pathfindr DVL",
|
|
170
172
|
_c[DeviceModel.OculusSonar] = "Oculus Sonar",
|
|
173
|
+
_c[DeviceModel.X4OculusSonar] = "Oculus Sonar",
|
|
171
174
|
_c[DeviceModel.GeminiSonar] = "Gemini Sonar",
|
|
172
175
|
_c[DeviceModel.Echosounder] = "Echosounder",
|
|
173
176
|
_c[DeviceModel.WATERLINKED_3D_SONAR] = "Water Linked 3D Sonar",
|
|
@@ -101,6 +101,10 @@ export type X4Thruster = {
|
|
|
101
101
|
* @category Controls
|
|
102
102
|
*/
|
|
103
103
|
export type X4DriveCommand = {
|
|
104
|
+
/**
|
|
105
|
+
* Flag dictating if rosbag recording should be active.
|
|
106
|
+
*/
|
|
107
|
+
rosbag?: boolean;
|
|
104
108
|
/**
|
|
105
109
|
* The reference frame for the drive command, which can be used to specify the coordinate system in which the command is issued.
|
|
106
110
|
* This allows the user to control the vehicle's movement in a specific frame of reference. The value must correspond to a valid reference frame in the system (mac address of a camera or camera head).
|
|
@@ -656,6 +660,7 @@ export type X4MediaSession = {
|
|
|
656
660
|
* @category Core
|
|
657
661
|
*/
|
|
658
662
|
export type X4 = {
|
|
663
|
+
rosbag?: boolean;
|
|
659
664
|
/**
|
|
660
665
|
* A record of network devices associated with the X4 vehicle. They are identified by their unique MAC address.
|
|
661
666
|
* Each device contains properties such as model, IP address, software version, hardware version,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deeptrekker/api-domain",
|
|
3
|
-
"version": "1.0.20-x4networktable.
|
|
3
|
+
"version": "1.0.20-x4networktable.9",
|
|
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": {
|