@blueyerobotics/protocol-definitions 3.2.0-6025f25a → 3.2.0-66350af4
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 +19 -1
- package/dist/control.js +135 -7
- package/dist/message_formats.d.ts +154 -7
- package/dist/message_formats.js +899 -15
- package/dist/mission_planning.d.ts +54 -0
- package/dist/mission_planning.js +243 -1
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +191 -1
- package/dist/telemetry.d.ts +52 -1
- package/dist/telemetry.js +380 -5
- 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, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
|
|
3
|
+
import { AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, CameraPanTiltZoom, ConnectionDuration, FilterMessage, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, OperatorInfo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
|
|
4
4
|
/**
|
|
5
5
|
* Control
|
|
6
6
|
*
|
|
@@ -200,6 +200,8 @@ export interface DeactivateMultibeamCtrl {
|
|
|
200
200
|
* at which point the user entered the dive view.
|
|
201
201
|
*/
|
|
202
202
|
export interface StartDiveCtrl {
|
|
203
|
+
/** Optional information about the operator who started the dive. */
|
|
204
|
+
operatorInfo: OperatorInfo | undefined;
|
|
203
205
|
}
|
|
204
206
|
/**
|
|
205
207
|
* Message sent when the user hits the end dive button in the app.
|
|
@@ -219,6 +221,20 @@ export interface EndDiveCtrl {
|
|
|
219
221
|
*/
|
|
220
222
|
export interface FormatRemovableStorageDeviceCtrl {
|
|
221
223
|
}
|
|
224
|
+
/** Message sent when the user wants to set turbidity filter settings. */
|
|
225
|
+
export interface SetTurbidityFilterCtrl {
|
|
226
|
+
/** Message with the turbidity filter settings to set. */
|
|
227
|
+
turbidityFilter: FilterMessage | undefined;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Issue a command to set the digital pan, tilt, and zoom of the main camera.
|
|
231
|
+
*
|
|
232
|
+
* Only supported on X3 Ultra.
|
|
233
|
+
*/
|
|
234
|
+
export interface CameraPanTiltZoomCtrl {
|
|
235
|
+
/** The desired pan, tilt, and zoom state. */
|
|
236
|
+
cameraPanTiltZoom: CameraPanTiltZoom | undefined;
|
|
237
|
+
}
|
|
222
238
|
export declare const MotionInputCtrl: MessageFns<MotionInputCtrl>;
|
|
223
239
|
export declare const TiltVelocityCtrl: MessageFns<TiltVelocityCtrl>;
|
|
224
240
|
export declare const LightsCtrl: MessageFns<LightsCtrl>;
|
|
@@ -262,6 +278,8 @@ export declare const DeactivateMultibeamCtrl: MessageFns<DeactivateMultibeamCtrl
|
|
|
262
278
|
export declare const StartDiveCtrl: MessageFns<StartDiveCtrl>;
|
|
263
279
|
export declare const EndDiveCtrl: MessageFns<EndDiveCtrl>;
|
|
264
280
|
export declare const FormatRemovableStorageDeviceCtrl: MessageFns<FormatRemovableStorageDeviceCtrl>;
|
|
281
|
+
export declare const SetTurbidityFilterCtrl: MessageFns<SetTurbidityFilterCtrl>;
|
|
282
|
+
export declare const CameraPanTiltZoomCtrl: MessageFns<CameraPanTiltZoomCtrl>;
|
|
265
283
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
266
284
|
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 {} ? {
|
|
267
285
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/dist/control.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: control.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
|
|
8
|
+
exports.CameraPanTiltZoomCtrl = exports.SetTurbidityFilterCtrl = exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const aquatroll_1 = require("./aquatroll");
|
|
@@ -1999,10 +1999,13 @@ exports.DeactivateMultibeamCtrl = {
|
|
|
1999
1999
|
},
|
|
2000
2000
|
};
|
|
2001
2001
|
function createBaseStartDiveCtrl() {
|
|
2002
|
-
return {};
|
|
2002
|
+
return { operatorInfo: undefined };
|
|
2003
2003
|
}
|
|
2004
2004
|
exports.StartDiveCtrl = {
|
|
2005
|
-
encode(
|
|
2005
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2006
|
+
if (message.operatorInfo !== undefined) {
|
|
2007
|
+
message_formats_1.OperatorInfo.encode(message.operatorInfo, writer.uint32(10).fork()).join();
|
|
2008
|
+
}
|
|
2006
2009
|
return writer;
|
|
2007
2010
|
},
|
|
2008
2011
|
decode(input, length) {
|
|
@@ -2012,6 +2015,13 @@ exports.StartDiveCtrl = {
|
|
|
2012
2015
|
while (reader.pos < end) {
|
|
2013
2016
|
const tag = reader.uint32();
|
|
2014
2017
|
switch (tag >>> 3) {
|
|
2018
|
+
case 1: {
|
|
2019
|
+
if (tag !== 10) {
|
|
2020
|
+
break;
|
|
2021
|
+
}
|
|
2022
|
+
message.operatorInfo = message_formats_1.OperatorInfo.decode(reader, reader.uint32());
|
|
2023
|
+
continue;
|
|
2024
|
+
}
|
|
2015
2025
|
}
|
|
2016
2026
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2017
2027
|
break;
|
|
@@ -2020,18 +2030,24 @@ exports.StartDiveCtrl = {
|
|
|
2020
2030
|
}
|
|
2021
2031
|
return message;
|
|
2022
2032
|
},
|
|
2023
|
-
fromJSON(
|
|
2024
|
-
return {};
|
|
2033
|
+
fromJSON(object) {
|
|
2034
|
+
return { operatorInfo: isSet(object.operatorInfo) ? message_formats_1.OperatorInfo.fromJSON(object.operatorInfo) : undefined };
|
|
2025
2035
|
},
|
|
2026
|
-
toJSON(
|
|
2036
|
+
toJSON(message) {
|
|
2027
2037
|
const obj = {};
|
|
2038
|
+
if (message.operatorInfo !== undefined) {
|
|
2039
|
+
obj.operatorInfo = message_formats_1.OperatorInfo.toJSON(message.operatorInfo);
|
|
2040
|
+
}
|
|
2028
2041
|
return obj;
|
|
2029
2042
|
},
|
|
2030
2043
|
create(base) {
|
|
2031
2044
|
return exports.StartDiveCtrl.fromPartial(base ?? {});
|
|
2032
2045
|
},
|
|
2033
|
-
fromPartial(
|
|
2046
|
+
fromPartial(object) {
|
|
2034
2047
|
const message = createBaseStartDiveCtrl();
|
|
2048
|
+
message.operatorInfo = (object.operatorInfo !== undefined && object.operatorInfo !== null)
|
|
2049
|
+
? message_formats_1.OperatorInfo.fromPartial(object.operatorInfo)
|
|
2050
|
+
: undefined;
|
|
2035
2051
|
return message;
|
|
2036
2052
|
},
|
|
2037
2053
|
};
|
|
@@ -2109,6 +2125,118 @@ exports.FormatRemovableStorageDeviceCtrl = {
|
|
|
2109
2125
|
return message;
|
|
2110
2126
|
},
|
|
2111
2127
|
};
|
|
2128
|
+
function createBaseSetTurbidityFilterCtrl() {
|
|
2129
|
+
return { turbidityFilter: undefined };
|
|
2130
|
+
}
|
|
2131
|
+
exports.SetTurbidityFilterCtrl = {
|
|
2132
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2133
|
+
if (message.turbidityFilter !== undefined) {
|
|
2134
|
+
message_formats_1.FilterMessage.encode(message.turbidityFilter, writer.uint32(10).fork()).join();
|
|
2135
|
+
}
|
|
2136
|
+
return writer;
|
|
2137
|
+
},
|
|
2138
|
+
decode(input, length) {
|
|
2139
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2140
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2141
|
+
const message = createBaseSetTurbidityFilterCtrl();
|
|
2142
|
+
while (reader.pos < end) {
|
|
2143
|
+
const tag = reader.uint32();
|
|
2144
|
+
switch (tag >>> 3) {
|
|
2145
|
+
case 1: {
|
|
2146
|
+
if (tag !== 10) {
|
|
2147
|
+
break;
|
|
2148
|
+
}
|
|
2149
|
+
message.turbidityFilter = message_formats_1.FilterMessage.decode(reader, reader.uint32());
|
|
2150
|
+
continue;
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2154
|
+
break;
|
|
2155
|
+
}
|
|
2156
|
+
reader.skip(tag & 7);
|
|
2157
|
+
}
|
|
2158
|
+
return message;
|
|
2159
|
+
},
|
|
2160
|
+
fromJSON(object) {
|
|
2161
|
+
return {
|
|
2162
|
+
turbidityFilter: isSet(object.turbidityFilter) ? message_formats_1.FilterMessage.fromJSON(object.turbidityFilter) : undefined,
|
|
2163
|
+
};
|
|
2164
|
+
},
|
|
2165
|
+
toJSON(message) {
|
|
2166
|
+
const obj = {};
|
|
2167
|
+
if (message.turbidityFilter !== undefined) {
|
|
2168
|
+
obj.turbidityFilter = message_formats_1.FilterMessage.toJSON(message.turbidityFilter);
|
|
2169
|
+
}
|
|
2170
|
+
return obj;
|
|
2171
|
+
},
|
|
2172
|
+
create(base) {
|
|
2173
|
+
return exports.SetTurbidityFilterCtrl.fromPartial(base ?? {});
|
|
2174
|
+
},
|
|
2175
|
+
fromPartial(object) {
|
|
2176
|
+
const message = createBaseSetTurbidityFilterCtrl();
|
|
2177
|
+
message.turbidityFilter = (object.turbidityFilter !== undefined && object.turbidityFilter !== null)
|
|
2178
|
+
? message_formats_1.FilterMessage.fromPartial(object.turbidityFilter)
|
|
2179
|
+
: undefined;
|
|
2180
|
+
return message;
|
|
2181
|
+
},
|
|
2182
|
+
};
|
|
2183
|
+
function createBaseCameraPanTiltZoomCtrl() {
|
|
2184
|
+
return { cameraPanTiltZoom: undefined };
|
|
2185
|
+
}
|
|
2186
|
+
exports.CameraPanTiltZoomCtrl = {
|
|
2187
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2188
|
+
if (message.cameraPanTiltZoom !== undefined) {
|
|
2189
|
+
message_formats_1.CameraPanTiltZoom.encode(message.cameraPanTiltZoom, writer.uint32(10).fork()).join();
|
|
2190
|
+
}
|
|
2191
|
+
return writer;
|
|
2192
|
+
},
|
|
2193
|
+
decode(input, length) {
|
|
2194
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2195
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2196
|
+
const message = createBaseCameraPanTiltZoomCtrl();
|
|
2197
|
+
while (reader.pos < end) {
|
|
2198
|
+
const tag = reader.uint32();
|
|
2199
|
+
switch (tag >>> 3) {
|
|
2200
|
+
case 1: {
|
|
2201
|
+
if (tag !== 10) {
|
|
2202
|
+
break;
|
|
2203
|
+
}
|
|
2204
|
+
message.cameraPanTiltZoom = message_formats_1.CameraPanTiltZoom.decode(reader, reader.uint32());
|
|
2205
|
+
continue;
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2209
|
+
break;
|
|
2210
|
+
}
|
|
2211
|
+
reader.skip(tag & 7);
|
|
2212
|
+
}
|
|
2213
|
+
return message;
|
|
2214
|
+
},
|
|
2215
|
+
fromJSON(object) {
|
|
2216
|
+
return {
|
|
2217
|
+
cameraPanTiltZoom: isSet(object.cameraPanTiltZoom)
|
|
2218
|
+
? message_formats_1.CameraPanTiltZoom.fromJSON(object.cameraPanTiltZoom)
|
|
2219
|
+
: undefined,
|
|
2220
|
+
};
|
|
2221
|
+
},
|
|
2222
|
+
toJSON(message) {
|
|
2223
|
+
const obj = {};
|
|
2224
|
+
if (message.cameraPanTiltZoom !== undefined) {
|
|
2225
|
+
obj.cameraPanTiltZoom = message_formats_1.CameraPanTiltZoom.toJSON(message.cameraPanTiltZoom);
|
|
2226
|
+
}
|
|
2227
|
+
return obj;
|
|
2228
|
+
},
|
|
2229
|
+
create(base) {
|
|
2230
|
+
return exports.CameraPanTiltZoomCtrl.fromPartial(base ?? {});
|
|
2231
|
+
},
|
|
2232
|
+
fromPartial(object) {
|
|
2233
|
+
const message = createBaseCameraPanTiltZoomCtrl();
|
|
2234
|
+
message.cameraPanTiltZoom = (object.cameraPanTiltZoom !== undefined && object.cameraPanTiltZoom !== null)
|
|
2235
|
+
? message_formats_1.CameraPanTiltZoom.fromPartial(object.cameraPanTiltZoom)
|
|
2236
|
+
: undefined;
|
|
2237
|
+
return message;
|
|
2238
|
+
},
|
|
2239
|
+
};
|
|
2112
2240
|
const gt = (() => {
|
|
2113
2241
|
if (typeof globalThis !== "undefined") {
|
|
2114
2242
|
return globalThis;
|
|
@@ -184,6 +184,8 @@ export declare enum Model {
|
|
|
184
184
|
MODEL_X3 = 3,
|
|
185
185
|
/** MODEL_X3_ULTRA - Blueye X3 Ultra. */
|
|
186
186
|
MODEL_X3_ULTRA = 6,
|
|
187
|
+
/** MODEL_X7 - Blueye X7. */
|
|
188
|
+
MODEL_X7 = 7,
|
|
187
189
|
/** MODEL_NEXT - Blueye ? */
|
|
188
190
|
MODEL_NEXT = 5,
|
|
189
191
|
UNRECOGNIZED = -1
|
|
@@ -218,11 +220,18 @@ export declare enum Resolution {
|
|
|
218
220
|
RESOLUTION_FULLHD_1080P = 1,
|
|
219
221
|
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
220
222
|
RESOLUTION_UHD_4K = 3,
|
|
223
|
+
/** RESOLUTION_QHD_2K - 2K QHD (2560x1440, Only supported on X3 Ultra). */
|
|
224
|
+
RESOLUTION_QHD_2K = 5,
|
|
221
225
|
UNRECOGNIZED = -1
|
|
222
226
|
}
|
|
223
227
|
export declare function resolutionFromJSON(object: any): Resolution;
|
|
224
228
|
export declare function resolutionToJSON(object: Resolution): string;
|
|
225
|
-
/**
|
|
229
|
+
/**
|
|
230
|
+
* Available camera frame rates.
|
|
231
|
+
*
|
|
232
|
+
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
233
|
+
* the frame rate will be reduced while the resolution is respected.
|
|
234
|
+
*/
|
|
226
235
|
export declare enum Framerate {
|
|
227
236
|
/** FRAMERATE_UNSPECIFIED - Framerate not specified. */
|
|
228
237
|
FRAMERATE_UNSPECIFIED = 0,
|
|
@@ -230,6 +239,8 @@ export declare enum Framerate {
|
|
|
230
239
|
FRAMERATE_FPS_30 = 1,
|
|
231
240
|
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
232
241
|
FRAMERATE_FPS_25 = 2,
|
|
242
|
+
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
243
|
+
FRAMERATE_FPS_60 = 3,
|
|
233
244
|
UNRECOGNIZED = -1
|
|
234
245
|
}
|
|
235
246
|
export declare function framerateFromJSON(object: any): Framerate;
|
|
@@ -419,8 +430,12 @@ export declare enum GuestPortDeviceID {
|
|
|
419
430
|
GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
|
|
420
431
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
421
432
|
GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
|
|
422
|
-
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
433
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
423
434
|
GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
|
|
435
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
436
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 = 46,
|
|
437
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
438
|
+
GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT = 47,
|
|
424
439
|
UNRECOGNIZED = -1
|
|
425
440
|
}
|
|
426
441
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -562,6 +577,49 @@ export declare enum LogEntry_LogLevel {
|
|
|
562
577
|
}
|
|
563
578
|
export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
|
|
564
579
|
export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
|
|
580
|
+
export interface KernelLogEntry {
|
|
581
|
+
/** Log level, info, warning, error, etc. */
|
|
582
|
+
level: KernelLogEntry_KernelLogLevel;
|
|
583
|
+
/** Sequence number of the log entry. */
|
|
584
|
+
seqnum: number;
|
|
585
|
+
/** Timestamp of the log entry. */
|
|
586
|
+
timestamp: Date | undefined;
|
|
587
|
+
/** Log messages. */
|
|
588
|
+
messages: string[];
|
|
589
|
+
/** List of key-value pairs. */
|
|
590
|
+
fields: KernelLogEntry_KeyValuePair[];
|
|
591
|
+
}
|
|
592
|
+
/** Kernel log level. */
|
|
593
|
+
export declare enum KernelLogEntry_KernelLogLevel {
|
|
594
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
595
|
+
KERNEL_LOG_LEVEL_UNSPECIFIED = 0,
|
|
596
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
597
|
+
KERNEL_LOG_LEVEL_EMERG = 1,
|
|
598
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
599
|
+
KERNEL_LOG_LEVEL_ALERT = 2,
|
|
600
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
601
|
+
KERNEL_LOG_LEVEL_CRIT = 3,
|
|
602
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
603
|
+
KERNEL_LOG_LEVEL_ERR = 4,
|
|
604
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
605
|
+
KERNEL_LOG_LEVEL_WARNING = 5,
|
|
606
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
607
|
+
KERNEL_LOG_LEVEL_NOTICE = 6,
|
|
608
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
609
|
+
KERNEL_LOG_LEVEL_INFO = 7,
|
|
610
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
611
|
+
KERNEL_LOG_LEVEL_DEBUG = 8,
|
|
612
|
+
UNRECOGNIZED = -1
|
|
613
|
+
}
|
|
614
|
+
export declare function kernelLogEntry_KernelLogLevelFromJSON(object: any): KernelLogEntry_KernelLogLevel;
|
|
615
|
+
export declare function kernelLogEntry_KernelLogLevelToJSON(object: KernelLogEntry_KernelLogLevel): string;
|
|
616
|
+
/** Key-value pair used for structured logging. */
|
|
617
|
+
export interface KernelLogEntry_KeyValuePair {
|
|
618
|
+
/** Key of the key-value pair. */
|
|
619
|
+
key: string;
|
|
620
|
+
/** Value of the key-value pair. */
|
|
621
|
+
value: string;
|
|
622
|
+
}
|
|
565
623
|
/** If you use both values at the same time they cancel each other out. */
|
|
566
624
|
export interface MotionInput {
|
|
567
625
|
/** Forward (positive) and backwards (negative) movement. (-1..1). */
|
|
@@ -731,8 +789,12 @@ export interface RecordState {
|
|
|
731
789
|
multibeamSeconds: number;
|
|
732
790
|
/** Multibeam record fps. */
|
|
733
791
|
multibeamFps: number;
|
|
734
|
-
/** Storage location used for recording. */
|
|
735
|
-
|
|
792
|
+
/** Storage location used for main camera recording. */
|
|
793
|
+
mainStorageLocation: StorageLocation;
|
|
794
|
+
/** Storage location used for guestport camera recording. */
|
|
795
|
+
guestportStorageLocation: StorageLocation;
|
|
796
|
+
/** Storage location used for multibeam recording. */
|
|
797
|
+
multibeamStorageLocation: StorageLocation;
|
|
736
798
|
}
|
|
737
799
|
/** Time-lapse state published if time-lapse mission is running. */
|
|
738
800
|
export interface TimeLapseState {
|
|
@@ -1226,6 +1288,8 @@ export interface StoragePartition {
|
|
|
1226
1288
|
devicePath: string;
|
|
1227
1289
|
/** Mount path of the partition. */
|
|
1228
1290
|
mountPath: string;
|
|
1291
|
+
/** Label of the partition. */
|
|
1292
|
+
label: string;
|
|
1229
1293
|
}
|
|
1230
1294
|
/** Removable storage device. */
|
|
1231
1295
|
export interface RemovableStorageDevice {
|
|
@@ -1248,10 +1312,12 @@ export declare enum RemovableStorageDevice_Status {
|
|
|
1248
1312
|
STATUS_UNSPECIFIED = 0,
|
|
1249
1313
|
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1250
1314
|
STATUS_READY = 1,
|
|
1251
|
-
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
1315
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
1252
1316
|
STATUS_FORMATTING = 2,
|
|
1253
1317
|
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1254
1318
|
STATUS_ERROR = 3,
|
|
1319
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
1320
|
+
STATUS_UNPLUGGED = 4,
|
|
1255
1321
|
UNRECOGNIZED = -1
|
|
1256
1322
|
}
|
|
1257
1323
|
export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
|
|
@@ -1518,6 +1584,12 @@ export interface CameraParameters {
|
|
|
1518
1584
|
framerate: Framerate;
|
|
1519
1585
|
/** Which camera the parameters belong to. */
|
|
1520
1586
|
camera: Camera;
|
|
1587
|
+
/**
|
|
1588
|
+
* Network MTU (Maximum Transmission Unit) size for video streaming in bytes (68..65535).
|
|
1589
|
+
* If 0 or unset, the system will use a default of 1400.
|
|
1590
|
+
* The Blueye App allows users to set values between 500 and 1460.
|
|
1591
|
+
*/
|
|
1592
|
+
mtuSize: number;
|
|
1521
1593
|
}
|
|
1522
1594
|
/**
|
|
1523
1595
|
* Overlay parameters.
|
|
@@ -1743,8 +1815,7 @@ export interface MultibeamPing {
|
|
|
1743
1815
|
/** Size in bytes of each row in the ping data image. */
|
|
1744
1816
|
step: number;
|
|
1745
1817
|
/**
|
|
1746
|
-
* Bearing angle of each column of the sonar data
|
|
1747
|
-
* (in 100th of a degree, multiply by 0.01 to get a value in degrees).
|
|
1818
|
+
* Bearing angle of each column of the sonar data in degrees.
|
|
1748
1819
|
* The sonar image is not sampled uniformly in the bearing direction.
|
|
1749
1820
|
*/
|
|
1750
1821
|
bearings: number[];
|
|
@@ -1931,8 +2002,78 @@ export interface SurfaceUnitVersionInfo {
|
|
|
1931
2002
|
/** Surface Unit firmware version (x.y.z). */
|
|
1932
2003
|
version: string;
|
|
1933
2004
|
}
|
|
2005
|
+
/**
|
|
2006
|
+
* Bounding box for object detection.
|
|
2007
|
+
*
|
|
2008
|
+
* Coordinates are in pixels relative to the camera image,
|
|
2009
|
+
* where (x, y) is the top-left corner of the bounding box.
|
|
2010
|
+
*/
|
|
2011
|
+
export interface BoundingBox {
|
|
2012
|
+
/** Horizontal offset of the top-left corner (px). */
|
|
2013
|
+
x: number;
|
|
2014
|
+
/** Vertical offset of the top-left corner (px). */
|
|
2015
|
+
y: number;
|
|
2016
|
+
/** Width of the bounding box (px). */
|
|
2017
|
+
width: number;
|
|
2018
|
+
/** Height of the bounding box (px). */
|
|
2019
|
+
height: number;
|
|
2020
|
+
}
|
|
2021
|
+
/** A single object detection from a computer vision model. */
|
|
2022
|
+
export interface ObjectDetection {
|
|
2023
|
+
/** Bounding box of the detected object. */
|
|
2024
|
+
boundingBox: BoundingBox | undefined;
|
|
2025
|
+
/** Detection confidence score (0..1). */
|
|
2026
|
+
confidence: number;
|
|
2027
|
+
/** Numeric class identifier from the model. */
|
|
2028
|
+
classId: number;
|
|
2029
|
+
/** Human-readable class name. */
|
|
2030
|
+
className: string;
|
|
2031
|
+
/** Unique ID for tracking the same object across frames. */
|
|
2032
|
+
trackingId: number;
|
|
2033
|
+
}
|
|
2034
|
+
/** A list of object detections from a single video frame. */
|
|
2035
|
+
export interface ObjectDetections {
|
|
2036
|
+
/** List of detections in the frame. */
|
|
2037
|
+
detections: ObjectDetection[];
|
|
2038
|
+
/** Which camera the detections are from. */
|
|
2039
|
+
camera: Camera;
|
|
2040
|
+
}
|
|
2041
|
+
/** Generic filter settings. */
|
|
2042
|
+
export interface FilterMessage {
|
|
2043
|
+
/** If the filter is enabled. */
|
|
2044
|
+
enabled: boolean;
|
|
2045
|
+
/** Intensity of the filter (0..1). */
|
|
2046
|
+
intensity: number;
|
|
2047
|
+
}
|
|
2048
|
+
/**
|
|
2049
|
+
* Digital pan, tilt, and zoom state for the main camera.
|
|
2050
|
+
*
|
|
2051
|
+
* Only supported on X3 Ultra. Controls digital (not mechanical) zoom.
|
|
2052
|
+
*/
|
|
2053
|
+
export interface CameraPanTiltZoom {
|
|
2054
|
+
/** Horizontal pan (-1.0..1.0), where 0.0 is center. */
|
|
2055
|
+
pan: number;
|
|
2056
|
+
/** Vertical tilt (-1.0..1.0), where 0.0 is center. */
|
|
2057
|
+
tilt: number;
|
|
2058
|
+
/** Zoom level (0.0..1.0), where 0.0 is no zoom and 1.0 is maximum zoom. */
|
|
2059
|
+
zoom: number;
|
|
2060
|
+
}
|
|
2061
|
+
/**
|
|
2062
|
+
* Information about the operator controlling the drone.
|
|
2063
|
+
*
|
|
2064
|
+
* Used to identify who started a dive, for reporting and when importing
|
|
2065
|
+
* dives to Blueye Cloud.
|
|
2066
|
+
*/
|
|
2067
|
+
export interface OperatorInfo {
|
|
2068
|
+
/** Full name of the operator. */
|
|
2069
|
+
name: string;
|
|
2070
|
+
/** E-mail address of the operator. */
|
|
2071
|
+
email: string;
|
|
2072
|
+
}
|
|
1934
2073
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1935
2074
|
export declare const LogEntry: MessageFns<LogEntry>;
|
|
2075
|
+
export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
|
|
2076
|
+
export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyValuePair>;
|
|
1936
2077
|
export declare const MotionInput: MessageFns<MotionInput>;
|
|
1937
2078
|
export declare const Lights: MessageFns<Lights>;
|
|
1938
2079
|
export declare const Laser: MessageFns<Laser>;
|
|
@@ -2020,6 +2161,12 @@ export declare const PersistentStorageSettings: MessageFns<PersistentStorageSett
|
|
|
2020
2161
|
export declare const CPUInfo: MessageFns<CPUInfo>;
|
|
2021
2162
|
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2022
2163
|
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
2164
|
+
export declare const BoundingBox: MessageFns<BoundingBox>;
|
|
2165
|
+
export declare const ObjectDetection: MessageFns<ObjectDetection>;
|
|
2166
|
+
export declare const ObjectDetections: MessageFns<ObjectDetections>;
|
|
2167
|
+
export declare const FilterMessage: MessageFns<FilterMessage>;
|
|
2168
|
+
export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
|
|
2169
|
+
export declare const OperatorInfo: MessageFns<OperatorInfo>;
|
|
2023
2170
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
2024
2171
|
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 {} ? {
|
|
2025
2172
|
[K in keyof T]?: DeepPartial<T[K]>;
|