@blueyerobotics/protocol-definitions 3.2.0-7ccc4a0d → 3.2.0-82141b1d

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.
@@ -216,7 +216,7 @@ export declare enum Resolution {
216
216
  RESOLUTION_HD_720P = 2,
217
217
  /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
218
218
  RESOLUTION_FULLHD_1080P = 1,
219
- /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
219
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
220
220
  RESOLUTION_UHD_4K = 3,
221
221
  UNRECOGNIZED = -1
222
222
  }
@@ -228,7 +228,7 @@ export declare enum Framerate {
228
228
  FRAMERATE_UNSPECIFIED = 0,
229
229
  /** FRAMERATE_FPS_30 - 30 frames per second. */
230
230
  FRAMERATE_FPS_30 = 1,
231
- /** FRAMERATE_FPS_25 - 25 frames per second. */
231
+ /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
232
232
  FRAMERATE_FPS_25 = 2,
233
233
  UNRECOGNIZED = -1
234
234
  }
@@ -251,7 +251,7 @@ export declare enum StreamingProtocol {
251
251
  STREAMING_PROTOCOL_UNSPECIFIED = 0,
252
252
  /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
253
253
  STREAMING_PROTOCOL_RTSP_H264 = 1,
254
- /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
254
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
255
255
  STREAMING_PROTOCOL_RTSP_MJPEG = 2,
256
256
  UNRECOGNIZED = -1
257
257
  }
@@ -731,6 +731,8 @@ export interface RecordState {
731
731
  multibeamSeconds: number;
732
732
  /** Multibeam record fps. */
733
733
  multibeamFps: number;
734
+ /** Storage location used for recording. */
735
+ storageLocation: StorageLocation;
734
736
  }
735
737
  /** Time-lapse state published if time-lapse mission is running. */
736
738
  export interface TimeLapseState {
@@ -1498,6 +1500,12 @@ export interface CameraParameters {
1498
1500
  backlightCompensation: number;
1499
1501
  /** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
1500
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;
1501
1509
  /** Stream, recording and image resolution (deprecated). */
1502
1510
  resolution: Resolution;
1503
1511
  /** Stream resolution. */
@@ -1510,8 +1518,6 @@ export interface CameraParameters {
1510
1518
  framerate: Framerate;
1511
1519
  /** Which camera the parameters belong to. */
1512
1520
  camera: Camera;
1513
- /** Prioritize fixed frame rate over quality on Ultra. */
1514
- fixedFramerate: boolean;
1515
1521
  }
1516
1522
  /**
1517
1523
  * Overlay parameters.
@@ -775,7 +775,7 @@ var Resolution;
775
775
  Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
776
776
  /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
777
777
  Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
778
- /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
778
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
779
779
  Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
780
780
  Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
781
781
  })(Resolution || (exports.Resolution = Resolution = {}));
@@ -826,7 +826,7 @@ var Framerate;
826
826
  Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
827
827
  /** FRAMERATE_FPS_30 - 30 frames per second. */
828
828
  Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
829
- /** FRAMERATE_FPS_25 - 25 frames per second. */
829
+ /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
830
830
  Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
831
831
  Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
832
832
  })(Framerate || (exports.Framerate = Framerate = {}));
@@ -907,7 +907,7 @@ var StreamingProtocol;
907
907
  StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
908
908
  /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
909
909
  StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
910
- /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
910
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
911
911
  StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
912
912
  StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
913
913
  })(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
@@ -3792,6 +3792,7 @@ function createBaseRecordState() {
3792
3792
  multibeamIsRecording: false,
3793
3793
  multibeamSeconds: 0,
3794
3794
  multibeamFps: 0,
3795
+ storageLocation: 0,
3795
3796
  };
3796
3797
  }
