@blueyerobotics/protocol-definitions 3.2.0-5739a6ac → 3.2.0-6025f25a

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;
@@ -491,6 +522,46 @@ export interface BinlogRecord {
491
522
  /** Posix CLOCK_MONOTONIC timestamp. */
492
523
  clockMonotonic: Date | undefined;
493
524
  }
525
+ /**
526
+ * Log entry
527
+ *
528
+ * Used to store ROS log entries in the bez file
529
+ */
530
+ export interface LogEntry {
531
+ /** Timestamp of the log entry. */
532
+ timestamp: Date | undefined;
533
+ /** Name of the process that generated the log entry. */
534
+ processName: string;
535
+ /** Process ID of the log entry. */
536
+ processId: number;
537
+ /** Thread ID of the log entry. */
538
+ threadId: number;
539
+ /** Source of the log entry (specific class or named logger). */
540
+ source: string;
541
+ /** Log level, info, warning, error, etc. */
542
+ level: LogEntry_LogLevel;
543
+ /** Log message. */
544
+ message: string;
545
+ }
546
+ export declare enum LogEntry_LogLevel {
547
+ /** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
548
+ LOG_LEVEL_UNSPECIFIED = 0,
549
+ /** LOG_LEVEL_TRACE - Trace log level. */
550
+ LOG_LEVEL_TRACE = 1,
551
+ /** LOG_LEVEL_DEBUG - Debug log level. */
552
+ LOG_LEVEL_DEBUG = 2,
553
+ /** LOG_LEVEL_INFO - Info log level. */
554
+ LOG_LEVEL_INFO = 3,
555
+ /** LOG_LEVEL_WARNING - Warning log level. */
556
+ LOG_LEVEL_WARNING = 4,
557
+ /** LOG_LEVEL_ERROR - Error log level. */
558
+ LOG_LEVEL_ERROR = 5,
559
+ /** LOG_LEVEL_CRITICAL - Critical log level. */
560
+ LOG_LEVEL_CRITICAL = 6,
561
+ UNRECOGNIZED = -1
562
+ }
563
+ export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
564
+ export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
494
565
  /** If you use both values at the same time they cancel each other out. */
495
566
  export interface MotionInput {
496
567
  /** Forward (positive) and backwards (negative) movement. (-1..1). */
@@ -660,6 +731,8 @@ export interface RecordState {
660
731
  multibeamSeconds: number;
661
732
  /** Multibeam record fps. */
662
733
  multibeamFps: number;
734
+ /** Storage location used for recording. */
735
+ storageLocation: StorageLocation;
663
736
  }
664
737
  /** Time-lapse state published if time-lapse mission is running. */
665
738
  export interface TimeLapseState {
@@ -1127,7 +1200,7 @@ export interface DiveTime {
1127
1200
  /** Number of seconds the drone has been submerged. */
1128
1201
  value: number;
1129
1202
  }
1130
- /** Which cameras are supposed to be recording. */
1203
+ /** Which cameras or multibeam are supposed to be recording. */
1131
1204
  export interface RecordOn {
1132
1205
  /** Record the main camera. */
1133
1206
  main: boolean;
@@ -1407,18 +1480,40 @@ export interface CameraParameters {
1407
1480
  mjpgBitrate: number;
1408
1481
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1409
1482
  exposure: number;
1410
- /** White balance temperature (2800..9300), -1 for automatic white balance. */
1483
+ /** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
1411
1484
  whiteBalance: number;
1412
- /** Hue (-40..40), 0 as default. */
1485
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1413
1486
  hue: number;
1414
- /** Iso gain (0..1). */
1487
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1415
1488
  gain: number;
1489
+ /** Brightness (-10..10), 0 as default. Only available on Ultra */
1490
+ brightness: number;
1491
+ /** Contrast (-50..50), 0 as default. Only available on Ultra. */
1492
+ contrast: number;
1493
+ /** Saturation (0..50), 8 as default. Only available on Ultra. */
1494
+ saturation: number;
1495
+ /** Gamma (4..79), 22 as default. Only available on Ultra. */
1496
+ gamma: number;
1497
+ /** Sharpness (-20..20), -20 as default. Only available on Ultra. */
1498
+ sharpness: number;
1499
+ /** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
1500
+ backlightCompensation: number;
1501
+ /** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
1502
+ denoise: number;
1503
+ /** Enable eHDR mode. Default true. Only available on Ultra. */
1504
+ ehdrEnabled: boolean;
1505
+ /** Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra. */
1506
+ ehdrExposureMinNumber: number;
1507
+ /** Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate. */
1508
+ ehdrExposureMaxNumber: number;
1416
1509
  /** Stream, recording and image resolution (deprecated). */
1417
1510
  resolution: Resolution;
1418
1511
  /** Stream resolution. */
1419
1512
  streamResolution: Resolution;
1420
1513
  /** Recording and image resolution. */
1421
1514
  recordingResolution: Resolution;
1515
+ /** Streaming protocol. */
1516
+ streamingProtocol: StreamingProtocol;
1422
1517
  /** Stream and recording framerate. */
1423
1518
  framerate: Framerate;
1424
1519
  /** Which camera the parameters belong to. */
@@ -1802,8 +1897,42 @@ export interface CPUInfo {
1802
1897
  mainQueueLoad: number;
1803
1898
  /** Guestport queue load (0..1). */
1804
1899
  guestportQueueLoad: number;
1900
+ /** Communication queue load (0..1). */
1901
+ commQueueLoad: number;
1902
+ }
1903
+ /**
1904
+ * Surface Unit battery information.
1905
+ *
1906
+ * This message is published by the Surface Unit, and re-published by
1907
+ * the drone over the communication protocol.
1908
+ */
1909
+ export interface SurfaceUnitBatteryInfo {
1910
+ /** Battery charge status. */
1911
+ status: SurfaceUnitBatteryInfo_ChargeStatus;
1912
+ /** Battery level (0..1). */
1913
+ level: number;
1914
+ }
1915
+ export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
1916
+ CHARGE_STATUS_UNSPECIFIED = 0,
1917
+ CHARGE_STATUS_DISCHARGE = 1,
1918
+ CHARGE_STATUS_CHARGE = 2,
1919
+ CHARGE_STATUS_CHARGE_ERROR = 3,
1920
+ UNRECOGNIZED = -1
1921
+ }
1922
+ export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
1923
+ export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
1924
+ /**
1925
+ * Surface Unit version information.
1926
+ *
1927
+ * This message is published by the Surface Unit, and re-published by
1928
+ * the drone over the communication protocol.
1929
+ */
1930
+ export interface SurfaceUnitVersionInfo {
1931
+ /** Surface Unit firmware version (x.y.z). */
1932
+ version: string;
1805
1933
  }
1806
1934
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1935
+ export declare const LogEntry: MessageFns<LogEntry>;
1807
1936
  export declare const MotionInput: MessageFns<MotionInput>;
1808
1937
  export declare const Lights: MessageFns<Lights>;
1809
1938
  export declare const Laser: MessageFns<Laser>;
@@ -1889,6 +2018,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1889
2018
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1890
2019
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1891
2020
  export declare const CPUInfo: MessageFns<CPUInfo>;
2021
+ export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2022
+ export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
1892
2023
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1893
2024
  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
2025
  [K in keyof T]?: DeepPartial<T[K]>;