@blueyerobotics/protocol-definitions 3.2.0-ac052e11 → 3.2.0-b1918def
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/LICENSE +165 -0
- package/README.npm.md +40 -0
- package/dist/message_formats.d.ts +50 -1
- package/dist/message_formats.js +295 -5
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +191 -1
- package/dist/telemetry.d.ts +21 -1
- package/dist/telemetry.js +175 -1
- package/package.json +8 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
|
2
|
+
Version 3, 29 June 2007
|
|
3
|
+
|
|
4
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
5
|
+
Everyone is permitted to copy and distribute verbatim copies
|
|
6
|
+
of this license document, but changing it is not allowed.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
This version of the GNU Lesser General Public License incorporates
|
|
10
|
+
the terms and conditions of version 3 of the GNU General Public
|
|
11
|
+
License, supplemented by the additional permissions listed below.
|
|
12
|
+
|
|
13
|
+
0. Additional Definitions.
|
|
14
|
+
|
|
15
|
+
As used herein, "this License" refers to version 3 of the GNU Lesser
|
|
16
|
+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
|
17
|
+
General Public License.
|
|
18
|
+
|
|
19
|
+
"The Library" refers to a covered work governed by this License,
|
|
20
|
+
other than an Application or a Combined Work as defined below.
|
|
21
|
+
|
|
22
|
+
An "Application" is any work that makes use of an interface provided
|
|
23
|
+
by the Library, but which is not otherwise based on the Library.
|
|
24
|
+
Defining a subclass of a class defined by the Library is deemed a mode
|
|
25
|
+
of using an interface provided by the Library.
|
|
26
|
+
|
|
27
|
+
A "Combined Work" is a work produced by combining or linking an
|
|
28
|
+
Application with the Library. The particular version of the Library
|
|
29
|
+
with which the Combined Work was made is also called the "Linked
|
|
30
|
+
Version".
|
|
31
|
+
|
|
32
|
+
The "Minimal Corresponding Source" for a Combined Work means the
|
|
33
|
+
Corresponding Source for the Combined Work, excluding any source code
|
|
34
|
+
for portions of the Combined Work that, considered in isolation, are
|
|
35
|
+
based on the Application, and not on the Linked Version.
|
|
36
|
+
|
|
37
|
+
The "Corresponding Application Code" for a Combined Work means the
|
|
38
|
+
object code and/or source code for the Application, including any data
|
|
39
|
+
and utility programs needed for reproducing the Combined Work from the
|
|
40
|
+
Application, but excluding the System Libraries of the Combined Work.
|
|
41
|
+
|
|
42
|
+
1. Exception to Section 3 of the GNU GPL.
|
|
43
|
+
|
|
44
|
+
You may convey a covered work under sections 3 and 4 of this License
|
|
45
|
+
without being bound by section 3 of the GNU GPL.
|
|
46
|
+
|
|
47
|
+
2. Conveying Modified Versions.
|
|
48
|
+
|
|
49
|
+
If you modify a copy of the Library, and, in your modifications, a
|
|
50
|
+
facility refers to a function or data to be supplied by an Application
|
|
51
|
+
that uses the facility (other than as an argument passed when the
|
|
52
|
+
facility is invoked), then you may convey a copy of the modified
|
|
53
|
+
version:
|
|
54
|
+
|
|
55
|
+
a) under this License, provided that you make a good faith effort to
|
|
56
|
+
ensure that, in the event an Application does not supply the
|
|
57
|
+
function or data, the facility still operates, and performs
|
|
58
|
+
whatever part of its purpose remains meaningful, or
|
|
59
|
+
|
|
60
|
+
b) under the GNU GPL, with none of the additional permissions of
|
|
61
|
+
this License applicable to that copy.
|
|
62
|
+
|
|
63
|
+
3. Object Code Incorporating Material from Library Header Files.
|
|
64
|
+
|
|
65
|
+
The object code form of an Application may incorporate material from
|
|
66
|
+
a header file that is part of the Library. You may convey such object
|
|
67
|
+
code under terms of your choice, provided that, if the incorporated
|
|
68
|
+
material is not limited to numerical parameters, data structure
|
|
69
|
+
layouts and accessors, or small macros, inline functions and templates
|
|
70
|
+
(ten or fewer lines in length), you do both of the following:
|
|
71
|
+
|
|
72
|
+
a) Give prominent notice with each copy of the object code that the
|
|
73
|
+
Library is used in it and that the Library and its use are
|
|
74
|
+
covered by this License.
|
|
75
|
+
|
|
76
|
+
b) Accompany the object code with a copy of the GNU GPL and this license
|
|
77
|
+
document.
|
|
78
|
+
|
|
79
|
+
4. Combined Works.
|
|
80
|
+
|
|
81
|
+
You may convey a Combined Work under terms of your choice that,
|
|
82
|
+
taken together, effectively do not restrict modification of the
|
|
83
|
+
portions of the Library contained in the Combined Work and reverse
|
|
84
|
+
engineering for debugging such modifications, if you also do each of
|
|
85
|
+
the following:
|
|
86
|
+
|
|
87
|
+
a) Give prominent notice with each copy of the Combined Work that
|
|
88
|
+
the Library is used in it and that the Library and its use are
|
|
89
|
+
covered by this License.
|
|
90
|
+
|
|
91
|
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
|
92
|
+
document.
|
|
93
|
+
|
|
94
|
+
c) For a Combined Work that displays copyright notices during
|
|
95
|
+
execution, include the copyright notice for the Library among
|
|
96
|
+
these notices, as well as a reference directing the user to the
|
|
97
|
+
copies of the GNU GPL and this license document.
|
|
98
|
+
|
|
99
|
+
d) Do one of the following:
|
|
100
|
+
|
|
101
|
+
0) Convey the Minimal Corresponding Source under the terms of this
|
|
102
|
+
License, and the Corresponding Application Code in a form
|
|
103
|
+
suitable for, and under terms that permit, the user to
|
|
104
|
+
recombine or relink the Application with a modified version of
|
|
105
|
+
the Linked Version to produce a modified Combined Work, in the
|
|
106
|
+
manner specified by section 6 of the GNU GPL for conveying
|
|
107
|
+
Corresponding Source.
|
|
108
|
+
|
|
109
|
+
1) Use a suitable shared library mechanism for linking with the
|
|
110
|
+
Library. A suitable mechanism is one that (a) uses at run time
|
|
111
|
+
a copy of the Library already present on the user's computer
|
|
112
|
+
system, and (b) will operate properly with a modified version
|
|
113
|
+
of the Library that is interface-compatible with the Linked
|
|
114
|
+
Version.
|
|
115
|
+
|
|
116
|
+
e) Provide Installation Information, but only if you would otherwise
|
|
117
|
+
be required to provide such information under section 6 of the
|
|
118
|
+
GNU GPL, and only to the extent that such information is
|
|
119
|
+
necessary to install and execute a modified version of the
|
|
120
|
+
Combined Work produced by recombining or relinking the
|
|
121
|
+
Application with a modified version of the Linked Version. (If
|
|
122
|
+
you use option 4d0, the Installation Information must accompany
|
|
123
|
+
the Minimal Corresponding Source and Corresponding Application
|
|
124
|
+
Code. If you use option 4d1, you must provide the Installation
|
|
125
|
+
Information in the manner specified by section 6 of the GNU GPL
|
|
126
|
+
for conveying Corresponding Source.)
|
|
127
|
+
|
|
128
|
+
5. Combined Libraries.
|
|
129
|
+
|
|
130
|
+
You may place library facilities that are a work based on the
|
|
131
|
+
Library side by side in a single library together with other library
|
|
132
|
+
facilities that are not Applications and are not covered by this
|
|
133
|
+
License, and convey such a combined library under terms of your
|
|
134
|
+
choice, if you do both of the following:
|
|
135
|
+
|
|
136
|
+
a) Accompany the combined library with a copy of the same work based
|
|
137
|
+
on the Library, uncombined with any other library facilities,
|
|
138
|
+
conveyed under the terms of this License.
|
|
139
|
+
|
|
140
|
+
b) Give prominent notice with the combined library that part of it
|
|
141
|
+
is a work based on the Library, and explaining where to find the
|
|
142
|
+
accompanying uncombined form of the same work.
|
|
143
|
+
|
|
144
|
+
6. Revised Versions of the GNU Lesser General Public License.
|
|
145
|
+
|
|
146
|
+
The Free Software Foundation may publish revised and/or new versions
|
|
147
|
+
of the GNU Lesser General Public License from time to time. Such new
|
|
148
|
+
versions will be similar in spirit to the present version, but may
|
|
149
|
+
differ in detail to address new problems or concerns.
|
|
150
|
+
|
|
151
|
+
Each version is given a distinguishing version number. If the
|
|
152
|
+
Library as you received it specifies that a certain numbered version
|
|
153
|
+
of the GNU Lesser General Public License "or any later version"
|
|
154
|
+
applies to it, you have the option of following the terms and
|
|
155
|
+
conditions either of that published version or of any later version
|
|
156
|
+
published by the Free Software Foundation. If the Library as you
|
|
157
|
+
received it does not specify a version number of the GNU Lesser
|
|
158
|
+
General Public License, you may choose any version of the GNU Lesser
|
|
159
|
+
General Public License ever published by the Free Software Foundation.
|
|
160
|
+
|
|
161
|
+
If the Library as you received it specifies that a proxy can decide
|
|
162
|
+
whether future versions of the GNU Lesser General Public License shall
|
|
163
|
+
apply, that proxy's public statement of acceptance of any version is
|
|
164
|
+
permanent authorization for you to choose that version for the
|
|
165
|
+
Library.
|
package/README.npm.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @blueyerobotics/protocol-definitions
|
|
2
|
+
|
|
3
|
+
TypeScript protobuf definitions for Blueye Robotics protocols generated using [ts-proto](https://github.com/stephenh/ts-proto).
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @blueyerobotics/protocol-definitions
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { blueye } from "@blueyerobotics/protocol-definitions";
|
|
15
|
+
|
|
16
|
+
// Create a new GetBatteryReq message
|
|
17
|
+
const request = blueye.protocol.GetBatteryReq.create();
|
|
18
|
+
|
|
19
|
+
// Serialize the message to a Uint8Array (binary)
|
|
20
|
+
const binary = blueye.protocol.GetBatteryReq.encode(request).finish();
|
|
21
|
+
|
|
22
|
+
// ...
|
|
23
|
+
|
|
24
|
+
// For demonstration, we will simulate a response from the device
|
|
25
|
+
const response = blueye.protocol.GetBatteryRep.create({
|
|
26
|
+
battery: {
|
|
27
|
+
level: 85,
|
|
28
|
+
voltage: 12.5,
|
|
29
|
+
temperature: 25,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
const binaryResponse = blueye.protocol.GetBatteryRep.encode(response).finish();
|
|
34
|
+
|
|
35
|
+
// Decode a binary response back into a message
|
|
36
|
+
const decoded = blueye.protocol.GetBatteryRep.decode(binaryResponse);
|
|
37
|
+
|
|
38
|
+
// Access fields
|
|
39
|
+
console.log(decoded.battery?.level);
|
|
40
|
+
```
|
|
@@ -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/req_rep.d.ts
CHANGED
|
@@ -209,6 +209,24 @@ export interface FlashEscSettingsRep {
|
|
|
209
209
|
/** If the ESC settings were flashed successfully. */
|
|
210
210
|
success: boolean;
|
|
211
211
|
}
|
|
212
|
+
/** Request to set iperf task status. */
|
|
213
|
+
export interface SetIperfStatusReq {
|
|
214
|
+
/** If background iperf task should be enabled or disabled. */
|
|
215
|
+
enabled: boolean;
|
|
216
|
+
}
|
|
217
|
+
/** Response after setting iperf status. */
|
|
218
|
+
export interface SetIperfStatusRep {
|
|
219
|
+
/** If background iperf task is enabled or disabled. */
|
|
220
|
+
enabled: boolean;
|
|
221
|
+
}
|
|
222
|
+
/** Request to get current iperf task status. */
|
|
223
|
+
export interface GetIperfStatusReq {
|
|
224
|
+
}
|
|
225
|
+
/** Response with current iperf status. */
|
|
226
|
+
export interface GetIperfStatusRep {
|
|
227
|
+
/** If background iperf task is enabled or disabled. */
|
|
228
|
+
enabled: boolean;
|
|
229
|
+
}
|
|
212
230
|
export declare const SetOverlayParametersReq: MessageFns<SetOverlayParametersReq>;
|
|
213
231
|
export declare const SetOverlayParametersRep: MessageFns<SetOverlayParametersRep>;
|
|
214
232
|
export declare const GetOverlayParametersReq: MessageFns<GetOverlayParametersReq>;
|
|
@@ -247,6 +265,10 @@ export declare const GetPersistentStorageSettingsReq: MessageFns<GetPersistentSt
|
|
|
247
265
|
export declare const GetPersistentStorageSettingsRep: MessageFns<GetPersistentStorageSettingsRep>;
|
|
248
266
|
export declare const FlashEscSettingsReq: MessageFns<FlashEscSettingsReq>;
|
|
249
267
|
export declare const FlashEscSettingsRep: MessageFns<FlashEscSettingsRep>;
|
|
268
|
+
export declare const SetIperfStatusReq: MessageFns<SetIperfStatusReq>;
|
|
269
|
+
export declare const SetIperfStatusRep: MessageFns<SetIperfStatusRep>;
|
|
270
|
+
export declare const GetIperfStatusReq: MessageFns<GetIperfStatusReq>;
|
|
271
|
+
export declare const GetIperfStatusRep: MessageFns<GetIperfStatusRep>;
|
|
250
272
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
251
273
|
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
274
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/dist/req_rep.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: req_rep.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.FlashEscSettingsRep = exports.FlashEscSettingsReq = exports.GetPersistentStorageSettingsRep = exports.GetPersistentStorageSettingsReq = exports.SetPersistentStorageSettingsRep = exports.SetPersistentStorageSettingsReq = exports.GetTelemetryRep = exports.GetTelemetryReq = exports.SetPubFrequencyRep = exports.SetPubFrequencyReq = exports.SetHeadingModeRep = exports.SetHeadingModeReq = exports.SetInstructionUpdateRep = exports.SetInstructionUpdateReq = exports.GetMissionRep = exports.GetMissionReq = exports.SetMissionRep = exports.SetMissionReq = exports.GetBatteryRep = exports.GetBatteryReq = exports.DisconnectClientRep = exports.DisconnectClientReq = exports.ConnectClientRep = exports.ConnectClientReq = exports.SetThicknessGaugeParametersRep = exports.SetThicknessGaugeParametersReq = exports.PingRep = exports.PingReq = exports.SyncTimeRep = exports.SyncTimeReq = exports.GetCameraParametersRep = exports.GetCameraParametersReq = exports.SetCameraParametersRep = exports.SetCameraParametersReq = exports.GetOverlayParametersRep = exports.GetOverlayParametersReq = exports.SetOverlayParametersRep = exports.SetOverlayParametersReq = void 0;
|
|
8
|
+
exports.GetIperfStatusRep = exports.GetIperfStatusReq = exports.SetIperfStatusRep = exports.SetIperfStatusReq = exports.FlashEscSettingsRep = exports.FlashEscSettingsReq = exports.GetPersistentStorageSettingsRep = exports.GetPersistentStorageSettingsReq = exports.SetPersistentStorageSettingsRep = exports.SetPersistentStorageSettingsReq = exports.GetTelemetryRep = exports.GetTelemetryReq = exports.SetPubFrequencyRep = exports.SetPubFrequencyReq = exports.SetHeadingModeRep = exports.SetHeadingModeReq = exports.SetInstructionUpdateRep = exports.SetInstructionUpdateReq = exports.GetMissionRep = exports.GetMissionReq = exports.SetMissionRep = exports.SetMissionReq = exports.GetBatteryRep = exports.GetBatteryReq = exports.DisconnectClientRep = exports.DisconnectClientReq = exports.ConnectClientRep = exports.ConnectClientReq = exports.SetThicknessGaugeParametersRep = exports.SetThicknessGaugeParametersReq = exports.PingRep = exports.PingReq = exports.SyncTimeRep = exports.SyncTimeReq = exports.GetCameraParametersRep = exports.GetCameraParametersReq = exports.SetCameraParametersRep = exports.SetCameraParametersReq = exports.GetOverlayParametersRep = exports.GetOverlayParametersReq = exports.SetOverlayParametersRep = exports.SetOverlayParametersReq = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -1899,6 +1899,196 @@ exports.FlashEscSettingsRep = {
|
|
|
1899
1899
|
return message;
|
|
1900
1900
|
},
|
|
1901
1901
|
};
|
|
1902
|
+
function createBaseSetIperfStatusReq() {
|
|
1903
|
+
return { enabled: false };
|
|
1904
|
+
}
|
|
1905
|
+
exports.SetIperfStatusReq = {
|
|
1906
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1907
|
+
if (message.enabled !== false) {
|
|
1908
|
+
writer.uint32(8).bool(message.enabled);
|
|
1909
|
+
}
|
|
1910
|
+
return writer;
|
|
1911
|
+
},
|
|
1912
|
+
decode(input, length) {
|
|
1913
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1914
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1915
|
+
const message = createBaseSetIperfStatusReq();
|
|
1916
|
+
while (reader.pos < end) {
|
|
1917
|
+
const tag = reader.uint32();
|
|
1918
|
+
switch (tag >>> 3) {
|
|
1919
|
+
case 1: {
|
|
1920
|
+
if (tag !== 8) {
|
|
1921
|
+
break;
|
|
1922
|
+
}
|
|
1923
|
+
message.enabled = reader.bool();
|
|
1924
|
+
continue;
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1928
|
+
break;
|
|
1929
|
+
}
|
|
1930
|
+
reader.skip(tag & 7);
|
|
1931
|
+
}
|
|
1932
|
+
return message;
|
|
1933
|
+
},
|
|
1934
|
+
fromJSON(object) {
|
|
1935
|
+
return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
|
|
1936
|
+
},
|
|
1937
|
+
toJSON(message) {
|
|
1938
|
+
const obj = {};
|
|
1939
|
+
if (message.enabled !== false) {
|
|
1940
|
+
obj.enabled = message.enabled;
|
|
1941
|
+
}
|
|
1942
|
+
return obj;
|
|
1943
|
+
},
|
|
1944
|
+
create(base) {
|
|
1945
|
+
return exports.SetIperfStatusReq.fromPartial(base ?? {});
|
|
1946
|
+
},
|
|
1947
|
+
fromPartial(object) {
|
|
1948
|
+
const message = createBaseSetIperfStatusReq();
|
|
1949
|
+
message.enabled = object.enabled ?? false;
|
|
1950
|
+
return message;
|
|
1951
|
+
},
|
|
1952
|
+
};
|
|
1953
|
+
function createBaseSetIperfStatusRep() {
|
|
1954
|
+
return { enabled: false };
|
|
1955
|
+
}
|
|
1956
|
+
exports.SetIperfStatusRep = {
|
|
1957
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1958
|
+
if (message.enabled !== false) {
|
|
1959
|
+
writer.uint32(8).bool(message.enabled);
|
|
1960
|
+
}
|
|
1961
|
+
return writer;
|
|
1962
|
+
},
|
|
1963
|
+
decode(input, length) {
|
|
1964
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1965
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1966
|
+
const message = createBaseSetIperfStatusRep();
|
|
1967
|
+
while (reader.pos < end) {
|
|
1968
|
+
const tag = reader.uint32();
|
|
1969
|
+
switch (tag >>> 3) {
|
|
1970
|
+
case 1: {
|
|
1971
|
+
if (tag !== 8) {
|
|
1972
|
+
break;
|
|
1973
|
+
}
|
|
1974
|
+
message.enabled = reader.bool();
|
|
1975
|
+
continue;
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1979
|
+
break;
|
|
1980
|
+
}
|
|
1981
|
+
reader.skip(tag & 7);
|
|
1982
|
+
}
|
|
1983
|
+
return message;
|
|
1984
|
+
},
|
|
1985
|
+
fromJSON(object) {
|
|
1986
|
+
return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
|
|
1987
|
+
},
|
|
1988
|
+
toJSON(message) {
|
|
1989
|
+
const obj = {};
|
|
1990
|
+
if (message.enabled !== false) {
|
|
1991
|
+
obj.enabled = message.enabled;
|
|
1992
|
+
}
|
|
1993
|
+
return obj;
|
|
1994
|
+
},
|
|
1995
|
+
create(base) {
|
|
1996
|
+
return exports.SetIperfStatusRep.fromPartial(base ?? {});
|
|
1997
|
+
},
|
|
1998
|
+
fromPartial(object) {
|
|
1999
|
+
const message = createBaseSetIperfStatusRep();
|
|
2000
|
+
message.enabled = object.enabled ?? false;
|
|
2001
|
+
return message;
|
|
2002
|
+
},
|
|
2003
|
+
};
|
|
2004
|
+
function createBaseGetIperfStatusReq() {
|
|
2005
|
+
return {};
|
|
2006
|
+
}
|
|
2007
|
+
exports.GetIperfStatusReq = {
|
|
2008
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
2009
|
+
return writer;
|
|
2010
|
+
},
|
|
2011
|
+
decode(input, length) {
|
|
2012
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2013
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2014
|
+
const message = createBaseGetIperfStatusReq();
|
|
2015
|
+
while (reader.pos < end) {
|
|
2016
|
+
const tag = reader.uint32();
|
|
2017
|
+
switch (tag >>> 3) {
|
|
2018
|
+
}
|
|
2019
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2020
|
+
break;
|
|
2021
|
+
}
|
|
2022
|
+
reader.skip(tag & 7);
|
|
2023
|
+
}
|
|
2024
|
+
return message;
|
|
2025
|
+
},
|
|
2026
|
+
fromJSON(_) {
|
|
2027
|
+
return {};
|
|
2028
|
+
},
|
|
2029
|
+
toJSON(_) {
|
|
2030
|
+
const obj = {};
|
|
2031
|
+
return obj;
|
|
2032
|
+
},
|
|
2033
|
+
create(base) {
|
|
2034
|
+
return exports.GetIperfStatusReq.fromPartial(base ?? {});
|
|
2035
|
+
},
|
|
2036
|
+
fromPartial(_) {
|
|
2037
|
+
const message = createBaseGetIperfStatusReq();
|
|
2038
|
+
return message;
|
|
2039
|
+
},
|
|
2040
|
+
};
|
|
2041
|
+
function createBaseGetIperfStatusRep() {
|
|
2042
|
+
return { enabled: false };
|
|
2043
|
+
}
|
|
2044
|
+
exports.GetIperfStatusRep = {
|
|
2045
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2046
|
+
if (message.enabled !== false) {
|
|
2047
|
+
writer.uint32(8).bool(message.enabled);
|
|
2048
|
+
}
|
|
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 = createBaseGetIperfStatusRep();
|
|
2055
|
+
while (reader.pos < end) {
|
|
2056
|
+
const tag = reader.uint32();
|
|
2057
|
+
switch (tag >>> 3) {
|
|
2058
|
+
case 1: {
|
|
2059
|
+
if (tag !== 8) {
|
|
2060
|
+
break;
|
|
2061
|
+
}
|
|
2062
|
+
message.enabled = reader.bool();
|
|
2063
|
+
continue;
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2067
|
+
break;
|
|
2068
|
+
}
|
|
2069
|
+
reader.skip(tag & 7);
|
|
2070
|
+
}
|
|
2071
|
+
return message;
|
|
2072
|
+
},
|
|
2073
|
+
fromJSON(object) {
|
|
2074
|
+
return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
|
|
2075
|
+
},
|
|
2076
|
+
toJSON(message) {
|
|
2077
|
+
const obj = {};
|
|
2078
|
+
if (message.enabled !== false) {
|
|
2079
|
+
obj.enabled = message.enabled;
|
|
2080
|
+
}
|
|
2081
|
+
return obj;
|
|
2082
|
+
},
|
|
2083
|
+
create(base) {
|
|
2084
|
+
return exports.GetIperfStatusRep.fromPartial(base ?? {});
|
|
2085
|
+
},
|
|
2086
|
+
fromPartial(object) {
|
|
2087
|
+
const message = createBaseGetIperfStatusRep();
|
|
2088
|
+
message.enabled = object.enabled ?? false;
|
|
2089
|
+
return message;
|
|
2090
|
+
},
|
|
2091
|
+
};
|
|
1902
2092
|
const gt = (() => {
|
|
1903
2093
|
if (typeof globalThis !== "undefined") {
|
|
1904
2094
|
return globalThis;
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueyerobotics/protocol-definitions",
|
|
3
|
-
"version": "3.2.0-
|
|
3
|
+
"version": "3.2.0-b1918def",
|
|
4
4
|
"license": "LGPL-3.0-only",
|
|
5
5
|
"description": "TypeScript definitions for Blueye Robotics protocols",
|
|
6
6
|
"repository": {
|
|
@@ -9,15 +9,17 @@
|
|
|
9
9
|
},
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"types": "dist/index.d.ts",
|
|
12
|
-
"files": [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
16
15
|
"dependencies": {
|
|
17
16
|
"@bufbuild/protobuf": "^2.5.2"
|
|
18
17
|
},
|
|
19
18
|
"devDependencies": {
|
|
20
19
|
"ts-proto": "^2.7.5",
|
|
21
20
|
"typescript": "^5.8.3"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "tsc"
|
|
22
24
|
}
|
|
23
|
-
}
|
|
25
|
+
}
|