mavsdk-types 1.0.0
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/README.md +24 -0
- package/action/ActionServiceClientPb.ts +985 -0
- package/action/action_pb.d.ts +875 -0
- package/action/action_pb.js +7317 -0
- package/action_server/Action_serverServiceClientPb.ts +408 -0
- package/action_server/action_server_pb.d.ts +571 -0
- package/action_server/action_server_pb.js +4624 -0
- package/calibration/CalibrationServiceClientPb.ts +192 -0
- package/calibration/calibration_pb.d.ts +306 -0
- package/calibration/calibration_pb.js +2501 -0
- package/camera/CameraServiceClientPb.ts +838 -0
- package/camera/camera_pb.d.ts +1260 -0
- package/camera/camera_pb.js +10338 -0
- package/camera_server/Camera_serverServiceClientPb.ts +818 -0
- package/camera_server/camera_server_pb.d.ts +1180 -0
- package/camera_server/camera_server_pb.js +9586 -0
- package/component_information/Component_informationServiceClientPb.ts +104 -0
- package/component_information/component_information_pb.d.ts +179 -0
- package/component_information/component_information_pb.js +1445 -0
- package/component_information_server/Component_information_serverServiceClientPb.ts +104 -0
- package/component_information_server/component_information_server_pb.d.ts +183 -0
- package/component_information_server/component_information_server_pb.js +1439 -0
- package/core/CoreServiceClientPb.ts +104 -0
- package/core/core_pb.d.ts +88 -0
- package/core/core_pb.js +748 -0
- package/failure/FailureServiceClientPb.ts +82 -0
- package/failure/failure_pb.d.ts +111 -0
- package/failure/failure_pb.js +646 -0
- package/follow_me/Follow_meServiceClientPb.ts +340 -0
- package/follow_me/follow_me_pb.d.ts +369 -0
- package/follow_me/follow_me_pb.js +2990 -0
- package/ftp/FtpServiceClientPb.ts +384 -0
- package/ftp/ftp_pb.d.ts +449 -0
- package/ftp/ftp_pb.js +3674 -0
- package/ftp_server/Ftp_serverServiceClientPb.ts +82 -0
- package/ftp_server/ftp_server_pb.d.ts +72 -0
- package/ftp_server/ftp_server_pb.js +545 -0
- package/geofence/GeofenceServiceClientPb.ts +125 -0
- package/geofence/geofence_pb.d.ts +216 -0
- package/geofence/geofence_pb.js +1737 -0
- package/gimbal/GimbalServiceClientPb.ts +362 -0
- package/gimbal/gimbal_pb.d.ts +398 -0
- package/gimbal/gimbal_pb.js +3233 -0
- package/gripper/GripperServiceClientPb.ts +125 -0
- package/gripper/gripper_pb.d.ts +116 -0
- package/gripper/gripper_pb.js +880 -0
- package/info/InfoServiceClientPb.ts +254 -0
- package/info/info_pb.d.ts +377 -0
- package/info/info_pb.js +3035 -0
- package/log_files/Log_filesServiceClientPb.ts +147 -0
- package/log_files/log_files_pb.d.ts +206 -0
- package/log_files/log_files_pb.js +1667 -0
- package/manual_control/Manual_controlServiceClientPb.ts +168 -0
- package/manual_control/manual_control_pb.d.ts +157 -0
- package/manual_control/manual_control_pb.js +1232 -0
- package/mavsdk_options_pb.d.ts +10 -0
- package/mavsdk_options_pb.js +141 -0
- package/mission/MissionServiceClientPb.ts +578 -0
- package/mission/mission_pb.d.ts +749 -0
- package/mission/mission_pb.js +6095 -0
- package/mission_raw/Mission_rawServiceClientPb.ts +599 -0
- package/mission_raw/mission_raw_pb.d.ts +691 -0
- package/mission_raw/mission_raw_pb.js +5766 -0
- package/mission_raw_server/Mission_raw_serverServiceClientPb.ts +148 -0
- package/mission_raw_server/mission_raw_server_pb.d.ts +285 -0
- package/mission_raw_server/mission_raw_server_pb.js +2269 -0
- package/mocap/MocapServiceClientPb.ts +168 -0
- package/mocap/mocap_pb.d.ts +445 -0
- package/mocap/mocap_pb.js +3637 -0
- package/offboard/OffboardServiceClientPb.ts +598 -0
- package/offboard/offboard_pb.d.ts +813 -0
- package/offboard/offboard_pb.js +6771 -0
- package/package.json +15 -0
- package/param/ParamServiceClientPb.ts +383 -0
- package/param/param_pb.d.ts +469 -0
- package/param/param_pb.js +3849 -0
- package/param_server/Param_serverServiceClientPb.ts +406 -0
- package/param_server/param_server_pb.d.ts +523 -0
- package/param_server/param_server_pb.js +4371 -0
- package/rtk/RtkServiceClientPb.ts +82 -0
- package/rtk/rtk_pb.d.ts +93 -0
- package/rtk/rtk_pb.js +719 -0
- package/server_utility/Server_utilityServiceClientPb.ts +82 -0
- package/server_utility/server_utility_pb.d.ts +87 -0
- package/server_utility/server_utility_pb.js +591 -0
- package/shell/ShellServiceClientPb.ts +104 -0
- package/shell/shell_pb.d.ts +106 -0
- package/shell/shell_pb.js +822 -0
- package/telemetry/TelemetryServiceClientPb.ts +1862 -0
- package/telemetry/telemetry_pb.d.ts +3201 -0
- package/telemetry/telemetry_pb.js +26682 -0
- package/telemetry_server/Telemetry_serverServiceClientPb.ts +684 -0
- package/telemetry_server/telemetry_server_pb.d.ts +1562 -0
- package/telemetry_server/telemetry_server_pb.js +12735 -0
- package/tracking_server/Tracking_serverServiceClientPb.ts +363 -0
- package/tracking_server/tracking_server_pb.d.ts +407 -0
- package/tracking_server/tracking_server_pb.js +3366 -0
- package/transponder/TransponderServiceClientPb.ts +104 -0
- package/transponder/transponder_pb.d.ts +196 -0
- package/transponder/transponder_pb.js +1360 -0
- package/tsconfig.json +9 -0
- package/tune/TuneServiceClientPb.ts +82 -0
- package/tune/tune_pb.d.ts +122 -0
- package/tune/tune_pb.js +804 -0
- package/winch/WinchServiceClientPb.ts +491 -0
- package/winch/winch_pb.d.ts +593 -0
- package/winch/winch_pb.js +4801 -0
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for mavsdk.rpc.follow_me
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
// @ts-nocheck
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import * as grpcWeb from 'grpc-web';
|
|
15
|
+
|
|
16
|
+
import * as follow_me_follow_me_pb from '../follow_me/follow_me_pb';
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export class FollowMeServiceClient {
|
|
20
|
+
client_: grpcWeb.AbstractClientBase;
|
|
21
|
+
hostname_: string;
|
|
22
|
+
credentials_: null | { [index: string]: string; };
|
|
23
|
+
options_: null | { [index: string]: any; };
|
|
24
|
+
|
|
25
|
+
constructor (hostname: string,
|
|
26
|
+
credentials?: null | { [index: string]: string; },
|
|
27
|
+
options?: null | { [index: string]: any; }) {
|
|
28
|
+
if (!options) options = {};
|
|
29
|
+
if (!credentials) credentials = {};
|
|
30
|
+
options['format'] = 'text';
|
|
31
|
+
|
|
32
|
+
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
+
this.hostname_ = hostname;
|
|
34
|
+
this.credentials_ = credentials;
|
|
35
|
+
this.options_ = options;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
methodDescriptorGetConfig = new grpcWeb.MethodDescriptor(
|
|
39
|
+
'/mavsdk.rpc.follow_me.FollowMeService/GetConfig',
|
|
40
|
+
grpcWeb.MethodType.UNARY,
|
|
41
|
+
follow_me_follow_me_pb.GetConfigRequest,
|
|
42
|
+
follow_me_follow_me_pb.GetConfigResponse,
|
|
43
|
+
(request: follow_me_follow_me_pb.GetConfigRequest) => {
|
|
44
|
+
return request.serializeBinary();
|
|
45
|
+
},
|
|
46
|
+
follow_me_follow_me_pb.GetConfigResponse.deserializeBinary
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
getConfig(
|
|
50
|
+
request: follow_me_follow_me_pb.GetConfigRequest,
|
|
51
|
+
metadata: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.GetConfigResponse>;
|
|
52
|
+
|
|
53
|
+
getConfig(
|
|
54
|
+
request: follow_me_follow_me_pb.GetConfigRequest,
|
|
55
|
+
metadata: grpcWeb.Metadata | null,
|
|
56
|
+
callback: (err: grpcWeb.RpcError,
|
|
57
|
+
response: follow_me_follow_me_pb.GetConfigResponse) => void): grpcWeb.ClientReadableStream<follow_me_follow_me_pb.GetConfigResponse>;
|
|
58
|
+
|
|
59
|
+
getConfig(
|
|
60
|
+
request: follow_me_follow_me_pb.GetConfigRequest,
|
|
61
|
+
metadata: grpcWeb.Metadata | null,
|
|
62
|
+
callback?: (err: grpcWeb.RpcError,
|
|
63
|
+
response: follow_me_follow_me_pb.GetConfigResponse) => void) {
|
|
64
|
+
if (callback !== undefined) {
|
|
65
|
+
return this.client_.rpcCall(
|
|
66
|
+
this.hostname_ +
|
|
67
|
+
'/mavsdk.rpc.follow_me.FollowMeService/GetConfig',
|
|
68
|
+
request,
|
|
69
|
+
metadata || {},
|
|
70
|
+
this.methodDescriptorGetConfig,
|
|
71
|
+
callback);
|
|
72
|
+
}
|
|
73
|
+
return this.client_.unaryCall(
|
|
74
|
+
this.hostname_ +
|
|
75
|
+
'/mavsdk.rpc.follow_me.FollowMeService/GetConfig',
|
|
76
|
+
request,
|
|
77
|
+
metadata || {},
|
|
78
|
+
this.methodDescriptorGetConfig);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
methodDescriptorSetConfig = new grpcWeb.MethodDescriptor(
|
|
82
|
+
'/mavsdk.rpc.follow_me.FollowMeService/SetConfig',
|
|
83
|
+
grpcWeb.MethodType.UNARY,
|
|
84
|
+
follow_me_follow_me_pb.SetConfigRequest,
|
|
85
|
+
follow_me_follow_me_pb.SetConfigResponse,
|
|
86
|
+
(request: follow_me_follow_me_pb.SetConfigRequest) => {
|
|
87
|
+
return request.serializeBinary();
|
|
88
|
+
},
|
|
89
|
+
follow_me_follow_me_pb.SetConfigResponse.deserializeBinary
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
setConfig(
|
|
93
|
+
request: follow_me_follow_me_pb.SetConfigRequest,
|
|
94
|
+
metadata: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.SetConfigResponse>;
|
|
95
|
+
|
|
96
|
+
setConfig(
|
|
97
|
+
request: follow_me_follow_me_pb.SetConfigRequest,
|
|
98
|
+
metadata: grpcWeb.Metadata | null,
|
|
99
|
+
callback: (err: grpcWeb.RpcError,
|
|
100
|
+
response: follow_me_follow_me_pb.SetConfigResponse) => void): grpcWeb.ClientReadableStream<follow_me_follow_me_pb.SetConfigResponse>;
|
|
101
|
+
|
|
102
|
+
setConfig(
|
|
103
|
+
request: follow_me_follow_me_pb.SetConfigRequest,
|
|
104
|
+
metadata: grpcWeb.Metadata | null,
|
|
105
|
+
callback?: (err: grpcWeb.RpcError,
|
|
106
|
+
response: follow_me_follow_me_pb.SetConfigResponse) => void) {
|
|
107
|
+
if (callback !== undefined) {
|
|
108
|
+
return this.client_.rpcCall(
|
|
109
|
+
this.hostname_ +
|
|
110
|
+
'/mavsdk.rpc.follow_me.FollowMeService/SetConfig',
|
|
111
|
+
request,
|
|
112
|
+
metadata || {},
|
|
113
|
+
this.methodDescriptorSetConfig,
|
|
114
|
+
callback);
|
|
115
|
+
}
|
|
116
|
+
return this.client_.unaryCall(
|
|
117
|
+
this.hostname_ +
|
|
118
|
+
'/mavsdk.rpc.follow_me.FollowMeService/SetConfig',
|
|
119
|
+
request,
|
|
120
|
+
metadata || {},
|
|
121
|
+
this.methodDescriptorSetConfig);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
methodDescriptorIsActive = new grpcWeb.MethodDescriptor(
|
|
125
|
+
'/mavsdk.rpc.follow_me.FollowMeService/IsActive',
|
|
126
|
+
grpcWeb.MethodType.UNARY,
|
|
127
|
+
follow_me_follow_me_pb.IsActiveRequest,
|
|
128
|
+
follow_me_follow_me_pb.IsActiveResponse,
|
|
129
|
+
(request: follow_me_follow_me_pb.IsActiveRequest) => {
|
|
130
|
+
return request.serializeBinary();
|
|
131
|
+
},
|
|
132
|
+
follow_me_follow_me_pb.IsActiveResponse.deserializeBinary
|
|
133
|
+
);
|
|
134
|
+
|
|
135
|
+
isActive(
|
|
136
|
+
request: follow_me_follow_me_pb.IsActiveRequest,
|
|
137
|
+
metadata: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.IsActiveResponse>;
|
|
138
|
+
|
|
139
|
+
isActive(
|
|
140
|
+
request: follow_me_follow_me_pb.IsActiveRequest,
|
|
141
|
+
metadata: grpcWeb.Metadata | null,
|
|
142
|
+
callback: (err: grpcWeb.RpcError,
|
|
143
|
+
response: follow_me_follow_me_pb.IsActiveResponse) => void): grpcWeb.ClientReadableStream<follow_me_follow_me_pb.IsActiveResponse>;
|
|
144
|
+
|
|
145
|
+
isActive(
|
|
146
|
+
request: follow_me_follow_me_pb.IsActiveRequest,
|
|
147
|
+
metadata: grpcWeb.Metadata | null,
|
|
148
|
+
callback?: (err: grpcWeb.RpcError,
|
|
149
|
+
response: follow_me_follow_me_pb.IsActiveResponse) => void) {
|
|
150
|
+
if (callback !== undefined) {
|
|
151
|
+
return this.client_.rpcCall(
|
|
152
|
+
this.hostname_ +
|
|
153
|
+
'/mavsdk.rpc.follow_me.FollowMeService/IsActive',
|
|
154
|
+
request,
|
|
155
|
+
metadata || {},
|
|
156
|
+
this.methodDescriptorIsActive,
|
|
157
|
+
callback);
|
|
158
|
+
}
|
|
159
|
+
return this.client_.unaryCall(
|
|
160
|
+
this.hostname_ +
|
|
161
|
+
'/mavsdk.rpc.follow_me.FollowMeService/IsActive',
|
|
162
|
+
request,
|
|
163
|
+
metadata || {},
|
|
164
|
+
this.methodDescriptorIsActive);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
methodDescriptorSetTargetLocation = new grpcWeb.MethodDescriptor(
|
|
168
|
+
'/mavsdk.rpc.follow_me.FollowMeService/SetTargetLocation',
|
|
169
|
+
grpcWeb.MethodType.UNARY,
|
|
170
|
+
follow_me_follow_me_pb.SetTargetLocationRequest,
|
|
171
|
+
follow_me_follow_me_pb.SetTargetLocationResponse,
|
|
172
|
+
(request: follow_me_follow_me_pb.SetTargetLocationRequest) => {
|
|
173
|
+
return request.serializeBinary();
|
|
174
|
+
},
|
|
175
|
+
follow_me_follow_me_pb.SetTargetLocationResponse.deserializeBinary
|
|
176
|
+
);
|
|
177
|
+
|
|
178
|
+
setTargetLocation(
|
|
179
|
+
request: follow_me_follow_me_pb.SetTargetLocationRequest,
|
|
180
|
+
metadata: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.SetTargetLocationResponse>;
|
|
181
|
+
|
|
182
|
+
setTargetLocation(
|
|
183
|
+
request: follow_me_follow_me_pb.SetTargetLocationRequest,
|
|
184
|
+
metadata: grpcWeb.Metadata | null,
|
|
185
|
+
callback: (err: grpcWeb.RpcError,
|
|
186
|
+
response: follow_me_follow_me_pb.SetTargetLocationResponse) => void): grpcWeb.ClientReadableStream<follow_me_follow_me_pb.SetTargetLocationResponse>;
|
|
187
|
+
|
|
188
|
+
setTargetLocation(
|
|
189
|
+
request: follow_me_follow_me_pb.SetTargetLocationRequest,
|
|
190
|
+
metadata: grpcWeb.Metadata | null,
|
|
191
|
+
callback?: (err: grpcWeb.RpcError,
|
|
192
|
+
response: follow_me_follow_me_pb.SetTargetLocationResponse) => void) {
|
|
193
|
+
if (callback !== undefined) {
|
|
194
|
+
return this.client_.rpcCall(
|
|
195
|
+
this.hostname_ +
|
|
196
|
+
'/mavsdk.rpc.follow_me.FollowMeService/SetTargetLocation',
|
|
197
|
+
request,
|
|
198
|
+
metadata || {},
|
|
199
|
+
this.methodDescriptorSetTargetLocation,
|
|
200
|
+
callback);
|
|
201
|
+
}
|
|
202
|
+
return this.client_.unaryCall(
|
|
203
|
+
this.hostname_ +
|
|
204
|
+
'/mavsdk.rpc.follow_me.FollowMeService/SetTargetLocation',
|
|
205
|
+
request,
|
|
206
|
+
metadata || {},
|
|
207
|
+
this.methodDescriptorSetTargetLocation);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
methodDescriptorGetLastLocation = new grpcWeb.MethodDescriptor(
|
|
211
|
+
'/mavsdk.rpc.follow_me.FollowMeService/GetLastLocation',
|
|
212
|
+
grpcWeb.MethodType.UNARY,
|
|
213
|
+
follow_me_follow_me_pb.GetLastLocationRequest,
|
|
214
|
+
follow_me_follow_me_pb.GetLastLocationResponse,
|
|
215
|
+
(request: follow_me_follow_me_pb.GetLastLocationRequest) => {
|
|
216
|
+
return request.serializeBinary();
|
|
217
|
+
},
|
|
218
|
+
follow_me_follow_me_pb.GetLastLocationResponse.deserializeBinary
|
|
219
|
+
);
|
|
220
|
+
|
|
221
|
+
getLastLocation(
|
|
222
|
+
request: follow_me_follow_me_pb.GetLastLocationRequest,
|
|
223
|
+
metadata: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.GetLastLocationResponse>;
|
|
224
|
+
|
|
225
|
+
getLastLocation(
|
|
226
|
+
request: follow_me_follow_me_pb.GetLastLocationRequest,
|
|
227
|
+
metadata: grpcWeb.Metadata | null,
|
|
228
|
+
callback: (err: grpcWeb.RpcError,
|
|
229
|
+
response: follow_me_follow_me_pb.GetLastLocationResponse) => void): grpcWeb.ClientReadableStream<follow_me_follow_me_pb.GetLastLocationResponse>;
|
|
230
|
+
|
|
231
|
+
getLastLocation(
|
|
232
|
+
request: follow_me_follow_me_pb.GetLastLocationRequest,
|
|
233
|
+
metadata: grpcWeb.Metadata | null,
|
|
234
|
+
callback?: (err: grpcWeb.RpcError,
|
|
235
|
+
response: follow_me_follow_me_pb.GetLastLocationResponse) => void) {
|
|
236
|
+
if (callback !== undefined) {
|
|
237
|
+
return this.client_.rpcCall(
|
|
238
|
+
this.hostname_ +
|
|
239
|
+
'/mavsdk.rpc.follow_me.FollowMeService/GetLastLocation',
|
|
240
|
+
request,
|
|
241
|
+
metadata || {},
|
|
242
|
+
this.methodDescriptorGetLastLocation,
|
|
243
|
+
callback);
|
|
244
|
+
}
|
|
245
|
+
return this.client_.unaryCall(
|
|
246
|
+
this.hostname_ +
|
|
247
|
+
'/mavsdk.rpc.follow_me.FollowMeService/GetLastLocation',
|
|
248
|
+
request,
|
|
249
|
+
metadata || {},
|
|
250
|
+
this.methodDescriptorGetLastLocation);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
methodDescriptorStart = new grpcWeb.MethodDescriptor(
|
|
254
|
+
'/mavsdk.rpc.follow_me.FollowMeService/Start',
|
|
255
|
+
grpcWeb.MethodType.UNARY,
|
|
256
|
+
follow_me_follow_me_pb.StartRequest,
|
|
257
|
+
follow_me_follow_me_pb.StartResponse,
|
|
258
|
+
(request: follow_me_follow_me_pb.StartRequest) => {
|
|
259
|
+
return request.serializeBinary();
|
|
260
|
+
},
|
|
261
|
+
follow_me_follow_me_pb.StartResponse.deserializeBinary
|
|
262
|
+
);
|
|
263
|
+
|
|
264
|
+
start(
|
|
265
|
+
request: follow_me_follow_me_pb.StartRequest,
|
|
266
|
+
metadata: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.StartResponse>;
|
|
267
|
+
|
|
268
|
+
start(
|
|
269
|
+
request: follow_me_follow_me_pb.StartRequest,
|
|
270
|
+
metadata: grpcWeb.Metadata | null,
|
|
271
|
+
callback: (err: grpcWeb.RpcError,
|
|
272
|
+
response: follow_me_follow_me_pb.StartResponse) => void): grpcWeb.ClientReadableStream<follow_me_follow_me_pb.StartResponse>;
|
|
273
|
+
|
|
274
|
+
start(
|
|
275
|
+
request: follow_me_follow_me_pb.StartRequest,
|
|
276
|
+
metadata: grpcWeb.Metadata | null,
|
|
277
|
+
callback?: (err: grpcWeb.RpcError,
|
|
278
|
+
response: follow_me_follow_me_pb.StartResponse) => void) {
|
|
279
|
+
if (callback !== undefined) {
|
|
280
|
+
return this.client_.rpcCall(
|
|
281
|
+
this.hostname_ +
|
|
282
|
+
'/mavsdk.rpc.follow_me.FollowMeService/Start',
|
|
283
|
+
request,
|
|
284
|
+
metadata || {},
|
|
285
|
+
this.methodDescriptorStart,
|
|
286
|
+
callback);
|
|
287
|
+
}
|
|
288
|
+
return this.client_.unaryCall(
|
|
289
|
+
this.hostname_ +
|
|
290
|
+
'/mavsdk.rpc.follow_me.FollowMeService/Start',
|
|
291
|
+
request,
|
|
292
|
+
metadata || {},
|
|
293
|
+
this.methodDescriptorStart);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
methodDescriptorStop = new grpcWeb.MethodDescriptor(
|
|
297
|
+
'/mavsdk.rpc.follow_me.FollowMeService/Stop',
|
|
298
|
+
grpcWeb.MethodType.UNARY,
|
|
299
|
+
follow_me_follow_me_pb.StopRequest,
|
|
300
|
+
follow_me_follow_me_pb.StopResponse,
|
|
301
|
+
(request: follow_me_follow_me_pb.StopRequest) => {
|
|
302
|
+
return request.serializeBinary();
|
|
303
|
+
},
|
|
304
|
+
follow_me_follow_me_pb.StopResponse.deserializeBinary
|
|
305
|
+
);
|
|
306
|
+
|
|
307
|
+
stop(
|
|
308
|
+
request: follow_me_follow_me_pb.StopRequest,
|
|
309
|
+
metadata: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.StopResponse>;
|
|
310
|
+
|
|
311
|
+
stop(
|
|
312
|
+
request: follow_me_follow_me_pb.StopRequest,
|
|
313
|
+
metadata: grpcWeb.Metadata | null,
|
|
314
|
+
callback: (err: grpcWeb.RpcError,
|
|
315
|
+
response: follow_me_follow_me_pb.StopResponse) => void): grpcWeb.ClientReadableStream<follow_me_follow_me_pb.StopResponse>;
|
|
316
|
+
|
|
317
|
+
stop(
|
|
318
|
+
request: follow_me_follow_me_pb.StopRequest,
|
|
319
|
+
metadata: grpcWeb.Metadata | null,
|
|
320
|
+
callback?: (err: grpcWeb.RpcError,
|
|
321
|
+
response: follow_me_follow_me_pb.StopResponse) => void) {
|
|
322
|
+
if (callback !== undefined) {
|
|
323
|
+
return this.client_.rpcCall(
|
|
324
|
+
this.hostname_ +
|
|
325
|
+
'/mavsdk.rpc.follow_me.FollowMeService/Stop',
|
|
326
|
+
request,
|
|
327
|
+
metadata || {},
|
|
328
|
+
this.methodDescriptorStop,
|
|
329
|
+
callback);
|
|
330
|
+
}
|
|
331
|
+
return this.client_.unaryCall(
|
|
332
|
+
this.hostname_ +
|
|
333
|
+
'/mavsdk.rpc.follow_me.FollowMeService/Stop',
|
|
334
|
+
request,
|
|
335
|
+
metadata || {},
|
|
336
|
+
this.methodDescriptorStop);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
}
|
|
340
|
+
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as mavsdk_options_pb from '../mavsdk_options_pb';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class Config extends jspb.Message {
|
|
7
|
+
getFollowHeightM(): number;
|
|
8
|
+
setFollowHeightM(value: number): Config;
|
|
9
|
+
|
|
10
|
+
getFollowDistanceM(): number;
|
|
11
|
+
setFollowDistanceM(value: number): Config;
|
|
12
|
+
|
|
13
|
+
getResponsiveness(): number;
|
|
14
|
+
setResponsiveness(value: number): Config;
|
|
15
|
+
|
|
16
|
+
getAltitudeMode(): Config.FollowAltitudeMode;
|
|
17
|
+
setAltitudeMode(value: Config.FollowAltitudeMode): Config;
|
|
18
|
+
|
|
19
|
+
getMaxTangentialVelMS(): number;
|
|
20
|
+
setMaxTangentialVelMS(value: number): Config;
|
|
21
|
+
|
|
22
|
+
getFollowAngleDeg(): number;
|
|
23
|
+
setFollowAngleDeg(value: number): Config;
|
|
24
|
+
|
|
25
|
+
serializeBinary(): Uint8Array;
|
|
26
|
+
toObject(includeInstance?: boolean): Config.AsObject;
|
|
27
|
+
static toObject(includeInstance: boolean, msg: Config): Config.AsObject;
|
|
28
|
+
static serializeBinaryToWriter(message: Config, writer: jspb.BinaryWriter): void;
|
|
29
|
+
static deserializeBinary(bytes: Uint8Array): Config;
|
|
30
|
+
static deserializeBinaryFromReader(message: Config, reader: jspb.BinaryReader): Config;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export namespace Config {
|
|
34
|
+
export type AsObject = {
|
|
35
|
+
followHeightM: number,
|
|
36
|
+
followDistanceM: number,
|
|
37
|
+
responsiveness: number,
|
|
38
|
+
altitudeMode: Config.FollowAltitudeMode,
|
|
39
|
+
maxTangentialVelMS: number,
|
|
40
|
+
followAngleDeg: number,
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export enum FollowAltitudeMode {
|
|
44
|
+
FOLLOW_ALTITUDE_MODE_CONSTANT = 0,
|
|
45
|
+
FOLLOW_ALTITUDE_MODE_TERRAIN = 1,
|
|
46
|
+
FOLLOW_ALTITUDE_MODE_TARGET_GPS = 2,
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export class TargetLocation extends jspb.Message {
|
|
51
|
+
getLatitudeDeg(): number;
|
|
52
|
+
setLatitudeDeg(value: number): TargetLocation;
|
|
53
|
+
|
|
54
|
+
getLongitudeDeg(): number;
|
|
55
|
+
setLongitudeDeg(value: number): TargetLocation;
|
|
56
|
+
|
|
57
|
+
getAbsoluteAltitudeM(): number;
|
|
58
|
+
setAbsoluteAltitudeM(value: number): TargetLocation;
|
|
59
|
+
|
|
60
|
+
getVelocityXMS(): number;
|
|
61
|
+
setVelocityXMS(value: number): TargetLocation;
|
|
62
|
+
|
|
63
|
+
getVelocityYMS(): number;
|
|
64
|
+
setVelocityYMS(value: number): TargetLocation;
|
|
65
|
+
|
|
66
|
+
getVelocityZMS(): number;
|
|
67
|
+
setVelocityZMS(value: number): TargetLocation;
|
|
68
|
+
|
|
69
|
+
serializeBinary(): Uint8Array;
|
|
70
|
+
toObject(includeInstance?: boolean): TargetLocation.AsObject;
|
|
71
|
+
static toObject(includeInstance: boolean, msg: TargetLocation): TargetLocation.AsObject;
|
|
72
|
+
static serializeBinaryToWriter(message: TargetLocation, writer: jspb.BinaryWriter): void;
|
|
73
|
+
static deserializeBinary(bytes: Uint8Array): TargetLocation;
|
|
74
|
+
static deserializeBinaryFromReader(message: TargetLocation, reader: jspb.BinaryReader): TargetLocation;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export namespace TargetLocation {
|
|
78
|
+
export type AsObject = {
|
|
79
|
+
latitudeDeg: number,
|
|
80
|
+
longitudeDeg: number,
|
|
81
|
+
absoluteAltitudeM: number,
|
|
82
|
+
velocityXMS: number,
|
|
83
|
+
velocityYMS: number,
|
|
84
|
+
velocityZMS: number,
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export class GetConfigRequest extends jspb.Message {
|
|
89
|
+
serializeBinary(): Uint8Array;
|
|
90
|
+
toObject(includeInstance?: boolean): GetConfigRequest.AsObject;
|
|
91
|
+
static toObject(includeInstance: boolean, msg: GetConfigRequest): GetConfigRequest.AsObject;
|
|
92
|
+
static serializeBinaryToWriter(message: GetConfigRequest, writer: jspb.BinaryWriter): void;
|
|
93
|
+
static deserializeBinary(bytes: Uint8Array): GetConfigRequest;
|
|
94
|
+
static deserializeBinaryFromReader(message: GetConfigRequest, reader: jspb.BinaryReader): GetConfigRequest;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export namespace GetConfigRequest {
|
|
98
|
+
export type AsObject = {
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export class GetConfigResponse extends jspb.Message {
|
|
103
|
+
getConfig(): Config | undefined;
|
|
104
|
+
setConfig(value?: Config): GetConfigResponse;
|
|
105
|
+
hasConfig(): boolean;
|
|
106
|
+
clearConfig(): GetConfigResponse;
|
|
107
|
+
|
|
108
|
+
serializeBinary(): Uint8Array;
|
|
109
|
+
toObject(includeInstance?: boolean): GetConfigResponse.AsObject;
|
|
110
|
+
static toObject(includeInstance: boolean, msg: GetConfigResponse): GetConfigResponse.AsObject;
|
|
111
|
+
static serializeBinaryToWriter(message: GetConfigResponse, writer: jspb.BinaryWriter): void;
|
|
112
|
+
static deserializeBinary(bytes: Uint8Array): GetConfigResponse;
|
|
113
|
+
static deserializeBinaryFromReader(message: GetConfigResponse, reader: jspb.BinaryReader): GetConfigResponse;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export namespace GetConfigResponse {
|
|
117
|
+
export type AsObject = {
|
|
118
|
+
config?: Config.AsObject,
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export class SetConfigRequest extends jspb.Message {
|
|
123
|
+
getConfig(): Config | undefined;
|
|
124
|
+
setConfig(value?: Config): SetConfigRequest;
|
|
125
|
+
hasConfig(): boolean;
|
|
126
|
+
clearConfig(): SetConfigRequest;
|
|
127
|
+
|
|
128
|
+
serializeBinary(): Uint8Array;
|
|
129
|
+
toObject(includeInstance?: boolean): SetConfigRequest.AsObject;
|
|
130
|
+
static toObject(includeInstance: boolean, msg: SetConfigRequest): SetConfigRequest.AsObject;
|
|
131
|
+
static serializeBinaryToWriter(message: SetConfigRequest, writer: jspb.BinaryWriter): void;
|
|
132
|
+
static deserializeBinary(bytes: Uint8Array): SetConfigRequest;
|
|
133
|
+
static deserializeBinaryFromReader(message: SetConfigRequest, reader: jspb.BinaryReader): SetConfigRequest;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export namespace SetConfigRequest {
|
|
137
|
+
export type AsObject = {
|
|
138
|
+
config?: Config.AsObject,
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export class SetConfigResponse extends jspb.Message {
|
|
143
|
+
getFollowMeResult(): FollowMeResult | undefined;
|
|
144
|
+
setFollowMeResult(value?: FollowMeResult): SetConfigResponse;
|
|
145
|
+
hasFollowMeResult(): boolean;
|
|
146
|
+
clearFollowMeResult(): SetConfigResponse;
|
|
147
|
+
|
|
148
|
+
serializeBinary(): Uint8Array;
|
|
149
|
+
toObject(includeInstance?: boolean): SetConfigResponse.AsObject;
|
|
150
|
+
static toObject(includeInstance: boolean, msg: SetConfigResponse): SetConfigResponse.AsObject;
|
|
151
|
+
static serializeBinaryToWriter(message: SetConfigResponse, writer: jspb.BinaryWriter): void;
|
|
152
|
+
static deserializeBinary(bytes: Uint8Array): SetConfigResponse;
|
|
153
|
+
static deserializeBinaryFromReader(message: SetConfigResponse, reader: jspb.BinaryReader): SetConfigResponse;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export namespace SetConfigResponse {
|
|
157
|
+
export type AsObject = {
|
|
158
|
+
followMeResult?: FollowMeResult.AsObject,
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export class IsActiveRequest extends jspb.Message {
|
|
163
|
+
serializeBinary(): Uint8Array;
|
|
164
|
+
toObject(includeInstance?: boolean): IsActiveRequest.AsObject;
|
|
165
|
+
static toObject(includeInstance: boolean, msg: IsActiveRequest): IsActiveRequest.AsObject;
|
|
166
|
+
static serializeBinaryToWriter(message: IsActiveRequest, writer: jspb.BinaryWriter): void;
|
|
167
|
+
static deserializeBinary(bytes: Uint8Array): IsActiveRequest;
|
|
168
|
+
static deserializeBinaryFromReader(message: IsActiveRequest, reader: jspb.BinaryReader): IsActiveRequest;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export namespace IsActiveRequest {
|
|
172
|
+
export type AsObject = {
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export class IsActiveResponse extends jspb.Message {
|
|
177
|
+
getIsActive(): boolean;
|
|
178
|
+
setIsActive(value: boolean): IsActiveResponse;
|
|
179
|
+
|
|
180
|
+
serializeBinary(): Uint8Array;
|
|
181
|
+
toObject(includeInstance?: boolean): IsActiveResponse.AsObject;
|
|
182
|
+
static toObject(includeInstance: boolean, msg: IsActiveResponse): IsActiveResponse.AsObject;
|
|
183
|
+
static serializeBinaryToWriter(message: IsActiveResponse, writer: jspb.BinaryWriter): void;
|
|
184
|
+
static deserializeBinary(bytes: Uint8Array): IsActiveResponse;
|
|
185
|
+
static deserializeBinaryFromReader(message: IsActiveResponse, reader: jspb.BinaryReader): IsActiveResponse;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export namespace IsActiveResponse {
|
|
189
|
+
export type AsObject = {
|
|
190
|
+
isActive: boolean,
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export class SetTargetLocationRequest extends jspb.Message {
|
|
195
|
+
getLocation(): TargetLocation | undefined;
|
|
196
|
+
setLocation(value?: TargetLocation): SetTargetLocationRequest;
|
|
197
|
+
hasLocation(): boolean;
|
|
198
|
+
clearLocation(): SetTargetLocationRequest;
|
|
199
|
+
|
|
200
|
+
serializeBinary(): Uint8Array;
|
|
201
|
+
toObject(includeInstance?: boolean): SetTargetLocationRequest.AsObject;
|
|
202
|
+
static toObject(includeInstance: boolean, msg: SetTargetLocationRequest): SetTargetLocationRequest.AsObject;
|
|
203
|
+
static serializeBinaryToWriter(message: SetTargetLocationRequest, writer: jspb.BinaryWriter): void;
|
|
204
|
+
static deserializeBinary(bytes: Uint8Array): SetTargetLocationRequest;
|
|
205
|
+
static deserializeBinaryFromReader(message: SetTargetLocationRequest, reader: jspb.BinaryReader): SetTargetLocationRequest;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export namespace SetTargetLocationRequest {
|
|
209
|
+
export type AsObject = {
|
|
210
|
+
location?: TargetLocation.AsObject,
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export class SetTargetLocationResponse extends jspb.Message {
|
|
215
|
+
getFollowMeResult(): FollowMeResult | undefined;
|
|
216
|
+
setFollowMeResult(value?: FollowMeResult): SetTargetLocationResponse;
|
|
217
|
+
hasFollowMeResult(): boolean;
|
|
218
|
+
clearFollowMeResult(): SetTargetLocationResponse;
|
|
219
|
+
|
|
220
|
+
serializeBinary(): Uint8Array;
|
|
221
|
+
toObject(includeInstance?: boolean): SetTargetLocationResponse.AsObject;
|
|
222
|
+
static toObject(includeInstance: boolean, msg: SetTargetLocationResponse): SetTargetLocationResponse.AsObject;
|
|
223
|
+
static serializeBinaryToWriter(message: SetTargetLocationResponse, writer: jspb.BinaryWriter): void;
|
|
224
|
+
static deserializeBinary(bytes: Uint8Array): SetTargetLocationResponse;
|
|
225
|
+
static deserializeBinaryFromReader(message: SetTargetLocationResponse, reader: jspb.BinaryReader): SetTargetLocationResponse;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export namespace SetTargetLocationResponse {
|
|
229
|
+
export type AsObject = {
|
|
230
|
+
followMeResult?: FollowMeResult.AsObject,
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export class GetLastLocationRequest extends jspb.Message {
|
|
235
|
+
serializeBinary(): Uint8Array;
|
|
236
|
+
toObject(includeInstance?: boolean): GetLastLocationRequest.AsObject;
|
|
237
|
+
static toObject(includeInstance: boolean, msg: GetLastLocationRequest): GetLastLocationRequest.AsObject;
|
|
238
|
+
static serializeBinaryToWriter(message: GetLastLocationRequest, writer: jspb.BinaryWriter): void;
|
|
239
|
+
static deserializeBinary(bytes: Uint8Array): GetLastLocationRequest;
|
|
240
|
+
static deserializeBinaryFromReader(message: GetLastLocationRequest, reader: jspb.BinaryReader): GetLastLocationRequest;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export namespace GetLastLocationRequest {
|
|
244
|
+
export type AsObject = {
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export class GetLastLocationResponse extends jspb.Message {
|
|
249
|
+
getLocation(): TargetLocation | undefined;
|
|
250
|
+
setLocation(value?: TargetLocation): GetLastLocationResponse;
|
|
251
|
+
hasLocation(): boolean;
|
|
252
|
+
clearLocation(): GetLastLocationResponse;
|
|
253
|
+
|
|
254
|
+
serializeBinary(): Uint8Array;
|
|
255
|
+
toObject(includeInstance?: boolean): GetLastLocationResponse.AsObject;
|
|
256
|
+
static toObject(includeInstance: boolean, msg: GetLastLocationResponse): GetLastLocationResponse.AsObject;
|
|
257
|
+
static serializeBinaryToWriter(message: GetLastLocationResponse, writer: jspb.BinaryWriter): void;
|
|
258
|
+
static deserializeBinary(bytes: Uint8Array): GetLastLocationResponse;
|
|
259
|
+
static deserializeBinaryFromReader(message: GetLastLocationResponse, reader: jspb.BinaryReader): GetLastLocationResponse;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export namespace GetLastLocationResponse {
|
|
263
|
+
export type AsObject = {
|
|
264
|
+
location?: TargetLocation.AsObject,
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export class StartRequest extends jspb.Message {
|
|
269
|
+
serializeBinary(): Uint8Array;
|
|
270
|
+
toObject(includeInstance?: boolean): StartRequest.AsObject;
|
|
271
|
+
static toObject(includeInstance: boolean, msg: StartRequest): StartRequest.AsObject;
|
|
272
|
+
static serializeBinaryToWriter(message: StartRequest, writer: jspb.BinaryWriter): void;
|
|
273
|
+
static deserializeBinary(bytes: Uint8Array): StartRequest;
|
|
274
|
+
static deserializeBinaryFromReader(message: StartRequest, reader: jspb.BinaryReader): StartRequest;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export namespace StartRequest {
|
|
278
|
+
export type AsObject = {
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export class StartResponse extends jspb.Message {
|
|
283
|
+
getFollowMeResult(): FollowMeResult | undefined;
|
|
284
|
+
setFollowMeResult(value?: FollowMeResult): StartResponse;
|
|
285
|
+
hasFollowMeResult(): boolean;
|
|
286
|
+
clearFollowMeResult(): StartResponse;
|
|
287
|
+
|
|
288
|
+
serializeBinary(): Uint8Array;
|
|
289
|
+
toObject(includeInstance?: boolean): StartResponse.AsObject;
|
|
290
|
+
static toObject(includeInstance: boolean, msg: StartResponse): StartResponse.AsObject;
|
|
291
|
+
static serializeBinaryToWriter(message: StartResponse, writer: jspb.BinaryWriter): void;
|
|
292
|
+
static deserializeBinary(bytes: Uint8Array): StartResponse;
|
|
293
|
+
static deserializeBinaryFromReader(message: StartResponse, reader: jspb.BinaryReader): StartResponse;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export namespace StartResponse {
|
|
297
|
+
export type AsObject = {
|
|
298
|
+
followMeResult?: FollowMeResult.AsObject,
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export class StopRequest extends jspb.Message {
|
|
303
|
+
serializeBinary(): Uint8Array;
|
|
304
|
+
toObject(includeInstance?: boolean): StopRequest.AsObject;
|
|
305
|
+
static toObject(includeInstance: boolean, msg: StopRequest): StopRequest.AsObject;
|
|
306
|
+
static serializeBinaryToWriter(message: StopRequest, writer: jspb.BinaryWriter): void;
|
|
307
|
+
static deserializeBinary(bytes: Uint8Array): StopRequest;
|
|
308
|
+
static deserializeBinaryFromReader(message: StopRequest, reader: jspb.BinaryReader): StopRequest;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export namespace StopRequest {
|
|
312
|
+
export type AsObject = {
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export class StopResponse extends jspb.Message {
|
|
317
|
+
getFollowMeResult(): FollowMeResult | undefined;
|
|
318
|
+
setFollowMeResult(value?: FollowMeResult): StopResponse;
|
|
319
|
+
hasFollowMeResult(): boolean;
|
|
320
|
+
clearFollowMeResult(): StopResponse;
|
|
321
|
+
|
|
322
|
+
serializeBinary(): Uint8Array;
|
|
323
|
+
toObject(includeInstance?: boolean): StopResponse.AsObject;
|
|
324
|
+
static toObject(includeInstance: boolean, msg: StopResponse): StopResponse.AsObject;
|
|
325
|
+
static serializeBinaryToWriter(message: StopResponse, writer: jspb.BinaryWriter): void;
|
|
326
|
+
static deserializeBinary(bytes: Uint8Array): StopResponse;
|
|
327
|
+
static deserializeBinaryFromReader(message: StopResponse, reader: jspb.BinaryReader): StopResponse;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export namespace StopResponse {
|
|
331
|
+
export type AsObject = {
|
|
332
|
+
followMeResult?: FollowMeResult.AsObject,
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export class FollowMeResult extends jspb.Message {
|
|
337
|
+
getResult(): FollowMeResult.Result;
|
|
338
|
+
setResult(value: FollowMeResult.Result): FollowMeResult;
|
|
339
|
+
|
|
340
|
+
getResultStr(): string;
|
|
341
|
+
setResultStr(value: string): FollowMeResult;
|
|
342
|
+
|
|
343
|
+
serializeBinary(): Uint8Array;
|
|
344
|
+
toObject(includeInstance?: boolean): FollowMeResult.AsObject;
|
|
345
|
+
static toObject(includeInstance: boolean, msg: FollowMeResult): FollowMeResult.AsObject;
|
|
346
|
+
static serializeBinaryToWriter(message: FollowMeResult, writer: jspb.BinaryWriter): void;
|
|
347
|
+
static deserializeBinary(bytes: Uint8Array): FollowMeResult;
|
|
348
|
+
static deserializeBinaryFromReader(message: FollowMeResult, reader: jspb.BinaryReader): FollowMeResult;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export namespace FollowMeResult {
|
|
352
|
+
export type AsObject = {
|
|
353
|
+
result: FollowMeResult.Result,
|
|
354
|
+
resultStr: string,
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export enum Result {
|
|
358
|
+
RESULT_UNKNOWN = 0,
|
|
359
|
+
RESULT_SUCCESS = 1,
|
|
360
|
+
RESULT_NO_SYSTEM = 2,
|
|
361
|
+
RESULT_CONNECTION_ERROR = 3,
|
|
362
|
+
RESULT_BUSY = 4,
|
|
363
|
+
RESULT_COMMAND_DENIED = 5,
|
|
364
|
+
RESULT_TIMEOUT = 6,
|
|
365
|
+
RESULT_NOT_ACTIVE = 7,
|
|
366
|
+
RESULT_SET_CONFIG_FAILED = 8,
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|