@blueyerobotics/protocol-definitions 3.2.0-35603a2b → 3.2.0-3beb942b

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. */
@@ -168,6 +184,8 @@ export declare enum Model {
168
184
  MODEL_X3 = 3,
169
185
  /** MODEL_X3_ULTRA - Blueye X3 Ultra. */
170
186
  MODEL_X3_ULTRA = 6,
187
+ /** MODEL_X7 - Blueye X7. */
188
+ MODEL_X7 = 7,
171
189
  /** MODEL_NEXT - Blueye ? */
172
190
  MODEL_NEXT = 5,
173
191
  UNRECOGNIZED = -1
@@ -194,11 +212,13 @@ export declare function pressureSensorTypeToJSON(object: PressureSensorType): st
194
212
  export declare enum Resolution {
195
213
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
196
214
  RESOLUTION_UNSPECIFIED = 0,
197
- /** RESOLUTION_FULLHD_1080P - 1080p Full HD resolution. */
198
- RESOLUTION_FULLHD_1080P = 1,
199
- /** RESOLUTION_HD_720P - 720p HD resolution. */
215
+ /** RESOLUTION_VGA_480P - VGA (640x480). */
216
+ RESOLUTION_VGA_480P = 4,
217
+ /** RESOLUTION_HD_720P - 720p HD (1280x720). */
200
218
  RESOLUTION_HD_720P = 2,
201
- /** RESOLUTION_UHD_4K - 4K Ultra HD resolution. */
219
+ /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
220
+ RESOLUTION_FULLHD_1080P = 1,
221
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
202
222
  RESOLUTION_UHD_4K = 3,
203
223
  UNRECOGNIZED = -1
204
224
  }
@@ -210,7 +230,7 @@ export declare enum Framerate {
210
230
  FRAMERATE_UNSPECIFIED = 0,
211
231
  /** FRAMERATE_FPS_30 - 30 frames per second. */
212
232
  FRAMERATE_FPS_30 = 1,
213
- /** FRAMERATE_FPS_25 - 25 frames per second. */
233
+ /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
214
234
  FRAMERATE_FPS_25 = 2,
215
235
  UNRECOGNIZED = -1
216
236
  }
@@ -228,6 +248,17 @@ export declare enum Camera {
228
248
  }
229
249
  export declare function cameraFromJSON(object: any): Camera;
230
250
  export declare function cameraToJSON(object: Camera): string;
251
+ export declare enum StreamingProtocol {
252
+ /** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
253
+ STREAMING_PROTOCOL_UNSPECIFIED = 0,
254
+ /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
255
+ STREAMING_PROTOCOL_RTSP_H264 = 1,
256
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
257
+ STREAMING_PROTOCOL_RTSP_MJPEG = 2,
258
+ UNRECOGNIZED = -1
259
+ }
260
+ export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
261
+ export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
231
262
  /** Available temperature units. */
232
263
  export declare enum TemperatureUnit {
233
264
  /** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
@@ -390,8 +421,12 @@ export declare enum GuestPortDeviceID {
390
421
  GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
391
422
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
392
423
  GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
393
- /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
424
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
394
425
  GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
426
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
427
+ GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 = 46,
428
+ /** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
429
+ GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT = 47,
395
430
  UNRECOGNIZED = -1
396
431
  }
397
432
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -533,6 +568,49 @@ export declare enum LogEntry_LogLevel {
533
568
  }
534
569
  export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
535
570
  export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
571
+ export interface KernelLogEntry {
572
+ /** Log level, info, warning, error, etc. */
573
+ level: KernelLogEntry_KernelLogLevel;
574
+ /** Sequence number of the log entry. */
575
+ seqnum: number;
576
+ /** Timestamp of the log entry. */
577
+ timestamp: Date | undefined;
578
+ /** Log messages. */
579
+ messages: string[];
580
+ /** List of key-value pairs. */
581
+ fields: KernelLogEntry_KeyValuePair[];
582
+ }
583
+ /** Kernel log level. */
584
+ export declare enum KernelLogEntry_KernelLogLevel {
585
+ /** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
586
+ KERNEL_LOG_LEVEL_UNSPECIFIED = 0,
587
+ /** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
588
+ KERNEL_LOG_LEVEL_EMERG = 1,
589
+ /** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
590
+ KERNEL_LOG_LEVEL_ALERT = 2,
591
+ /** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
592
+ KERNEL_LOG_LEVEL_CRIT = 3,
593
+ /** KERNEL_LOG_LEVEL_ERR - Error log level. */
594
+ KERNEL_LOG_LEVEL_ERR = 4,
595
+ /** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
596
+ KERNEL_LOG_LEVEL_WARNING = 5,
597
+ /** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
598
+ KERNEL_LOG_LEVEL_NOTICE = 6,
599
+ /** KERNEL_LOG_LEVEL_INFO - Informational log level. */
600
+ KERNEL_LOG_LEVEL_INFO = 7,
601
+ /** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
602
+ KERNEL_LOG_LEVEL_DEBUG = 8,
603
+ UNRECOGNIZED = -1
604
+ }
605
+ export declare function kernelLogEntry_KernelLogLevelFromJSON(object: any): KernelLogEntry_KernelLogLevel;
606
+ export declare function kernelLogEntry_KernelLogLevelToJSON(object: KernelLogEntry_KernelLogLevel): string;
607
+ /** Key-value pair used for structured logging. */
608
+ export interface KernelLogEntry_KeyValuePair {
609
+ /** Key of the key-value pair. */
610
+ key: string;
611
+ /** Value of the key-value pair. */
612
+ value: string;
613
+ }
536
614
  /** If you use both values at the same time they cancel each other out. */
537
615
  export interface MotionInput {
538
616
  /** Forward (positive) and backwards (negative) movement. (-1..1). */
@@ -702,6 +780,12 @@ export interface RecordState {
702
780
  multibeamSeconds: number;
703
781
  /** Multibeam record fps. */
704
782
  multibeamFps: number;
783
+ /** Storage location used for main camera recording. */
784
+ mainStorageLocation: StorageLocation;
785
+ /** Storage location used for guestport camera recording. */
786
+ guestportStorageLocation: StorageLocation;
787
+ /** Storage location used for multibeam recording. */
788
+ multibeamStorageLocation: StorageLocation;
705
789
  }
706
790
  /** Time-lapse state published if time-lapse mission is running. */
707
791
  export interface TimeLapseState {
@@ -1169,7 +1253,7 @@ export interface DiveTime {
1169
1253
  /** Number of seconds the drone has been submerged. */
1170
1254
  value: number;
1171
1255
  }
1172
- /** Which cameras are supposed to be recording. */
1256
+ /** Which cameras or multibeam are supposed to be recording. */
1173
1257
  export interface RecordOn {
1174
1258
  /** Record the main camera. */
1175
1259
  main: boolean;
@@ -1195,6 +1279,8 @@ export interface StoragePartition {
1195
1279
  devicePath: string;
1196
1280
  /** Mount path of the partition. */
1197
1281
  mountPath: string;
1282
+ /** Label of the partition. */
1283
+ label: string;
1198
1284
  }
1199
1285
  /** Removable storage device. */
1200
1286
  export interface RemovableStorageDevice {
@@ -1217,10 +1303,12 @@ export declare enum RemovableStorageDevice_Status {
1217
1303
  STATUS_UNSPECIFIED = 0,
1218
1304
  /** STATUS_READY - The storage device is valid and ready for use. */
1219
1305
  STATUS_READY = 1,
1220
- /** STATUS_FORMATTING - The storage device is being formatted */
1306
+ /** STATUS_FORMATTING - The storage device is being formatted. */
1221
1307
  STATUS_FORMATTING = 2,
1222
1308
  /** STATUS_ERROR - The storage device is in an error state. */
1223
1309
  STATUS_ERROR = 3,
1310
+ /** STATUS_UNPLUGGED - The storage device is not present. */
1311
+ STATUS_UNPLUGGED = 4,
1224
1312
  UNRECOGNIZED = -1
1225
1313
  }
1226
1314
  export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
@@ -1449,22 +1537,50 @@ export interface CameraParameters {
1449
1537
  mjpgBitrate: number;
1450
1538
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1451
1539
  exposure: number;
1452
- /** White balance temperature (2800..9300), -1 for automatic white balance. */
1540
+ /** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
1453
1541
  whiteBalance: number;
1454
- /** Hue (-40..40), 0 as default. */
1542
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1455
1543
  hue: number;
1456
- /** Iso gain (0..1). */
1544
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1457
1545
  gain: number;
1546
+ /** Brightness (-10..10), 0 as default. Only available on Ultra */
1547
+ brightness: number;
1548
+ /** Contrast (-50..50), 0 as default. Only available on Ultra. */
1549
+ contrast: number;
1550
+ /** Saturation (0..50), 8 as default. Only available on Ultra. */
1551
+ saturation: number;
1552
+ /** Gamma (4..79), 22 as default. Only available on Ultra. */
1553
+ gamma: number;
1554
+ /** Sharpness (-20..20), -20 as default. Only available on Ultra. */
1555
+ sharpness: number;
1556
+ /** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
1557
+ backlightCompensation: number;
1558
+ /** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
1559
+ denoise: number;
1560
+ /** Enable eHDR mode. Default true. Only available on Ultra. */
1561
+ ehdrEnabled: boolean;
1562
+ /** Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra. */
1563
+ ehdrExposureMinNumber: number;
1564
+ /** Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate. */
1565
+ ehdrExposureMaxNumber: number;
1458
1566
  /** Stream, recording and image resolution (deprecated). */
1459
1567
  resolution: Resolution;
1460
1568
  /** Stream resolution. */
1461
1569
  streamResolution: Resolution;
1462
1570
  /** Recording and image resolution. */
1463
1571
  recordingResolution: Resolution;
1572
+ /** Streaming protocol. */
1573
+ streamingProtocol: StreamingProtocol;
1464
1574
  /** Stream and recording framerate. */
1465
1575
  framerate: Framerate;
1466
1576
  /** Which camera the parameters belong to. */
1467
1577
  camera: Camera;
1578
+ /**
1579
+ * Network MTU (Maximum Transmission Unit) size for video streaming in bytes (68..65535).
1580
+ * If 0 or unset, the system will use a default of 1400.
1581
+ * The Blueye App allows users to set values between 500 and 1460.
1582
+ */
1583
+ mtuSize: number;
1468
1584
  }
1469
1585
  /**
1470
1586
  * Overlay parameters.
@@ -1690,8 +1806,7 @@ export interface MultibeamPing {
1690
1806
  /** Size in bytes of each row in the ping data image. */
1691
1807
  step: number;
1692
1808
  /**
1693
- * Bearing angle of each column of the sonar data
1694
- * (in 100th of a degree, multiply by 0.01 to get a value in degrees).
1809
+ * Bearing angle of each column of the sonar data in degrees.
1695
1810
  * The sonar image is not sampled uniformly in the bearing direction.
1696
1811
  */
1697
1812
  bearings: number[];
@@ -1847,8 +1962,48 @@ export interface CPUInfo {
1847
1962
  /** Communication queue load (0..1). */
1848
1963
  commQueueLoad: number;
1849
1964
  }
1965
+ /**
1966
+ * Surface Unit battery information.
1967
+ *
1968
+ * This message is published by the Surface Unit, and re-published by
1969
+ * the drone over the communication protocol.
1970
+ */
1971
+ export interface SurfaceUnitBatteryInfo {
1972
+ /** Battery charge status. */
1973
+ status: SurfaceUnitBatteryInfo_ChargeStatus;
1974
+ /** Battery level (0..1). */
1975
+ level: number;
1976
+ }
1977
+ export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
1978
+ CHARGE_STATUS_UNSPECIFIED = 0,
1979
+ CHARGE_STATUS_DISCHARGE = 1,
1980
+ CHARGE_STATUS_CHARGE = 2,
1981
+ CHARGE_STATUS_CHARGE_ERROR = 3,
1982
+ UNRECOGNIZED = -1
1983
+ }
1984
+ export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
1985
+ export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
1986
+ /**
1987
+ * Surface Unit version information.
1988
+ *
1989
+ * This message is published by the Surface Unit, and re-published by
1990
+ * the drone over the communication protocol.
1991
+ */
1992
+ export interface SurfaceUnitVersionInfo {
1993
+ /** Surface Unit firmware version (x.y.z). */
1994
+ version: string;
1995
+ }
1996
+ /** Generic filter settings. */
1997
+ export interface FilterMessage {
1998
+ /** If the filter is enabled. */
1999
+ enabled: boolean;
2000
+ /** Intensity of the filter (0..1). */
2001
+ intensity: number;
2002
+ }
1850
2003
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1851
2004
  export declare const LogEntry: MessageFns<LogEntry>;
2005
+ export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
2006
+ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyValuePair>;
1852
2007
  export declare const MotionInput: MessageFns<MotionInput>;
1853
2008
  export declare const Lights: MessageFns<Lights>;
1854
2009
  export declare const Laser: MessageFns<Laser>;
@@ -1934,6 +2089,9 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1934
2089
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1935
2090
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1936
2091
  export declare const CPUInfo: MessageFns<CPUInfo>;
2092
+ export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2093
+ export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
2094
+ export declare const FilterMessage: MessageFns<FilterMessage>;
1937
2095
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1938
2096
  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 {} ? {
1939
2097
  [K in keyof T]?: DeepPartial<T[K]>;