@blueyerobotics/protocol-definitions 3.2.0-9f6199cf → 3.2.0-aa41f567

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.
@@ -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
- /** RESOLUTION_FULLHD_1080P - 1080p Full HD resolution. */
198
- RESOLUTION_FULLHD_1080P = 1,
199
- /** RESOLUTION_HD_720P - 720p HD resolution. */
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
- /** RESOLUTION_UHD_4K - 4K Ultra HD resolution. */
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,8 @@ 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,
393
424
  UNRECOGNIZED = -1
394
425
  }
395
426
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -505,9 +536,9 @@ export interface LogEntry {
505
536
  processId: number;
506
537
  /** Thread ID of the log entry. */
507
538
  threadId: number;
508
- /** Source of the log entry, such as "Blueye App", "Drone Supervisor", etc. */
539
+ /** Source of the log entry (specific class or named logger). */
509
540
  source: string;
510
- /** Log level, info, warning, or error. */
541
+ /** Log level, info, warning, error, etc. */
511
542
  level: LogEntry_LogLevel;
512
543
  /** Log message. */
513
544
  message: string;
@@ -531,6 +562,49 @@ export declare enum LogEntry_LogLevel {
531
562
  }
532
563
  export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
533
564
  export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
565
+ export interface KernelLogEntry {
566
+ /** Log level, info, warning, error, etc. */
567
+ level: KernelLogEntry_KernelLogLevel;
568
+ /** Sequence number of the log entry. */
569
+ seqnum: number;
570
+ /** Timestamp of the log entry. */
571
+ timestamp: Date | undefined;
572
+ /** Log messages. */
573
+ messages: string[];
574
+ /** List of key-value pairs. */
575
+ fields: KernelLogEntry_KeyValuePair[];
576
+ }
577
+ /** Kernel log level. */
578
+ export declare enum KernelLogEntry_KernelLogLevel {
579
+ /** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
580
+ KERNEL_LOG_LEVEL_UNSPECIFIED = 0,
581
+ /** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
582
+ KERNEL_LOG_LEVEL_EMERG = 1,
583
+ /** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
584
+ KERNEL_LOG_LEVEL_ALERT = 2,
585
+ /** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
586
+ KERNEL_LOG_LEVEL_CRIT = 3,
587
+ /** KERNEL_LOG_LEVEL_ERR - Error log level. */
588
+ KERNEL_LOG_LEVEL_ERR = 4,
589
+ /** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
590
+ KERNEL_LOG_LEVEL_WARNING = 5,
591
+ /** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
592
+ KERNEL_LOG_LEVEL_NOTICE = 6,
593
+ /** KERNEL_LOG_LEVEL_INFO - Informational log level. */
594
+ KERNEL_LOG_LEVEL_INFO = 7,
595
+ /** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
596
+ KERNEL_LOG_LEVEL_DEBUG = 8,
597
+ UNRECOGNIZED = -1
598
+ }
599
+ export declare function kernelLogEntry_KernelLogLevelFromJSON(object: any): KernelLogEntry_KernelLogLevel;
600
+ export declare function kernelLogEntry_KernelLogLevelToJSON(object: KernelLogEntry_KernelLogLevel): string;
601
+ /** Key-value pair used for structured logging. */
602
+ export interface KernelLogEntry_KeyValuePair {
603
+ /** Key of the key-value pair. */
604
+ key: string;
605
+ /** Value of the key-value pair. */
606
+ value: string;
607
+ }
534
608
  /** If you use both values at the same time they cancel each other out. */
535
609
  export interface MotionInput {
536
610
  /** Forward (positive) and backwards (negative) movement. (-1..1). */
@@ -700,6 +774,8 @@ export interface RecordState {
700
774
  multibeamSeconds: number;
701
775
  /** Multibeam record fps. */
702
776
  multibeamFps: number;
777
+ /** Storage location used for recording. */
778
+ storageLocation: StorageLocation;
703
779
  }
704
780
  /** Time-lapse state published if time-lapse mission is running. */
705
781
  export interface TimeLapseState {
@@ -1167,7 +1243,7 @@ export interface DiveTime {
1167
1243
  /** Number of seconds the drone has been submerged. */
1168
1244
  value: number;
1169
1245
  }
1170
- /** Which cameras are supposed to be recording. */
1246
+ /** Which cameras or multibeam are supposed to be recording. */
1171
1247
  export interface RecordOn {
1172
1248
  /** Record the main camera. */
1173
1249
  main: boolean;
@@ -1183,6 +1259,61 @@ export interface StorageSpace {
1183
1259
  /** Available bytes of storage space (B). */
1184
1260
  freeSpace: number;
1185
1261
  }
1262
+ /** Storage partition. */
1263
+ export interface StoragePartition {
1264
+ /** The amount of storage space on the device. */
1265
+ storageSpace: StorageSpace | undefined;
1266
+ /** File system type of the removable storage device. */
1267
+ fileSystemType: string;
1268
+ /** Partition device path */
1269
+ devicePath: string;
1270
+ /** Mount path of the partition. */
1271
+ mountPath: string;
1272
+ }
1273
+ /** Removable storage device. */
1274
+ export interface RemovableStorageDevice {
1275
+ /** USB vendor name. */
1276
+ vendorName: string;
1277
+ /** Model name of the USB storage device. */
1278
+ modelName: string;
1279
+ /** Mount path of the storage device. */
1280
+ devicePath: string;
1281
+ /** Status of the storage device. */
1282
+ status: RemovableStorageDevice_Status;
1283
+ /** Any active error flags for the storage device. */
1284
+ errorFlags: RemovableStorageErrorFlags | undefined;
1285
+ /** List of partitions on the storage device. */
1286
+ partitions: StoragePartition[];
1287
+ }
1288
+ /** Overall status of the storage device. */
1289
+ export declare enum RemovableStorageDevice_Status {
1290
+ /** STATUS_UNSPECIFIED - Unspecified. */
1291
+ STATUS_UNSPECIFIED = 0,
1292
+ /** STATUS_READY - The storage device is valid and ready for use. */
1293
+ STATUS_READY = 1,
1294
+ /** STATUS_FORMATTING - The storage device is being formatted */
1295
+ STATUS_FORMATTING = 2,
1296
+ /** STATUS_ERROR - The storage device is in an error state. */
1297
+ STATUS_ERROR = 3,
1298
+ UNRECOGNIZED = -1
1299
+ }
1300
+ export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
1301
+ export declare function removableStorageDevice_StatusToJSON(object: RemovableStorageDevice_Status): string;
1302
+ /** Error flags related to a removable storage device. */
1303
+ export interface RemovableStorageErrorFlags {
1304
+ /** Optional error message to give additional information from the drone to a client about active error flags. */
1305
+ errorMessage: string;
1306
+ /** Device is attached but no partitions are found. */
1307
+ noPartitionsFound: boolean;
1308
+ /** Multiple partitions are found. */
1309
+ multiplePartitionsFound: boolean;
1310
+ /** The wrong file system is found. */
1311
+ wrongFileSystemFound: boolean;
1312
+ /** The device is in read-only mode. */
1313
+ deviceIsReadOnly: boolean;
1314
+ /** Formatting of the device failed. */
1315
+ formattingFailed: boolean;
1316
+ }
1186
1317
  /** Compass calibration state. */
1187
1318
  export interface CalibrationState {
1188
1319
  /** Current calibration status. */
@@ -1205,7 +1336,7 @@ export interface CalibrationState {
1205
1336
  /**
1206
1337
  * Status of the compass calibration procedure.
1207
1338
  *
1208
- * When calibration is started, the status will indicate the active (upfacing) axis.
1339
+ * When calibration is started, the status will indicate the active (up facing) axis.
1209
1340
  */
1210
1341
  export declare enum CalibrationState_Status {
1211
1342
  /** STATUS_UNSPECIFIED - Unspecified status. */
@@ -1226,7 +1357,7 @@ export declare enum CalibrationState_Status {
1226
1357
  STATUS_CALIBRATING_Z_POSITIVE = 7,
1227
1358
  /** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
1228
1359
  STATUS_CALIBRATING_Z_NEGATIVE = 8,
1229
- /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interferance. */
1360
+ /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
1230
1361
  STATUS_CALIBRATING_THRUSTER = 9,
1231
1362
  UNRECOGNIZED = -1
1232
1363
  }
@@ -1392,18 +1523,40 @@ export interface CameraParameters {
1392
1523
  mjpgBitrate: number;
1393
1524
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1394
1525
  exposure: number;
1395
- /** White balance temperature (2800..9300), -1 for automatic white balance. */
1526
+ /** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
1396
1527
  whiteBalance: number;
1397
- /** Hue (-40..40), 0 as default. */
1528
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1398
1529
  hue: number;
1399
- /** Iso gain (0..1). */
1530
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1400
1531
  gain: number;
1532
+ /** Brightness (-10..10), 0 as default. Only available on Ultra */
1533
+ brightness: number;
1534
+ /** Contrast (-50..50), 0 as default. Only available on Ultra. */
1535
+ contrast: number;
1536
+ /** Saturation (0..50), 8 as default. Only available on Ultra. */
1537
+ saturation: number;
1538
+ /** Gamma (4..79), 22 as default. Only available on Ultra. */
1539
+ gamma: number;
1540
+ /** Sharpness (-20..20), -20 as default. Only available on Ultra. */
1541
+ sharpness: number;
1542
+ /** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
1543
+ backlightCompensation: number;
1544
+ /** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
1545
+ denoise: number;
1546
+ /** Enable eHDR mode. Default true. Only available on Ultra. */
1547
+ ehdrEnabled: boolean;
1548
+ /** Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra. */
1549
+ ehdrExposureMinNumber: number;
1550
+ /** Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate. */
1551
+ ehdrExposureMaxNumber: number;
1401
1552
  /** Stream, recording and image resolution (deprecated). */
1402
1553
  resolution: Resolution;
1403
1554
  /** Stream resolution. */
1404
1555
  streamResolution: Resolution;
1405
1556
  /** Recording and image resolution. */
1406
1557
  recordingResolution: Resolution;
1558
+ /** Streaming protocol. */
1559
+ streamingProtocol: StreamingProtocol;
1407
1560
  /** Stream and recording framerate. */
1408
1561
  framerate: Framerate;
1409
1562
  /** Which camera the parameters belong to. */
@@ -1787,9 +1940,44 @@ export interface CPUInfo {
1787
1940
  mainQueueLoad: number;
1788
1941
  /** Guestport queue load (0..1). */
1789
1942
  guestportQueueLoad: number;
1943
+ /** Communication queue load (0..1). */
1944
+ commQueueLoad: number;
1945
+ }
1946
+ /**
1947
+ * Surface Unit battery information.
1948
+ *
1949
+ * This message is published by the Surface Unit, and re-published by
1950
+ * the drone over the communication protocol.
1951
+ */
1952
+ export interface SurfaceUnitBatteryInfo {
1953
+ /** Battery charge status. */
1954
+ status: SurfaceUnitBatteryInfo_ChargeStatus;
1955
+ /** Battery level (0..1). */
1956
+ level: number;
1957
+ }
1958
+ export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
1959
+ CHARGE_STATUS_UNSPECIFIED = 0,
1960
+ CHARGE_STATUS_DISCHARGE = 1,
1961
+ CHARGE_STATUS_CHARGE = 2,
1962
+ CHARGE_STATUS_CHARGE_ERROR = 3,
1963
+ UNRECOGNIZED = -1
1964
+ }
1965
+ export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
1966
+ export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
1967
+ /**
1968
+ * Surface Unit version information.
1969
+ *
1970
+ * This message is published by the Surface Unit, and re-published by
1971
+ * the drone over the communication protocol.
1972
+ */
1973
+ export interface SurfaceUnitVersionInfo {
1974
+ /** Surface Unit firmware version (x.y.z). */
1975
+ version: string;
1790
1976
  }
1791
1977
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1792
1978
  export declare const LogEntry: MessageFns<LogEntry>;
1979
+ export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
1980
+ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyValuePair>;
1793
1981
  export declare const MotionInput: MessageFns<MotionInput>;
1794
1982
  export declare const Lights: MessageFns<Lights>;
1795
1983
  export declare const Laser: MessageFns<Laser>;
@@ -1841,6 +2029,9 @@ export declare const ControllerHealth: MessageFns<ControllerHealth>;
1841
2029
  export declare const DiveTime: MessageFns<DiveTime>;
1842
2030
  export declare const RecordOn: MessageFns<RecordOn>;
1843
2031
  export declare const StorageSpace: MessageFns<StorageSpace>;
2032
+ export declare const StoragePartition: MessageFns<StoragePartition>;
2033
+ export declare const RemovableStorageDevice: MessageFns<RemovableStorageDevice>;
2034
+ export declare const RemovableStorageErrorFlags: MessageFns<RemovableStorageErrorFlags>;
1844
2035
  export declare const CalibrationState: MessageFns<CalibrationState>;
1845
2036
  export declare const IperfStatus: MessageFns<IperfStatus>;
1846
2037
  export declare const NStreamers: MessageFns<NStreamers>;
@@ -1872,6 +2063,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1872
2063
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1873
2064
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1874
2065
  export declare const CPUInfo: MessageFns<CPUInfo>;
2066
+ export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2067
+ export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
1875
2068
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1876
2069
  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 {} ? {
1877
2070
  [K in keyof T]?: DeepPartial<T[K]>;