3797
3798
  exports.RecordState = {
@@ -3823,6 +3824,9 @@ exports.RecordState = {
3823
3824
  if (message.multibeamFps !== 0) {
3824
3825
  writer.uint32(77).float(message.multibeamFps);
3825
3826
  }
3827
+ if (message.storageLocation !== 0) {
3828
+ writer.uint32(80).int32(message.storageLocation);
3829
+ }
3826
3830
  return writer;
3827
3831
  },
3828
3832
  decode(input, length) {
@@ -3895,6 +3899,13 @@ exports.RecordState = {
3895
3899
  message.multibeamFps = reader.float();
3896
3900
  continue;
3897
3901
  }
3902
+ case 10: {
3903
+ if (tag !== 80) {
3904
+ break;
3905
+ }
3906
+ message.storageLocation = reader.int32();
3907
+ continue;
3908
+ }
3898
3909
  }
3899
3910
  if ((tag & 7) === 4 || tag === 0) {
3900
3911
  break;
@@ -3914,6 +3925,7 @@ exports.RecordState = {
3914
3925
  multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
3915
3926
  multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
3916
3927
  multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
3928
+ storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
3917
3929
  };
3918
3930
  },
3919
3931
  toJSON(message) {
@@ -3945,6 +3957,9 @@ exports.RecordState = {
3945
3957
  if (message.multibeamFps !== 0) {
3946
3958
  obj.multibeamFps = message.multibeamFps;
3947
3959
  }
3960
+ if (message.storageLocation !== 0) {
3961
+ obj.storageLocation = storageLocationToJSON(message.storageLocation);
3962
+ }
3948
3963
  return obj;
3949
3964
  },
3950
3965
  create(base) {
@@ -3961,6 +3976,7 @@ exports.RecordState = {
3961
3976
  message.multibeamIsRecording = object.multibeamIsRecording ?? false;
3962
3977
  message.multibeamSeconds = object.multibeamSeconds ?? 0;
3963
3978
  message.multibeamFps = object.multibeamFps ?? 0;
3979
+ message.storageLocation = object.storageLocation ?? 0;
3964
3980
  return message;
3965
3981
  },
3966
3982
  };
@@ -9668,13 +9684,15 @@ function createBaseCameraParameters() {
9668
9684
  sharpness: 0,
9669
9685
  backlightCompensation: 0,
9670
9686
  denoise: 0,
9687
+ ehdrEnabled: false,
9688
+ ehdrExposureMinNumber: 0,
9689
+ ehdrExposureMaxNumber: 0,
9671
9690
  resolution: 0,
9672
9691
  streamResolution: 0,
9673
9692
  recordingResolution: 0,
9674
9693
  streamingProtocol: 0,
9675
9694
  framerate: 0,
9676
9695
  camera: 0,
9677
- fixedFramerate: false,
9678
9696
  };
9679
9697
  }
9680
9698
  exports.CameraParameters = {
@@ -9718,6 +9736,15 @@ exports.CameraParameters = {
9718
9736
  if (message.denoise !== 0) {
9719
9737
  writer.uint32(144).int32(message.denoise);
9720
9738
  }
9739
+ if (message.ehdrEnabled !== false) {
9740
+ writer.uint32(168).bool(message.ehdrEnabled);
9741
+ }
9742
+ if (message.ehdrExposureMinNumber !== 0) {
9743
+ writer.uint32(176).int32(message.ehdrExposureMinNumber);
9744
+ }
9745
+ if (message.ehdrExposureMaxNumber !== 0) {
9746
+ writer.uint32(184).int32(message.ehdrExposureMaxNumber);
9747
+ }
9721
9748
  if (message.resolution !== 0) {
9722
9749
  writer.uint32(48).int32(message.resolution);
9723
9750
  }
@@ -9736,9 +9763,6 @@ exports.CameraParameters = {
9736
9763
  if (message.camera !== 0) {
9737
9764
  writer.uint32(64).int32(message.camera);
9738
9765
  }
9739
- if (message.fixedFramerate !== false) {
9740
- writer.uint32(152).bool(message.fixedFramerate);
9741
- }
9742
9766
  return writer;
9743
9767
  },
9744
9768
  decode(input, length) {
@@ -9839,6 +9863,27 @@ exports.CameraParameters = {
9839
9863
  message.denoise = reader.int32();
9840
9864
  continue;
9841
9865
  }
9866
+ case 21: {
9867
+ if (tag !== 168) {
9868
+ break;
9869
+ }
9870
+ message.ehdrEnabled = reader.bool();
9871
+ continue;
9872
+ }
9873
+ case 22: {
9874
+ if (tag !== 176) {
9875
+ break;
9876
+ }
9877
+ message.ehdrExposureMinNumber = reader.int32();
9878
+ continue;
9879
+ }
9880
+ case 23: {
9881
+ if (tag !== 184) {
9882
+ break;
9883
+ }
9884
+ message.ehdrExposureMaxNumber = reader.int32();
9885
+ continue;
9886
+ }
9842
9887
  case 6: {
9843
9888
  if (tag !== 48) {
9844
9889
  break;
@@ -9881,13 +9926,6 @@ exports.CameraParameters = {
9881
9926
  message.camera = reader.int32();
9882
9927
  continue;
9883
9928
  }
9884
- case 19: {
9885
- if (tag !== 152) {
9886
- break;
9887
- }
9888
- message.fixedFramerate = reader.bool();
9889
- continue;
9890
- }
9891
9929
  }
9892
9930
  if ((tag & 7) === 4 || tag === 0) {
9893
9931
  break;
@@ -9911,13 +9949,15 @@ exports.CameraParameters = {
9911
9949
  sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
9912
9950
  backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
9913
9951
  denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
9952
+ ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
9953
+ ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
9954
+ ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
9914
9955
  resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
9915
9956
  streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
9916
9957
  recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
9917
9958
  streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
9918
9959
  framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
9919
9960
  camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
9920
- fixedFramerate: isSet(object.fixedFramerate) ? gt.Boolean(object.fixedFramerate) : false,
9921
9961
  };
9922
9962
  },
9923
9963
  toJSON(message) {
@@ -9961,6 +10001,15 @@ exports.CameraParameters = {
9961
10001
  if (message.denoise !== 0) {
9962
10002
  obj.denoise = Math.round(message.denoise);
9963
10003
  }
10004
+ if (message.ehdrEnabled !== false) {
10005
+ obj.ehdrEnabled = message.ehdrEnabled;
10006
+ }
10007
+ if (message.ehdrExposureMinNumber !== 0) {
10008
+ obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
10009
+ }
10010
+ if (message.ehdrExposureMaxNumber !== 0) {
10011
+ obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
10012
+ }
9964
10013
  if (message.resolution !== 0) {
9965
10014
  obj.resolution = resolutionToJSON(message.resolution);
9966
10015
  }
@@ -9979,9 +10028,6 @@ exports.CameraParameters = {
9979
10028
  if (message.camera !== 0) {
9980
10029
  obj.camera = cameraToJSON(message.camera);
9981
10030
  }
9982
- if (message.fixedFramerate !== false) {
9983
- obj.fixedFramerate = message.fixedFramerate;
9984
- }
9985
10031
  return obj;
9986
10032
  },
9987
10033
  create(base) {
@@ -10002,13 +10048,15 @@ exports.CameraParameters = {
10002
10048
  message.sharpness = object.sharpness ?? 0;
10003
10049
  message.backlightCompensation = object.backlightCompensation ?? 0;
10004
10050
  message.denoise = object.denoise ?? 0;
10051
+ message.ehdrEnabled = object.ehdrEnabled ?? false;
10052
+ message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
10053
+ message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
10005
10054
  message.resolution = object.resolution ?? 0;
10006
10055
  message.streamResolution = object.streamResolution ?? 0;
10007
10056
  message.recordingResolution = object.recordingResolution ?? 0;
10008
10057
  message.streamingProtocol = object.streamingProtocol ?? 0;
10009
10058
  message.framerate = object.framerate ?? 0;
10010
10059
  message.camera = object.camera ?? 0;
10011
- message.fixedFramerate = object.fixedFramerate ?? false;
10012
10060
  return message;
10013
10061
  },
10014
10062
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueyerobotics/protocol-definitions",
3
- "version": "3.2.0-7ccc4a0d",
3
+ "version": "3.2.0-82141b1d",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "TypeScript definitions for Blueye Robotics protocols",
6
6
  "repository": {