@blueyerobotics/protocol-definitions 3.2.0-0a6e99a1
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/LICENSE +165 -0
- package/README.md +40 -0
- package/README.npm.md +40 -0
- package/dist/aquatroll.d.ts +435 -0
- package/dist/aquatroll.js +3160 -0
- package/dist/control.d.ts +277 -0
- package/dist/control.js +2129 -0
- package/dist/google/protobuf/any.d.ts +132 -0
- package/dist/google/protobuf/any.js +121 -0
- package/dist/google/protobuf/duration.d.ts +92 -0
- package/dist/google/protobuf/duration.js +106 -0
- package/dist/google/protobuf/timestamp.d.ts +121 -0
- package/dist/google/protobuf/timestamp.js +106 -0
- package/dist/index.blueye.d.ts +1 -0
- package/dist/index.blueye.js +42 -0
- package/dist/index.blueye.protocol.d.ts +6 -0
- package/dist/index.blueye.protocol.js +27 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.google.d.ts +1 -0
- package/dist/index.google.js +42 -0
- package/dist/index.google.protobuf.d.ts +3 -0
- package/dist/index.google.protobuf.js +24 -0
- package/dist/index.js +43 -0
- package/dist/message_formats.d.ts +2084 -0
- package/dist/message_formats.js +13397 -0
- package/dist/mission_planning.d.ts +346 -0
- package/dist/mission_planning.js +2317 -0
- package/dist/req_rep.d.ts +262 -0
- package/dist/req_rep.js +1919 -0
- package/dist/telemetry.d.ts +389 -0
- package/dist/telemetry.js +3260 -0
- package/package.json +25 -0
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { LatLongPosition, MultibeamServo, TiltAngle } from "./message_formats";
|
|
3
|
+
/**
|
|
4
|
+
* Mission Planning Protocol.
|
|
5
|
+
*
|
|
6
|
+
* These messages are used to start a mission and to monitor the status of the mission.
|
|
7
|
+
*/
|
|
8
|
+
/** Depth zero reference from surface for depth, and seabed for altitude. */
|
|
9
|
+
export declare enum DepthZeroReference {
|
|
10
|
+
DEPTH_ZERO_REFERENCE_UNSPECIFIED = 0,
|
|
11
|
+
DEPTH_ZERO_REFERENCE_SURFACE = 1,
|
|
12
|
+
DEPTH_ZERO_REFERENCE_SEABED = 2,
|
|
13
|
+
UNRECOGNIZED = -1
|
|
14
|
+
}
|
|
15
|
+
export declare function depthZeroReferenceFromJSON(object: any): DepthZeroReference;
|
|
16
|
+
export declare function depthZeroReferenceToJSON(object: DepthZeroReference): string;
|
|
17
|
+
/** Control mode for the vertical axis of the drone. */
|
|
18
|
+
export declare enum ControlModeVertical {
|
|
19
|
+
/** CONTROL_MODE_VERTICAL_UNSPECIFIED - Unspecified. */
|
|
20
|
+
CONTROL_MODE_VERTICAL_UNSPECIFIED = 0,
|
|
21
|
+
/** CONTROL_MODE_VERTICAL_MANUAL - Manual control mode. */
|
|
22
|
+
CONTROL_MODE_VERTICAL_MANUAL = 1,
|
|
23
|
+
/** CONTROL_MODE_VERTICAL_AUTO_DEPTH - Auto depth control mode. */
|
|
24
|
+
CONTROL_MODE_VERTICAL_AUTO_DEPTH = 2,
|
|
25
|
+
/** CONTROL_MODE_VERTICAL_AUTO_ALTITUDE - Auto altitude control mode. */
|
|
26
|
+
CONTROL_MODE_VERTICAL_AUTO_ALTITUDE = 3,
|
|
27
|
+
UNRECOGNIZED = -1
|
|
28
|
+
}
|
|
29
|
+
export declare function controlModeVerticalFromJSON(object: any): ControlModeVertical;
|
|
30
|
+
export declare function controlModeVerticalToJSON(object: ControlModeVertical): string;
|
|
31
|
+
/** Control mode for the horizontal axis of the drone. */
|
|
32
|
+
export declare enum ControlModeHorizontal {
|
|
33
|
+
/** CONTROL_MODE_HORIZONTAL_UNSPECIFIED - Unspecified. */
|
|
34
|
+
CONTROL_MODE_HORIZONTAL_UNSPECIFIED = 0,
|
|
35
|
+
/** CONTROL_MODE_HORIZONTAL_MANUAL - Manual control mode. */
|
|
36
|
+
CONTROL_MODE_HORIZONTAL_MANUAL = 1,
|
|
37
|
+
/** CONTROL_MODE_HORIZONTAL_AUTO_HEADING - Auto heading control mode. */
|
|
38
|
+
CONTROL_MODE_HORIZONTAL_AUTO_HEADING = 2,
|
|
39
|
+
/** CONTROL_MODE_HORIZONTAL_STATION_KEEPING - Station keeping control mode. */
|
|
40
|
+
CONTROL_MODE_HORIZONTAL_STATION_KEEPING = 3,
|
|
41
|
+
UNRECOGNIZED = -1
|
|
42
|
+
}
|
|
43
|
+
export declare function controlModeHorizontalFromJSON(object: any): ControlModeHorizontal;
|
|
44
|
+
export declare function controlModeHorizontalToJSON(object: ControlModeHorizontal): string;
|
|
45
|
+
/** List of available camera actions. */
|
|
46
|
+
export declare enum CameraAction {
|
|
47
|
+
/** CAMERA_ACTION_UNSPECIFIED - Unspecified command. */
|
|
48
|
+
CAMERA_ACTION_UNSPECIFIED = 0,
|
|
49
|
+
/** CAMERA_ACTION_TAKE_PHOTO - Take one photo. */
|
|
50
|
+
CAMERA_ACTION_TAKE_PHOTO = 1,
|
|
51
|
+
/** CAMERA_ACTION_TAKE_PHOTOS_TIME - Take a photo every x second. */
|
|
52
|
+
CAMERA_ACTION_TAKE_PHOTOS_TIME = 2,
|
|
53
|
+
/** CAMERA_ACTION_TAKE_PHOTOS_DISTANCE - Take a photo every x meter. */
|
|
54
|
+
CAMERA_ACTION_TAKE_PHOTOS_DISTANCE = 3,
|
|
55
|
+
/** CAMERA_ACTION_STOP_TAKING_PHOTOS - Stop taking photos. */
|
|
56
|
+
CAMERA_ACTION_STOP_TAKING_PHOTOS = 4,
|
|
57
|
+
/** CAMERA_ACTION_START_RECORDING - Start recording. */
|
|
58
|
+
CAMERA_ACTION_START_RECORDING = 5,
|
|
59
|
+
/** CAMERA_ACTION_STOP_RECORDING - Stop recording. */
|
|
60
|
+
CAMERA_ACTION_STOP_RECORDING = 6,
|
|
61
|
+
UNRECOGNIZED = -1
|
|
62
|
+
}
|
|
63
|
+
export declare function cameraActionFromJSON(object: any): CameraAction;
|
|
64
|
+
export declare function cameraActionToJSON(object: CameraAction): string;
|
|
65
|
+
/** List of available instruction types. */
|
|
66
|
+
export declare enum InstructionType {
|
|
67
|
+
/** INSTRUCTION_TYPE_UNSPECIFIED - Unspecified. */
|
|
68
|
+
INSTRUCTION_TYPE_UNSPECIFIED = 0,
|
|
69
|
+
/** INSTRUCTION_TYPE_NONE - None. */
|
|
70
|
+
INSTRUCTION_TYPE_NONE = 1,
|
|
71
|
+
/** INSTRUCTION_TYPE_GO_TO_WAYPOINT - Go to waypoint. */
|
|
72
|
+
INSTRUCTION_TYPE_GO_TO_WAYPOINT = 2,
|
|
73
|
+
/** INSTRUCTION_TYPE_GO_TO_WAYPOINT_WITH_DEPTH_SET_POINT - Go to waypoint with depth set point. */
|
|
74
|
+
INSTRUCTION_TYPE_GO_TO_WAYPOINT_WITH_DEPTH_SET_POINT = 3,
|
|
75
|
+
/** INSTRUCTION_TYPE_GO_TO_DEPTH_SET_POINT - Go to depth set point. */
|
|
76
|
+
INSTRUCTION_TYPE_GO_TO_DEPTH_SET_POINT = 4,
|
|
77
|
+
/** INSTRUCTION_TYPE_SET_CAMERA_ACTION - Command used to take photo repeatedly or start, stop recording. */
|
|
78
|
+
INSTRUCTION_TYPE_SET_CAMERA_ACTION = 5,
|
|
79
|
+
/** INSTRUCTION_TYPE_SET_CONTROL_MODE - Sets a new control mode. */
|
|
80
|
+
INSTRUCTION_TYPE_SET_CONTROL_MODE = 6,
|
|
81
|
+
/** INSTRUCTION_TYPE_SET_TILT_MAIN_CAMERA - Sets a new angle for the tilt servo. */
|
|
82
|
+
INSTRUCTION_TYPE_SET_TILT_MAIN_CAMERA = 7,
|
|
83
|
+
/** INSTRUCTION_TYPE_SET_TILT_SERVO - Sets a new angle for the tilt servo. */
|
|
84
|
+
INSTRUCTION_TYPE_SET_TILT_SERVO = 8,
|
|
85
|
+
/** INSTRUCTION_TYPE_WAIT_FOR_SEC - Waiting for requested time in seconds. */
|
|
86
|
+
INSTRUCTION_TYPE_WAIT_FOR_SEC = 9,
|
|
87
|
+
/** INSTRUCTION_TYPE_GO_TO_SURFACE - Go to the surface. */
|
|
88
|
+
INSTRUCTION_TYPE_GO_TO_SURFACE = 10,
|
|
89
|
+
/** INSTRUCTION_TYPE_GO_TO_SEABED - Go to the seabed. */
|
|
90
|
+
INSTRUCTION_TYPE_GO_TO_SEABED = 11,
|
|
91
|
+
/** INSTRUCTION_TYPE_GO_TO_HOME - Returning to home. */
|
|
92
|
+
INSTRUCTION_TYPE_GO_TO_HOME = 12,
|
|
93
|
+
UNRECOGNIZED = -1
|
|
94
|
+
}
|
|
95
|
+
export declare function instructionTypeFromJSON(object: any): InstructionType;
|
|
96
|
+
export declare function instructionTypeToJSON(object: InstructionType): string;
|
|
97
|
+
/** List of mission supervisor states. */
|
|
98
|
+
export declare enum MissionState {
|
|
99
|
+
/** MISSION_STATE_UNSPECIFIED - Unspecified. */
|
|
100
|
+
MISSION_STATE_UNSPECIFIED = 0,
|
|
101
|
+
/** MISSION_STATE_INACTIVE - Mission supervisor is inactive. */
|
|
102
|
+
MISSION_STATE_INACTIVE = 1,
|
|
103
|
+
/** MISSION_STATE_READY - Ready to start mission. */
|
|
104
|
+
MISSION_STATE_READY = 2,
|
|
105
|
+
/** MISSION_STATE_RUNNING - Mission is running. */
|
|
106
|
+
MISSION_STATE_RUNNING = 3,
|
|
107
|
+
/** MISSION_STATE_PAUSED - Mission is paused. */
|
|
108
|
+
MISSION_STATE_PAUSED = 4,
|
|
109
|
+
/** MISSION_STATE_COMPLETED - Mission is completed. */
|
|
110
|
+
MISSION_STATE_COMPLETED = 5,
|
|
111
|
+
/** MISSION_STATE_ABORTED - Mission is aborted by the mission supervisor. */
|
|
112
|
+
MISSION_STATE_ABORTED = 6,
|
|
113
|
+
/** MISSION_STATE_FAILED_TO_LOAD_MISSION - Mission has failed to load. */
|
|
114
|
+
MISSION_STATE_FAILED_TO_LOAD_MISSION = 7,
|
|
115
|
+
/** MISSION_STATE_FAILED_TO_START_MISSION - Mission has failed to start. */
|
|
116
|
+
MISSION_STATE_FAILED_TO_START_MISSION = 8,
|
|
117
|
+
UNRECOGNIZED = -1
|
|
118
|
+
}
|
|
119
|
+
export declare function missionStateFromJSON(object: any): MissionState;
|
|
120
|
+
export declare function missionStateToJSON(object: MissionState): string;
|
|
121
|
+
/** A list of waypoints describes a mission that the auto pilot can execute. */
|
|
122
|
+
export interface Mission {
|
|
123
|
+
/** Mission id, defined by the client. */
|
|
124
|
+
id: number;
|
|
125
|
+
/** Mission name provided from the app. */
|
|
126
|
+
name: string;
|
|
127
|
+
/** List of instructions in the mission. */
|
|
128
|
+
instructions: Instruction[];
|
|
129
|
+
/** Calculated path segments from the reference generator (optional). */
|
|
130
|
+
pathSegments: PathSegment[];
|
|
131
|
+
/** Total distance of the mission (m) (optional). */
|
|
132
|
+
totalDistance: number;
|
|
133
|
+
/** Total duration time of the mission (s) (optional). */
|
|
134
|
+
totalDurationTime: number;
|
|
135
|
+
/** Default cruise speed of the mission (m/s) (optional). */
|
|
136
|
+
defaultSurgeSpeed: number;
|
|
137
|
+
/** Default heave speed of the mission (m/s) (optional). */
|
|
138
|
+
defaultHeaveSpeed: number;
|
|
139
|
+
/** Default circle of acceptance for waypoints (m) (optional). */
|
|
140
|
+
defaultCircleOfAcceptance: number;
|
|
141
|
+
}
|
|
142
|
+
/** A mission consists of one or multiple instructions. One instruction can be of different types. */
|
|
143
|
+
export interface Instruction {
|
|
144
|
+
id: number;
|
|
145
|
+
/** Group id used for polygons. */
|
|
146
|
+
groupId: number;
|
|
147
|
+
/** False will pause the mission after this instruction. */
|
|
148
|
+
autoContinue: boolean;
|
|
149
|
+
/** Go to waypoint. */
|
|
150
|
+
waypointCommand?: WaypointCommand | undefined;
|
|
151
|
+
/** Go to depth. */
|
|
152
|
+
depthSetPointCommand?: DepthSetPointCommand | undefined;
|
|
153
|
+
/** Camera commands. */
|
|
154
|
+
cameraCommand?: CameraCommand | undefined;
|
|
155
|
+
/** Set control modes. */
|
|
156
|
+
controlModeCommand?: ControlModeCommand | undefined;
|
|
157
|
+
/** Set camera to angle x. */
|
|
158
|
+
tiltMainCameraCommand?: TiltMainCameraCommand | undefined;
|
|
159
|
+
/** Set multibeam tilt angle. */
|
|
160
|
+
tiltMultibeamCommand?: TiltMultibeamCommand | undefined;
|
|
161
|
+
/** Wait for x seconds. */
|
|
162
|
+
waitForCommand?: WaitForCommand | undefined;
|
|
163
|
+
/** Go to surface. */
|
|
164
|
+
goToSurfaceCommand?: GoToSurfaceCommand | undefined;
|
|
165
|
+
/** Go to seabed. */
|
|
166
|
+
goToSeabedCommand?: GoToSeabedCommand | undefined;
|
|
167
|
+
/** Go to home position. */
|
|
168
|
+
goToHomeCommand?: GoToHomeCommand | undefined;
|
|
169
|
+
}
|
|
170
|
+
/** Depth set point is used to describe a depth set-point relative to the surface or the seabed. */
|
|
171
|
+
export interface DepthSetPoint {
|
|
172
|
+
/** Desired depth at the wp (m). */
|
|
173
|
+
depth: number;
|
|
174
|
+
/** Desired speed to desired depth set point (m/s). */
|
|
175
|
+
speedToDepth: number;
|
|
176
|
+
/** Used to distinguish desired altitude or depth. */
|
|
177
|
+
depthZeroReference: DepthZeroReference;
|
|
178
|
+
}
|
|
179
|
+
/** Waypoints used to describe a path for the auto pilot. */
|
|
180
|
+
export interface Waypoint {
|
|
181
|
+
/** Waypoint id. */
|
|
182
|
+
id: number;
|
|
183
|
+
/** Waypoint name provided from the app. */
|
|
184
|
+
name: string;
|
|
185
|
+
/** Position if the waypoint (decimal degrees). */
|
|
186
|
+
globalPosition: LatLongPosition | undefined;
|
|
187
|
+
/** Radius of the acceptance circle around the waypoint (m). */
|
|
188
|
+
circleOfAcceptance: number;
|
|
189
|
+
/** Desired speed over ground to waypoint (m/s). */
|
|
190
|
+
speedToTarget: number;
|
|
191
|
+
/** Depth set point (optional). */
|
|
192
|
+
depthSetPoint: DepthSetPoint | undefined;
|
|
193
|
+
}
|
|
194
|
+
/** A ControlModeCommand is used to set vertical and horizontal control mode during a mission. */
|
|
195
|
+
export interface ControlModeCommand {
|
|
196
|
+
/** Desired control mode in heave. */
|
|
197
|
+
controlModeVertical: ControlModeVertical;
|
|
198
|
+
/** Desired control mode in surge and yaw. */
|
|
199
|
+
controlModeHorizontal: ControlModeHorizontal;
|
|
200
|
+
}
|
|
201
|
+
/** A WaypointCommand will request the drone to drive to a point automatically. */
|
|
202
|
+
export interface WaypointCommand {
|
|
203
|
+
/** Waypoint to go to. */
|
|
204
|
+
waypoint: Waypoint | undefined;
|
|
205
|
+
}
|
|
206
|
+
/** A DepthSetPointCommand is used to go to a desired depth or altitude. */
|
|
207
|
+
export interface DepthSetPointCommand {
|
|
208
|
+
/** Depth set point to go to. */
|
|
209
|
+
depthSetPoint: DepthSetPoint | undefined;
|
|
210
|
+
}
|
|
211
|
+
/** The TiltMainCameraCommand can set the desired camera tilt angle. */
|
|
212
|
+
export interface TiltMainCameraCommand {
|
|
213
|
+
/** Tilt angle of the camera (-30..30). */
|
|
214
|
+
tiltAngle: TiltAngle | undefined;
|
|
215
|
+
}
|
|
216
|
+
/** The TiltMultibeamCommand is used to set the tilt angle of the servo. */
|
|
217
|
+
export interface TiltMultibeamCommand {
|
|
218
|
+
/** Tilt angle for the multibeam servo. */
|
|
219
|
+
multibeamServo: MultibeamServo | undefined;
|
|
220
|
+
}
|
|
221
|
+
/** WaitForCommand is used to wait during a mission. */
|
|
222
|
+
export interface WaitForCommand {
|
|
223
|
+
/** Wait for x seconds. */
|
|
224
|
+
waitForSeconds: number;
|
|
225
|
+
}
|
|
226
|
+
/** CameraCommands are used to control the camera from a mission. */
|
|
227
|
+
export interface CameraCommand {
|
|
228
|
+
/** Camera command. */
|
|
229
|
+
cameraAction: CameraAction;
|
|
230
|
+
/** Used for taking photos based on a time or distance interval. */
|
|
231
|
+
actionParam: number;
|
|
232
|
+
}
|
|
233
|
+
/** GoToSurfaceCommand is used to go to the surface. */
|
|
234
|
+
export interface GoToSurfaceCommand {
|
|
235
|
+
/** Desired speed to surface (m/s). */
|
|
236
|
+
desiredSpeed: number;
|
|
237
|
+
}
|
|
238
|
+
/** GoToSeabedCommand is used to go to the seabed. */
|
|
239
|
+
export interface GoToSeabedCommand {
|
|
240
|
+
/** Desired speed to seabed (m/s). */
|
|
241
|
+
desiredSpeed: number;
|
|
242
|
+
}
|
|
243
|
+
/** GoToHomeCommand is used to go to the home position. */
|
|
244
|
+
export interface GoToHomeCommand {
|
|
245
|
+
/** Desired speed to home (m/s). */
|
|
246
|
+
desiredSpeed: number;
|
|
247
|
+
}
|
|
248
|
+
/** Path segment used to describe segments of a mission as a line between to waypoints. */
|
|
249
|
+
export interface PathSegment {
|
|
250
|
+
/** Path segment id starting at 0, -1 for inactive. */
|
|
251
|
+
id: number;
|
|
252
|
+
/** Desired speed over ground in (m/s). */
|
|
253
|
+
speedToTarget: number;
|
|
254
|
+
/** Course to target relative to north (rad) [-pi, pi]. */
|
|
255
|
+
courseToTarget: number;
|
|
256
|
+
/** Desired speed in heave (m/s). */
|
|
257
|
+
depthSpeed: number;
|
|
258
|
+
/** Horizontal length of the path segment (m). */
|
|
259
|
+
horizontalLength: number;
|
|
260
|
+
/** Vertical length of the path segment (m). */
|
|
261
|
+
verticalLength: number;
|
|
262
|
+
/** Id of the starting waypoint. */
|
|
263
|
+
fromWpId: number;
|
|
264
|
+
/** Id of the ending waypoint. */
|
|
265
|
+
toWpId: number;
|
|
266
|
+
/** Estimated time it takes to complete given length and desired speed (s). */
|
|
267
|
+
durationTime: number;
|
|
268
|
+
}
|
|
269
|
+
/** Reference for the auto pilot when a mission is active. */
|
|
270
|
+
export interface ReferenceAutoPilot {
|
|
271
|
+
/** Instruction type. */
|
|
272
|
+
instructionType: InstructionType;
|
|
273
|
+
/** Id of the active instruction. */
|
|
274
|
+
activeInstructionId: number;
|
|
275
|
+
/** Id of the active path segment. */
|
|
276
|
+
activePathSegmentId: number;
|
|
277
|
+
/** Course to the next waypoint from north (rad) [-pi, pi]. */
|
|
278
|
+
courseToTarget: number;
|
|
279
|
+
/** Desired speed over ground (m/s). */
|
|
280
|
+
speedOverGround: number;
|
|
281
|
+
/** Horizontal distance to the next waypoint (m). */
|
|
282
|
+
horizontalDistanceToTarget: number;
|
|
283
|
+
/** Circle of acceptance to mark waypoint as visited (m). */
|
|
284
|
+
circleOfAcceptance: number;
|
|
285
|
+
/** Desired depth set point (m). */
|
|
286
|
+
depthSetPoint: number;
|
|
287
|
+
/** Desired heave velocity (m/s). */
|
|
288
|
+
heaveVelocity: number;
|
|
289
|
+
/** Vertical distance to the next waypoint (m). */
|
|
290
|
+
verticalDistanceToTarget: number;
|
|
291
|
+
/** Indicates if depth is measured from the surface or seabed. */
|
|
292
|
+
depthZeroReference: DepthZeroReference;
|
|
293
|
+
/** Estimated time to complete the instruction (s). */
|
|
294
|
+
timeToComplete: number;
|
|
295
|
+
}
|
|
296
|
+
/** Mission Status is used for showing the status of the mission. */
|
|
297
|
+
export interface MissionStatus {
|
|
298
|
+
/** State of the mission supervisor. */
|
|
299
|
+
state: MissionState;
|
|
300
|
+
/** Time elapsed since mission started (s). */
|
|
301
|
+
timeElapsed: number;
|
|
302
|
+
/** Estimated time to complete the mission (s). */
|
|
303
|
+
estimatedTimeToComplete: number;
|
|
304
|
+
/** Distance left of the mission (m). */
|
|
305
|
+
distanceToComplete: number;
|
|
306
|
+
/** Ids of the completed instructions. */
|
|
307
|
+
completedInstructionIds: number[];
|
|
308
|
+
/** Total number of instructions in the mission. */
|
|
309
|
+
totalNumberOfInstructions: number;
|
|
310
|
+
/** Ids of the completed path segments. */
|
|
311
|
+
completedPathSegmentIds: number[];
|
|
312
|
+
/** Total number of path segments in the mission. */
|
|
313
|
+
totalNumberOfPathSegments: number;
|
|
314
|
+
/** Mission id of the active mission. */
|
|
315
|
+
id: number;
|
|
316
|
+
}
|
|
317
|
+
export declare const Mission: MessageFns<Mission>;
|
|
318
|
+
export declare const Instruction: MessageFns<Instruction>;
|
|
319
|
+
export declare const DepthSetPoint: MessageFns<DepthSetPoint>;
|
|
320
|
+
export declare const Waypoint: MessageFns<Waypoint>;
|
|
321
|
+
export declare const ControlModeCommand: MessageFns<ControlModeCommand>;
|
|
322
|
+
export declare const WaypointCommand: MessageFns<WaypointCommand>;
|
|
323
|
+
export declare const DepthSetPointCommand: MessageFns<DepthSetPointCommand>;
|
|
324
|
+
export declare const TiltMainCameraCommand: MessageFns<TiltMainCameraCommand>;
|
|
325
|
+
export declare const TiltMultibeamCommand: MessageFns<TiltMultibeamCommand>;
|
|
326
|
+
export declare const WaitForCommand: MessageFns<WaitForCommand>;
|
|
327
|
+
export declare const CameraCommand: MessageFns<CameraCommand>;
|
|
328
|
+
export declare const GoToSurfaceCommand: MessageFns<GoToSurfaceCommand>;
|
|
329
|
+
export declare const GoToSeabedCommand: MessageFns<GoToSeabedCommand>;
|
|
330
|
+
export declare const GoToHomeCommand: MessageFns<GoToHomeCommand>;
|
|
331
|
+
export declare const PathSegment: MessageFns<PathSegment>;
|
|
332
|
+
export declare const ReferenceAutoPilot: MessageFns<ReferenceAutoPilot>;
|
|
333
|
+
export declare const MissionStatus: MessageFns<MissionStatus>;
|
|
334
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
335
|
+
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 {} ? {
|
|
336
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
337
|
+
} : Partial<T>;
|
|
338
|
+
interface MessageFns<T> {
|
|
339
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
340
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
341
|
+
fromJSON(object: any): T;
|
|
342
|
+
toJSON(message: T): unknown;
|
|
343
|
+
create(base?: DeepPartial<T>): T;
|
|
344
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
345
|
+
}
|
|
346
|
+
export {};
|