@blueyerobotics/protocol-definitions 3.2.0-6025f25a → 3.2.0-68355164
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/message_formats.d.ts +50 -1
- package/dist/message_formats.js +295 -5
- package/dist/telemetry.d.ts +21 -1
- package/dist/telemetry.js +175 -1
- package/package.json +1 -1
|
@@ -419,8 +419,10 @@ export declare enum GuestPortDeviceID {
|
|
|
419
419
|
GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
|
|
420
420
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
421
421
|
GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
|
|
422
|
-
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
422
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
423
423
|
GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
|
|
424
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
425
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 = 46,
|
|
424
426
|
UNRECOGNIZED = -1
|
|
425
427
|
}
|
|
426
428
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -562,6 +564,49 @@ export declare enum LogEntry_LogLevel {
|
|
|
562
564
|
}
|
|
563
565
|
export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
|
|
564
566
|
export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
|
|
567
|
+
export interface KernelLogEntry {
|
|
568
|
+
/** Log level, info, warning, error, etc. */
|
|
569
|
+
level: KernelLogEntry_KernelLogLevel;
|
|
570
|
+
/** Sequence number of the log entry. */
|
|
571
|
+
seqnum: number;
|
|
572
|
+
/** Timestamp of the log entry. */
|
|
573
|
+
timestamp: Date | undefined;
|
|
574
|
+
/** Log messages. */
|
|
575
|
+
messages: string[];
|
|
576
|
+
/** List of key-value pairs. */
|
|
577
|
+
fields: KernelLogEntry_KeyValuePair[];
|
|
578
|
+
}
|
|
579
|
+
/** Kernel log level. */
|
|
580
|
+
export declare enum KernelLogEntry_KernelLogLevel {
|
|
581
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
582
|
+
KERNEL_LOG_LEVEL_UNSPECIFIED = 0,
|
|
583
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
584
|
+
KERNEL_LOG_LEVEL_EMERG = 1,
|
|
585
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
586
|
+
KERNEL_LOG_LEVEL_ALERT = 2,
|
|
587
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
588
|
+
KERNEL_LOG_LEVEL_CRIT = 3,
|
|
589
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
590
|
+
KERNEL_LOG_LEVEL_ERR = 4,
|
|
591
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
592
|
+
KERNEL_LOG_LEVEL_WARNING = 5,
|
|
593
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
594
|
+
KERNEL_LOG_LEVEL_NOTICE = 6,
|
|
595
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
596
|
+
KERNEL_LOG_LEVEL_INFO = 7,
|
|
597
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
598
|
+
KERNEL_LOG_LEVEL_DEBUG = 8,
|
|
599
|
+
UNRECOGNIZED = -1
|
|
600
|
+
}
|
|
601
|
+
export declare function kernelLogEntry_KernelLogLevelFromJSON(object: any): KernelLogEntry_KernelLogLevel;
|
|
602
|
+
export declare function kernelLogEntry_KernelLogLevelToJSON(object: KernelLogEntry_KernelLogLevel): string;
|
|
603
|
+
/** Key-value pair used for structured logging. */
|
|
604
|
+
export interface KernelLogEntry_KeyValuePair {
|
|
605
|
+
/** Key of the key-value pair. */
|
|
606
|
+
key: string;
|
|
607
|
+
/** Value of the key-value pair. */
|
|
608
|
+
value: string;
|
|
609
|
+
}
|
|
565
610
|
/** If you use both values at the same time they cancel each other out. */
|
|
566
611
|
export interface MotionInput {
|
|
567
612
|
/** Forward (positive) and backwards (negative) movement. (-1..1). */
|
|
@@ -1226,6 +1271,8 @@ export interface StoragePartition {
|
|
|
1226
1271
|
devicePath: string;
|
|
1227
1272
|
/** Mount path of the partition. */
|
|
1228
1273
|
mountPath: string;
|
|
1274
|
+
/** Label of the partition. */
|
|
1275
|
+
label: string;
|
|
1229
1276
|
}
|
|
1230
1277
|
/** Removable storage device. */
|
|
1231
1278
|
export interface RemovableStorageDevice {
|
|
@@ -1933,6 +1980,8 @@ export interface SurfaceUnitVersionInfo {
|
|
|
1933
1980
|
}
|
|
1934
1981
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1935
1982
|
export declare const LogEntry: MessageFns<LogEntry>;
|
|
1983
|
+
export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
|
|
1984
|
+
export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyValuePair>;
|
|
1936
1985
|
export declare const MotionInput: MessageFns<MotionInput>;
|
|
1937
1986
|
export declare const Lights: MessageFns<Lights>;
|
|
1938
1987
|
export declare const Laser: MessageFns<Laser>;
|
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.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 = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = void 0;
|
|
8
|
+
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.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = 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.KernelLogEntry_KernelLogLevel = 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.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
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 = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = 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 = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -60,6 +60,8 @@ exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
|
60
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
61
61
|
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
62
62
|
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
63
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
64
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
65
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -1274,8 +1276,10 @@ var GuestPortDeviceID;
|
|
|
1274
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1275
1277
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1276
1278
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1277
|
-
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1279
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1278
1280
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1281
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1282
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1279
1283
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1280
1284
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1281
1285
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1418,6 +1422,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1418
1422
|
case 45:
|
|
1419
1423
|
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1420
1424
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1425
|
+
case 46:
|
|
1426
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1427
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1421
1428
|
case -1:
|
|
1422
1429
|
case "UNRECOGNIZED":
|
|
1423
1430
|
default:
|
|
@@ -1518,6 +1525,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1518
1525
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1519
1526
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1520
1527
|
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1528
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1529
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1521
1530
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1522
1531
|
default:
|
|
1523
1532
|
return "UNRECOGNIZED";
|
|
@@ -1862,6 +1871,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1862
1871
|
return "UNRECOGNIZED";
|
|
1863
1872
|
}
|
|
1864
1873
|
}
|
|
1874
|
+
/** Kernel log level. */
|
|
1875
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1876
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1877
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1878
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1879
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1880
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1881
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1882
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1883
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1884
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1885
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1886
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1887
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1888
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1889
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1890
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1891
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1892
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1893
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1894
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1895
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1896
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1897
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1898
|
+
switch (object) {
|
|
1899
|
+
case 0:
|
|
1900
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1901
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1902
|
+
case 1:
|
|
1903
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1904
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1905
|
+
case 2:
|
|
1906
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1907
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1908
|
+
case 3:
|
|
1909
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1910
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1911
|
+
case 4:
|
|
1912
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1913
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1914
|
+
case 5:
|
|
1915
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1916
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1917
|
+
case 6:
|
|
1918
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1919
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1920
|
+
case 7:
|
|
1921
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1922
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1923
|
+
case 8:
|
|
1924
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1925
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1926
|
+
case -1:
|
|
1927
|
+
case "UNRECOGNIZED":
|
|
1928
|
+
default:
|
|
1929
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1933
|
+
switch (object) {
|
|
1934
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1935
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1936
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1937
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1938
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1939
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1940
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1941
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1942
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1943
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1944
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1945
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1946
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1947
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1948
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1949
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1950
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1951
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1952
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1953
|
+
default:
|
|
1954
|
+
return "UNRECOGNIZED";
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1865
1957
|
var PingerConfiguration_MountingDirection;
|
|
1866
1958
|
(function (PingerConfiguration_MountingDirection) {
|
|
1867
1959
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -2511,6 +2603,189 @@ exports.LogEntry = {
|
|
|
2511
2603
|
return message;
|
|
2512
2604
|
},
|
|
2513
2605
|
};
|
|
2606
|
+
function createBaseKernelLogEntry() {
|
|
2607
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2608
|
+
}
|
|
2609
|
+
exports.KernelLogEntry = {
|
|
2610
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2611
|
+
if (message.level !== 0) {
|
|
2612
|
+
writer.uint32(8).int32(message.level);
|
|
2613
|
+
}
|
|
2614
|
+
if (message.seqnum !== 0) {
|
|
2615
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2616
|
+
}
|
|
2617
|
+
if (message.timestamp !== undefined) {
|
|
2618
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2619
|
+
}
|
|
2620
|
+
for (const v of message.messages) {
|
|
2621
|
+
writer.uint32(34).string(v);
|
|
2622
|
+
}
|
|
2623
|
+
for (const v of message.fields) {
|
|
2624
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2625
|
+
}
|
|
2626
|
+
return writer;
|
|
2627
|
+
},
|
|
2628
|
+
decode(input, length) {
|
|
2629
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2630
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2631
|
+
const message = createBaseKernelLogEntry();
|
|
2632
|
+
while (reader.pos < end) {
|
|
2633
|
+
const tag = reader.uint32();
|
|
2634
|
+
switch (tag >>> 3) {
|
|
2635
|
+
case 1: {
|
|
2636
|
+
if (tag !== 8) {
|
|
2637
|
+
break;
|
|
2638
|
+
}
|
|
2639
|
+
message.level = reader.int32();
|
|
2640
|
+
continue;
|
|
2641
|
+
}
|
|
2642
|
+
case 2: {
|
|
2643
|
+
if (tag !== 16) {
|
|
2644
|
+
break;
|
|
2645
|
+
}
|
|
2646
|
+
message.seqnum = reader.uint32();
|
|
2647
|
+
continue;
|
|
2648
|
+
}
|
|
2649
|
+
case 3: {
|
|
2650
|
+
if (tag !== 26) {
|
|
2651
|
+
break;
|
|
2652
|
+
}
|
|
2653
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2654
|
+
continue;
|
|
2655
|
+
}
|
|
2656
|
+
case 4: {
|
|
2657
|
+
if (tag !== 34) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
message.messages.push(reader.string());
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2663
|
+
case 5: {
|
|
2664
|
+
if (tag !== 42) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2668
|
+
continue;
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2672
|
+
break;
|
|
2673
|
+
}
|
|
2674
|
+
reader.skip(tag & 7);
|
|
2675
|
+
}
|
|
2676
|
+
return message;
|
|
2677
|
+
},
|
|
2678
|
+
fromJSON(object) {
|
|
2679
|
+
return {
|
|
2680
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2681
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2682
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2683
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2684
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2685
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2686
|
+
: [],
|
|
2687
|
+
};
|
|
2688
|
+
},
|
|
2689
|
+
toJSON(message) {
|
|
2690
|
+
const obj = {};
|
|
2691
|
+
if (message.level !== 0) {
|
|
2692
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2693
|
+
}
|
|
2694
|
+
if (message.seqnum !== 0) {
|
|
2695
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2696
|
+
}
|
|
2697
|
+
if (message.timestamp !== undefined) {
|
|
2698
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2699
|
+
}
|
|
2700
|
+
if (message.messages?.length) {
|
|
2701
|
+
obj.messages = message.messages;
|
|
2702
|
+
}
|
|
2703
|
+
if (message.fields?.length) {
|
|
2704
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2705
|
+
}
|
|
2706
|
+
return obj;
|
|
2707
|
+
},
|
|
2708
|
+
create(base) {
|
|
2709
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2710
|
+
},
|
|
2711
|
+
fromPartial(object) {
|
|
2712
|
+
const message = createBaseKernelLogEntry();
|
|
2713
|
+
message.level = object.level ?? 0;
|
|
2714
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2715
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2716
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2717
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2718
|
+
return message;
|
|
2719
|
+
},
|
|
2720
|
+
};
|
|
2721
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2722
|
+
return { key: "", value: "" };
|
|
2723
|
+
}
|
|
2724
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2725
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2726
|
+
if (message.key !== "") {
|
|
2727
|
+
writer.uint32(10).string(message.key);
|
|
2728
|
+
}
|
|
2729
|
+
if (message.value !== "") {
|
|
2730
|
+
writer.uint32(18).string(message.value);
|
|
2731
|
+
}
|
|
2732
|
+
return writer;
|
|
2733
|
+
},
|
|
2734
|
+
decode(input, length) {
|
|
2735
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2736
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2737
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2738
|
+
while (reader.pos < end) {
|
|
2739
|
+
const tag = reader.uint32();
|
|
2740
|
+
switch (tag >>> 3) {
|
|
2741
|
+
case 1: {
|
|
2742
|
+
if (tag !== 10) {
|
|
2743
|
+
break;
|
|
2744
|
+
}
|
|
2745
|
+
message.key = reader.string();
|
|
2746
|
+
continue;
|
|
2747
|
+
}
|
|
2748
|
+
case 2: {
|
|
2749
|
+
if (tag !== 18) {
|
|
2750
|
+
break;
|
|
2751
|
+
}
|
|
2752
|
+
message.value = reader.string();
|
|
2753
|
+
continue;
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2757
|
+
break;
|
|
2758
|
+
}
|
|
2759
|
+
reader.skip(tag & 7);
|
|
2760
|
+
}
|
|
2761
|
+
return message;
|
|
2762
|
+
},
|
|
2763
|
+
fromJSON(object) {
|
|
2764
|
+
return {
|
|
2765
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2766
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2767
|
+
};
|
|
2768
|
+
},
|
|
2769
|
+
toJSON(message) {
|
|
2770
|
+
const obj = {};
|
|
2771
|
+
if (message.key !== "") {
|
|
2772
|
+
obj.key = message.key;
|
|
2773
|
+
}
|
|
2774
|
+
if (message.value !== "") {
|
|
2775
|
+
obj.value = message.value;
|
|
2776
|
+
}
|
|
2777
|
+
return obj;
|
|
2778
|
+
},
|
|
2779
|
+
create(base) {
|
|
2780
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2781
|
+
},
|
|
2782
|
+
fromPartial(object) {
|
|
2783
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2784
|
+
message.key = object.key ?? "";
|
|
2785
|
+
message.value = object.value ?? "";
|
|
2786
|
+
return message;
|
|
2787
|
+
},
|
|
2788
|
+
};
|
|
2514
2789
|
function createBaseMotionInput() {
|
|
2515
2790
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2516
2791
|
}
|
|
@@ -7884,7 +8159,7 @@ exports.StorageSpace = {
|
|
|
7884
8159
|
},
|
|
7885
8160
|
};
|
|
7886
8161
|
function createBaseStoragePartition() {
|
|
7887
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8162
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7888
8163
|
}
|
|
7889
8164
|
exports.StoragePartition = {
|
|
7890
8165
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7900,6 +8175,9 @@ exports.StoragePartition = {
|
|
|
7900
8175
|
if (message.mountPath !== "") {
|
|
7901
8176
|
writer.uint32(34).string(message.mountPath);
|
|
7902
8177
|
}
|
|
8178
|
+
if (message.label !== "") {
|
|
8179
|
+
writer.uint32(42).string(message.label);
|
|
8180
|
+
}
|
|
7903
8181
|
return writer;
|
|
7904
8182
|
},
|
|
7905
8183
|
decode(input, length) {
|
|
@@ -7937,6 +8215,13 @@ exports.StoragePartition = {
|
|
|
7937
8215
|
message.mountPath = reader.string();
|
|
7938
8216
|
continue;
|
|
7939
8217
|
}
|
|
8218
|
+
case 5: {
|
|
8219
|
+
if (tag !== 42) {
|
|
8220
|
+
break;
|
|
8221
|
+
}
|
|
8222
|
+
message.label = reader.string();
|
|
8223
|
+
continue;
|
|
8224
|
+
}
|
|
7940
8225
|
}
|
|
7941
8226
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7942
8227
|
break;
|
|
@@ -7951,6 +8236,7 @@ exports.StoragePartition = {
|
|
|
7951
8236
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7952
8237
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7953
8238
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8239
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7954
8240
|
};
|
|
7955
8241
|
},
|
|
7956
8242
|
toJSON(message) {
|
|
@@ -7967,6 +8253,9 @@ exports.StoragePartition = {
|
|
|
7967
8253
|
if (message.mountPath !== "") {
|
|
7968
8254
|
obj.mountPath = message.mountPath;
|
|
7969
8255
|
}
|
|
8256
|
+
if (message.label !== "") {
|
|
8257
|
+
obj.label = message.label;
|
|
8258
|
+
}
|
|
7970
8259
|
return obj;
|
|
7971
8260
|
},
|
|
7972
8261
|
create(base) {
|
|
@@ -7980,6 +8269,7 @@ exports.StoragePartition = {
|
|
|
7980
8269
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7981
8270
|
message.devicePath = object.devicePath ?? "";
|
|
7982
8271
|
message.mountPath = object.mountPath ?? "";
|
|
8272
|
+
message.label = object.label ?? "";
|
|
7983
8273
|
return message;
|
|
7984
8274
|
},
|
|
7985
8275
|
};
|
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, SurfaceUnitBatteryInfo, SurfaceUnitVersionInfo, 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, KernelLogEntry, Laser, LatLongPosition, Lights, LogEntry, 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
|
|
@@ -266,6 +266,16 @@ export interface Imu2Tel {
|
|
|
266
266
|
/** Raw IMU data. */
|
|
267
267
|
imu: Imu | undefined;
|
|
268
268
|
}
|
|
269
|
+
/** Raw IMU data from High Precision IMU */
|
|
270
|
+
export interface ImuHpTel {
|
|
271
|
+
/** Raw High Precision IMU data (no magnetometer) */
|
|
272
|
+
imu: Imu | undefined;
|
|
273
|
+
}
|
|
274
|
+
/** Calibrated High Precision IMU data */
|
|
275
|
+
export interface CalibratedImuHpTel {
|
|
276
|
+
/** Calibrated High Precision IMU (no magnetometer) */
|
|
277
|
+
imu: Imu | undefined;
|
|
278
|
+
}
|
|
269
279
|
/** Medusa gamma ray sensor spectrometer data. */
|
|
270
280
|
export interface MedusaSpectrometerDataTel {
|
|
271
281
|
/** Medusa gamma ray sensor spectrometer data. */
|
|
@@ -298,6 +308,13 @@ export interface SurfaceUnitTel {
|
|
|
298
308
|
/** Version information. */
|
|
299
309
|
versionInfo: SurfaceUnitVersionInfo | undefined;
|
|
300
310
|
}
|
|
311
|
+
/** Log entry telemetry message. */
|
|
312
|
+
export interface LogEntryTel {
|
|
313
|
+
/** Blunux log entry. */
|
|
314
|
+
blunux?: LogEntry | undefined;
|
|
315
|
+
/** Kernel log entry. */
|
|
316
|
+
kernel?: KernelLogEntry | undefined;
|
|
317
|
+
}
|
|
301
318
|
export declare const AttitudeTel: MessageFns<AttitudeTel>;
|
|
302
319
|
export declare const MagneticDeclinationTel: MessageFns<MagneticDeclinationTel>;
|
|
303
320
|
export declare const AltitudeTel: MessageFns<AltitudeTel>;
|
|
@@ -348,12 +365,15 @@ export declare const GuestPortCurrentTel: MessageFns<GuestPortCurrentTel>;
|
|
|
348
365
|
export declare const CalibratedImuTel: MessageFns<CalibratedImuTel>;
|
|
349
366
|
export declare const Imu1Tel: MessageFns<Imu1Tel>;
|
|
350
367
|
export declare const Imu2Tel: MessageFns<Imu2Tel>;
|
|
368
|
+
export declare const ImuHpTel: MessageFns<ImuHpTel>;
|
|
369
|
+
export declare const CalibratedImuHpTel: MessageFns<CalibratedImuHpTel>;
|
|
351
370
|
export declare const MedusaSpectrometerDataTel: MessageFns<MedusaSpectrometerDataTel>;
|
|
352
371
|
export declare const MultibeamPingTel: MessageFns<MultibeamPingTel>;
|
|
353
372
|
export declare const MultibeamConfigTel: MessageFns<MultibeamConfigTel>;
|
|
354
373
|
export declare const MultibeamDiscoveryTel: MessageFns<MultibeamDiscoveryTel>;
|
|
355
374
|
export declare const CPUInfoTel: MessageFns<CPUInfoTel>;
|
|
356
375
|
export declare const SurfaceUnitTel: MessageFns<SurfaceUnitTel>;
|
|
376
|
+
export declare const LogEntryTel: MessageFns<LogEntryTel>;
|
|
357
377
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
358
378
|
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 {} ? {
|
|
359
379
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/dist/telemetry.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
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.SurfaceUnitTel = exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = void 0;
|
|
9
|
+
exports.LogEntryTel = exports.SurfaceUnitTel = exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = exports.CalibratedImuHpTel = exports.ImuHpTel = void 0;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
12
12
|
const aquatroll_1 = require("./aquatroll");
|
|
@@ -2729,6 +2729,108 @@ exports.Imu2Tel = {
|
|
|
2729
2729
|
return message;
|
|
2730
2730
|
},
|
|
2731
2731
|
};
|
|
2732
|
+
function createBaseImuHpTel() {
|
|
2733
|
+
return { imu: undefined };
|
|
2734
|
+
}
|
|
2735
|
+
exports.ImuHpTel = {
|
|
2736
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2737
|
+
if (message.imu !== undefined) {
|
|
2738
|
+
message_formats_1.Imu.encode(message.imu, writer.uint32(10).fork()).join();
|
|
2739
|
+
}
|
|
2740
|
+
return writer;
|
|
2741
|
+
},
|
|
2742
|
+
decode(input, length) {
|
|
2743
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2744
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2745
|
+
const message = createBaseImuHpTel();
|
|
2746
|
+
while (reader.pos < end) {
|
|
2747
|
+
const tag = reader.uint32();
|
|
2748
|
+
switch (tag >>> 3) {
|
|
2749
|
+
case 1: {
|
|
2750
|
+
if (tag !== 10) {
|
|
2751
|
+
break;
|
|
2752
|
+
}
|
|
2753
|
+
message.imu = message_formats_1.Imu.decode(reader, reader.uint32());
|
|
2754
|
+
continue;
|
|
2755
|
+
}
|
|
2756
|
+
}
|
|
2757
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2758
|
+
break;
|
|
2759
|
+
}
|
|
2760
|
+
reader.skip(tag & 7);
|
|
2761
|
+
}
|
|
2762
|
+
return message;
|
|
2763
|
+
},
|
|
2764
|
+
fromJSON(object) {
|
|
2765
|
+
return { imu: isSet(object.imu) ? message_formats_1.Imu.fromJSON(object.imu) : undefined };
|
|
2766
|
+
},
|
|
2767
|
+
toJSON(message) {
|
|
2768
|
+
const obj = {};
|
|
2769
|
+
if (message.imu !== undefined) {
|
|
2770
|
+
obj.imu = message_formats_1.Imu.toJSON(message.imu);
|
|
2771
|
+
}
|
|
2772
|
+
return obj;
|
|
2773
|
+
},
|
|
2774
|
+
create(base) {
|
|
2775
|
+
return exports.ImuHpTel.fromPartial(base ?? {});
|
|
2776
|
+
},
|
|
2777
|
+
fromPartial(object) {
|
|
2778
|
+
const message = createBaseImuHpTel();
|
|
2779
|
+
message.imu = (object.imu !== undefined && object.imu !== null) ? message_formats_1.Imu.fromPartial(object.imu) : undefined;
|
|
2780
|
+
return message;
|
|
2781
|
+
},
|
|
2782
|
+
};
|
|
2783
|
+
function createBaseCalibratedImuHpTel() {
|
|
2784
|
+
return { imu: undefined };
|
|
2785
|
+
}
|
|
2786
|
+
exports.CalibratedImuHpTel = {
|
|
2787
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2788
|
+
if (message.imu !== undefined) {
|
|
2789
|
+
message_formats_1.Imu.encode(message.imu, writer.uint32(10).fork()).join();
|
|
2790
|
+
}
|
|
2791
|
+
return writer;
|
|
2792
|
+
},
|
|
2793
|
+
decode(input, length) {
|
|
2794
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2795
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2796
|
+
const message = createBaseCalibratedImuHpTel();
|
|
2797
|
+
while (reader.pos < end) {
|
|
2798
|
+
const tag = reader.uint32();
|
|
2799
|
+
switch (tag >>> 3) {
|
|
2800
|
+
case 1: {
|
|
2801
|
+
if (tag !== 10) {
|
|
2802
|
+
break;
|
|
2803
|
+
}
|
|
2804
|
+
message.imu = message_formats_1.Imu.decode(reader, reader.uint32());
|
|
2805
|
+
continue;
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2809
|
+
break;
|
|
2810
|
+
}
|
|
2811
|
+
reader.skip(tag & 7);
|
|
2812
|
+
}
|
|
2813
|
+
return message;
|
|
2814
|
+
},
|
|
2815
|
+
fromJSON(object) {
|
|
2816
|
+
return { imu: isSet(object.imu) ? message_formats_1.Imu.fromJSON(object.imu) : undefined };
|
|
2817
|
+
},
|
|
2818
|
+
toJSON(message) {
|
|
2819
|
+
const obj = {};
|
|
2820
|
+
if (message.imu !== undefined) {
|
|
2821
|
+
obj.imu = message_formats_1.Imu.toJSON(message.imu);
|
|
2822
|
+
}
|
|
2823
|
+
return obj;
|
|
2824
|
+
},
|
|
2825
|
+
create(base) {
|
|
2826
|
+
return exports.CalibratedImuHpTel.fromPartial(base ?? {});
|
|
2827
|
+
},
|
|
2828
|
+
fromPartial(object) {
|
|
2829
|
+
const message = createBaseCalibratedImuHpTel();
|
|
2830
|
+
message.imu = (object.imu !== undefined && object.imu !== null) ? message_formats_1.Imu.fromPartial(object.imu) : undefined;
|
|
2831
|
+
return message;
|
|
2832
|
+
},
|
|
2833
|
+
};
|
|
2732
2834
|
function createBaseMedusaSpectrometerDataTel() {
|
|
2733
2835
|
return { data: undefined };
|
|
2734
2836
|
}
|
|
@@ -3066,6 +3168,78 @@ exports.SurfaceUnitTel = {
|
|
|
3066
3168
|
return message;
|
|
3067
3169
|
},
|
|
3068
3170
|
};
|
|
3171
|
+
function createBaseLogEntryTel() {
|
|
3172
|
+
return { blunux: undefined, kernel: undefined };
|
|
3173
|
+
}
|
|
3174
|
+
exports.LogEntryTel = {
|
|
3175
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3176
|
+
if (message.blunux !== undefined) {
|
|
3177
|
+
message_formats_1.LogEntry.encode(message.blunux, writer.uint32(10).fork()).join();
|
|
3178
|
+
}
|
|
3179
|
+
if (message.kernel !== undefined) {
|
|
3180
|
+
message_formats_1.KernelLogEntry.encode(message.kernel, writer.uint32(18).fork()).join();
|
|
3181
|
+
}
|
|
3182
|
+
return writer;
|
|
3183
|
+
},
|
|
3184
|
+
decode(input, length) {
|
|
3185
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3186
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3187
|
+
const message = createBaseLogEntryTel();
|
|
3188
|
+
while (reader.pos < end) {
|
|
3189
|
+
const tag = reader.uint32();
|
|
3190
|
+
switch (tag >>> 3) {
|
|
3191
|
+
case 1: {
|
|
3192
|
+
if (tag !== 10) {
|
|
3193
|
+
break;
|
|
3194
|
+
}
|
|
3195
|
+
message.blunux = message_formats_1.LogEntry.decode(reader, reader.uint32());
|
|
3196
|
+
continue;
|
|
3197
|
+
}
|
|
3198
|
+
case 2: {
|
|
3199
|
+
if (tag !== 18) {
|
|
3200
|
+
break;
|
|
3201
|
+
}
|
|
3202
|
+
message.kernel = message_formats_1.KernelLogEntry.decode(reader, reader.uint32());
|
|
3203
|
+
continue;
|
|
3204
|
+
}
|
|
3205
|
+
}
|
|
3206
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3207
|
+
break;
|
|
3208
|
+
}
|
|
3209
|
+
reader.skip(tag & 7);
|
|
3210
|
+
}
|
|
3211
|
+
return message;
|
|
3212
|
+
},
|
|
3213
|
+
fromJSON(object) {
|
|
3214
|
+
return {
|
|
3215
|
+
blunux: isSet(object.blunux) ? message_formats_1.LogEntry.fromJSON(object.blunux) : undefined,
|
|
3216
|
+
kernel: isSet(object.kernel) ? message_formats_1.KernelLogEntry.fromJSON(object.kernel) : undefined,
|
|
3217
|
+
};
|
|
3218
|
+
},
|
|
3219
|
+
toJSON(message) {
|
|
3220
|
+
const obj = {};
|
|
3221
|
+
if (message.blunux !== undefined) {
|
|
3222
|
+
obj.blunux = message_formats_1.LogEntry.toJSON(message.blunux);
|
|
3223
|
+
}
|
|
3224
|
+
if (message.kernel !== undefined) {
|
|
3225
|
+
obj.kernel = message_formats_1.KernelLogEntry.toJSON(message.kernel);
|
|
3226
|
+
}
|
|
3227
|
+
return obj;
|
|
3228
|
+
},
|
|
3229
|
+
create(base) {
|
|
3230
|
+
return exports.LogEntryTel.fromPartial(base ?? {});
|
|
3231
|
+
},
|
|
3232
|
+
fromPartial(object) {
|
|
3233
|
+
const message = createBaseLogEntryTel();
|
|
3234
|
+
message.blunux = (object.blunux !== undefined && object.blunux !== null)
|
|
3235
|
+
? message_formats_1.LogEntry.fromPartial(object.blunux)
|
|
3236
|
+
: undefined;
|
|
3237
|
+
message.kernel = (object.kernel !== undefined && object.kernel !== null)
|
|
3238
|
+
? message_formats_1.KernelLogEntry.fromPartial(object.kernel)
|
|
3239
|
+
: undefined;
|
|
3240
|
+
return message;
|
|
3241
|
+
},
|
|
3242
|
+
};
|
|
3069
3243
|
const gt = (() => {
|
|
3070
3244
|
if (typeof globalThis !== "undefined") {
|
|
3071
3245
|
return globalThis;
|