@blueyerobotics/protocol-definitions 3.2.0-7dc2e1a9 → 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.
- package/dist/control.d.ts +6 -2
- package/dist/control.js +39 -8
- package/dist/message_formats.d.ts +62 -9
- package/dist/message_formats.js +301 -13
- package/package.json +1 -1
package/dist/control.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { SetAquaTrollConnectionStatus, SetAquaTrollParameterUnit } from "./aquatroll";
|
|
3
|
-
import { AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, ConnectionDuration, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
|
|
3
|
+
import { AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, ConnectionDuration, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
|
|
4
4
|
/**
|
|
5
5
|
* Control
|
|
6
6
|
*
|
|
@@ -48,13 +48,17 @@ export interface WatchdogCtrl {
|
|
|
48
48
|
/** The ID of the client, received in the ConnectClientRep response. */
|
|
49
49
|
clientId: number;
|
|
50
50
|
}
|
|
51
|
-
/** Issue a command to start video recording. */
|
|
51
|
+
/** Issue a command to start video or multibeam recording. */
|
|
52
52
|
export interface RecordCtrl {
|
|
53
53
|
/** Message specifying which cameras to record. */
|
|
54
54
|
recordOn: RecordOn | undefined;
|
|
55
|
+
/** Storage location to use for the recordings. */
|
|
56
|
+
storageLocation: StorageLocation;
|
|
55
57
|
}
|
|
56
58
|
/** Issue a command to take a picture. */
|
|
57
59
|
export interface TakePictureCtrl {
|
|
60
|
+
/** Storage location to use for the picture. */
|
|
61
|
+
storageLocation: StorageLocation;
|
|
58
62
|
}
|
|
59
63
|
/** Issue a command to start compass calibration. */
|
|
60
64
|
export interface StartCalibrationCtrl {
|
package/dist/control.js
CHANGED
|
@@ -399,13 +399,16 @@ exports.WatchdogCtrl = {
|
|
|
399
399
|
},
|
|
400
400
|
};
|
|
401
401
|
function createBaseRecordCtrl() {
|
|
402
|
-
return { recordOn: undefined };
|
|
402
|
+
return { recordOn: undefined, storageLocation: 0 };
|
|
403
403
|
}
|
|
404
404
|
exports.RecordCtrl = {
|
|
405
405
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
406
406
|
if (message.recordOn !== undefined) {
|
|
407
407
|
message_formats_1.RecordOn.encode(message.recordOn, writer.uint32(10).fork()).join();
|
|
408
408
|
}
|
|
409
|
+
if (message.storageLocation !== 0) {
|
|
410
|
+
writer.uint32(16).int32(message.storageLocation);
|
|
411
|
+
}
|
|
409
412
|
return writer;
|
|
410
413
|
},
|
|
411
414
|
decode(input, length) {
|
|
@@ -422,6 +425,13 @@ exports.RecordCtrl = {
|
|
|
422
425
|
message.recordOn = message_formats_1.RecordOn.decode(reader, reader.uint32());
|
|
423
426
|
continue;
|
|
424
427
|
}
|
|
428
|
+
case 2: {
|
|
429
|
+
if (tag !== 16) {
|
|
430
|
+
break;
|
|
431
|
+
}
|
|
432
|
+
message.storageLocation = reader.int32();
|
|
433
|
+
continue;
|
|
434
|
+
}
|
|
425
435
|
}
|
|
426
436
|
if ((tag & 7) === 4 || tag === 0) {
|
|
427
437
|
break;
|
|
@@ -431,13 +441,19 @@ exports.RecordCtrl = {
|
|
|
431
441
|
return message;
|
|
432
442
|
},
|
|
433
443
|
fromJSON(object) {
|
|
434
|
-
return {
|
|
444
|
+
return {
|
|
445
|
+
recordOn: isSet(object.recordOn) ? message_formats_1.RecordOn.fromJSON(object.recordOn) : undefined,
|
|
446
|
+
storageLocation: isSet(object.storageLocation) ? (0, message_formats_1.storageLocationFromJSON)(object.storageLocation) : 0,
|
|
447
|
+
};
|
|
435
448
|
},
|
|
436
449
|
toJSON(message) {
|
|
437
450
|
const obj = {};
|
|
438
451
|
if (message.recordOn !== undefined) {
|
|
439
452
|
obj.recordOn = message_formats_1.RecordOn.toJSON(message.recordOn);
|
|
440
453
|
}
|
|
454
|
+
if (message.storageLocation !== 0) {
|
|
455
|
+
obj.storageLocation = (0, message_formats_1.storageLocationToJSON)(message.storageLocation);
|
|
456
|
+
}
|
|
441
457
|
return obj;
|
|
442
458
|
},
|
|
443
459
|
create(base) {
|
|
@@ -448,14 +464,18 @@ exports.RecordCtrl = {
|
|
|
448
464
|
message.recordOn = (object.recordOn !== undefined && object.recordOn !== null)
|
|
449
465
|
? message_formats_1.RecordOn.fromPartial(object.recordOn)
|
|
450
466
|
: undefined;
|
|
467
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
451
468
|
return message;
|
|
452
469
|
},
|
|
453
470
|
};
|
|
454
471
|
function createBaseTakePictureCtrl() {
|
|
455
|
-
return {};
|
|
472
|
+
return { storageLocation: 0 };
|
|
456
473
|
}
|
|
457
474
|
exports.TakePictureCtrl = {
|
|
458
|
-
encode(
|
|
475
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
476
|
+
if (message.storageLocation !== 0) {
|
|
477
|
+
writer.uint32(8).int32(message.storageLocation);
|
|
478
|
+
}
|
|
459
479
|
return writer;
|
|
460
480
|
},
|
|
461
481
|
decode(input, length) {
|
|
@@ -465,6 +485,13 @@ exports.TakePictureCtrl = {
|
|
|
465
485
|
while (reader.pos < end) {
|
|
466
486
|
const tag = reader.uint32();
|
|
467
487
|
switch (tag >>> 3) {
|
|
488
|
+
case 1: {
|
|
489
|
+
if (tag !== 8) {
|
|
490
|
+
break;
|
|
491
|
+
}
|
|
492
|
+
message.storageLocation = reader.int32();
|
|
493
|
+
continue;
|
|
494
|
+
}
|
|
468
495
|
}
|
|
469
496
|
if ((tag & 7) === 4 || tag === 0) {
|
|
470
497
|
break;
|
|
@@ -473,18 +500,22 @@ exports.TakePictureCtrl = {
|
|
|
473
500
|
}
|
|
474
501
|
return message;
|
|
475
502
|
},
|
|
476
|
-
fromJSON(
|
|
477
|
-
return {};
|
|
503
|
+
fromJSON(object) {
|
|
504
|
+
return { storageLocation: isSet(object.storageLocation) ? (0, message_formats_1.storageLocationFromJSON)(object.storageLocation) : 0 };
|
|
478
505
|
},
|
|
479
|
-
toJSON(
|
|
506
|
+
toJSON(message) {
|
|
480
507
|
const obj = {};
|
|
508
|
+
if (message.storageLocation !== 0) {
|
|
509
|
+
obj.storageLocation = (0, message_formats_1.storageLocationToJSON)(message.storageLocation);
|
|
510
|
+
}
|
|
481
511
|
return obj;
|
|
482
512
|
},
|
|
483
513
|
create(base) {
|
|
484
514
|
return exports.TakePictureCtrl.fromPartial(base ?? {});
|
|
485
515
|
},
|
|
486
|
-
fromPartial(
|
|
516
|
+
fromPartial(object) {
|
|
487
517
|
const message = createBaseTakePictureCtrl();
|
|
518
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
488
519
|
return message;
|
|
489
520
|
},
|
|
490
521
|
};
|
|
@@ -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
|
-
/**
|
|
198
|
-
|
|
199
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
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
|
-
/**
|
|
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. */
|
|
@@ -702,6 +731,8 @@ export interface RecordState {
|
|
|
702
731
|
multibeamSeconds: number;
|
|
703
732
|
/** Multibeam record fps. */
|
|
704
733
|
multibeamFps: number;
|
|
734
|
+
/** Storage location used for recording. */
|
|
735
|
+
storageLocation: StorageLocation;
|
|
705
736
|
}
|
|
706
737
|
/** Time-lapse state published if time-lapse mission is running. */
|
|
707
738
|
export interface TimeLapseState {
|
|
@@ -1169,7 +1200,7 @@ export interface DiveTime {
|
|
|
1169
1200
|
/** Number of seconds the drone has been submerged. */
|
|
1170
1201
|
value: number;
|
|
1171
1202
|
}
|
|
1172
|
-
/** Which cameras are supposed to be recording. */
|
|
1203
|
+
/** Which cameras or multibeam are supposed to be recording. */
|
|
1173
1204
|
export interface RecordOn {
|
|
1174
1205
|
/** Record the main camera. */
|
|
1175
1206
|
main: boolean;
|
|
@@ -1449,18 +1480,40 @@ export interface CameraParameters {
|
|
|
1449
1480
|
mjpgBitrate: number;
|
|
1450
1481
|
/** Shutter speed (1/10000 * s), -1 for automatic exposure. */
|
|
1451
1482
|
exposure: number;
|
|
1452
|
-
/** White balance
|
|
1483
|
+
/** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
|
|
1453
1484
|
whiteBalance: number;
|
|
1454
|
-
/** Hue (-40..40), 0 as default. */
|
|
1485
|
+
/** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
|
|
1455
1486
|
hue: number;
|
|
1456
|
-
/** Iso gain (0..1). */
|
|
1487
|
+
/** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
|
|
1457
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;
|
|
1458
1509
|
/** Stream, recording and image resolution (deprecated). */
|
|
1459
1510
|
resolution: Resolution;
|
|
1460
1511
|
/** Stream resolution. */
|
|
1461
1512
|
streamResolution: Resolution;
|
|
1462
1513
|
/** Recording and image resolution. */
|
|
1463
1514
|
recordingResolution: Resolution;
|
|
1515
|
+
/** Streaming protocol. */
|
|
1516
|
+
streamingProtocol: StreamingProtocol;
|
|
1464
1517
|
/** Stream and recording framerate. */
|
|
1465
1518
|
framerate: Framerate;
|
|
1466
1519
|
/** Which camera the parameters belong to. */
|
package/dist/message_formats.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = void 0;
|
|
8
|
+
exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = void 0;
|
|
10
|
+
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -591,6 +595,51 @@ function notificationLevelToJSON(object) {
|
|
|
591
595
|
return "UNRECOGNIZED";
|
|
592
596
|
}
|
|
593
597
|
}
|
|
598
|
+
/**
|
|
599
|
+
* Storage location.
|
|
600
|
+
*
|
|
601
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
602
|
+
*/
|
|
603
|
+
var StorageLocation;
|
|
604
|
+
(function (StorageLocation) {
|
|
605
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
606
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
607
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
609
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
611
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
612
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
613
|
+
function storageLocationFromJSON(object) {
|
|
614
|
+
switch (object) {
|
|
615
|
+
case 0:
|
|
616
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
617
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
618
|
+
case 1:
|
|
619
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
620
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
621
|
+
case 2:
|
|
622
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
623
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
624
|
+
case -1:
|
|
625
|
+
case "UNRECOGNIZED":
|
|
626
|
+
default:
|
|
627
|
+
return StorageLocation.UNRECOGNIZED;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
function storageLocationToJSON(object) {
|
|
631
|
+
switch (object) {
|
|
632
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
633
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
635
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
637
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
638
|
+
case StorageLocation.UNRECOGNIZED:
|
|
639
|
+
default:
|
|
640
|
+
return "UNRECOGNIZED";
|
|
641
|
+
}
|
|
642
|
+
}
|
|
594
643
|
/** Drone models produced by Blueye. */
|
|
595
644
|
var Model;
|
|
596
645
|
(function (Model) {
|
|
@@ -720,11 +769,13 @@ var Resolution;
|
|
|
720
769
|
(function (Resolution) {
|
|
721
770
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
722
771
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
723
|
-
/**
|
|
724
|
-
Resolution[Resolution["
|
|
725
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
772
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
773
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
774
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
726
775
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
727
|
-
/**
|
|
776
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
777
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
778
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
728
779
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
729
780
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
730
781
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -733,12 +784,15 @@ function resolutionFromJSON(object) {
|
|
|
733
784
|
case 0:
|
|
734
785
|
case "RESOLUTION_UNSPECIFIED":
|
|
735
786
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
736
|
-
case
|
|
737
|
-
case "
|
|
738
|
-
return Resolution.
|
|
787
|
+
case 4:
|
|
788
|
+
case "RESOLUTION_VGA_480P":
|
|
789
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
739
790
|
case 2:
|
|
740
791
|
case "RESOLUTION_HD_720P":
|
|
741
792
|
return Resolution.RESOLUTION_HD_720P;
|
|
793
|
+
case 1:
|
|
794
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
795
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
742
796
|
case 3:
|
|
743
797
|
case "RESOLUTION_UHD_4K":
|
|
744
798
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -752,10 +806,12 @@ function resolutionToJSON(object) {
|
|
|
752
806
|
switch (object) {
|
|
753
807
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
754
808
|
return "RESOLUTION_UNSPECIFIED";
|
|
755
|
-
case Resolution.
|
|
756
|
-
return "
|
|
809
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
810
|
+
return "RESOLUTION_VGA_480P";
|
|
757
811
|
case Resolution.RESOLUTION_HD_720P:
|
|
758
812
|
return "RESOLUTION_HD_720P";
|
|
813
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
814
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
759
815
|
case Resolution.RESOLUTION_UHD_4K:
|
|
760
816
|
return "RESOLUTION_UHD_4K";
|
|
761
817
|
case Resolution.UNRECOGNIZED:
|
|
@@ -770,7 +826,7 @@ var Framerate;
|
|
|
770
826
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
771
827
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
772
828
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
773
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
829
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
774
830
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
775
831
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
776
832
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -845,6 +901,46 @@ function cameraToJSON(object) {
|
|
|
845
901
|
return "UNRECOGNIZED";
|
|
846
902
|
}
|
|
847
903
|
}
|
|
904
|
+
var StreamingProtocol;
|
|
905
|
+
(function (StreamingProtocol) {
|
|
906
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
907
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
908
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
909
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
910
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
911
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
912
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
913
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
914
|
+
function streamingProtocolFromJSON(object) {
|
|
915
|
+
switch (object) {
|
|
916
|
+
case 0:
|
|
917
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
918
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
919
|
+
case 1:
|
|
920
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
921
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
922
|
+
case 2:
|
|
923
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
924
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
925
|
+
case -1:
|
|
926
|
+
case "UNRECOGNIZED":
|
|
927
|
+
default:
|
|
928
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
function streamingProtocolToJSON(object) {
|
|
932
|
+
switch (object) {
|
|
933
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
934
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
935
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
936
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
937
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
938
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
939
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
940
|
+
default:
|
|
941
|
+
return "UNRECOGNIZED";
|
|
942
|
+
}
|
|
943
|
+
}
|
|
848
944
|
/** Available temperature units. */
|
|
849
945
|
var TemperatureUnit;
|
|
850
946
|
(function (TemperatureUnit) {
|
|
@@ -3696,6 +3792,7 @@ function createBaseRecordState() {
|
|
|
3696
3792
|
multibeamIsRecording: false,
|
|
3697
3793
|
multibeamSeconds: 0,
|
|
3698
3794
|
multibeamFps: 0,
|
|
3795
|
+
storageLocation: 0,
|
|
3699
3796
|
};
|
|
3700
3797
|
}
|
|
3701
3798
|
exports.RecordState = {
|
|
@@ -3727,6 +3824,9 @@ exports.RecordState = {
|
|
|
3727
3824
|
if (message.multibeamFps !== 0) {
|
|
3728
3825
|
writer.uint32(77).float(message.multibeamFps);
|
|
3729
3826
|
}
|
|
3827
|
+
if (message.storageLocation !== 0) {
|
|
3828
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
3829
|
+
}
|
|
3730
3830
|
return writer;
|
|
3731
3831
|
},
|
|
3732
3832
|
decode(input, length) {
|
|
@@ -3799,6 +3899,13 @@ exports.RecordState = {
|
|
|
3799
3899
|
message.multibeamFps = reader.float();
|
|
3800
3900
|
continue;
|
|
3801
3901
|
}
|
|
3902
|
+
case 10: {
|
|
3903
|
+
if (tag !== 80) {
|
|
3904
|
+
break;
|
|
3905
|
+
}
|
|
3906
|
+
message.storageLocation = reader.int32();
|
|
3907
|
+
continue;
|
|
3908
|
+
}
|
|
3802
3909
|
}
|
|
3803
3910
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3804
3911
|
break;
|
|
@@ -3818,6 +3925,7 @@ exports.RecordState = {
|
|
|
3818
3925
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3819
3926
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3820
3927
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
3928
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3821
3929
|
};
|
|
3822
3930
|
},
|
|
3823
3931
|
toJSON(message) {
|
|
@@ -3849,6 +3957,9 @@ exports.RecordState = {
|
|
|
3849
3957
|
if (message.multibeamFps !== 0) {
|
|
3850
3958
|
obj.multibeamFps = message.multibeamFps;
|
|
3851
3959
|
}
|
|
3960
|
+
if (message.storageLocation !== 0) {
|
|
3961
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
3962
|
+
}
|
|
3852
3963
|
return obj;
|
|
3853
3964
|
},
|
|
3854
3965
|
create(base) {
|
|
@@ -3865,6 +3976,7 @@ exports.RecordState = {
|
|
|
3865
3976
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3866
3977
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3867
3978
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
3979
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3868
3980
|
return message;
|
|
3869
3981
|
},
|
|
3870
3982
|
};
|
|
@@ -9565,9 +9677,20 @@ function createBaseCameraParameters() {
|
|
|
9565
9677
|
whiteBalance: 0,
|
|
9566
9678
|
hue: 0,
|
|
9567
9679
|
gain: 0,
|
|
9680
|
+
brightness: 0,
|
|
9681
|
+
contrast: 0,
|
|
9682
|
+
saturation: 0,
|
|
9683
|
+
gamma: 0,
|
|
9684
|
+
sharpness: 0,
|
|
9685
|
+
backlightCompensation: 0,
|
|
9686
|
+
denoise: 0,
|
|
9687
|
+
ehdrEnabled: false,
|
|
9688
|
+
ehdrExposureMinNumber: 0,
|
|
9689
|
+
ehdrExposureMaxNumber: 0,
|
|
9568
9690
|
resolution: 0,
|
|
9569
9691
|
streamResolution: 0,
|
|
9570
9692
|
recordingResolution: 0,
|
|
9693
|
+
streamingProtocol: 0,
|
|
9571
9694
|
framerate: 0,
|
|
9572
9695
|
camera: 0,
|
|
9573
9696
|
};
|
|
@@ -9592,6 +9715,36 @@ exports.CameraParameters = {
|
|
|
9592
9715
|
if (message.gain !== 0) {
|
|
9593
9716
|
writer.uint32(77).float(message.gain);
|
|
9594
9717
|
}
|
|
9718
|
+
if (message.brightness !== 0) {
|
|
9719
|
+
writer.uint32(96).int32(message.brightness);
|
|
9720
|
+
}
|
|
9721
|
+
if (message.contrast !== 0) {
|
|
9722
|
+
writer.uint32(104).int32(message.contrast);
|
|
9723
|
+
}
|
|
9724
|
+
if (message.saturation !== 0) {
|
|
9725
|
+
writer.uint32(112).int32(message.saturation);
|
|
9726
|
+
}
|
|
9727
|
+
if (message.gamma !== 0) {
|
|
9728
|
+
writer.uint32(120).int32(message.gamma);
|
|
9729
|
+
}
|
|
9730
|
+
if (message.sharpness !== 0) {
|
|
9731
|
+
writer.uint32(128).int32(message.sharpness);
|
|
9732
|
+
}
|
|
9733
|
+
if (message.backlightCompensation !== 0) {
|
|
9734
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
9735
|
+
}
|
|
9736
|
+
if (message.denoise !== 0) {
|
|
9737
|
+
writer.uint32(144).int32(message.denoise);
|
|
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
|
+
}
|
|
9595
9748
|
if (message.resolution !== 0) {
|
|
9596
9749
|
writer.uint32(48).int32(message.resolution);
|
|
9597
9750
|
}
|
|
@@ -9601,6 +9754,9 @@ exports.CameraParameters = {
|
|
|
9601
9754
|
if (message.recordingResolution !== 0) {
|
|
9602
9755
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9603
9756
|
}
|
|
9757
|
+
if (message.streamingProtocol !== 0) {
|
|
9758
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
9759
|
+
}
|
|
9604
9760
|
if (message.framerate !== 0) {
|
|
9605
9761
|
writer.uint32(56).int32(message.framerate);
|
|
9606
9762
|
}
|
|
@@ -9658,6 +9814,76 @@ exports.CameraParameters = {
|
|
|
9658
9814
|
message.gain = reader.float();
|
|
9659
9815
|
continue;
|
|
9660
9816
|
}
|
|
9817
|
+
case 12: {
|
|
9818
|
+
if (tag !== 96) {
|
|
9819
|
+
break;
|
|
9820
|
+
}
|
|
9821
|
+
message.brightness = reader.int32();
|
|
9822
|
+
continue;
|
|
9823
|
+
}
|
|
9824
|
+
case 13: {
|
|
9825
|
+
if (tag !== 104) {
|
|
9826
|
+
break;
|
|
9827
|
+
}
|
|
9828
|
+
message.contrast = reader.int32();
|
|
9829
|
+
continue;
|
|
9830
|
+
}
|
|
9831
|
+
case 14: {
|
|
9832
|
+
if (tag !== 112) {
|
|
9833
|
+
break;
|
|
9834
|
+
}
|
|
9835
|
+
message.saturation = reader.int32();
|
|
9836
|
+
continue;
|
|
9837
|
+
}
|
|
9838
|
+
case 15: {
|
|
9839
|
+
if (tag !== 120) {
|
|
9840
|
+
break;
|
|
9841
|
+
}
|
|
9842
|
+
message.gamma = reader.int32();
|
|
9843
|
+
continue;
|
|
9844
|
+
}
|
|
9845
|
+
case 16: {
|
|
9846
|
+
if (tag !== 128) {
|
|
9847
|
+
break;
|
|
9848
|
+
}
|
|
9849
|
+
message.sharpness = reader.int32();
|
|
9850
|
+
continue;
|
|
9851
|
+
}
|
|
9852
|
+
case 17: {
|
|
9853
|
+
if (tag !== 136) {
|
|
9854
|
+
break;
|
|
9855
|
+
}
|
|
9856
|
+
message.backlightCompensation = reader.int32();
|
|
9857
|
+
continue;
|
|
9858
|
+
}
|
|
9859
|
+
case 18: {
|
|
9860
|
+
if (tag !== 144) {
|
|
9861
|
+
break;
|
|
9862
|
+
}
|
|
9863
|
+
message.denoise = reader.int32();
|
|
9864
|
+
continue;
|
|
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
|
+
}
|
|
9661
9887
|
case 6: {
|
|
9662
9888
|
if (tag !== 48) {
|
|
9663
9889
|
break;
|
|
@@ -9679,6 +9905,13 @@ exports.CameraParameters = {
|
|
|
9679
9905
|
message.recordingResolution = reader.int32();
|
|
9680
9906
|
continue;
|
|
9681
9907
|
}
|
|
9908
|
+
case 20: {
|
|
9909
|
+
if (tag !== 160) {
|
|
9910
|
+
break;
|
|
9911
|
+
}
|
|
9912
|
+
message.streamingProtocol = reader.int32();
|
|
9913
|
+
continue;
|
|
9914
|
+
}
|
|
9682
9915
|
case 7: {
|
|
9683
9916
|
if (tag !== 56) {
|
|
9684
9917
|
break;
|
|
@@ -9709,9 +9942,20 @@ exports.CameraParameters = {
|
|
|
9709
9942
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9710
9943
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9711
9944
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
9945
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
9946
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
9947
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
9948
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
9949
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
9950
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
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,
|
|
9712
9955
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9713
9956
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9714
9957
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
9958
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9715
9959
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9716
9960
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9717
9961
|
};
|
|
@@ -9736,6 +9980,36 @@ exports.CameraParameters = {
|
|
|
9736
9980
|
if (message.gain !== 0) {
|
|
9737
9981
|
obj.gain = message.gain;
|
|
9738
9982
|
}
|
|
9983
|
+
if (message.brightness !== 0) {
|
|
9984
|
+
obj.brightness = Math.round(message.brightness);
|
|
9985
|
+
}
|
|
9986
|
+
if (message.contrast !== 0) {
|
|
9987
|
+
obj.contrast = Math.round(message.contrast);
|
|
9988
|
+
}
|
|
9989
|
+
if (message.saturation !== 0) {
|
|
9990
|
+
obj.saturation = Math.round(message.saturation);
|
|
9991
|
+
}
|
|
9992
|
+
if (message.gamma !== 0) {
|
|
9993
|
+
obj.gamma = Math.round(message.gamma);
|
|
9994
|
+
}
|
|
9995
|
+
if (message.sharpness !== 0) {
|
|
9996
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
9997
|
+
}
|
|
9998
|
+
if (message.backlightCompensation !== 0) {
|
|
9999
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10000
|
+
}
|
|
10001
|
+
if (message.denoise !== 0) {
|
|
10002
|
+
obj.denoise = Math.round(message.denoise);
|
|
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
|
+
}
|
|
9739
10013
|
if (message.resolution !== 0) {
|
|
9740
10014
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9741
10015
|
}
|
|
@@ -9745,6 +10019,9 @@ exports.CameraParameters = {
|
|
|
9745
10019
|
if (message.recordingResolution !== 0) {
|
|
9746
10020
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9747
10021
|
}
|
|
10022
|
+
if (message.streamingProtocol !== 0) {
|
|
10023
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10024
|
+
}
|
|
9748
10025
|
if (message.framerate !== 0) {
|
|
9749
10026
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9750
10027
|
}
|
|
@@ -9764,9 +10041,20 @@ exports.CameraParameters = {
|
|
|
9764
10041
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9765
10042
|
message.hue = object.hue ?? 0;
|
|
9766
10043
|
message.gain = object.gain ?? 0;
|
|
10044
|
+
message.brightness = object.brightness ?? 0;
|
|
10045
|
+
message.contrast = object.contrast ?? 0;
|
|
10046
|
+
message.saturation = object.saturation ?? 0;
|
|
10047
|
+
message.gamma = object.gamma ?? 0;
|
|
10048
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10049
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10050
|
+
message.denoise = object.denoise ?? 0;
|
|
10051
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10052
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10053
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9767
10054
|
message.resolution = object.resolution ?? 0;
|
|
9768
10055
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9769
10056
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10057
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9770
10058
|
message.framerate = object.framerate ?? 0;
|
|
9771
10059
|
message.camera = object.camera ?? 0;
|
|
9772
10060
|
return message;
|