@blueyerobotics/protocol-definitions 3.2.0-2da79a0a → 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,6 +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,
424
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
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,
393
430
  UNRECOGNIZED = -1
394
431
  }
395
432
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -491,6 +528,89 @@ export interface BinlogRecord {
491
528
  /** Posix CLOCK_MONOTONIC timestamp. */
492
529
  clockMonotonic: Date | undefined;
493
530
  }
531
+ /**
532
+ * Log entry
533
+ *
534
+ * Used to store ROS log entries in the bez file
535
+ */
536
+ export interface LogEntry {
537
+ /** Timestamp of the log entry. */
538
+ timestamp: Date | undefined;
539
+ /** Name of the process that generated the log entry. */
540
+ processName: string;
541
+ /** Process ID of the log entry. */
542
+ processId: number;
543
+ /** Thread ID of the log entry. */
544
+ threadId: number;
545
+ /** Source of the log entry (specific class or named logger). */
546
+ source: string;
547
+ /** Log level, info, warning, error, etc. */
548
+ level: LogEntry_LogLevel;
549
+ /** Log message. */
550
+ message: string;
551
+ }
552
+ export declare enum LogEntry_LogLevel {
553
+ /** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
554
+ LOG_LEVEL_UNSPECIFIED = 0,
555
+ /** LOG_LEVEL_TRACE - Trace log level. */
556
+ LOG_LEVEL_TRACE = 1,
557
+ /** LOG_LEVEL_DEBUG - Debug log level. */
558
+ LOG_LEVEL_DEBUG = 2,
559
+ /** LOG_LEVEL_INFO - Info log level. */
560
+ LOG_LEVEL_INFO = 3,
561
+ /** LOG_LEVEL_WARNING - Warning log level. */
562
+ LOG_LEVEL_WARNING = 4,
563
+ /** LOG_LEVEL_ERROR - Error log level. */
564
+ LOG_LEVEL_ERROR = 5,
565
+ /** LOG_LEVEL_CRITICAL - Critical log level. */
566
+ LOG_LEVEL_CRITICAL = 6,
567
+ UNRECOGNIZED = -1
568
+ }
569
+ export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
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
+ }
494
614
  /** If you use both values at the same time they cancel each other out. */
495
615
  export interface MotionInput {
496
616
  /** Forward (positive) and backwards (negative) movement. (-1..1). */
@@ -660,6 +780,12 @@ export interface RecordState {
660
780
  multibeamSeconds: number;
661
781
  /** Multibeam record fps. */
662
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;
663
789
  }
664
790
  /** Time-lapse state published if time-lapse mission is running. */
665
791
  export interface TimeLapseState {
@@ -1127,7 +1253,7 @@ export interface DiveTime {
1127
1253
  /** Number of seconds the drone has been submerged. */
1128
1254
  value: number;
1129
1255
  }
1130
- /** Which cameras are supposed to be recording. */
1256
+ /** Which cameras or multibeam are supposed to be recording. */
1131
1257
  export interface RecordOn {
1132
1258
  /** Record the main camera. */
1133
1259
  main: boolean;
@@ -1153,6 +1279,8 @@ export interface StoragePartition {
1153
1279
  devicePath: string;
1154
1280
  /** Mount path of the partition. */
1155
1281
  mountPath: string;
1282
+ /** Label of the partition. */
1283
+ label: string;
1156
1284
  }
1157
1285
  /** Removable storage device. */
1158
1286
  export interface RemovableStorageDevice {
@@ -1175,10 +1303,12 @@ export declare enum RemovableStorageDevice_Status {
1175
1303
  STATUS_UNSPECIFIED = 0,
1176
1304
  /** STATUS_READY - The storage device is valid and ready for use. */
1177
1305
  STATUS_READY = 1,
1178
- /** STATUS_FORMATTING - The storage device is being formatted */
1306
+ /** STATUS_FORMATTING - The storage device is being formatted. */
1179
1307
  STATUS_FORMATTING = 2,
1180
1308
  /** STATUS_ERROR - The storage device is in an error state. */
1181
1309
  STATUS_ERROR = 3,
1310
+ /** STATUS_UNPLUGGED - The storage device is not present. */
1311
+ STATUS_UNPLUGGED = 4,
1182
1312
  UNRECOGNIZED = -1
1183
1313
  }
1184
1314
  export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
@@ -1407,22 +1537,50 @@ export interface CameraParameters {
1407
1537
  mjpgBitrate: number;
1408
1538
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1409
1539
  exposure: number;
1410
- /** 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. */
1411
1541
  whiteBalance: number;
1412
- /** Hue (-40..40), 0 as default. */
1542
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1413
1543
  hue: number;
1414
- /** Iso gain (0..1). */
1544
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1415
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;
1416
1566
  /** Stream, recording and image resolution (deprecated). */
1417
1567
  resolution: Resolution;
1418
1568
  /** Stream resolution. */
1419
1569
  streamResolution: Resolution;
1420
1570
  /** Recording and image resolution. */
1421
1571
  recordingResolution: Resolution;
1572
+ /** Streaming protocol. */
1573
+ streamingProtocol: StreamingProtocol;
1422
1574
  /** Stream and recording framerate. */
1423
1575
  framerate: Framerate;
1424
1576
  /** Which camera the parameters belong to. */
1425
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;
1426
1584
  }
1427
1585
  /**
1428
1586
  * Overlay parameters.
@@ -1648,8 +1806,7 @@ export interface MultibeamPing {
1648
1806
  /** Size in bytes of each row in the ping data image. */
1649
1807
  step: number;
1650
1808
  /**
1651
- * Bearing angle of each column of the sonar data
1652
- * (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.
1653
1810
  * The sonar image is not sampled uniformly in the bearing direction.
1654
1811
  */
1655
1812
  bearings: number[];
@@ -1802,8 +1959,51 @@ export interface CPUInfo {
1802
1959
  mainQueueLoad: number;
1803
1960
  /** Guestport queue load (0..1). */
1804
1961
  guestportQueueLoad: number;
1962
+ /** Communication queue load (0..1). */
1963
+ commQueueLoad: number;
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;
1805
2002
  }
1806
2003
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
2004
+ export declare const LogEntry: MessageFns<LogEntry>;
2005
+ export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
2006
+ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyValuePair>;
1807
2007
  export declare const MotionInput: MessageFns<MotionInput>;
1808
2008
  export declare const Lights: MessageFns<Lights>;
1809
2009
  export declare const Laser: MessageFns<Laser>;
@@ -1889,6 +2089,9 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1889
2089
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1890
2090
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1891
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>;
1892
2095
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1893
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 {} ? {
1894
2097
  [K in keyof T]?: DeepPartial<T[K]>;