@blueyerobotics/protocol-definitions 3.2.0-9a7703f5 → 3.2.0-c785049b
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/README.md +40 -0
- package/dist/aquatroll.d.ts +2 -8
- package/dist/control.d.ts +13 -8
- package/dist/control.js +38 -1
- package/dist/google/protobuf/any.d.ts +2 -8
- package/dist/google/protobuf/duration.d.ts +2 -8
- package/dist/google/protobuf/timestamp.d.ts +2 -8
- package/dist/message_formats.d.ts +103 -10
- package/dist/message_formats.js +637 -5
- package/dist/mission_planning.d.ts +2 -8
- package/dist/req_rep.d.ts +2 -8
- package/dist/telemetry.d.ts +12 -10
- package/dist/telemetry.js +78 -4
- package/package.json +3 -1
package/README.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
|
+
```
|
package/dist/aquatroll.d.ts
CHANGED
|
@@ -424,18 +424,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
|
|
|
424
424
|
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 {} ? {
|
|
425
425
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
426
426
|
} : Partial<T>;
|
|
427
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
428
|
-
type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
429
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
430
|
-
} & {
|
|
431
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
432
|
-
};
|
|
433
427
|
interface MessageFns<T> {
|
|
434
428
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
435
429
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
436
430
|
fromJSON(object: any): T;
|
|
437
431
|
toJSON(message: T): unknown;
|
|
438
|
-
create
|
|
439
|
-
fromPartial
|
|
432
|
+
create(base?: DeepPartial<T>): T;
|
|
433
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
440
434
|
}
|
|
441
435
|
export {};
|
package/dist/control.d.ts
CHANGED
|
@@ -205,6 +205,16 @@ export interface StartDiveCtrl {
|
|
|
205
205
|
*/
|
|
206
206
|
export interface EndDiveCtrl {
|
|
207
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* Message sent when the user wants to format a connected removable storage device.
|
|
210
|
+
*
|
|
211
|
+
* The app will receive a RemovableStorageTel message with information about the newly formatted drive.
|
|
212
|
+
*
|
|
213
|
+
* Warning: The drone will delete any partitions and format the drive with a single exFat partition.
|
|
214
|
+
* Any data on the drive will be lost.
|
|
215
|
+
*/
|
|
216
|
+
export interface FormatRemovableStorageDeviceCtrl {
|
|
217
|
+
}
|
|
208
218
|
export declare const MotionInputCtrl: MessageFns<MotionInputCtrl>;
|
|
209
219
|
export declare const TiltVelocityCtrl: MessageFns<TiltVelocityCtrl>;
|
|
210
220
|
export declare const LightsCtrl: MessageFns<LightsCtrl>;
|
|
@@ -247,22 +257,17 @@ export declare const ActivateMultibeamCtrl: MessageFns<ActivateMultibeamCtrl>;
|
|
|
247
257
|
export declare const DeactivateMultibeamCtrl: MessageFns<DeactivateMultibeamCtrl>;
|
|
248
258
|
export declare const StartDiveCtrl: MessageFns<StartDiveCtrl>;
|
|
249
259
|
export declare const EndDiveCtrl: MessageFns<EndDiveCtrl>;
|
|
260
|
+
export declare const FormatRemovableStorageDeviceCtrl: MessageFns<FormatRemovableStorageDeviceCtrl>;
|
|
250
261
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
251
262
|
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
252
263
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
253
264
|
} : Partial<T>;
|
|
254
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
255
|
-
type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
256
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
257
|
-
} & {
|
|
258
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
259
|
-
};
|
|
260
265
|
interface MessageFns<T> {
|
|
261
266
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
262
267
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
263
268
|
fromJSON(object: any): T;
|
|
264
269
|
toJSON(message: T): unknown;
|
|
265
|
-
create
|
|
266
|
-
fromPartial
|
|
270
|
+
create(base?: DeepPartial<T>): T;
|
|
271
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
267
272
|
}
|
|
268
273
|
export {};
|
package/dist/control.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: control.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
|
|
8
|
+
exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const aquatroll_1 = require("./aquatroll");
|
|
@@ -2041,6 +2041,43 @@ exports.EndDiveCtrl = {
|
|
|
2041
2041
|
return message;
|
|
2042
2042
|
},
|
|
2043
2043
|
};
|
|
2044
|
+
function createBaseFormatRemovableStorageDeviceCtrl() {
|
|
2045
|
+
return {};
|
|
2046
|
+
}
|
|
2047
|
+
exports.FormatRemovableStorageDeviceCtrl = {
|
|
2048
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
2049
|
+
return writer;
|
|
2050
|
+
},
|
|
2051
|
+
decode(input, length) {
|
|
2052
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2053
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2054
|
+
const message = createBaseFormatRemovableStorageDeviceCtrl();
|
|
2055
|
+
while (reader.pos < end) {
|
|
2056
|
+
const tag = reader.uint32();
|
|
2057
|
+
switch (tag >>> 3) {
|
|
2058
|
+
}
|
|
2059
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2060
|
+
break;
|
|
2061
|
+
}
|
|
2062
|
+
reader.skip(tag & 7);
|
|
2063
|
+
}
|
|
2064
|
+
return message;
|
|
2065
|
+
},
|
|
2066
|
+
fromJSON(_) {
|
|
2067
|
+
return {};
|
|
2068
|
+
},
|
|
2069
|
+
toJSON(_) {
|
|
2070
|
+
const obj = {};
|
|
2071
|
+
return obj;
|
|
2072
|
+
},
|
|
2073
|
+
create(base) {
|
|
2074
|
+
return exports.FormatRemovableStorageDeviceCtrl.fromPartial(base ?? {});
|
|
2075
|
+
},
|
|
2076
|
+
fromPartial(_) {
|
|
2077
|
+
const message = createBaseFormatRemovableStorageDeviceCtrl();
|
|
2078
|
+
return message;
|
|
2079
|
+
},
|
|
2080
|
+
};
|
|
2044
2081
|
const gt = (() => {
|
|
2045
2082
|
if (typeof globalThis !== "undefined") {
|
|
2046
2083
|
return globalThis;
|
|
@@ -121,18 +121,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
|
|
|
121
121
|
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 {} ? {
|
|
122
122
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
123
123
|
} : Partial<T>;
|
|
124
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
125
|
-
type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
126
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
127
|
-
} & {
|
|
128
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
129
|
-
};
|
|
130
124
|
interface MessageFns<T> {
|
|
131
125
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
132
126
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
133
127
|
fromJSON(object: any): T;
|
|
134
128
|
toJSON(message: T): unknown;
|
|
135
|
-
create
|
|
136
|
-
fromPartial
|
|
129
|
+
create(base?: DeepPartial<T>): T;
|
|
130
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
137
131
|
}
|
|
138
132
|
export {};
|
|
@@ -81,18 +81,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
|
|
|
81
81
|
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 {} ? {
|
|
82
82
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
83
83
|
} : Partial<T>;
|
|
84
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
85
|
-
type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
86
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
87
|
-
} & {
|
|
88
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
89
|
-
};
|
|
90
84
|
interface MessageFns<T> {
|
|
91
85
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
92
86
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
93
87
|
fromJSON(object: any): T;
|
|
94
88
|
toJSON(message: T): unknown;
|
|
95
|
-
create
|
|
96
|
-
fromPartial
|
|
89
|
+
create(base?: DeepPartial<T>): T;
|
|
90
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
97
91
|
}
|
|
98
92
|
export {};
|
|
@@ -110,18 +110,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
|
|
|
110
110
|
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 {} ? {
|
|
111
111
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
112
112
|
} : Partial<T>;
|
|
113
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
114
|
-
type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
115
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
116
|
-
} & {
|
|
117
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
118
|
-
};
|
|
119
113
|
interface MessageFns<T> {
|
|
120
114
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
121
115
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
122
116
|
fromJSON(object: any): T;
|
|
123
117
|
toJSON(message: T): unknown;
|
|
124
|
-
create
|
|
125
|
-
fromPartial
|
|
118
|
+
create(base?: DeepPartial<T>): T;
|
|
119
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
126
120
|
}
|
|
127
121
|
export {};
|
|
@@ -491,6 +491,46 @@ export interface BinlogRecord {
|
|
|
491
491
|
/** Posix CLOCK_MONOTONIC timestamp. */
|
|
492
492
|
clockMonotonic: Date | undefined;
|
|
493
493
|
}
|
|
494
|
+
/**
|
|
495
|
+
* Log entry
|
|
496
|
+
*
|
|
497
|
+
* Used to store ROS log entries in the bez file
|
|
498
|
+
*/
|
|
499
|
+
export interface LogEntry {
|
|
500
|
+
/** Timestamp of the log entry. */
|
|
501
|
+
timestamp: Date | undefined;
|
|
502
|
+
/** Name of the process that generated the log entry. */
|
|
503
|
+
processName: string;
|
|
504
|
+
/** Process ID of the log entry. */
|
|
505
|
+
processId: number;
|
|
506
|
+
/** Thread ID of the log entry. */
|
|
507
|
+
threadId: number;
|
|
508
|
+
/** Source of the log entry (specific class or named logger). */
|
|
509
|
+
source: string;
|
|
510
|
+
/** Log level, info, warning, error, etc. */
|
|
511
|
+
level: LogEntry_LogLevel;
|
|
512
|
+
/** Log message. */
|
|
513
|
+
message: string;
|
|
514
|
+
}
|
|
515
|
+
export declare enum LogEntry_LogLevel {
|
|
516
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
517
|
+
LOG_LEVEL_UNSPECIFIED = 0,
|
|
518
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
519
|
+
LOG_LEVEL_TRACE = 1,
|
|
520
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
521
|
+
LOG_LEVEL_DEBUG = 2,
|
|
522
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
523
|
+
LOG_LEVEL_INFO = 3,
|
|
524
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
525
|
+
LOG_LEVEL_WARNING = 4,
|
|
526
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
527
|
+
LOG_LEVEL_ERROR = 5,
|
|
528
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
529
|
+
LOG_LEVEL_CRITICAL = 6,
|
|
530
|
+
UNRECOGNIZED = -1
|
|
531
|
+
}
|
|
532
|
+
export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
|
|
533
|
+
export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
|
|
494
534
|
/** If you use both values at the same time they cancel each other out. */
|
|
495
535
|
export interface MotionInput {
|
|
496
536
|
/** Forward (positive) and backwards (negative) movement. (-1..1). */
|
|
@@ -1143,6 +1183,61 @@ export interface StorageSpace {
|
|
|
1143
1183
|
/** Available bytes of storage space (B). */
|
|
1144
1184
|
freeSpace: number;
|
|
1145
1185
|
}
|
|
1186
|
+
/** Storage partition. */
|
|
1187
|
+
export interface StoragePartition {
|
|
1188
|
+
/** The amount of storage space on the device. */
|
|
1189
|
+
storageSpace: StorageSpace | undefined;
|
|
1190
|
+
/** File system type of the removable storage device. */
|
|
1191
|
+
fileSystemType: string;
|
|
1192
|
+
/** Partition device path */
|
|
1193
|
+
devicePath: string;
|
|
1194
|
+
/** Mount path of the partition. */
|
|
1195
|
+
mountPath: string;
|
|
1196
|
+
}
|
|
1197
|
+
/** Removable storage device. */
|
|
1198
|
+
export interface RemovableStorageDevice {
|
|
1199
|
+
/** USB vendor name. */
|
|
1200
|
+
vendorName: string;
|
|
1201
|
+
/** Model name of the USB storage device. */
|
|
1202
|
+
modelName: string;
|
|
1203
|
+
/** Mount path of the storage device. */
|
|
1204
|
+
devicePath: string;
|
|
1205
|
+
/** Status of the storage device. */
|
|
1206
|
+
status: RemovableStorageDevice_Status;
|
|
1207
|
+
/** Any active error flags for the storage device. */
|
|
1208
|
+
errorFlags: RemovableStorageErrorFlags | undefined;
|
|
1209
|
+
/** List of partitions on the storage device. */
|
|
1210
|
+
partitions: StoragePartition[];
|
|
1211
|
+
}
|
|
1212
|
+
/** Overall status of the storage device. */
|
|
1213
|
+
export declare enum RemovableStorageDevice_Status {
|
|
1214
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
1215
|
+
STATUS_UNSPECIFIED = 0,
|
|
1216
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1217
|
+
STATUS_READY = 1,
|
|
1218
|
+
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
1219
|
+
STATUS_FORMATTING = 2,
|
|
1220
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1221
|
+
STATUS_ERROR = 3,
|
|
1222
|
+
UNRECOGNIZED = -1
|
|
1223
|
+
}
|
|
1224
|
+
export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
|
|
1225
|
+
export declare function removableStorageDevice_StatusToJSON(object: RemovableStorageDevice_Status): string;
|
|
1226
|
+
/** Error flags related to a removable storage device. */
|
|
1227
|
+
export interface RemovableStorageErrorFlags {
|
|
1228
|
+
/** Optional error message to give additional information from the drone to a client about active error flags. */
|
|
1229
|
+
errorMessage: string;
|
|
1230
|
+
/** Device is attached but no partitions are found. */
|
|
1231
|
+
noPartitionsFound: boolean;
|
|
1232
|
+
/** Multiple partitions are found. */
|
|
1233
|
+
multiplePartitionsFound: boolean;
|
|
1234
|
+
/** The wrong file system is found. */
|
|
1235
|
+
wrongFileSystemFound: boolean;
|
|
1236
|
+
/** The device is in read-only mode. */
|
|
1237
|
+
deviceIsReadOnly: boolean;
|
|
1238
|
+
/** Formatting of the device failed. */
|
|
1239
|
+
formattingFailed: boolean;
|
|
1240
|
+
}
|
|
1146
1241
|
/** Compass calibration state. */
|
|
1147
1242
|
export interface CalibrationState {
|
|
1148
1243
|
/** Current calibration status. */
|
|
@@ -1165,7 +1260,7 @@ export interface CalibrationState {
|
|
|
1165
1260
|
/**
|
|
1166
1261
|
* Status of the compass calibration procedure.
|
|
1167
1262
|
*
|
|
1168
|
-
* When calibration is started, the status will indicate the active (
|
|
1263
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1169
1264
|
*/
|
|
1170
1265
|
export declare enum CalibrationState_Status {
|
|
1171
1266
|
/** STATUS_UNSPECIFIED - Unspecified status. */
|
|
@@ -1186,7 +1281,7 @@ export declare enum CalibrationState_Status {
|
|
|
1186
1281
|
STATUS_CALIBRATING_Z_POSITIVE = 7,
|
|
1187
1282
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1188
1283
|
STATUS_CALIBRATING_Z_NEGATIVE = 8,
|
|
1189
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
1284
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1190
1285
|
STATUS_CALIBRATING_THRUSTER = 9,
|
|
1191
1286
|
UNRECOGNIZED = -1
|
|
1192
1287
|
}
|
|
@@ -1749,6 +1844,7 @@ export interface CPUInfo {
|
|
|
1749
1844
|
guestportQueueLoad: number;
|
|
1750
1845
|
}
|
|
1751
1846
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1847
|
+
export declare const LogEntry: MessageFns<LogEntry>;
|
|
1752
1848
|
export declare const MotionInput: MessageFns<MotionInput>;
|
|
1753
1849
|
export declare const Lights: MessageFns<Lights>;
|
|
1754
1850
|
export declare const Laser: MessageFns<Laser>;
|
|
@@ -1800,6 +1896,9 @@ export declare const ControllerHealth: MessageFns<ControllerHealth>;
|
|
|
1800
1896
|
export declare const DiveTime: MessageFns<DiveTime>;
|
|
1801
1897
|
export declare const RecordOn: MessageFns<RecordOn>;
|
|
1802
1898
|
export declare const StorageSpace: MessageFns<StorageSpace>;
|
|
1899
|
+
export declare const StoragePartition: MessageFns<StoragePartition>;
|
|
1900
|
+
export declare const RemovableStorageDevice: MessageFns<RemovableStorageDevice>;
|
|
1901
|
+
export declare const RemovableStorageErrorFlags: MessageFns<RemovableStorageErrorFlags>;
|
|
1803
1902
|
export declare const CalibrationState: MessageFns<CalibrationState>;
|
|
1804
1903
|
export declare const IperfStatus: MessageFns<IperfStatus>;
|
|
1805
1904
|
export declare const NStreamers: MessageFns<NStreamers>;
|
|
@@ -1835,18 +1934,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
|
|
|
1835
1934
|
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 {} ? {
|
|
1836
1935
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1837
1936
|
} : Partial<T>;
|
|
1838
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
1839
|
-
type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
1840
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
1841
|
-
} & {
|
|
1842
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
1843
|
-
};
|
|
1844
1937
|
interface MessageFns<T> {
|
|
1845
1938
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
1846
1939
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
1847
1940
|
fromJSON(object: any): T;
|
|
1848
1941
|
toJSON(message: T): unknown;
|
|
1849
|
-
create
|
|
1850
|
-
fromPartial
|
|
1942
|
+
create(base?: DeepPartial<T>): T;
|
|
1943
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
1851
1944
|
}
|
|
1852
1945
|
export {};
|