@blueyerobotics/protocol-definitions 3.2.0-5739a6ac → 3.2.0-763012c2
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/aquatroll.js +1 -1
- package/dist/control.d.ts +6 -2
- package/dist/control.js +40 -9
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +135 -8
- package/dist/message_formats.js +660 -14
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +9 -1
- package/dist/telemetry.js +74 -2
- package/package.json +1 -1
package/dist/aquatroll.js
CHANGED
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: control.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -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
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/any.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/duration.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/timestamp.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/index.blueye.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
package/dist/index.google.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
@@ -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,15 @@ 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
|
-
/**
|
|
213
|
+
/** RESOLUTION_VGA - VGA (640x480). */
|
|
214
|
+
RESOLUTION_VGA = 4,
|
|
215
|
+
/** RESOLUTION_SVGA - SVGA (800x600). */
|
|
216
|
+
RESOLUTION_SVGA = 5,
|
|
217
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
200
218
|
RESOLUTION_HD_720P = 2,
|
|
201
|
-
/**
|
|
219
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
220
|
+
RESOLUTION_FULLHD_1080P = 1,
|
|
221
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
|
|
202
222
|
RESOLUTION_UHD_4K = 3,
|
|
203
223
|
UNRECOGNIZED = -1
|
|
204
224
|
}
|
|
@@ -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. */
|
|
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,8 @@ 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,
|
|
393
426
|
UNRECOGNIZED = -1
|
|
394
427
|
}
|
|
395
428
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -491,6 +524,46 @@ export interface BinlogRecord {
|
|
|
491
524
|
/** Posix CLOCK_MONOTONIC timestamp. */
|
|
492
525
|
clockMonotonic: Date | undefined;
|
|
493
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
* Log entry
|
|
529
|
+
*
|
|
530
|
+
* Used to store ROS log entries in the bez file
|
|
531
|
+
*/
|
|
532
|
+
export interface LogEntry {
|
|
533
|
+
/** Timestamp of the log entry. */
|
|
534
|
+
timestamp: Date | undefined;
|
|
535
|
+
/** Name of the process that generated the log entry. */
|
|
536
|
+
processName: string;
|
|
537
|
+
/** Process ID of the log entry. */
|
|
538
|
+
processId: number;
|
|
539
|
+
/** Thread ID of the log entry. */
|
|
540
|
+
threadId: number;
|
|
541
|
+
/** Source of the log entry (specific class or named logger). */
|
|
542
|
+
source: string;
|
|
543
|
+
/** Log level, info, warning, error, etc. */
|
|
544
|
+
level: LogEntry_LogLevel;
|
|
545
|
+
/** Log message. */
|
|
546
|
+
message: string;
|
|
547
|
+
}
|
|
548
|
+
export declare enum LogEntry_LogLevel {
|
|
549
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
550
|
+
LOG_LEVEL_UNSPECIFIED = 0,
|
|
551
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
552
|
+
LOG_LEVEL_TRACE = 1,
|
|
553
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
554
|
+
LOG_LEVEL_DEBUG = 2,
|
|
555
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
556
|
+
LOG_LEVEL_INFO = 3,
|
|
557
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
558
|
+
LOG_LEVEL_WARNING = 4,
|
|
559
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
560
|
+
LOG_LEVEL_ERROR = 5,
|
|
561
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
562
|
+
LOG_LEVEL_CRITICAL = 6,
|
|
563
|
+
UNRECOGNIZED = -1
|
|
564
|
+
}
|
|
565
|
+
export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
|
|
566
|
+
export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
|
|
494
567
|
/** If you use both values at the same time they cancel each other out. */
|
|
495
568
|
export interface MotionInput {
|
|
496
569
|
/** Forward (positive) and backwards (negative) movement. (-1..1). */
|
|
@@ -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,22 +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
|
|
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;
|
|
1416
1503
|
/** Stream, recording and image resolution (deprecated). */
|
|
1417
1504
|
resolution: Resolution;
|
|
1418
1505
|
/** Stream resolution. */
|
|
1419
1506
|
streamResolution: Resolution;
|
|
1420
1507
|
/** Recording and image resolution. */
|
|
1421
1508
|
recordingResolution: Resolution;
|
|
1509
|
+
/** Streaming protocol. */
|
|
1510
|
+
streamingProtocol: StreamingProtocol;
|
|
1422
1511
|
/** Stream and recording framerate. */
|
|
1423
1512
|
framerate: Framerate;
|
|
1424
1513
|
/** Which camera the parameters belong to. */
|
|
1425
1514
|
camera: Camera;
|
|
1515
|
+
/** Prioritize fixed frame rate over quality on Ultra. */
|
|
1516
|
+
fixedFramerate: boolean;
|
|
1426
1517
|
}
|
|
1427
1518
|
/**
|
|
1428
1519
|
* Overlay parameters.
|
|
@@ -1802,8 +1893,42 @@ export interface CPUInfo {
|
|
|
1802
1893
|
mainQueueLoad: number;
|
|
1803
1894
|
/** Guestport queue load (0..1). */
|
|
1804
1895
|
guestportQueueLoad: number;
|
|
1896
|
+
/** Communication queue load (0..1). */
|
|
1897
|
+
commQueueLoad: number;
|
|
1898
|
+
}
|
|
1899
|
+
/**
|
|
1900
|
+
* Surface Unit battery information.
|
|
1901
|
+
*
|
|
1902
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1903
|
+
* the drone over the communication protocol.
|
|
1904
|
+
*/
|
|
1905
|
+
export interface SurfaceUnitBatteryInfo {
|
|
1906
|
+
/** Battery charge status. */
|
|
1907
|
+
status: SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1908
|
+
/** Battery level (0..1). */
|
|
1909
|
+
level: number;
|
|
1910
|
+
}
|
|
1911
|
+
export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
|
|
1912
|
+
CHARGE_STATUS_UNSPECIFIED = 0,
|
|
1913
|
+
CHARGE_STATUS_DISCHARGE = 1,
|
|
1914
|
+
CHARGE_STATUS_CHARGE = 2,
|
|
1915
|
+
CHARGE_STATUS_CHARGE_ERROR = 3,
|
|
1916
|
+
UNRECOGNIZED = -1
|
|
1917
|
+
}
|
|
1918
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1919
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
|
|
1920
|
+
/**
|
|
1921
|
+
* Surface Unit version information.
|
|
1922
|
+
*
|
|
1923
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1924
|
+
* the drone over the communication protocol.
|
|
1925
|
+
*/
|
|
1926
|
+
export interface SurfaceUnitVersionInfo {
|
|
1927
|
+
/** Surface Unit firmware version (x.y.z). */
|
|
1928
|
+
version: string;
|
|
1805
1929
|
}
|
|
1806
1930
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1931
|
+
export declare const LogEntry: MessageFns<LogEntry>;
|
|
1807
1932
|
export declare const MotionInput: MessageFns<MotionInput>;
|
|
1808
1933
|
export declare const Lights: MessageFns<Lights>;
|
|
1809
1934
|
export declare const Laser: MessageFns<Laser>;
|
|
@@ -1889,6 +2014,8 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
|
1889
2014
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
1890
2015
|
export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
|
|
1891
2016
|
export declare const CPUInfo: MessageFns<CPUInfo>;
|
|
2017
|
+
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2018
|
+
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
1892
2019
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1893
2020
|
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
2021
|
[K in keyof T]?: DeepPartial<T[K]>;
|