@blueyerobotics/protocol-definitions 3.2.0-9f6199cf → 3.2.0-b032513b
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/control.d.ts +11 -0
- package/dist/control.js +38 -1
- package/dist/message_formats.d.ts +66 -4
- package/dist/message_formats.js +447 -6
- package/dist/telemetry.d.ts +10 -2
- package/dist/telemetry.js +78 -4
- package/package.json +1 -1
package/dist/control.d.ts
CHANGED
|
@@ -205,6 +205,16 @@ export interface StartDiveCtrl {
|
|
|
205
205
|
*/
|
|
206
206
|
export interface EndDiveCtrl {
|
|
207
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* Message sent when the user wants to format a connected removable storage device.
|
|
210
|
+
*
|
|
211
|
+
* The app will receive a RemovableStorageTel message with information about the newly formatted drive.
|
|
212
|
+
*
|
|
213
|
+
* Warning: The drone will delete any partitions and format the drive with a single exFat partition.
|
|
214
|
+
* Any data on the drive will be lost.
|
|
215
|
+
*/
|
|
216
|
+
export interface FormatRemovableStorageDeviceCtrl {
|
|
217
|
+
}
|
|
208
218
|
export declare const MotionInputCtrl: MessageFns<MotionInputCtrl>;
|
|
209
219
|
export declare const TiltVelocityCtrl: MessageFns<TiltVelocityCtrl>;
|
|
210
220
|
export declare const LightsCtrl: MessageFns<LightsCtrl>;
|
|
@@ -247,6 +257,7 @@ export declare const ActivateMultibeamCtrl: MessageFns<ActivateMultibeamCtrl>;
|
|
|
247
257
|
export declare const DeactivateMultibeamCtrl: MessageFns<DeactivateMultibeamCtrl>;
|
|
248
258
|
export declare const StartDiveCtrl: MessageFns<StartDiveCtrl>;
|
|
249
259
|
export declare const EndDiveCtrl: MessageFns<EndDiveCtrl>;
|
|
260
|
+
export declare const FormatRemovableStorageDeviceCtrl: MessageFns<FormatRemovableStorageDeviceCtrl>;
|
|
250
261
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
251
262
|
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 {} ? {
|
|
252
263
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/dist/control.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: control.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
|
|
8
|
+
exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const aquatroll_1 = require("./aquatroll");
|
|
@@ -2041,6 +2041,43 @@ exports.EndDiveCtrl = {
|
|
|
2041
2041
|
return message;
|
|
2042
2042
|
},
|
|
2043
2043
|
};
|
|
2044
|
+
function createBaseFormatRemovableStorageDeviceCtrl() {
|
|
2045
|
+
return {};
|
|
2046
|
+
}
|
|
2047
|
+
exports.FormatRemovableStorageDeviceCtrl = {
|
|
2048
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
2049
|
+
return writer;
|
|
2050
|
+
},
|
|
2051
|
+
decode(input, length) {
|
|
2052
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2053
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2054
|
+
const message = createBaseFormatRemovableStorageDeviceCtrl();
|
|
2055
|
+
while (reader.pos < end) {
|
|
2056
|
+
const tag = reader.uint32();
|
|
2057
|
+
switch (tag >>> 3) {
|
|
2058
|
+
}
|
|
2059
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2060
|
+
break;
|
|
2061
|
+
}
|
|
2062
|
+
reader.skip(tag & 7);
|
|
2063
|
+
}
|
|
2064
|
+
return message;
|
|
2065
|
+
},
|
|
2066
|
+
fromJSON(_) {
|
|
2067
|
+
return {};
|
|
2068
|
+
},
|
|
2069
|
+
toJSON(_) {
|
|
2070
|
+
const obj = {};
|
|
2071
|
+
return obj;
|
|
2072
|
+
},
|
|
2073
|
+
create(base) {
|
|
2074
|
+
return exports.FormatRemovableStorageDeviceCtrl.fromPartial(base ?? {});
|
|
2075
|
+
},
|
|
2076
|
+
fromPartial(_) {
|
|
2077
|
+
const message = createBaseFormatRemovableStorageDeviceCtrl();
|
|
2078
|
+
return message;
|
|
2079
|
+
},
|
|
2080
|
+
};
|
|
2044
2081
|
const gt = (() => {
|
|
2045
2082
|
if (typeof globalThis !== "undefined") {
|
|
2046
2083
|
return globalThis;
|
|
@@ -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;
|
|
@@ -505,9 +507,9 @@ export interface LogEntry {
|
|
|
505
507
|
processId: number;
|
|
506
508
|
/** Thread ID of the log entry. */
|
|
507
509
|
threadId: number;
|
|
508
|
-
/** Source of the log entry
|
|
510
|
+
/** Source of the log entry (specific class or named logger). */
|
|
509
511
|
source: string;
|
|
510
|
-
/** Log level, info, warning,
|
|
512
|
+
/** Log level, info, warning, error, etc. */
|
|
511
513
|
level: LogEntry_LogLevel;
|
|
512
514
|
/** Log message. */
|
|
513
515
|
message: string;
|
|
@@ -1183,6 +1185,61 @@ export interface StorageSpace {
|
|
|
1183
1185
|
/** Available bytes of storage space (B). */
|
|
1184
1186
|
freeSpace: number;
|
|
1185
1187
|
}
|
|
1188
|
+
/** Storage partition. */
|
|
1189
|
+
export interface StoragePartition {
|
|
1190
|
+
/** The amount of storage space on the device. */
|
|
1191
|
+
storageSpace: StorageSpace | undefined;
|
|
1192
|
+
/** File system type of the removable storage device. */
|
|
1193
|
+
fileSystemType: string;
|
|
1194
|
+
/** Partition device path */
|
|
1195
|
+
devicePath: string;
|
|
1196
|
+
/** Mount path of the partition. */
|
|
1197
|
+
mountPath: string;
|
|
1198
|
+
}
|
|
1199
|
+
/** Removable storage device. */
|
|
1200
|
+
export interface RemovableStorageDevice {
|
|
1201
|
+
/** USB vendor name. */
|
|
1202
|
+
vendorName: string;
|
|
1203
|
+
/** Model name of the USB storage device. */
|
|
1204
|
+
modelName: string;
|
|
1205
|
+
/** Mount path of the storage device. */
|
|
1206
|
+
devicePath: string;
|
|
1207
|
+
/** Status of the storage device. */
|
|
1208
|
+
status: RemovableStorageDevice_Status;
|
|
1209
|
+
/** Any active error flags for the storage device. */
|
|
1210
|
+
errorFlags: RemovableStorageErrorFlags | undefined;
|
|
1211
|
+
/** List of partitions on the storage device. */
|
|
1212
|
+
partitions: StoragePartition[];
|
|
1213
|
+
}
|
|
1214
|
+
/** Overall status of the storage device. */
|
|
1215
|
+
export declare enum RemovableStorageDevice_Status {
|
|
1216
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
1217
|
+
STATUS_UNSPECIFIED = 0,
|
|
1218
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1219
|
+
STATUS_READY = 1,
|
|
1220
|
+
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
1221
|
+
STATUS_FORMATTING = 2,
|
|
1222
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1223
|
+
STATUS_ERROR = 3,
|
|
1224
|
+
UNRECOGNIZED = -1
|
|
1225
|
+
}
|
|
1226
|
+
export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
|
|
1227
|
+
export declare function removableStorageDevice_StatusToJSON(object: RemovableStorageDevice_Status): string;
|
|
1228
|
+
/** Error flags related to a removable storage device. */
|
|
1229
|
+
export interface RemovableStorageErrorFlags {
|
|
1230
|
+
/** Optional error message to give additional information from the drone to a client about active error flags. */
|
|
1231
|
+
errorMessage: string;
|
|
1232
|
+
/** Device is attached but no partitions are found. */
|
|
1233
|
+
noPartitionsFound: boolean;
|
|
1234
|
+
/** Multiple partitions are found. */
|
|
1235
|
+
multiplePartitionsFound: boolean;
|
|
1236
|
+
/** The wrong file system is found. */
|
|
1237
|
+
wrongFileSystemFound: boolean;
|
|
1238
|
+
/** The device is in read-only mode. */
|
|
1239
|
+
deviceIsReadOnly: boolean;
|
|
1240
|
+
/** Formatting of the device failed. */
|
|
1241
|
+
formattingFailed: boolean;
|
|
1242
|
+
}
|
|
1186
1243
|
/** Compass calibration state. */
|
|
1187
1244
|
export interface CalibrationState {
|
|
1188
1245
|
/** Current calibration status. */
|
|
@@ -1205,7 +1262,7 @@ export interface CalibrationState {
|
|
|
1205
1262
|
/**
|
|
1206
1263
|
* Status of the compass calibration procedure.
|
|
1207
1264
|
*
|
|
1208
|
-
* When calibration is started, the status will indicate the active (
|
|
1265
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1209
1266
|
*/
|
|
1210
1267
|
export declare enum CalibrationState_Status {
|
|
1211
1268
|
/** STATUS_UNSPECIFIED - Unspecified status. */
|
|
@@ -1226,7 +1283,7 @@ export declare enum CalibrationState_Status {
|
|
|
1226
1283
|
STATUS_CALIBRATING_Z_POSITIVE = 7,
|
|
1227
1284
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1228
1285
|
STATUS_CALIBRATING_Z_NEGATIVE = 8,
|
|
1229
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
1286
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1230
1287
|
STATUS_CALIBRATING_THRUSTER = 9,
|
|
1231
1288
|
UNRECOGNIZED = -1
|
|
1232
1289
|
}
|
|
@@ -1787,6 +1844,8 @@ export interface CPUInfo {
|
|
|
1787
1844
|
mainQueueLoad: number;
|
|
1788
1845
|
/** Guestport queue load (0..1). */
|
|
1789
1846
|
guestportQueueLoad: number;
|
|
1847
|
+
/** Communication queue load (0..1). */
|
|
1848
|
+
commQueueLoad: number;
|
|
1790
1849
|
}
|
|
1791
1850
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1792
1851
|
export declare const LogEntry: MessageFns<LogEntry>;
|
|
@@ -1841,6 +1900,9 @@ export declare const ControllerHealth: MessageFns<ControllerHealth>;
|
|
|
1841
1900
|
export declare const DiveTime: MessageFns<DiveTime>;
|
|
1842
1901
|
export declare const RecordOn: MessageFns<RecordOn>;
|
|
1843
1902
|
export declare const StorageSpace: MessageFns<StorageSpace>;
|
|
1903
|
+
export declare const StoragePartition: MessageFns<StoragePartition>;
|
|
1904
|
+
export declare const RemovableStorageDevice: MessageFns<RemovableStorageDevice>;
|
|
1905
|
+
export declare const RemovableStorageErrorFlags: MessageFns<RemovableStorageErrorFlags>;
|
|
1844
1906
|
export declare const CalibrationState: MessageFns<CalibrationState>;
|
|
1845
1907
|
export declare const IperfStatus: MessageFns<IperfStatus>;
|
|
1846
1908
|
export declare const NStreamers: MessageFns<NStreamers>;
|
package/dist/message_formats.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
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 = void 0;
|
|
8
|
+
exports.ConnectedClient = 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.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.GuestPortInfo = 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 = void 0;
|
|
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;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -60,6 +60,8 @@ exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_Moun
|
|
|
60
60
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
61
61
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
62
62
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
|
|
63
|
+
exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
|
|
64
|
+
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
63
65
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
64
66
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
65
67
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
@@ -1174,6 +1176,8 @@ var GuestPortDeviceID;
|
|
|
1174
1176
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1175
1177
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1176
1178
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1179
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1180
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1177
1181
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1178
1182
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1179
1183
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1313,6 +1317,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1313
1317
|
case 44:
|
|
1314
1318
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1315
1319
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1320
|
+
case 45:
|
|
1321
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1322
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1316
1323
|
case -1:
|
|
1317
1324
|
case "UNRECOGNIZED":
|
|
1318
1325
|
default:
|
|
@@ -1411,6 +1418,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1411
1418
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1412
1419
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1413
1420
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1421
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1422
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1414
1423
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1415
1424
|
default:
|
|
1416
1425
|
return "UNRECOGNIZED";
|
|
@@ -1869,10 +1878,58 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
|
|
|
1869
1878
|
return "UNRECOGNIZED";
|
|
1870
1879
|
}
|
|
1871
1880
|
}
|
|
1881
|
+
/** Overall status of the storage device. */
|
|
1882
|
+
var RemovableStorageDevice_Status;
|
|
1883
|
+
(function (RemovableStorageDevice_Status) {
|
|
1884
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
1885
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1886
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1887
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1888
|
+
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
1889
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1890
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1891
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
1892
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1893
|
+
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1894
|
+
function removableStorageDevice_StatusFromJSON(object) {
|
|
1895
|
+
switch (object) {
|
|
1896
|
+
case 0:
|
|
1897
|
+
case "STATUS_UNSPECIFIED":
|
|
1898
|
+
return RemovableStorageDevice_Status.STATUS_UNSPECIFIED;
|
|
1899
|
+
case 1:
|
|
1900
|
+
case "STATUS_READY":
|
|
1901
|
+
return RemovableStorageDevice_Status.STATUS_READY;
|
|
1902
|
+
case 2:
|
|
1903
|
+
case "STATUS_FORMATTING":
|
|
1904
|
+
return RemovableStorageDevice_Status.STATUS_FORMATTING;
|
|
1905
|
+
case 3:
|
|
1906
|
+
case "STATUS_ERROR":
|
|
1907
|
+
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
1908
|
+
case -1:
|
|
1909
|
+
case "UNRECOGNIZED":
|
|
1910
|
+
default:
|
|
1911
|
+
return RemovableStorageDevice_Status.UNRECOGNIZED;
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
function removableStorageDevice_StatusToJSON(object) {
|
|
1915
|
+
switch (object) {
|
|
1916
|
+
case RemovableStorageDevice_Status.STATUS_UNSPECIFIED:
|
|
1917
|
+
return "STATUS_UNSPECIFIED";
|
|
1918
|
+
case RemovableStorageDevice_Status.STATUS_READY:
|
|
1919
|
+
return "STATUS_READY";
|
|
1920
|
+
case RemovableStorageDevice_Status.STATUS_FORMATTING:
|
|
1921
|
+
return "STATUS_FORMATTING";
|
|
1922
|
+
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
1923
|
+
return "STATUS_ERROR";
|
|
1924
|
+
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
1925
|
+
default:
|
|
1926
|
+
return "UNRECOGNIZED";
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1872
1929
|
/**
|
|
1873
1930
|
* Status of the compass calibration procedure.
|
|
1874
1931
|
*
|
|
1875
|
-
* When calibration is started, the status will indicate the active (
|
|
1932
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1876
1933
|
*/
|
|
1877
1934
|
var CalibrationState_Status;
|
|
1878
1935
|
(function (CalibrationState_Status) {
|
|
@@ -1894,7 +1951,7 @@ var CalibrationState_Status;
|
|
|
1894
1951
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1895
1952
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1896
1953
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1897
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
1954
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1898
1955
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1899
1956
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1900
1957
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -7669,6 +7726,375 @@ exports.StorageSpace = {
|
|
|
7669
7726
|
return message;
|
|
7670
7727
|
},
|
|
7671
7728
|
};
|
|
7729
|
+
function createBaseStoragePartition() {
|
|
7730
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
7731
|
+
}
|
|
7732
|
+
exports.StoragePartition = {
|
|
7733
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7734
|
+
if (message.storageSpace !== undefined) {
|
|
7735
|
+
exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
7736
|
+
}
|
|
7737
|
+
if (message.fileSystemType !== "") {
|
|
7738
|
+
writer.uint32(18).string(message.fileSystemType);
|
|
7739
|
+
}
|
|
7740
|
+
if (message.devicePath !== "") {
|
|
7741
|
+
writer.uint32(26).string(message.devicePath);
|
|
7742
|
+
}
|
|
7743
|
+
if (message.mountPath !== "") {
|
|
7744
|
+
writer.uint32(34).string(message.mountPath);
|
|
7745
|
+
}
|
|
7746
|
+
return writer;
|
|
7747
|
+
},
|
|
7748
|
+
decode(input, length) {
|
|
7749
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7750
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7751
|
+
const message = createBaseStoragePartition();
|
|
7752
|
+
while (reader.pos < end) {
|
|
7753
|
+
const tag = reader.uint32();
|
|
7754
|
+
switch (tag >>> 3) {
|
|
7755
|
+
case 1: {
|
|
7756
|
+
if (tag !== 10) {
|
|
7757
|
+
break;
|
|
7758
|
+
}
|
|
7759
|
+
message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
|
|
7760
|
+
continue;
|
|
7761
|
+
}
|
|
7762
|
+
case 2: {
|
|
7763
|
+
if (tag !== 18) {
|
|
7764
|
+
break;
|
|
7765
|
+
}
|
|
7766
|
+
message.fileSystemType = reader.string();
|
|
7767
|
+
continue;
|
|
7768
|
+
}
|
|
7769
|
+
case 3: {
|
|
7770
|
+
if (tag !== 26) {
|
|
7771
|
+
break;
|
|
7772
|
+
}
|
|
7773
|
+
message.devicePath = reader.string();
|
|
7774
|
+
continue;
|
|
7775
|
+
}
|
|
7776
|
+
case 4: {
|
|
7777
|
+
if (tag !== 34) {
|
|
7778
|
+
break;
|
|
7779
|
+
}
|
|
7780
|
+
message.mountPath = reader.string();
|
|
7781
|
+
continue;
|
|
7782
|
+
}
|
|
7783
|
+
}
|
|
7784
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
7785
|
+
break;
|
|
7786
|
+
}
|
|
7787
|
+
reader.skip(tag & 7);
|
|
7788
|
+
}
|
|
7789
|
+
return message;
|
|
7790
|
+
},
|
|
7791
|
+
fromJSON(object) {
|
|
7792
|
+
return {
|
|
7793
|
+
storageSpace: isSet(object.storageSpace) ? exports.StorageSpace.fromJSON(object.storageSpace) : undefined,
|
|
7794
|
+
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7795
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7796
|
+
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
7797
|
+
};
|
|
7798
|
+
},
|
|
7799
|
+
toJSON(message) {
|
|
7800
|
+
const obj = {};
|
|
7801
|
+
if (message.storageSpace !== undefined) {
|
|
7802
|
+
obj.storageSpace = exports.StorageSpace.toJSON(message.storageSpace);
|
|
7803
|
+
}
|
|
7804
|
+
if (message.fileSystemType !== "") {
|
|
7805
|
+
obj.fileSystemType = message.fileSystemType;
|
|
7806
|
+
}
|
|
7807
|
+
if (message.devicePath !== "") {
|
|
7808
|
+
obj.devicePath = message.devicePath;
|
|
7809
|
+
}
|
|
7810
|
+
if (message.mountPath !== "") {
|
|
7811
|
+
obj.mountPath = message.mountPath;
|
|
7812
|
+
}
|
|
7813
|
+
return obj;
|
|
7814
|
+
},
|
|
7815
|
+
create(base) {
|
|
7816
|
+
return exports.StoragePartition.fromPartial(base ?? {});
|
|
7817
|
+
},
|
|
7818
|
+
fromPartial(object) {
|
|
7819
|
+
const message = createBaseStoragePartition();
|
|
7820
|
+
message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
|
|
7821
|
+
? exports.StorageSpace.fromPartial(object.storageSpace)
|
|
7822
|
+
: undefined;
|
|
7823
|
+
message.fileSystemType = object.fileSystemType ?? "";
|
|
7824
|
+
message.devicePath = object.devicePath ?? "";
|
|
7825
|
+
message.mountPath = object.mountPath ?? "";
|
|
7826
|
+
return message;
|
|
7827
|
+
},
|
|
7828
|
+
};
|
|
7829
|
+
function createBaseRemovableStorageDevice() {
|
|
7830
|
+
return { vendorName: "", modelName: "", devicePath: "", status: 0, errorFlags: undefined, partitions: [] };
|
|
7831
|
+
}
|
|
7832
|
+
exports.RemovableStorageDevice = {
|
|
7833
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7834
|
+
if (message.vendorName !== "") {
|
|
7835
|
+
writer.uint32(10).string(message.vendorName);
|
|
7836
|
+
}
|
|
7837
|
+
if (message.modelName !== "") {
|
|
7838
|
+
writer.uint32(18).string(message.modelName);
|
|
7839
|
+
}
|
|
7840
|
+
if (message.devicePath !== "") {
|
|
7841
|
+
writer.uint32(26).string(message.devicePath);
|
|
7842
|
+
}
|
|
7843
|
+
if (message.status !== 0) {
|
|
7844
|
+
writer.uint32(32).int32(message.status);
|
|
7845
|
+
}
|
|
7846
|
+
if (message.errorFlags !== undefined) {
|
|
7847
|
+
exports.RemovableStorageErrorFlags.encode(message.errorFlags, writer.uint32(42).fork()).join();
|
|
7848
|
+
}
|
|
7849
|
+
for (const v of message.partitions) {
|
|
7850
|
+
exports.StoragePartition.encode(v, writer.uint32(50).fork()).join();
|
|
7851
|
+
}
|
|
7852
|
+
return writer;
|
|
7853
|
+
},
|
|
7854
|
+
decode(input, length) {
|
|
7855
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7856
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7857
|
+
const message = createBaseRemovableStorageDevice();
|
|
7858
|
+
while (reader.pos < end) {
|
|
7859
|
+
const tag = reader.uint32();
|
|
7860
|
+
switch (tag >>> 3) {
|
|
7861
|
+
case 1: {
|
|
7862
|
+
if (tag !== 10) {
|
|
7863
|
+
break;
|
|
7864
|
+
}
|
|
7865
|
+
message.vendorName = reader.string();
|
|
7866
|
+
continue;
|
|
7867
|
+
}
|
|
7868
|
+
case 2: {
|
|
7869
|
+
if (tag !== 18) {
|
|
7870
|
+
break;
|
|
7871
|
+
}
|
|
7872
|
+
message.modelName = reader.string();
|
|
7873
|
+
continue;
|
|
7874
|
+
}
|
|
7875
|
+
case 3: {
|
|
7876
|
+
if (tag !== 26) {
|
|
7877
|
+
break;
|
|
7878
|
+
}
|
|
7879
|
+
message.devicePath = reader.string();
|
|
7880
|
+
continue;
|
|
7881
|
+
}
|
|
7882
|
+
case 4: {
|
|
7883
|
+
if (tag !== 32) {
|
|
7884
|
+
break;
|
|
7885
|
+
}
|
|
7886
|
+
message.status = reader.int32();
|
|
7887
|
+
continue;
|
|
7888
|
+
}
|
|
7889
|
+
case 5: {
|
|
7890
|
+
if (tag !== 42) {
|
|
7891
|
+
break;
|
|
7892
|
+
}
|
|
7893
|
+
message.errorFlags = exports.RemovableStorageErrorFlags.decode(reader, reader.uint32());
|
|
7894
|
+
continue;
|
|
7895
|
+
}
|
|
7896
|
+
case 6: {
|
|
7897
|
+
if (tag !== 50) {
|
|
7898
|
+
break;
|
|
7899
|
+
}
|
|
7900
|
+
message.partitions.push(exports.StoragePartition.decode(reader, reader.uint32()));
|
|
7901
|
+
continue;
|
|
7902
|
+
}
|
|
7903
|
+
}
|
|
7904
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
7905
|
+
break;
|
|
7906
|
+
}
|
|
7907
|
+
reader.skip(tag & 7);
|
|
7908
|
+
}
|
|
7909
|
+
return message;
|
|
7910
|
+
},
|
|
7911
|
+
fromJSON(object) {
|
|
7912
|
+
return {
|
|
7913
|
+
vendorName: isSet(object.vendorName) ? gt.String(object.vendorName) : "",
|
|
7914
|
+
modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
|
|
7915
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7916
|
+
status: isSet(object.status) ? removableStorageDevice_StatusFromJSON(object.status) : 0,
|
|
7917
|
+
errorFlags: isSet(object.errorFlags) ? exports.RemovableStorageErrorFlags.fromJSON(object.errorFlags) : undefined,
|
|
7918
|
+
partitions: gt.Array.isArray(object?.partitions)
|
|
7919
|
+
? object.partitions.map((e) => exports.StoragePartition.fromJSON(e))
|
|
7920
|
+
: [],
|
|
7921
|
+
};
|
|
7922
|
+
},
|
|
7923
|
+
toJSON(message) {
|
|
7924
|
+
const obj = {};
|
|
7925
|
+
if (message.vendorName !== "") {
|
|
7926
|
+
obj.vendorName = message.vendorName;
|
|
7927
|
+
}
|
|
7928
|
+
if (message.modelName !== "") {
|
|
7929
|
+
obj.modelName = message.modelName;
|
|
7930
|
+
}
|
|
7931
|
+
if (message.devicePath !== "") {
|
|
7932
|
+
obj.devicePath = message.devicePath;
|
|
7933
|
+
}
|
|
7934
|
+
if (message.status !== 0) {
|
|
7935
|
+
obj.status = removableStorageDevice_StatusToJSON(message.status);
|
|
7936
|
+
}
|
|
7937
|
+
if (message.errorFlags !== undefined) {
|
|
7938
|
+
obj.errorFlags = exports.RemovableStorageErrorFlags.toJSON(message.errorFlags);
|
|
7939
|
+
}
|
|
7940
|
+
if (message.partitions?.length) {
|
|
7941
|
+
obj.partitions = message.partitions.map((e) => exports.StoragePartition.toJSON(e));
|
|
7942
|
+
}
|
|
7943
|
+
return obj;
|
|
7944
|
+
},
|
|
7945
|
+
create(base) {
|
|
7946
|
+
return exports.RemovableStorageDevice.fromPartial(base ?? {});
|
|
7947
|
+
},
|
|
7948
|
+
fromPartial(object) {
|
|
7949
|
+
const message = createBaseRemovableStorageDevice();
|
|
7950
|
+
message.vendorName = object.vendorName ?? "";
|
|
7951
|
+
message.modelName = object.modelName ?? "";
|
|
7952
|
+
message.devicePath = object.devicePath ?? "";
|
|
7953
|
+
message.status = object.status ?? 0;
|
|
7954
|
+
message.errorFlags = (object.errorFlags !== undefined && object.errorFlags !== null)
|
|
7955
|
+
? exports.RemovableStorageErrorFlags.fromPartial(object.errorFlags)
|
|
7956
|
+
: undefined;
|
|
7957
|
+
message.partitions = object.partitions?.map((e) => exports.StoragePartition.fromPartial(e)) || [];
|
|
7958
|
+
return message;
|
|
7959
|
+
},
|
|
7960
|
+
};
|
|
7961
|
+
function createBaseRemovableStorageErrorFlags() {
|
|
7962
|
+
return {
|
|
7963
|
+
errorMessage: "",
|
|
7964
|
+
noPartitionsFound: false,
|
|
7965
|
+
multiplePartitionsFound: false,
|
|
7966
|
+
wrongFileSystemFound: false,
|
|
7967
|
+
deviceIsReadOnly: false,
|
|
7968
|
+
formattingFailed: false,
|
|
7969
|
+
};
|
|
7970
|
+
}
|
|
7971
|
+
exports.RemovableStorageErrorFlags = {
|
|
7972
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7973
|
+
if (message.errorMessage !== "") {
|
|
7974
|
+
writer.uint32(10).string(message.errorMessage);
|
|
7975
|
+
}
|
|
7976
|
+
if (message.noPartitionsFound !== false) {
|
|
7977
|
+
writer.uint32(16).bool(message.noPartitionsFound);
|
|
7978
|
+
}
|
|
7979
|
+
if (message.multiplePartitionsFound !== false) {
|
|
7980
|
+
writer.uint32(24).bool(message.multiplePartitionsFound);
|
|
7981
|
+
}
|
|
7982
|
+
if (message.wrongFileSystemFound !== false) {
|
|
7983
|
+
writer.uint32(32).bool(message.wrongFileSystemFound);
|
|
7984
|
+
}
|
|
7985
|
+
if (message.deviceIsReadOnly !== false) {
|
|
7986
|
+
writer.uint32(40).bool(message.deviceIsReadOnly);
|
|
7987
|
+
}
|
|
7988
|
+
if (message.formattingFailed !== false) {
|
|
7989
|
+
writer.uint32(48).bool(message.formattingFailed);
|
|
7990
|
+
}
|
|
7991
|
+
return writer;
|
|
7992
|
+
},
|
|
7993
|
+
decode(input, length) {
|
|
7994
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7995
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7996
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
7997
|
+
while (reader.pos < end) {
|
|
7998
|
+
const tag = reader.uint32();
|
|
7999
|
+
switch (tag >>> 3) {
|
|
8000
|
+
case 1: {
|
|
8001
|
+
if (tag !== 10) {
|
|
8002
|
+
break;
|
|
8003
|
+
}
|
|
8004
|
+
message.errorMessage = reader.string();
|
|
8005
|
+
continue;
|
|
8006
|
+
}
|
|
8007
|
+
case 2: {
|
|
8008
|
+
if (tag !== 16) {
|
|
8009
|
+
break;
|
|
8010
|
+
}
|
|
8011
|
+
message.noPartitionsFound = reader.bool();
|
|
8012
|
+
continue;
|
|
8013
|
+
}
|
|
8014
|
+
case 3: {
|
|
8015
|
+
if (tag !== 24) {
|
|
8016
|
+
break;
|
|
8017
|
+
}
|
|
8018
|
+
message.multiplePartitionsFound = reader.bool();
|
|
8019
|
+
continue;
|
|
8020
|
+
}
|
|
8021
|
+
case 4: {
|
|
8022
|
+
if (tag !== 32) {
|
|
8023
|
+
break;
|
|
8024
|
+
}
|
|
8025
|
+
message.wrongFileSystemFound = reader.bool();
|
|
8026
|
+
continue;
|
|
8027
|
+
}
|
|
8028
|
+
case 5: {
|
|
8029
|
+
if (tag !== 40) {
|
|
8030
|
+
break;
|
|
8031
|
+
}
|
|
8032
|
+
message.deviceIsReadOnly = reader.bool();
|
|
8033
|
+
continue;
|
|
8034
|
+
}
|
|
8035
|
+
case 6: {
|
|
8036
|
+
if (tag !== 48) {
|
|
8037
|
+
break;
|
|
8038
|
+
}
|
|
8039
|
+
message.formattingFailed = reader.bool();
|
|
8040
|
+
continue;
|
|
8041
|
+
}
|
|
8042
|
+
}
|
|
8043
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8044
|
+
break;
|
|
8045
|
+
}
|
|
8046
|
+
reader.skip(tag & 7);
|
|
8047
|
+
}
|
|
8048
|
+
return message;
|
|
8049
|
+
},
|
|
8050
|
+
fromJSON(object) {
|
|
8051
|
+
return {
|
|
8052
|
+
errorMessage: isSet(object.errorMessage) ? gt.String(object.errorMessage) : "",
|
|
8053
|
+
noPartitionsFound: isSet(object.noPartitionsFound) ? gt.Boolean(object.noPartitionsFound) : false,
|
|
8054
|
+
multiplePartitionsFound: isSet(object.multiplePartitionsFound)
|
|
8055
|
+
? gt.Boolean(object.multiplePartitionsFound)
|
|
8056
|
+
: false,
|
|
8057
|
+
wrongFileSystemFound: isSet(object.wrongFileSystemFound) ? gt.Boolean(object.wrongFileSystemFound) : false,
|
|
8058
|
+
deviceIsReadOnly: isSet(object.deviceIsReadOnly) ? gt.Boolean(object.deviceIsReadOnly) : false,
|
|
8059
|
+
formattingFailed: isSet(object.formattingFailed) ? gt.Boolean(object.formattingFailed) : false,
|
|
8060
|
+
};
|
|
8061
|
+
},
|
|
8062
|
+
toJSON(message) {
|
|
8063
|
+
const obj = {};
|
|
8064
|
+
if (message.errorMessage !== "") {
|
|
8065
|
+
obj.errorMessage = message.errorMessage;
|
|
8066
|
+
}
|
|
8067
|
+
if (message.noPartitionsFound !== false) {
|
|
8068
|
+
obj.noPartitionsFound = message.noPartitionsFound;
|
|
8069
|
+
}
|
|
8070
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8071
|
+
obj.multiplePartitionsFound = message.multiplePartitionsFound;
|
|
8072
|
+
}
|
|
8073
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8074
|
+
obj.wrongFileSystemFound = message.wrongFileSystemFound;
|
|
8075
|
+
}
|
|
8076
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8077
|
+
obj.deviceIsReadOnly = message.deviceIsReadOnly;
|
|
8078
|
+
}
|
|
8079
|
+
if (message.formattingFailed !== false) {
|
|
8080
|
+
obj.formattingFailed = message.formattingFailed;
|
|
8081
|
+
}
|
|
8082
|
+
return obj;
|
|
8083
|
+
},
|
|
8084
|
+
create(base) {
|
|
8085
|
+
return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
|
|
8086
|
+
},
|
|
8087
|
+
fromPartial(object) {
|
|
8088
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8089
|
+
message.errorMessage = object.errorMessage ?? "";
|
|
8090
|
+
message.noPartitionsFound = object.noPartitionsFound ?? false;
|
|
8091
|
+
message.multiplePartitionsFound = object.multiplePartitionsFound ?? false;
|
|
8092
|
+
message.wrongFileSystemFound = object.wrongFileSystemFound ?? false;
|
|
8093
|
+
message.deviceIsReadOnly = object.deviceIsReadOnly ?? false;
|
|
8094
|
+
message.formattingFailed = object.formattingFailed ?? false;
|
|
8095
|
+
return message;
|
|
8096
|
+
},
|
|
8097
|
+
};
|
|
7672
8098
|
function createBaseCalibrationState() {
|
|
7673
8099
|
return {
|
|
7674
8100
|
status: 0,
|
|
@@ -12041,7 +12467,7 @@ exports.PersistentStorageSettings = {
|
|
|
12041
12467
|
},
|
|
12042
12468
|
};
|
|
12043
12469
|
function createBaseCPUInfo() {
|
|
12044
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12470
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12045
12471
|
}
|
|
12046
12472
|
exports.CPUInfo = {
|
|
12047
12473
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12057,6 +12483,9 @@ exports.CPUInfo = {
|
|
|
12057
12483
|
if (message.guestportQueueLoad !== 0) {
|
|
12058
12484
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12059
12485
|
}
|
|
12486
|
+
if (message.commQueueLoad !== 0) {
|
|
12487
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12488
|
+
}
|
|
12060
12489
|
return writer;
|
|
12061
12490
|
},
|
|
12062
12491
|
decode(input, length) {
|
|
@@ -12094,6 +12523,13 @@ exports.CPUInfo = {
|
|
|
12094
12523
|
message.guestportQueueLoad = reader.float();
|
|
12095
12524
|
continue;
|
|
12096
12525
|
}
|
|
12526
|
+
case 5: {
|
|
12527
|
+
if (tag !== 45) {
|
|
12528
|
+
break;
|
|
12529
|
+
}
|
|
12530
|
+
message.commQueueLoad = reader.float();
|
|
12531
|
+
continue;
|
|
12532
|
+
}
|
|
12097
12533
|
}
|
|
12098
12534
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12099
12535
|
break;
|
|
@@ -12108,6 +12544,7 @@ exports.CPUInfo = {
|
|
|
12108
12544
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12109
12545
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12110
12546
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12547
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12111
12548
|
};
|
|
12112
12549
|
},
|
|
12113
12550
|
toJSON(message) {
|
|
@@ -12124,6 +12561,9 @@ exports.CPUInfo = {
|
|
|
12124
12561
|
if (message.guestportQueueLoad !== 0) {
|
|
12125
12562
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12126
12563
|
}
|
|
12564
|
+
if (message.commQueueLoad !== 0) {
|
|
12565
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12566
|
+
}
|
|
12127
12567
|
return obj;
|
|
12128
12568
|
},
|
|
12129
12569
|
create(base) {
|
|
@@ -12135,6 +12575,7 @@ exports.CPUInfo = {
|
|
|
12135
12575
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12136
12576
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12137
12577
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12578
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12138
12579
|
return message;
|
|
12139
12580
|
},
|
|
12140
12581
|
};
|
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, 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, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
|
|
4
4
|
import { MissionStatus, ReferenceAutoPilot } from "./mission_planning";
|
|
5
5
|
/**
|
|
6
6
|
* Telemetry
|
|
@@ -149,8 +149,15 @@ export interface CanisterBottomHumidityTel {
|
|
|
149
149
|
}
|
|
150
150
|
/** Video storage info. */
|
|
151
151
|
export interface VideoStorageSpaceTel {
|
|
152
|
-
/** Video storage information. */
|
|
152
|
+
/** Internal Video storage information. */
|
|
153
153
|
storageSpace: StorageSpace | undefined;
|
|
154
|
+
/** Removable Video storage information. Can be empty. */
|
|
155
|
+
removableSpace: StorageSpace | undefined;
|
|
156
|
+
}
|
|
157
|
+
/** Information about removable storage device. */
|
|
158
|
+
export interface RemovableStorageTel {
|
|
159
|
+
/** Information about the storage device (such as partitions) */
|
|
160
|
+
storageDevice: RemovableStorageDevice | undefined;
|
|
154
161
|
}
|
|
155
162
|
/** Data storage info. */
|
|
156
163
|
export interface DataStorageSpaceTel {
|
|
@@ -312,6 +319,7 @@ export declare const CPUTemperatureTel: MessageFns<CPUTemperatureTel>;
|
|
|
312
319
|
export declare const CanisterBottomTemperatureTel: MessageFns<CanisterBottomTemperatureTel>;
|
|
313
320
|
export declare const CanisterBottomHumidityTel: MessageFns<CanisterBottomHumidityTel>;
|
|
314
321
|
export declare const VideoStorageSpaceTel: MessageFns<VideoStorageSpaceTel>;
|
|
322
|
+
export declare const RemovableStorageTel: MessageFns<RemovableStorageTel>;
|
|
315
323
|
export declare const DataStorageSpaceTel: MessageFns<DataStorageSpaceTel>;
|
|
316
324
|
export declare const CalibrationStateTel: MessageFns<CalibrationStateTel>;
|
|
317
325
|
export declare const TiltStabilizationTel: MessageFns<TiltStabilizationTel>;
|
package/dist/telemetry.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: telemetry.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = void 0;
|
|
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;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
12
12
|
const aquatroll_1 = require("./aquatroll");
|
|
@@ -1475,13 +1475,16 @@ exports.CanisterBottomHumidityTel = {
|
|
|
1475
1475
|
},
|
|
1476
1476
|
};
|
|
1477
1477
|
function createBaseVideoStorageSpaceTel() {
|
|
1478
|
-
return { storageSpace: undefined };
|
|
1478
|
+
return { storageSpace: undefined, removableSpace: undefined };
|
|
1479
1479
|
}
|
|
1480
1480
|
exports.VideoStorageSpaceTel = {
|
|
1481
1481
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1482
1482
|
if (message.storageSpace !== undefined) {
|
|
1483
1483
|
message_formats_1.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
1484
1484
|
}
|
|
1485
|
+
if (message.removableSpace !== undefined) {
|
|
1486
|
+
message_formats_1.StorageSpace.encode(message.removableSpace, writer.uint32(18).fork()).join();
|
|
1487
|
+
}
|
|
1485
1488
|
return writer;
|
|
1486
1489
|
},
|
|
1487
1490
|
decode(input, length) {
|
|
@@ -1498,6 +1501,13 @@ exports.VideoStorageSpaceTel = {
|
|
|
1498
1501
|
message.storageSpace = message_formats_1.StorageSpace.decode(reader, reader.uint32());
|
|
1499
1502
|
continue;
|
|
1500
1503
|
}
|
|
1504
|
+
case 2: {
|
|
1505
|
+
if (tag !== 18) {
|
|
1506
|
+
break;
|
|
1507
|
+
}
|
|
1508
|
+
message.removableSpace = message_formats_1.StorageSpace.decode(reader, reader.uint32());
|
|
1509
|
+
continue;
|
|
1510
|
+
}
|
|
1501
1511
|
}
|
|
1502
1512
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1503
1513
|
break;
|
|
@@ -1507,13 +1517,19 @@ exports.VideoStorageSpaceTel = {
|
|
|
1507
1517
|
return message;
|
|
1508
1518
|
},
|
|
1509
1519
|
fromJSON(object) {
|
|
1510
|
-
return {
|
|
1520
|
+
return {
|
|
1521
|
+
storageSpace: isSet(object.storageSpace) ? message_formats_1.StorageSpace.fromJSON(object.storageSpace) : undefined,
|
|
1522
|
+
removableSpace: isSet(object.removableSpace) ? message_formats_1.StorageSpace.fromJSON(object.removableSpace) : undefined,
|
|
1523
|
+
};
|
|
1511
1524
|
},
|
|
1512
1525
|
toJSON(message) {
|
|
1513
1526
|
const obj = {};
|
|
1514
1527
|
if (message.storageSpace !== undefined) {
|
|
1515
1528
|
obj.storageSpace = message_formats_1.StorageSpace.toJSON(message.storageSpace);
|
|
1516
1529
|
}
|
|
1530
|
+
if (message.removableSpace !== undefined) {
|
|
1531
|
+
obj.removableSpace = message_formats_1.StorageSpace.toJSON(message.removableSpace);
|
|
1532
|
+
}
|
|
1517
1533
|
return obj;
|
|
1518
1534
|
},
|
|
1519
1535
|
create(base) {
|
|
@@ -1524,6 +1540,64 @@ exports.VideoStorageSpaceTel = {
|
|
|
1524
1540
|
message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
|
|
1525
1541
|
? message_formats_1.StorageSpace.fromPartial(object.storageSpace)
|
|
1526
1542
|
: undefined;
|
|
1543
|
+
message.removableSpace = (object.removableSpace !== undefined && object.removableSpace !== null)
|
|
1544
|
+
? message_formats_1.StorageSpace.fromPartial(object.removableSpace)
|
|
1545
|
+
: undefined;
|
|
1546
|
+
return message;
|
|
1547
|
+
},
|
|
1548
|
+
};
|
|
1549
|
+
function createBaseRemovableStorageTel() {
|
|
1550
|
+
return { storageDevice: undefined };
|
|
1551
|
+
}
|
|
1552
|
+
exports.RemovableStorageTel = {
|
|
1553
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1554
|
+
if (message.storageDevice !== undefined) {
|
|
1555
|
+
message_formats_1.RemovableStorageDevice.encode(message.storageDevice, writer.uint32(10).fork()).join();
|
|
1556
|
+
}
|
|
1557
|
+
return writer;
|
|
1558
|
+
},
|
|
1559
|
+
decode(input, length) {
|
|
1560
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1561
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1562
|
+
const message = createBaseRemovableStorageTel();
|
|
1563
|
+
while (reader.pos < end) {
|
|
1564
|
+
const tag = reader.uint32();
|
|
1565
|
+
switch (tag >>> 3) {
|
|
1566
|
+
case 1: {
|
|
1567
|
+
if (tag !== 10) {
|
|
1568
|
+
break;
|
|
1569
|
+
}
|
|
1570
|
+
message.storageDevice = message_formats_1.RemovableStorageDevice.decode(reader, reader.uint32());
|
|
1571
|
+
continue;
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1575
|
+
break;
|
|
1576
|
+
}
|
|
1577
|
+
reader.skip(tag & 7);
|
|
1578
|
+
}
|
|
1579
|
+
return message;
|
|
1580
|
+
},
|
|
1581
|
+
fromJSON(object) {
|
|
1582
|
+
return {
|
|
1583
|
+
storageDevice: isSet(object.storageDevice) ? message_formats_1.RemovableStorageDevice.fromJSON(object.storageDevice) : undefined,
|
|
1584
|
+
};
|
|
1585
|
+
},
|
|
1586
|
+
toJSON(message) {
|
|
1587
|
+
const obj = {};
|
|
1588
|
+
if (message.storageDevice !== undefined) {
|
|
1589
|
+
obj.storageDevice = message_formats_1.RemovableStorageDevice.toJSON(message.storageDevice);
|
|
1590
|
+
}
|
|
1591
|
+
return obj;
|
|
1592
|
+
},
|
|
1593
|
+
create(base) {
|
|
1594
|
+
return exports.RemovableStorageTel.fromPartial(base ?? {});
|
|
1595
|
+
},
|
|
1596
|
+
fromPartial(object) {
|
|
1597
|
+
const message = createBaseRemovableStorageTel();
|
|
1598
|
+
message.storageDevice = (object.storageDevice !== undefined && object.storageDevice !== null)
|
|
1599
|
+
? message_formats_1.RemovableStorageDevice.fromPartial(object.storageDevice)
|
|
1600
|
+
: undefined;
|
|
1527
1601
|
return message;
|
|
1528
1602
|
},
|
|
1529
1603
|
};
|