@blueyerobotics/protocol-definitions 3.2.0-9a7703f5 → 3.2.0-9c4aad9c
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.md +40 -0
- package/README.npm.md +40 -0
- package/dist/aquatroll.d.ts +2 -8
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +19 -10
- package/dist/control.js +78 -10
- package/dist/google/protobuf/any.d.ts +2 -8
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.d.ts +2 -8
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.d.ts +2 -8
- 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 +252 -21
- package/dist/message_formats.js +1451 -55
- package/dist/mission_planning.d.ts +2 -8
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +24 -8
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +40 -10
- package/dist/telemetry.js +325 -5
- package/package.json +10 -6
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;
|
|
@@ -154,6 +154,22 @@ export declare enum NotificationLevel {
|
|
|
154
154
|
}
|
|
155
155
|
export declare function notificationLevelFromJSON(object: any): NotificationLevel;
|
|
156
156
|
export declare function notificationLevelToJSON(object: NotificationLevel): string;
|
|
157
|
+
/**
|
|
158
|
+
* Storage location.
|
|
159
|
+
*
|
|
160
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
161
|
+
*/
|
|
162
|
+
export declare enum StorageLocation {
|
|
163
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
164
|
+
STORAGE_LOCATION_UNSPECIFIED = 0,
|
|
165
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
166
|
+
STORAGE_LOCATION_INTERNAL = 1,
|
|
167
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
168
|
+
STORAGE_LOCATION_REMOVABLE = 2,
|
|
169
|
+
UNRECOGNIZED = -1
|
|
170
|
+
}
|
|
171
|
+
export declare function storageLocationFromJSON(object: any): StorageLocation;
|
|
172
|
+
export declare function storageLocationToJSON(object: StorageLocation): string;
|
|
157
173
|
/** Drone models produced by Blueye. */
|
|
158
174
|
export declare enum Model {
|
|
159
175
|
/** MODEL_UNSPECIFIED - ModelName not specified. */
|
|
@@ -194,11 +210,13 @@ export declare function pressureSensorTypeToJSON(object: PressureSensorType): st
|
|
|
194
210
|
export declare enum Resolution {
|
|
195
211
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
196
212
|
RESOLUTION_UNSPECIFIED = 0,
|
|
197
|
-
/**
|
|
198
|
-
|
|
199
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
213
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
214
|
+
RESOLUTION_VGA_480P = 4,
|
|
215
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
200
216
|
RESOLUTION_HD_720P = 2,
|
|
201
|
-
/**
|
|
217
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
218
|
+
RESOLUTION_FULLHD_1080P = 1,
|
|
219
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
202
220
|
RESOLUTION_UHD_4K = 3,
|
|
203
221
|
UNRECOGNIZED = -1
|
|
204
222
|
}
|
|
@@ -210,7 +228,7 @@ export declare enum Framerate {
|
|
|
210
228
|
FRAMERATE_UNSPECIFIED = 0,
|
|
211
229
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
212
230
|
FRAMERATE_FPS_30 = 1,
|
|
213
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
231
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
214
232
|
FRAMERATE_FPS_25 = 2,
|
|
215
233
|
UNRECOGNIZED = -1
|
|
216
234
|
}
|
|
@@ -228,6 +246,17 @@ export declare enum Camera {
|
|
|
228
246
|
}
|
|
229
247
|
export declare function cameraFromJSON(object: any): Camera;
|
|
230
248
|
export declare function cameraToJSON(object: Camera): string;
|
|
249
|
+
export declare enum StreamingProtocol {
|
|
250
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
251
|
+
STREAMING_PROTOCOL_UNSPECIFIED = 0,
|
|
252
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
253
|
+
STREAMING_PROTOCOL_RTSP_H264 = 1,
|
|
254
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
255
|
+
STREAMING_PROTOCOL_RTSP_MJPEG = 2,
|
|
256
|
+
UNRECOGNIZED = -1
|
|
257
|
+
}
|
|
258
|
+
export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
|
|
259
|
+
export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
|
|
231
260
|
/** Available temperature units. */
|
|
232
261
|
export declare enum TemperatureUnit {
|
|
233
262
|
/** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
|
|
@@ -390,6 +419,10 @@ export declare enum GuestPortDeviceID {
|
|
|
390
419
|
GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
|
|
391
420
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
392
421
|
GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
|
|
422
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
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,
|
|
393
426
|
UNRECOGNIZED = -1
|
|
394
427
|
}
|
|
395
428
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -491,6 +524,89 @@ export interface BinlogRecord {
|
|
|
491
524
|
/** Posix CLOCK_MONOTONIC timestamp. */
|
|
492
525
|
clockMonotonic: Date | undefined;
|
|
493
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
* Log entry
|
|
529
|
+
*
|
|
530
|
+
* Used to store ROS log entries in the bez file
|
|
531
|
+
*/
|
|
532
|
+
export interface LogEntry {
|
|
533
|
+
/** Timestamp of the log entry. */
|
|
534
|
+
timestamp: Date | undefined;
|
|
535
|
+
/** Name of the process that generated the log entry. */
|
|
536
|
+
processName: string;
|
|
537
|
+
/** Process ID of the log entry. */
|
|
538
|
+
processId: number;
|
|
539
|
+
/** Thread ID of the log entry. */
|
|
540
|
+
threadId: number;
|
|
541
|
+
/** Source of the log entry (specific class or named logger). */
|
|
542
|
+
source: string;
|
|
543
|
+
/** Log level, info, warning, error, etc. */
|
|
544
|
+
level: LogEntry_LogLevel;
|
|
545
|
+
/** Log message. */
|
|
546
|
+
message: string;
|
|
547
|
+
}
|
|
548
|
+
export declare enum LogEntry_LogLevel {
|
|
549
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
550
|
+
LOG_LEVEL_UNSPECIFIED = 0,
|
|
551
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
552
|
+
LOG_LEVEL_TRACE = 1,
|
|
553
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
554
|
+
LOG_LEVEL_DEBUG = 2,
|
|
555
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
556
|
+
LOG_LEVEL_INFO = 3,
|
|
557
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
558
|
+
LOG_LEVEL_WARNING = 4,
|
|
559
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
560
|
+
LOG_LEVEL_ERROR = 5,
|
|
561
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
562
|
+
LOG_LEVEL_CRITICAL = 6,
|
|
563
|
+
UNRECOGNIZED = -1
|
|
564
|
+
}
|
|
565
|
+
export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
|
|
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
|
+
}
|
|
494
610
|
/** If you use both values at the same time they cancel each other out. */
|
|
495
611
|
export interface MotionInput {
|
|
496
612
|
/** Forward (positive) and backwards (negative) movement. (-1..1). */
|
|
@@ -660,6 +776,8 @@ export interface RecordState {
|
|
|
660
776
|
multibeamSeconds: number;
|
|
661
777
|
/** Multibeam record fps. */
|
|
662
778
|
multibeamFps: number;
|
|
779
|
+
/** Storage location used for recording. */
|
|
780
|
+
storageLocation: StorageLocation;
|
|
663
781
|
}
|
|
664
782
|
/** Time-lapse state published if time-lapse mission is running. */
|
|
665
783
|
export interface TimeLapseState {
|
|
@@ -1127,7 +1245,7 @@ export interface DiveTime {
|
|
|
1127
1245
|
/** Number of seconds the drone has been submerged. */
|
|
1128
1246
|
value: number;
|
|
1129
1247
|
}
|
|
1130
|
-
/** Which cameras are supposed to be recording. */
|
|
1248
|
+
/** Which cameras or multibeam are supposed to be recording. */
|
|
1131
1249
|
export interface RecordOn {
|
|
1132
1250
|
/** Record the main camera. */
|
|
1133
1251
|
main: boolean;
|
|
@@ -1143,6 +1261,63 @@ export interface StorageSpace {
|
|
|
1143
1261
|
/** Available bytes of storage space (B). */
|
|
1144
1262
|
freeSpace: number;
|
|
1145
1263
|
}
|
|
1264
|
+
/** Storage partition. */
|
|
1265
|
+
export interface StoragePartition {
|
|
1266
|
+
/** The amount of storage space on the device. */
|
|
1267
|
+
storageSpace: StorageSpace | undefined;
|
|
1268
|
+
/** File system type of the removable storage device. */
|
|
1269
|
+
fileSystemType: string;
|
|
1270
|
+
/** Partition device path */
|
|
1271
|
+
devicePath: string;
|
|
1272
|
+
/** Mount path of the partition. */
|
|
1273
|
+
mountPath: string;
|
|
1274
|
+
/** Label of the partition. */
|
|
1275
|
+
label: string;
|
|
1276
|
+
}
|
|
1277
|
+
/** Removable storage device. */
|
|
1278
|
+
export interface RemovableStorageDevice {
|
|
1279
|
+
/** USB vendor name. */
|
|
1280
|
+
vendorName: string;
|
|
1281
|
+
/** Model name of the USB storage device. */
|
|
1282
|
+
modelName: string;
|
|
1283
|
+
/** Mount path of the storage device. */
|
|
1284
|
+
devicePath: string;
|
|
1285
|
+
/** Status of the storage device. */
|
|
1286
|
+
status: RemovableStorageDevice_Status;
|
|
1287
|
+
/** Any active error flags for the storage device. */
|
|
1288
|
+
errorFlags: RemovableStorageErrorFlags | undefined;
|
|
1289
|
+
/** List of partitions on the storage device. */
|
|
1290
|
+
partitions: StoragePartition[];
|
|
1291
|
+
}
|
|
1292
|
+
/** Overall status of the storage device. */
|
|
1293
|
+
export declare enum RemovableStorageDevice_Status {
|
|
1294
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
1295
|
+
STATUS_UNSPECIFIED = 0,
|
|
1296
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1297
|
+
STATUS_READY = 1,
|
|
1298
|
+
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
1299
|
+
STATUS_FORMATTING = 2,
|
|
1300
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1301
|
+
STATUS_ERROR = 3,
|
|
1302
|
+
UNRECOGNIZED = -1
|
|
1303
|
+
}
|
|
1304
|
+
export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
|
|
1305
|
+
export declare function removableStorageDevice_StatusToJSON(object: RemovableStorageDevice_Status): string;
|
|
1306
|
+
/** Error flags related to a removable storage device. */
|
|
1307
|
+
export interface RemovableStorageErrorFlags {
|
|
1308
|
+
/** Optional error message to give additional information from the drone to a client about active error flags. */
|
|
1309
|
+
errorMessage: string;
|
|
1310
|
+
/** Device is attached but no partitions are found. */
|
|
1311
|
+
noPartitionsFound: boolean;
|
|
1312
|
+
/** Multiple partitions are found. */
|
|
1313
|
+
multiplePartitionsFound: boolean;
|
|
1314
|
+
/** The wrong file system is found. */
|
|
1315
|
+
wrongFileSystemFound: boolean;
|
|
1316
|
+
/** The device is in read-only mode. */
|
|
1317
|
+
deviceIsReadOnly: boolean;
|
|
1318
|
+
/** Formatting of the device failed. */
|
|
1319
|
+
formattingFailed: boolean;
|
|
1320
|
+
}
|
|
1146
1321
|
/** Compass calibration state. */
|
|
1147
1322
|
export interface CalibrationState {
|
|
1148
1323
|
/** Current calibration status. */
|
|
@@ -1165,7 +1340,7 @@ export interface CalibrationState {
|
|
|
1165
1340
|
/**
|
|
1166
1341
|
* Status of the compass calibration procedure.
|
|
1167
1342
|
*
|
|
1168
|
-
* When calibration is started, the status will indicate the active (
|
|
1343
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1169
1344
|
*/
|
|
1170
1345
|
export declare enum CalibrationState_Status {
|
|
1171
1346
|
/** STATUS_UNSPECIFIED - Unspecified status. */
|
|
@@ -1186,7 +1361,7 @@ export declare enum CalibrationState_Status {
|
|
|
1186
1361
|
STATUS_CALIBRATING_Z_POSITIVE = 7,
|
|
1187
1362
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1188
1363
|
STATUS_CALIBRATING_Z_NEGATIVE = 8,
|
|
1189
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
1364
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1190
1365
|
STATUS_CALIBRATING_THRUSTER = 9,
|
|
1191
1366
|
UNRECOGNIZED = -1
|
|
1192
1367
|
}
|
|
@@ -1352,18 +1527,40 @@ export interface CameraParameters {
|
|
|
1352
1527
|
mjpgBitrate: number;
|
|
1353
1528
|
/** Shutter speed (1/10000 * s), -1 for automatic exposure. */
|
|
1354
1529
|
exposure: number;
|
|
1355
|
-
/** White balance
|
|
1530
|
+
/** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
|
|
1356
1531
|
whiteBalance: number;
|
|
1357
|
-
/** Hue (-40..40), 0 as default. */
|
|
1532
|
+
/** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
|
|
1358
1533
|
hue: number;
|
|
1359
|
-
/** Iso gain (0..1). */
|
|
1534
|
+
/** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
|
|
1360
1535
|
gain: number;
|
|
1536
|
+
/** Brightness (-10..10), 0 as default. Only available on Ultra */
|
|
1537
|
+
brightness: number;
|
|
1538
|
+
/** Contrast (-50..50), 0 as default. Only available on Ultra. */
|
|
1539
|
+
contrast: number;
|
|
1540
|
+
/** Saturation (0..50), 8 as default. Only available on Ultra. */
|
|
1541
|
+
saturation: number;
|
|
1542
|
+
/** Gamma (4..79), 22 as default. Only available on Ultra. */
|
|
1543
|
+
gamma: number;
|
|
1544
|
+
/** Sharpness (-20..20), -20 as default. Only available on Ultra. */
|
|
1545
|
+
sharpness: number;
|
|
1546
|
+
/** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
|
|
1547
|
+
backlightCompensation: number;
|
|
1548
|
+
/** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
|
|
1549
|
+
denoise: number;
|
|
1550
|
+
/** Enable eHDR mode. Default true. Only available on Ultra. */
|
|
1551
|
+
ehdrEnabled: boolean;
|
|
1552
|
+
/** Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra. */
|
|
1553
|
+
ehdrExposureMinNumber: number;
|
|
1554
|
+
/** Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate. */
|
|
1555
|
+
ehdrExposureMaxNumber: number;
|
|
1361
1556
|
/** Stream, recording and image resolution (deprecated). */
|
|
1362
1557
|
resolution: Resolution;
|
|
1363
1558
|
/** Stream resolution. */
|
|
1364
1559
|
streamResolution: Resolution;
|
|
1365
1560
|
/** Recording and image resolution. */
|
|
1366
1561
|
recordingResolution: Resolution;
|
|
1562
|
+
/** Streaming protocol. */
|
|
1563
|
+
streamingProtocol: StreamingProtocol;
|
|
1367
1564
|
/** Stream and recording framerate. */
|
|
1368
1565
|
framerate: Framerate;
|
|
1369
1566
|
/** Which camera the parameters belong to. */
|
|
@@ -1593,8 +1790,7 @@ export interface MultibeamPing {
|
|
|
1593
1790
|
/** Size in bytes of each row in the ping data image. */
|
|
1594
1791
|
step: number;
|
|
1595
1792
|
/**
|
|
1596
|
-
* Bearing angle of each column of the sonar data
|
|
1597
|
-
* (in 100th of a degree, multiply by 0.01 to get a value in degrees).
|
|
1793
|
+
* Bearing angle of each column of the sonar data in degrees.
|
|
1598
1794
|
* The sonar image is not sampled uniformly in the bearing direction.
|
|
1599
1795
|
*/
|
|
1600
1796
|
bearings: number[];
|
|
@@ -1747,8 +1943,44 @@ export interface CPUInfo {
|
|
|
1747
1943
|
mainQueueLoad: number;
|
|
1748
1944
|
/** Guestport queue load (0..1). */
|
|
1749
1945
|
guestportQueueLoad: number;
|
|
1946
|
+
/** Communication queue load (0..1). */
|
|
1947
|
+
commQueueLoad: number;
|
|
1948
|
+
}
|
|
1949
|
+
/**
|
|
1950
|
+
* Surface Unit battery information.
|
|
1951
|
+
*
|
|
1952
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1953
|
+
* the drone over the communication protocol.
|
|
1954
|
+
*/
|
|
1955
|
+
export interface SurfaceUnitBatteryInfo {
|
|
1956
|
+
/** Battery charge status. */
|
|
1957
|
+
status: SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1958
|
+
/** Battery level (0..1). */
|
|
1959
|
+
level: number;
|
|
1960
|
+
}
|
|
1961
|
+
export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
|
|
1962
|
+
CHARGE_STATUS_UNSPECIFIED = 0,
|
|
1963
|
+
CHARGE_STATUS_DISCHARGE = 1,
|
|
1964
|
+
CHARGE_STATUS_CHARGE = 2,
|
|
1965
|
+
CHARGE_STATUS_CHARGE_ERROR = 3,
|
|
1966
|
+
UNRECOGNIZED = -1
|
|
1967
|
+
}
|
|
1968
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1969
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
|
|
1970
|
+
/**
|
|
1971
|
+
* Surface Unit version information.
|
|
1972
|
+
*
|
|
1973
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1974
|
+
* the drone over the communication protocol.
|
|
1975
|
+
*/
|
|
1976
|
+
export interface SurfaceUnitVersionInfo {
|
|
1977
|
+
/** Surface Unit firmware version (x.y.z). */
|
|
1978
|
+
version: string;
|
|
1750
1979
|
}
|
|
1751
1980
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1981
|
+
export declare const LogEntry: MessageFns<LogEntry>;
|
|
1982
|
+
export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
|
|
1983
|
+
export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyValuePair>;
|
|
1752
1984
|
export declare const MotionInput: MessageFns<MotionInput>;
|
|
1753
1985
|
export declare const Lights: MessageFns<Lights>;
|
|
1754
1986
|
export declare const Laser: MessageFns<Laser>;
|
|
@@ -1800,6 +2032,9 @@ export declare const ControllerHealth: MessageFns<ControllerHealth>;
|
|
|
1800
2032
|
export declare const DiveTime: MessageFns<DiveTime>;
|
|
1801
2033
|
export declare const RecordOn: MessageFns<RecordOn>;
|
|
1802
2034
|
export declare const StorageSpace: MessageFns<StorageSpace>;
|
|
2035
|
+
export declare const StoragePartition: MessageFns<StoragePartition>;
|
|
2036
|
+
export declare const RemovableStorageDevice: MessageFns<RemovableStorageDevice>;
|
|
2037
|
+
export declare const RemovableStorageErrorFlags: MessageFns<RemovableStorageErrorFlags>;
|
|
1803
2038
|
export declare const CalibrationState: MessageFns<CalibrationState>;
|
|
1804
2039
|
export declare const IperfStatus: MessageFns<IperfStatus>;
|
|
1805
2040
|
export declare const NStreamers: MessageFns<NStreamers>;
|
|
@@ -1831,22 +2066,18 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
|
1831
2066
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
1832
2067
|
export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
|
|
1833
2068
|
export declare const CPUInfo: MessageFns<CPUInfo>;
|
|
2069
|
+
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2070
|
+
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
1834
2071
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1835
2072
|
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
2073
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1837
2074
|
} : 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
2075
|
interface MessageFns<T> {
|
|
1845
2076
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
1846
2077
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
1847
2078
|
fromJSON(object: any): T;
|
|
1848
2079
|
toJSON(message: T): unknown;
|
|
1849
|
-
create
|
|
1850
|
-
fromPartial
|
|
2080
|
+
create(base?: DeepPartial<T>): T;
|
|
2081
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
1851
2082
|
}
|
|
1852
2083
|
export {};
|