@blueyerobotics/protocol-definitions 3.2.0-2da79a0a → 3.2.0-35603a2b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aquatroll.js +1 -1
- package/dist/control.js +1 -1
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +45 -0
- package/dist/message_formats.js +240 -5
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.js +1 -1
- package/package.json +1 -1
package/dist/aquatroll.js
CHANGED
package/dist/control.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/any.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/duration.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/timestamp.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/index.blueye.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
package/dist/index.google.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
@@ -390,6 +390,8 @@ export declare enum GuestPortDeviceID {
|
|
|
390
390
|
GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
|
|
391
391
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
392
392
|
GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
|
|
393
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
394
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
|
|
393
395
|
UNRECOGNIZED = -1
|
|
394
396
|
}
|
|
395
397
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -491,6 +493,46 @@ export interface BinlogRecord {
|
|
|
491
493
|
/** Posix CLOCK_MONOTONIC timestamp. */
|
|
492
494
|
clockMonotonic: Date | undefined;
|
|
493
495
|
}
|
|
496
|
+
/**
|
|
497
|
+
* Log entry
|
|
498
|
+
*
|
|
499
|
+
* Used to store ROS log entries in the bez file
|
|
500
|
+
*/
|
|
501
|
+
export interface LogEntry {
|
|
502
|
+
/** Timestamp of the log entry. */
|
|
503
|
+
timestamp: Date | undefined;
|
|
504
|
+
/** Name of the process that generated the log entry. */
|
|
505
|
+
processName: string;
|
|
506
|
+
/** Process ID of the log entry. */
|
|
507
|
+
processId: number;
|
|
508
|
+
/** Thread ID of the log entry. */
|
|
509
|
+
threadId: number;
|
|
510
|
+
/** Source of the log entry (specific class or named logger). */
|
|
511
|
+
source: string;
|
|
512
|
+
/** Log level, info, warning, error, etc. */
|
|
513
|
+
level: LogEntry_LogLevel;
|
|
514
|
+
/** Log message. */
|
|
515
|
+
message: string;
|
|
516
|
+
}
|
|
517
|
+
export declare enum LogEntry_LogLevel {
|
|
518
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
519
|
+
LOG_LEVEL_UNSPECIFIED = 0,
|
|
520
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
521
|
+
LOG_LEVEL_TRACE = 1,
|
|
522
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
523
|
+
LOG_LEVEL_DEBUG = 2,
|
|
524
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
525
|
+
LOG_LEVEL_INFO = 3,
|
|
526
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
527
|
+
LOG_LEVEL_WARNING = 4,
|
|
528
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
529
|
+
LOG_LEVEL_ERROR = 5,
|
|
530
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
531
|
+
LOG_LEVEL_CRITICAL = 6,
|
|
532
|
+
UNRECOGNIZED = -1
|
|
533
|
+
}
|
|
534
|
+
export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
|
|
535
|
+
export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
|
|
494
536
|
/** If you use both values at the same time they cancel each other out. */
|
|
495
537
|
export interface MotionInput {
|
|
496
538
|
/** Forward (positive) and backwards (negative) movement. (-1..1). */
|
|
@@ -1802,8 +1844,11 @@ export interface CPUInfo {
|
|
|
1802
1844
|
mainQueueLoad: number;
|
|
1803
1845
|
/** Guestport queue load (0..1). */
|
|
1804
1846
|
guestportQueueLoad: number;
|
|
1847
|
+
/** Communication queue load (0..1). */
|
|
1848
|
+
commQueueLoad: number;
|
|
1805
1849
|
}
|
|
1806
1850
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1851
|
+
export declare const LogEntry: MessageFns<LogEntry>;
|
|
1807
1852
|
export declare const MotionInput: MessageFns<MotionInput>;
|
|
1808
1853
|
export declare const Lights: MessageFns<Lights>;
|
|
1809
1854
|
export declare const Laser: MessageFns<Laser>;
|
package/dist/message_formats.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = 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;
|
|
@@ -54,6 +54,8 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
54
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
55
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
56
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
57
|
+
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
58
|
+
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
57
59
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
60
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
61
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -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";
|
|
@@ -1687,6 +1696,74 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1687
1696
|
return "UNRECOGNIZED";
|
|
1688
1697
|
}
|
|
1689
1698
|
}
|
|
1699
|
+
var LogEntry_LogLevel;
|
|
1700
|
+
(function (LogEntry_LogLevel) {
|
|
1701
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1702
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1703
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1704
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1705
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1706
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1707
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1708
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1709
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1710
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1711
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1712
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1713
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1714
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1715
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1716
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1717
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1718
|
+
switch (object) {
|
|
1719
|
+
case 0:
|
|
1720
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1721
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1722
|
+
case 1:
|
|
1723
|
+
case "LOG_LEVEL_TRACE":
|
|
1724
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1725
|
+
case 2:
|
|
1726
|
+
case "LOG_LEVEL_DEBUG":
|
|
1727
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1728
|
+
case 3:
|
|
1729
|
+
case "LOG_LEVEL_INFO":
|
|
1730
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1731
|
+
case 4:
|
|
1732
|
+
case "LOG_LEVEL_WARNING":
|
|
1733
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1734
|
+
case 5:
|
|
1735
|
+
case "LOG_LEVEL_ERROR":
|
|
1736
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1737
|
+
case 6:
|
|
1738
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1739
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1740
|
+
case -1:
|
|
1741
|
+
case "UNRECOGNIZED":
|
|
1742
|
+
default:
|
|
1743
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1747
|
+
switch (object) {
|
|
1748
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1749
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1750
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1751
|
+
return "LOG_LEVEL_TRACE";
|
|
1752
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1753
|
+
return "LOG_LEVEL_DEBUG";
|
|
1754
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1755
|
+
return "LOG_LEVEL_INFO";
|
|
1756
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1757
|
+
return "LOG_LEVEL_WARNING";
|
|
1758
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1759
|
+
return "LOG_LEVEL_ERROR";
|
|
1760
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1761
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1762
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1763
|
+
default:
|
|
1764
|
+
return "UNRECOGNIZED";
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1690
1767
|
var PingerConfiguration_MountingDirection;
|
|
1691
1768
|
(function (PingerConfiguration_MountingDirection) {
|
|
1692
1769
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -2150,6 +2227,149 @@ exports.BinlogRecord = {
|
|
|
2150
2227
|
return message;
|
|
2151
2228
|
},
|
|
2152
2229
|
};
|
|
2230
|
+
function createBaseLogEntry() {
|
|
2231
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2232
|
+
}
|
|
2233
|
+
exports.LogEntry = {
|
|
2234
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2235
|
+
if (message.timestamp !== undefined) {
|
|
2236
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2237
|
+
}
|
|
2238
|
+
if (message.processName !== "") {
|
|
2239
|
+
writer.uint32(18).string(message.processName);
|
|
2240
|
+
}
|
|
2241
|
+
if (message.processId !== 0) {
|
|
2242
|
+
writer.uint32(24).uint64(message.processId);
|
|
2243
|
+
}
|
|
2244
|
+
if (message.threadId !== 0) {
|
|
2245
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2246
|
+
}
|
|
2247
|
+
if (message.source !== "") {
|
|
2248
|
+
writer.uint32(42).string(message.source);
|
|
2249
|
+
}
|
|
2250
|
+
if (message.level !== 0) {
|
|
2251
|
+
writer.uint32(48).int32(message.level);
|
|
2252
|
+
}
|
|
2253
|
+
if (message.message !== "") {
|
|
2254
|
+
writer.uint32(58).string(message.message);
|
|
2255
|
+
}
|
|
2256
|
+
return writer;
|
|
2257
|
+
},
|
|
2258
|
+
decode(input, length) {
|
|
2259
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2260
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2261
|
+
const message = createBaseLogEntry();
|
|
2262
|
+
while (reader.pos < end) {
|
|
2263
|
+
const tag = reader.uint32();
|
|
2264
|
+
switch (tag >>> 3) {
|
|
2265
|
+
case 1: {
|
|
2266
|
+
if (tag !== 10) {
|
|
2267
|
+
break;
|
|
2268
|
+
}
|
|
2269
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2270
|
+
continue;
|
|
2271
|
+
}
|
|
2272
|
+
case 2: {
|
|
2273
|
+
if (tag !== 18) {
|
|
2274
|
+
break;
|
|
2275
|
+
}
|
|
2276
|
+
message.processName = reader.string();
|
|
2277
|
+
continue;
|
|
2278
|
+
}
|
|
2279
|
+
case 3: {
|
|
2280
|
+
if (tag !== 24) {
|
|
2281
|
+
break;
|
|
2282
|
+
}
|
|
2283
|
+
message.processId = longToNumber(reader.uint64());
|
|
2284
|
+
continue;
|
|
2285
|
+
}
|
|
2286
|
+
case 4: {
|
|
2287
|
+
if (tag !== 32) {
|
|
2288
|
+
break;
|
|
2289
|
+
}
|
|
2290
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2291
|
+
continue;
|
|
2292
|
+
}
|
|
2293
|
+
case 5: {
|
|
2294
|
+
if (tag !== 42) {
|
|
2295
|
+
break;
|
|
2296
|
+
}
|
|
2297
|
+
message.source = reader.string();
|
|
2298
|
+
continue;
|
|
2299
|
+
}
|
|
2300
|
+
case 6: {
|
|
2301
|
+
if (tag !== 48) {
|
|
2302
|
+
break;
|
|
2303
|
+
}
|
|
2304
|
+
message.level = reader.int32();
|
|
2305
|
+
continue;
|
|
2306
|
+
}
|
|
2307
|
+
case 7: {
|
|
2308
|
+
if (tag !== 58) {
|
|
2309
|
+
break;
|
|
2310
|
+
}
|
|
2311
|
+
message.message = reader.string();
|
|
2312
|
+
continue;
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2316
|
+
break;
|
|
2317
|
+
}
|
|
2318
|
+
reader.skip(tag & 7);
|
|
2319
|
+
}
|
|
2320
|
+
return message;
|
|
2321
|
+
},
|
|
2322
|
+
fromJSON(object) {
|
|
2323
|
+
return {
|
|
2324
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2325
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2326
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2327
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2328
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2329
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2330
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2331
|
+
};
|
|
2332
|
+
},
|
|
2333
|
+
toJSON(message) {
|
|
2334
|
+
const obj = {};
|
|
2335
|
+
if (message.timestamp !== undefined) {
|
|
2336
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2337
|
+
}
|
|
2338
|
+
if (message.processName !== "") {
|
|
2339
|
+
obj.processName = message.processName;
|
|
2340
|
+
}
|
|
2341
|
+
if (message.processId !== 0) {
|
|
2342
|
+
obj.processId = Math.round(message.processId);
|
|
2343
|
+
}
|
|
2344
|
+
if (message.threadId !== 0) {
|
|
2345
|
+
obj.threadId = Math.round(message.threadId);
|
|
2346
|
+
}
|
|
2347
|
+
if (message.source !== "") {
|
|
2348
|
+
obj.source = message.source;
|
|
2349
|
+
}
|
|
2350
|
+
if (message.level !== 0) {
|
|
2351
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2352
|
+
}
|
|
2353
|
+
if (message.message !== "") {
|
|
2354
|
+
obj.message = message.message;
|
|
2355
|
+
}
|
|
2356
|
+
return obj;
|
|
2357
|
+
},
|
|
2358
|
+
create(base) {
|
|
2359
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2360
|
+
},
|
|
2361
|
+
fromPartial(object) {
|
|
2362
|
+
const message = createBaseLogEntry();
|
|
2363
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2364
|
+
message.processName = object.processName ?? "";
|
|
2365
|
+
message.processId = object.processId ?? 0;
|
|
2366
|
+
message.threadId = object.threadId ?? 0;
|
|
2367
|
+
message.source = object.source ?? "";
|
|
2368
|
+
message.level = object.level ?? 0;
|
|
2369
|
+
message.message = object.message ?? "";
|
|
2370
|
+
return message;
|
|
2371
|
+
},
|
|
2372
|
+
};
|
|
2153
2373
|
function createBaseMotionInput() {
|
|
2154
2374
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2155
2375
|
}
|
|
@@ -12247,7 +12467,7 @@ exports.PersistentStorageSettings = {
|
|
|
12247
12467
|
},
|
|
12248
12468
|
};
|
|
12249
12469
|
function createBaseCPUInfo() {
|
|
12250
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12470
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12251
12471
|
}
|
|
12252
12472
|
exports.CPUInfo = {
|
|
12253
12473
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12263,6 +12483,9 @@ exports.CPUInfo = {
|
|
|
12263
12483
|
if (message.guestportQueueLoad !== 0) {
|
|
12264
12484
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12265
12485
|
}
|
|
12486
|
+
if (message.commQueueLoad !== 0) {
|
|
12487
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12488
|
+
}
|
|
12266
12489
|
return writer;
|
|
12267
12490
|
},
|
|
12268
12491
|
decode(input, length) {
|
|
@@ -12300,6 +12523,13 @@ exports.CPUInfo = {
|
|
|
12300
12523
|
message.guestportQueueLoad = reader.float();
|
|
12301
12524
|
continue;
|
|
12302
12525
|
}
|
|
12526
|
+
case 5: {
|
|
12527
|
+
if (tag !== 45) {
|
|
12528
|
+
break;
|
|
12529
|
+
}
|
|
12530
|
+
message.commQueueLoad = reader.float();
|
|
12531
|
+
continue;
|
|
12532
|
+
}
|
|
12303
12533
|
}
|
|
12304
12534
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12305
12535
|
break;
|
|
@@ -12314,6 +12544,7 @@ exports.CPUInfo = {
|
|
|
12314
12544
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12315
12545
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12316
12546
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12547
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12317
12548
|
};
|
|
12318
12549
|
},
|
|
12319
12550
|
toJSON(message) {
|
|
@@ -12330,6 +12561,9 @@ exports.CPUInfo = {
|
|
|
12330
12561
|
if (message.guestportQueueLoad !== 0) {
|
|
12331
12562
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12332
12563
|
}
|
|
12564
|
+
if (message.commQueueLoad !== 0) {
|
|
12565
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12566
|
+
}
|
|
12333
12567
|
return obj;
|
|
12334
12568
|
},
|
|
12335
12569
|
create(base) {
|
|
@@ -12341,6 +12575,7 @@ exports.CPUInfo = {
|
|
|
12341
12575
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12342
12576
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12343
12577
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12578
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12344
12579
|
return message;
|
|
12345
12580
|
},
|
|
12346
12581
|
};
|
package/dist/mission_planning.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: mission_planning.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/req_rep.js
CHANGED
package/dist/telemetry.js
CHANGED