@blueyerobotics/protocol-definitions 3.2.0-b032513b → 3.2.0-b41129de

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,8 +419,12 @@ 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,
393
- /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
422
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
394
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,
426
+ /** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
427
+ GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT = 47,
395
428
  UNRECOGNIZED = -1
396
429
  }
397
430
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -533,6 +566,49 @@ export declare enum LogEntry_LogLevel {
533
566
  }
534
567
  export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
535
568
  export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
569
+ export interface KernelLogEntry {
570
+ /** Log level, info, warning, error, etc. */
571
+ level: KernelLogEntry_KernelLogLevel;
572
+ /** Sequence number of the log entry. */
573
+ seqnum: number;
574
+ /** Timestamp of the log entry. */
575
+ timestamp: Date | undefined;
576
+ /** Log messages. */
577
+ messages: string[];
578
+ /** List of key-value pairs. */
579
+ fields: KernelLogEntry_KeyValuePair[];
580
+ }
581
+ /** Kernel log level. */
582
+ export declare enum KernelLogEntry_KernelLogLevel {
583
+ /** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
584
+ KERNEL_LOG_LEVEL_UNSPECIFIED = 0,
585
+ /** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
586
+ KERNEL_LOG_LEVEL_EMERG = 1,
587
+ /** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
588
+ KERNEL_LOG_LEVEL_ALERT = 2,
589
+ /** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
590
+ KERNEL_LOG_LEVEL_CRIT = 3,
591
+ /** KERNEL_LOG_LEVEL_ERR - Error log level. */
592
+ KERNEL_LOG_LEVEL_ERR = 4,
593
+ /** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
594
+ KERNEL_LOG_LEVEL_WARNING = 5,
595
+ /** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
596
+ KERNEL_LOG_LEVEL_NOTICE = 6,
597
+ /** KERNEL_LOG_LEVEL_INFO - Informational log level. */
598
+ KERNEL_LOG_LEVEL_INFO = 7,
599
+ /** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
600
+ KERNEL_LOG_LEVEL_DEBUG = 8,
601
+ UNRECOGNIZED = -1
602
+ }
603
+ export declare function kernelLogEntry_KernelLogLevelFromJSON(object: any): KernelLogEntry_KernelLogLevel;
604
+ export declare function kernelLogEntry_KernelLogLevelToJSON(object: KernelLogEntry_KernelLogLevel): string;
605
+ /** Key-value pair used for structured logging. */
606
+ export interface KernelLogEntry_KeyValuePair {
607
+ /** Key of the key-value pair. */
608
+ key: string;
609
+ /** Value of the key-value pair. */
610
+ value: string;
611
+ }
536
612
  /** If you use both values at the same time they cancel each other out. */
537
613
  export interface MotionInput {
538
614
  /** Forward (positive) and backwards (negative) movement. (-1..1). */
@@ -702,6 +778,8 @@ export interface RecordState {
702
778
  multibeamSeconds: number;
703
779
  /** Multibeam record fps. */
704
780
  multibeamFps: number;
781
+ /** Storage location used for recording. */
782
+ storageLocation: StorageLocation;
705
783
  }
706
784
  /** Time-lapse state published if time-lapse mission is running. */
707
785
  export interface TimeLapseState {
@@ -1169,7 +1247,7 @@ export interface DiveTime {
1169
1247
  /** Number of seconds the drone has been submerged. */
1170
1248
  value: number;
1171
1249
  }
1172
- /** Which cameras are supposed to be recording. */
1250
+ /** Which cameras or multibeam are supposed to be recording. */
1173
1251
  export interface RecordOn {
1174
1252
  /** Record the main camera. */
1175
1253
  main: boolean;
@@ -1195,6 +1273,8 @@ export interface StoragePartition {
1195
1273
  devicePath: string;
1196
1274
  /** Mount path of the partition. */
1197
1275
  mountPath: string;
1276
+ /** Label of the partition. */
1277
+ label: string;
1198
1278
  }
1199
1279
  /** Removable storage device. */
1200
1280
  export interface RemovableStorageDevice {
@@ -1217,10 +1297,12 @@ export declare enum RemovableStorageDevice_Status {
1217
1297
  STATUS_UNSPECIFIED = 0,
1218
1298
  /** STATUS_READY - The storage device is valid and ready for use. */
1219
1299
  STATUS_READY = 1,
1220
- /** STATUS_FORMATTING - The storage device is being formatted */
1300
+ /** STATUS_FORMATTING - The storage device is being formatted. */
1221
1301
  STATUS_FORMATTING = 2,
1222
1302
  /** STATUS_ERROR - The storage device is in an error state. */
1223
1303
  STATUS_ERROR = 3,
1304
+ /** STATUS_UNPLUGGED - The storage device is not present. */
1305
+ STATUS_UNPLUGGED = 4,
1224
1306
  UNRECOGNIZED = -1
1225
1307
  }
1226
1308
  export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
@@ -1449,18 +1531,40 @@ export interface CameraParameters {
1449
1531
  mjpgBitrate: number;
1450
1532
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1451
1533
  exposure: number;
1452
- /** White balance temperature (2800..9300), -1 for automatic white balance. */
1534
+ /** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
1453
1535
  whiteBalance: number;
1454
- /** Hue (-40..40), 0 as default. */
1536
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1455
1537
  hue: number;
1456
- /** Iso gain (0..1). */
1538
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1457
1539
  gain: number;
1540
+ /** Brightness (-10..10), 0 as default. Only available on Ultra */
1541
+ brightness: number;
1542
+ /** Contrast (-50..50), 0 as default. Only available on Ultra. */
1543
+ contrast: number;
1544
+ /** Saturation (0..50), 8 as default. Only available on Ultra. */
1545
+ saturation: number;
1546
+ /** Gamma (4..79), 22 as default. Only available on Ultra. */
1547
+ gamma: number;
1548
+ /** Sharpness (-20..20), -20 as default. Only available on Ultra. */
1549
+ sharpness: number;
1550
+ /** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
1551
+ backlightCompensation: number;
1552
+ /** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
1553
+ denoise: number;
1554
+ /** Enable eHDR mode. Default true. Only available on Ultra. */
1555
+ ehdrEnabled: boolean;
1556
+ /** Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra. */
1557
+ ehdrExposureMinNumber: number;
1558
+ /** Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate. */
1559
+ ehdrExposureMaxNumber: number;
1458
1560
  /** Stream, recording and image resolution (deprecated). */
1459
1561
  resolution: Resolution;
1460
1562
  /** Stream resolution. */
1461
1563
  streamResolution: Resolution;
1462
1564
  /** Recording and image resolution. */
1463
1565
  recordingResolution: Resolution;
1566
+ /** Streaming protocol. */
1567
+ streamingProtocol: StreamingProtocol;
1464
1568
  /** Stream and recording framerate. */
1465
1569
  framerate: Framerate;
1466
1570
  /** Which camera the parameters belong to. */
@@ -1690,8 +1794,7 @@ export interface MultibeamPing {
1690
1794
  /** Size in bytes of each row in the ping data image. */
1691
1795
  step: number;
1692
1796
  /**
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).
1797
+ * Bearing angle of each column of the sonar data in degrees.
1695
1798
  * The sonar image is not sampled uniformly in the bearing direction.
1696
1799
  */
1697
1800
  bearings: number[];
@@ -1847,8 +1950,41 @@ export interface CPUInfo {
1847
1950
  /** Communication queue load (0..1). */
1848
1951
  commQueueLoad: number;
1849
1952
  }
1953
+ /**
1954
+ * Surface Unit battery information.
1955
+ *
1956
+ * This message is published by the Surface Unit, and re-published by
1957
+ * the drone over the communication protocol.
1958
+ */
1959
+ export interface SurfaceUnitBatteryInfo {
1960
+ /** Battery charge status. */
1961
+ status: SurfaceUnitBatteryInfo_ChargeStatus;
1962
+ /** Battery level (0..1). */
1963
+ level: number;
1964
+ }
1965
+ export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
1966
+ CHARGE_STATUS_UNSPECIFIED = 0,
1967
+ CHARGE_STATUS_DISCHARGE = 1,
1968
+ CHARGE_STATUS_CHARGE = 2,
1969
+ CHARGE_STATUS_CHARGE_ERROR = 3,
1970
+ UNRECOGNIZED = -1
1971
+ }
1972
+ export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
1973
+ export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
1974
+ /**
1975
+ * Surface Unit version information.
1976
+ *
1977
+ * This message is published by the Surface Unit, and re-published by
1978
+ * the drone over the communication protocol.
1979
+ */
1980
+ export interface SurfaceUnitVersionInfo {
1981
+ /** Surface Unit firmware version (x.y.z). */
1982
+ version: string;
1983
+ }
1850
1984
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1851
1985
  export declare const LogEntry: MessageFns<LogEntry>;
1986
+ export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
1987
+ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyValuePair>;
1852
1988
  export declare const MotionInput: MessageFns<MotionInput>;
1853
1989
  export declare const Lights: MessageFns<Lights>;
1854
1990
  export declare const Laser: MessageFns<Laser>;
@@ -1934,6 +2070,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1934
2070
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1935
2071
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1936
2072
  export declare const CPUInfo: MessageFns<CPUInfo>;
2073
+ export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2074
+ export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
1937
2075
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1938
2076
  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
2077
  [K in keyof T]?: DeepPartial<T[K]>;