@blueyerobotics/protocol-definitions 3.2.0-71478e92 → 3.2.0-7dc2e1a9
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/aquatroll.js +1 -1
- package/dist/control.js +1 -1
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +37 -0
- package/dist/message_formats.js +191 -5
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +9 -1
- package/dist/telemetry.js +74 -2
- package/package.json +1 -1
package/dist/aquatroll.js
CHANGED
package/dist/control.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/any.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/duration.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/timestamp.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/index.blueye.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
package/dist/index.google.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
@@ -390,6 +390,8 @@ export declare enum GuestPortDeviceID {
|
|
|
390
390
|
GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
|
|
391
391
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
392
392
|
GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
|
|
393
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
394
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
|
|
393
395
|
UNRECOGNIZED = -1
|
|
394
396
|
}
|
|
395
397
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -1842,6 +1844,39 @@ export interface CPUInfo {
|
|
|
1842
1844
|
mainQueueLoad: number;
|
|
1843
1845
|
/** Guestport queue load (0..1). */
|
|
1844
1846
|
guestportQueueLoad: number;
|
|
1847
|
+
/** Communication queue load (0..1). */
|
|
1848
|
+
commQueueLoad: number;
|
|
1849
|
+
}
|
|
1850
|
+
/**
|
|
1851
|
+
* Surface Unit battery information.
|
|
1852
|
+
*
|
|
1853
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1854
|
+
* the drone over the communication protocol.
|
|
1855
|
+
*/
|
|
1856
|
+
export interface SurfaceUnitBatteryInfo {
|
|
1857
|
+
/** Battery charge status. */
|
|
1858
|
+
status: SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1859
|
+
/** Battery level (0..1). */
|
|
1860
|
+
level: number;
|
|
1861
|
+
}
|
|
1862
|
+
export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
|
|
1863
|
+
CHARGE_STATUS_UNSPECIFIED = 0,
|
|
1864
|
+
CHARGE_STATUS_DISCHARGE = 1,
|
|
1865
|
+
CHARGE_STATUS_CHARGE = 2,
|
|
1866
|
+
CHARGE_STATUS_CHARGE_ERROR = 3,
|
|
1867
|
+
UNRECOGNIZED = -1
|
|
1868
|
+
}
|
|
1869
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1870
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
|
|
1871
|
+
/**
|
|
1872
|
+
* Surface Unit version information.
|
|
1873
|
+
*
|
|
1874
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1875
|
+
* the drone over the communication protocol.
|
|
1876
|
+
*/
|
|
1877
|
+
export interface SurfaceUnitVersionInfo {
|
|
1878
|
+
/** Surface Unit firmware version (x.y.z). */
|
|
1879
|
+
version: string;
|
|
1845
1880
|
}
|
|
1846
1881
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1847
1882
|
export declare const LogEntry: MessageFns<LogEntry>;
|
|
@@ -1930,6 +1965,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
|
1930
1965
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
1931
1966
|
export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
|
|
1932
1967
|
export declare const CPUInfo: MessageFns<CPUInfo>;
|
|
1968
|
+
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
1969
|
+
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
1933
1970
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1934
1971
|
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
1935
1972
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/dist/message_formats.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = void 0;
|
|
8
|
+
exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = void 0;
|
|
10
|
+
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -68,6 +68,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
68
68
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
69
69
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
70
70
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
71
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
72
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
71
73
|
/* eslint-disable */
|
|
72
74
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
73
75
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -1176,6 +1178,8 @@ var GuestPortDeviceID;
|
|
|
1176
1178
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1177
1179
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1178
1180
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1181
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1182
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1179
1183
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1180
1184
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1181
1185
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1315,6 +1319,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1315
1319
|
case 44:
|
|
1316
1320
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1317
1321
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1322
|
+
case 45:
|
|
1323
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1324
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1318
1325
|
case -1:
|
|
1319
1326
|
case "UNRECOGNIZED":
|
|
1320
1327
|
default:
|
|
@@ -1413,6 +1420,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1413
1420
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1414
1421
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1415
1422
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1423
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1424
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1416
1425
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1417
1426
|
default:
|
|
1418
1427
|
return "UNRECOGNIZED";
|
|
@@ -2135,6 +2144,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2135
2144
|
return "UNRECOGNIZED";
|
|
2136
2145
|
}
|
|
2137
2146
|
}
|
|
2147
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2148
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2149
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2150
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2151
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2152
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2153
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2154
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2155
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2156
|
+
switch (object) {
|
|
2157
|
+
case 0:
|
|
2158
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2159
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2160
|
+
case 1:
|
|
2161
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2162
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2163
|
+
case 2:
|
|
2164
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2165
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2166
|
+
case 3:
|
|
2167
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2168
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2169
|
+
case -1:
|
|
2170
|
+
case "UNRECOGNIZED":
|
|
2171
|
+
default:
|
|
2172
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2176
|
+
switch (object) {
|
|
2177
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2178
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2179
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2180
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2181
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2182
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2183
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2184
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2185
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2186
|
+
default:
|
|
2187
|
+
return "UNRECOGNIZED";
|
|
2188
|
+
}
|
|
2189
|
+
}
|
|
2138
2190
|
function createBaseBinlogRecord() {
|
|
2139
2191
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2140
2192
|
}
|
|
@@ -12460,7 +12512,7 @@ exports.PersistentStorageSettings = {
|
|
|
12460
12512
|
},
|
|
12461
12513
|
};
|
|
12462
12514
|
function createBaseCPUInfo() {
|
|
12463
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12515
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12464
12516
|
}
|
|
12465
12517
|
exports.CPUInfo = {
|
|
12466
12518
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12476,6 +12528,9 @@ exports.CPUInfo = {
|
|
|
12476
12528
|
if (message.guestportQueueLoad !== 0) {
|
|
12477
12529
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12478
12530
|
}
|
|
12531
|
+
if (message.commQueueLoad !== 0) {
|
|
12532
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12533
|
+
}
|
|
12479
12534
|
return writer;
|
|
12480
12535
|
},
|
|
12481
12536
|
decode(input, length) {
|
|
@@ -12513,6 +12568,13 @@ exports.CPUInfo = {
|
|
|
12513
12568
|
message.guestportQueueLoad = reader.float();
|
|
12514
12569
|
continue;
|
|
12515
12570
|
}
|
|
12571
|
+
case 5: {
|
|
12572
|
+
if (tag !== 45) {
|
|
12573
|
+
break;
|
|
12574
|
+
}
|
|
12575
|
+
message.commQueueLoad = reader.float();
|
|
12576
|
+
continue;
|
|
12577
|
+
}
|
|
12516
12578
|
}
|
|
12517
12579
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12518
12580
|
break;
|
|
@@ -12527,6 +12589,7 @@ exports.CPUInfo = {
|
|
|
12527
12589
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12528
12590
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12529
12591
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12592
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12530
12593
|
};
|
|
12531
12594
|
},
|
|
12532
12595
|
toJSON(message) {
|
|
@@ -12543,6 +12606,9 @@ exports.CPUInfo = {
|
|
|
12543
12606
|
if (message.guestportQueueLoad !== 0) {
|
|
12544
12607
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12545
12608
|
}
|
|
12609
|
+
if (message.commQueueLoad !== 0) {
|
|
12610
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12611
|
+
}
|
|
12546
12612
|
return obj;
|
|
12547
12613
|
},
|
|
12548
12614
|
create(base) {
|
|
@@ -12554,6 +12620,126 @@ exports.CPUInfo = {
|
|
|
12554
12620
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12555
12621
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12556
12622
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12623
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12624
|
+
return message;
|
|
12625
|
+
},
|
|
12626
|
+
};
|
|
12627
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
12628
|
+
return { status: 0, level: 0 };
|
|
12629
|
+
}
|
|
12630
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
12631
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12632
|
+
if (message.status !== 0) {
|
|
12633
|
+
writer.uint32(8).int32(message.status);
|
|
12634
|
+
}
|
|
12635
|
+
if (message.level !== 0) {
|
|
12636
|
+
writer.uint32(21).float(message.level);
|
|
12637
|
+
}
|
|
12638
|
+
return writer;
|
|
12639
|
+
},
|
|
12640
|
+
decode(input, length) {
|
|
12641
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12642
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12643
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12644
|
+
while (reader.pos < end) {
|
|
12645
|
+
const tag = reader.uint32();
|
|
12646
|
+
switch (tag >>> 3) {
|
|
12647
|
+
case 1: {
|
|
12648
|
+
if (tag !== 8) {
|
|
12649
|
+
break;
|
|
12650
|
+
}
|
|
12651
|
+
message.status = reader.int32();
|
|
12652
|
+
continue;
|
|
12653
|
+
}
|
|
12654
|
+
case 2: {
|
|
12655
|
+
if (tag !== 21) {
|
|
12656
|
+
break;
|
|
12657
|
+
}
|
|
12658
|
+
message.level = reader.float();
|
|
12659
|
+
continue;
|
|
12660
|
+
}
|
|
12661
|
+
}
|
|
12662
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12663
|
+
break;
|
|
12664
|
+
}
|
|
12665
|
+
reader.skip(tag & 7);
|
|
12666
|
+
}
|
|
12667
|
+
return message;
|
|
12668
|
+
},
|
|
12669
|
+
fromJSON(object) {
|
|
12670
|
+
return {
|
|
12671
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
12672
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
12673
|
+
};
|
|
12674
|
+
},
|
|
12675
|
+
toJSON(message) {
|
|
12676
|
+
const obj = {};
|
|
12677
|
+
if (message.status !== 0) {
|
|
12678
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
12679
|
+
}
|
|
12680
|
+
if (message.level !== 0) {
|
|
12681
|
+
obj.level = message.level;
|
|
12682
|
+
}
|
|
12683
|
+
return obj;
|
|
12684
|
+
},
|
|
12685
|
+
create(base) {
|
|
12686
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
12687
|
+
},
|
|
12688
|
+
fromPartial(object) {
|
|
12689
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12690
|
+
message.status = object.status ?? 0;
|
|
12691
|
+
message.level = object.level ?? 0;
|
|
12692
|
+
return message;
|
|
12693
|
+
},
|
|
12694
|
+
};
|
|
12695
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
12696
|
+
return { version: "" };
|
|
12697
|
+
}
|
|
12698
|
+
exports.SurfaceUnitVersionInfo = {
|
|
12699
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12700
|
+
if (message.version !== "") {
|
|
12701
|
+
writer.uint32(10).string(message.version);
|
|
12702
|
+
}
|
|
12703
|
+
return writer;
|
|
12704
|
+
},
|
|
12705
|
+
decode(input, length) {
|
|
12706
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12707
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12708
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12709
|
+
while (reader.pos < end) {
|
|
12710
|
+
const tag = reader.uint32();
|
|
12711
|
+
switch (tag >>> 3) {
|
|
12712
|
+
case 1: {
|
|
12713
|
+
if (tag !== 10) {
|
|
12714
|
+
break;
|
|
12715
|
+
}
|
|
12716
|
+
message.version = reader.string();
|
|
12717
|
+
continue;
|
|
12718
|
+
}
|
|
12719
|
+
}
|
|
12720
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12721
|
+
break;
|
|
12722
|
+
}
|
|
12723
|
+
reader.skip(tag & 7);
|
|
12724
|
+
}
|
|
12725
|
+
return message;
|
|
12726
|
+
},
|
|
12727
|
+
fromJSON(object) {
|
|
12728
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
12729
|
+
},
|
|
12730
|
+
toJSON(message) {
|
|
12731
|
+
const obj = {};
|
|
12732
|
+
if (message.version !== "") {
|
|
12733
|
+
obj.version = message.version;
|
|
12734
|
+
}
|
|
12735
|
+
return obj;
|
|
12736
|
+
},
|
|
12737
|
+
create(base) {
|
|
12738
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
12739
|
+
},
|
|
12740
|
+
fromPartial(object) {
|
|
12741
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12742
|
+
message.version = object.version ?? "";
|
|
12557
12743
|
return message;
|
|
12558
12744
|
},
|
|
12559
12745
|
};
|
package/dist/mission_planning.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: mission_planning.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/req_rep.js
CHANGED
package/dist/telemetry.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { AquaTrollProbeMetadata, AquaTrollSensorMetadataArray, AquaTrollSensorParametersArray } from "./aquatroll";
|
|
3
|
-
import { Altitude, Attitude, Battery, BatteryBQ40Z50, CalibrationState, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, ForwardDistance, GenericServo, GuestPortCurrent, Imu, IperfStatus, Laser, LatLongPosition, Lights, MagneticDeclination, MedusaSpectrometerData, MultibeamConfig, MultibeamDiscovery, MultibeamPing, MultibeamServo, Notification, NStreamers, PositionEstimate, RecordState, Reference, RemovableStorageDevice, StorageSpace, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
|
|
3
|
+
import { Altitude, Attitude, Battery, BatteryBQ40Z50, CalibrationState, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, ForwardDistance, GenericServo, GuestPortCurrent, Imu, IperfStatus, Laser, LatLongPosition, Lights, MagneticDeclination, MedusaSpectrometerData, MultibeamConfig, MultibeamDiscovery, MultibeamPing, MultibeamServo, Notification, NStreamers, PositionEstimate, RecordState, Reference, RemovableStorageDevice, StorageSpace, SurfaceUnitBatteryInfo, SurfaceUnitVersionInfo, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
|
|
4
4
|
import { MissionStatus, ReferenceAutoPilot } from "./mission_planning";
|
|
5
5
|
/**
|
|
6
6
|
* Telemetry
|
|
@@ -291,6 +291,13 @@ export interface CPUInfoTel {
|
|
|
291
291
|
/** CPU information. */
|
|
292
292
|
cpuInfo: CPUInfo | undefined;
|
|
293
293
|
}
|
|
294
|
+
/** Surface Unit telemetry message. */
|
|
295
|
+
export interface SurfaceUnitTel {
|
|
296
|
+
/** Battery information. */
|
|
297
|
+
batteryInfo: SurfaceUnitBatteryInfo | undefined;
|
|
298
|
+
/** Version information. */
|
|
299
|
+
versionInfo: SurfaceUnitVersionInfo | undefined;
|
|
300
|
+
}
|
|
294
301
|
export declare const AttitudeTel: MessageFns<AttitudeTel>;
|
|
295
302
|
export declare const MagneticDeclinationTel: MessageFns<MagneticDeclinationTel>;
|
|
296
303
|
export declare const AltitudeTel: MessageFns<AltitudeTel>;
|
|
@@ -346,6 +353,7 @@ export declare const MultibeamPingTel: MessageFns<MultibeamPingTel>;
|
|
|
346
353
|
export declare const MultibeamConfigTel: MessageFns<MultibeamConfigTel>;
|
|
347
354
|
export declare const MultibeamDiscoveryTel: MessageFns<MultibeamDiscoveryTel>;
|
|
348
355
|
export declare const CPUInfoTel: MessageFns<CPUInfoTel>;
|
|
356
|
+
export declare const SurfaceUnitTel: MessageFns<SurfaceUnitTel>;
|
|
349
357
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
350
358
|
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
351
359
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/dist/telemetry.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: telemetry.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.Imu2Tel = exports.Imu1Tel = exports.CalibratedImuTel = exports.GuestPortCurrentTel = exports.MultibeamServoTel = exports.GenericServoTel = exports.ConnectedClientsTel = exports.AquaTrollSensorParametersTel = exports.AquaTrollSensorMetadataTel = exports.AquaTrollProbeMetadataTel = exports.CpProbeTel = exports.ThicknessGaugeTel = exports.ControlModeTel = exports.ErrorFlagsTel = exports.DroneInfoTel = exports.TiltAngleTel = exports.NStreamersTel = exports.IperfTel = exports.TiltStabilizationTel = exports.CalibrationStateTel = exports.DataStorageSpaceTel = exports.RemovableStorageTel = exports.VideoStorageSpaceTel = exports.CanisterBottomHumidityTel = exports.CanisterBottomTemperatureTel = exports.CPUTemperatureTel = exports.WaterTemperatureTel = exports.DroneTimeTel = exports.DiveTimeTel = exports.BatteryBQ40Z50Tel = exports.BatteryTel = exports.TimeLapseStateTel = exports.RecordStateTel = exports.PilotGPSPositionTel = exports.LaserTel = exports.GuestPortLightsTel = exports.LightsTel = exports.ControllerHealthTel = exports.ControlForceTel = exports.NotificationTel = exports.MissionStatusTel = exports.ReferenceAutoPilotTel = exports.ReferenceTel = exports.DepthTel = exports.PositionEstimateTel = exports.DvlVelocityTel = exports.ForwardDistanceTel = exports.AltitudeTel = exports.MagneticDeclinationTel = exports.AttitudeTel = void 0;
|
|
9
|
-
exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = void 0;
|
|
9
|
+
exports.SurfaceUnitTel = exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = void 0;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
12
12
|
const aquatroll_1 = require("./aquatroll");
|
|
@@ -2994,6 +2994,78 @@ exports.CPUInfoTel = {
|
|
|
2994
2994
|
return message;
|
|
2995
2995
|
},
|
|
2996
2996
|
};
|
|
2997
|
+
function createBaseSurfaceUnitTel() {
|
|
2998
|
+
return { batteryInfo: undefined, versionInfo: undefined };
|
|
2999
|
+
}
|
|
3000
|
+
exports.SurfaceUnitTel = {
|
|
3001
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3002
|
+
if (message.batteryInfo !== undefined) {
|
|
3003
|
+
message_formats_1.SurfaceUnitBatteryInfo.encode(message.batteryInfo, writer.uint32(10).fork()).join();
|
|
3004
|
+
}
|
|
3005
|
+
if (message.versionInfo !== undefined) {
|
|
3006
|
+
message_formats_1.SurfaceUnitVersionInfo.encode(message.versionInfo, writer.uint32(18).fork()).join();
|
|
3007
|
+
}
|
|
3008
|
+
return writer;
|
|
3009
|
+
},
|
|
3010
|
+
decode(input, length) {
|
|
3011
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3012
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3013
|
+
const message = createBaseSurfaceUnitTel();
|
|
3014
|
+
while (reader.pos < end) {
|
|
3015
|
+
const tag = reader.uint32();
|
|
3016
|
+
switch (tag >>> 3) {
|
|
3017
|
+
case 1: {
|
|
3018
|
+
if (tag !== 10) {
|
|
3019
|
+
break;
|
|
3020
|
+
}
|
|
3021
|
+
message.batteryInfo = message_formats_1.SurfaceUnitBatteryInfo.decode(reader, reader.uint32());
|
|
3022
|
+
continue;
|
|
3023
|
+
}
|
|
3024
|
+
case 2: {
|
|
3025
|
+
if (tag !== 18) {
|
|
3026
|
+
break;
|
|
3027
|
+
}
|
|
3028
|
+
message.versionInfo = message_formats_1.SurfaceUnitVersionInfo.decode(reader, reader.uint32());
|
|
3029
|
+
continue;
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3033
|
+
break;
|
|
3034
|
+
}
|
|
3035
|
+
reader.skip(tag & 7);
|
|
3036
|
+
}
|
|
3037
|
+
return message;
|
|
3038
|
+
},
|
|
3039
|
+
fromJSON(object) {
|
|
3040
|
+
return {
|
|
3041
|
+
batteryInfo: isSet(object.batteryInfo) ? message_formats_1.SurfaceUnitBatteryInfo.fromJSON(object.batteryInfo) : undefined,
|
|
3042
|
+
versionInfo: isSet(object.versionInfo) ? message_formats_1.SurfaceUnitVersionInfo.fromJSON(object.versionInfo) : undefined,
|
|
3043
|
+
};
|
|
3044
|
+
},
|
|
3045
|
+
toJSON(message) {
|
|
3046
|
+
const obj = {};
|
|
3047
|
+
if (message.batteryInfo !== undefined) {
|
|
3048
|
+
obj.batteryInfo = message_formats_1.SurfaceUnitBatteryInfo.toJSON(message.batteryInfo);
|
|
3049
|
+
}
|
|
3050
|
+
if (message.versionInfo !== undefined) {
|
|
3051
|
+
obj.versionInfo = message_formats_1.SurfaceUnitVersionInfo.toJSON(message.versionInfo);
|
|
3052
|
+
}
|
|
3053
|
+
return obj;
|
|
3054
|
+
},
|
|
3055
|
+
create(base) {
|
|
3056
|
+
return exports.SurfaceUnitTel.fromPartial(base ?? {});
|
|
3057
|
+
},
|
|
3058
|
+
fromPartial(object) {
|
|
3059
|
+
const message = createBaseSurfaceUnitTel();
|
|
3060
|
+
message.batteryInfo = (object.batteryInfo !== undefined && object.batteryInfo !== null)
|
|
3061
|
+
? message_formats_1.SurfaceUnitBatteryInfo.fromPartial(object.batteryInfo)
|
|
3062
|
+
: undefined;
|
|
3063
|
+
message.versionInfo = (object.versionInfo !== undefined && object.versionInfo !== null)
|
|
3064
|
+
? message_formats_1.SurfaceUnitVersionInfo.fromPartial(object.versionInfo)
|
|
3065
|
+
: undefined;
|
|
3066
|
+
return message;
|
|
3067
|
+
},
|
|
3068
|
+
};
|
|
2997
3069
|
const gt = (() => {
|
|
2998
3070
|
if (typeof globalThis !== "undefined") {
|
|
2999
3071
|
return globalThis;
|