mavsdk-types 1.0.0 → 2.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 +4 -12
- package/action/ActionServiceClientPb.ts +51 -47
- package/action/action_pb.d.ts +1 -1
- package/action/action_pb.js +1 -10
- package/action_server/Action_serverServiceClientPb.ts +17 -13
- package/action_server/action_server_pb.d.ts +1 -1
- package/action_server/action_server_pb.js +1 -10
- package/calibration/CalibrationServiceClientPb.ts +9 -5
- package/calibration/calibration_pb.d.ts +1 -1
- package/calibration/calibration_pb.js +1 -10
- package/camera/CameraServiceClientPb.ts +37 -33
- package/camera/camera_pb.d.ts +1 -1
- package/camera/camera_pb.js +1 -10
- package/camera_server/Camera_serverServiceClientPb.ts +33 -29
- package/camera_server/camera_server_pb.d.ts +1 -1
- package/camera_server/camera_server_pb.js +1 -10
- package/component_information/Component_informationServiceClientPb.ts +9 -5
- package/component_information/component_information_pb.d.ts +1 -1
- package/component_information/component_information_pb.js +1 -10
- package/component_information_server/Component_information_serverServiceClientPb.ts +9 -5
- package/component_information_server/component_information_server_pb.d.ts +1 -1
- package/component_information_server/component_information_server_pb.js +1 -10
- package/core/CoreServiceClientPb.ts +9 -5
- package/core/core_pb.js +1 -10
- package/failure/FailureServiceClientPb.ts +9 -5
- package/failure/failure_pb.d.ts +1 -1
- package/failure/failure_pb.js +1 -10
- package/follow_me/Follow_meServiceClientPb.ts +21 -17
- package/follow_me/follow_me_pb.d.ts +1 -1
- package/follow_me/follow_me_pb.js +1 -10
- package/ftp/FtpServiceClientPb.ts +21 -17
- package/ftp/ftp_pb.d.ts +1 -1
- package/ftp/ftp_pb.js +1 -10
- package/ftp_server/Ftp_serverServiceClientPb.ts +9 -5
- package/ftp_server/ftp_server_pb.d.ts +1 -1
- package/ftp_server/ftp_server_pb.js +1 -10
- package/geofence/GeofenceServiceClientPb.ts +11 -7
- package/geofence/geofence_pb.d.ts +1 -1
- package/geofence/geofence_pb.js +1 -10
- package/gimbal/GimbalServiceClientPb.ts +21 -17
- package/gimbal/gimbal_pb.js +1 -10
- package/gripper/GripperServiceClientPb.ts +11 -7
- package/gripper/gripper_pb.js +1 -10
- package/info/InfoServiceClientPb.ts +17 -13
- package/info/info_pb.d.ts +1 -1
- package/info/info_pb.js +1 -10
- package/log_files/Log_filesServiceClientPb.ts +11 -7
- package/log_files/log_files_pb.d.ts +1 -1
- package/log_files/log_files_pb.js +1 -10
- package/manual_control/Manual_controlServiceClientPb.ts +13 -9
- package/manual_control/manual_control_pb.d.ts +1 -1
- package/manual_control/manual_control_pb.js +1 -10
- package/mavsdk_options_pb.d.ts +1 -1
- package/mavsdk_options_pb.js +1 -10
- package/mission/MissionServiceClientPb.ts +29 -25
- package/mission/mission_pb.d.ts +1 -1
- package/mission/mission_pb.js +1 -10
- package/mission_raw/Mission_rawServiceClientPb.ts +31 -27
- package/mission_raw/mission_raw_pb.d.ts +1 -1
- package/mission_raw/mission_raw_pb.js +1 -10
- package/mission_raw_server/Mission_raw_serverServiceClientPb.ts +9 -5
- package/mission_raw_server/mission_raw_server_pb.d.ts +1 -1
- package/mission_raw_server/mission_raw_server_pb.js +1 -10
- package/mocap/MocapServiceClientPb.ts +13 -9
- package/mocap/mocap_pb.d.ts +1 -1
- package/mocap/mocap_pb.js +3 -14
- package/offboard/OffboardServiceClientPb.ts +33 -29
- package/offboard/offboard_pb.d.ts +1 -1
- package/offboard/offboard_pb.js +3 -14
- package/package.json +5 -7
- package/param/ParamServiceClientPb.ts +23 -19
- package/param/param_pb.d.ts +1 -1
- package/param/param_pb.js +1 -10
- package/param_server/Param_serverServiceClientPb.ts +21 -17
- package/param_server/param_server_pb.d.ts +1 -1
- package/param_server/param_server_pb.js +1 -10
- package/rtk/RtkServiceClientPb.ts +9 -5
- package/rtk/rtk_pb.d.ts +1 -1
- package/rtk/rtk_pb.js +1 -10
- package/server_utility/Server_utilityServiceClientPb.ts +9 -5
- package/server_utility/server_utility_pb.d.ts +1 -1
- package/server_utility/server_utility_pb.js +1 -10
- package/shell/ShellServiceClientPb.ts +9 -5
- package/shell/shell_pb.d.ts +1 -1
- package/shell/shell_pb.js +1 -10
- package/telemetry/TelemetryServiceClientPb.ts +57 -53
- package/telemetry/telemetry_pb.d.ts +1 -1
- package/telemetry/telemetry_pb.js +7 -22
- package/telemetry_server/Telemetry_serverServiceClientPb.ts +37 -33
- package/telemetry_server/telemetry_server_pb.d.ts +1 -1
- package/telemetry_server/telemetry_server_pb.js +7 -22
- package/tracking_server/Tracking_serverServiceClientPb.ts +19 -15
- package/tracking_server/tracking_server_pb.d.ts +1 -1
- package/tracking_server/tracking_server_pb.js +1 -10
- package/transponder/TransponderServiceClientPb.ts +9 -5
- package/transponder/transponder_pb.js +1 -10
- package/tune/TuneServiceClientPb.ts +9 -5
- package/tune/tune_pb.js +3 -14
- package/winch/WinchServiceClientPb.ts +27 -23
- package/winch/winch_pb.d.ts +1 -1
- package/winch/winch_pb.js +1 -10
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: offboard/offboard.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as offboard_offboard_pb from '../offboard/offboard_pb';
|
|
20
|
+
import * as offboard_offboard_pb from '../offboard/offboard_pb'; // proto import: "offboard/offboard.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class OffboardServiceClient {
|
|
@@ -30,7 +34,7 @@ export class OffboardServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class OffboardServiceClient {
|
|
|
48
52
|
|
|
49
53
|
start(
|
|
50
54
|
request: offboard_offboard_pb.StartRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.StartResponse>;
|
|
52
56
|
|
|
53
57
|
start(
|
|
54
58
|
request: offboard_offboard_pb.StartRequest,
|
|
@@ -58,7 +62,7 @@ export class OffboardServiceClient {
|
|
|
58
62
|
|
|
59
63
|
start(
|
|
60
64
|
request: offboard_offboard_pb.StartRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: offboard_offboard_pb.StartResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
|
@@ -91,7 +95,7 @@ export class OffboardServiceClient {
|
|
|
91
95
|
|
|
92
96
|
stop(
|
|
93
97
|
request: offboard_offboard_pb.StopRequest,
|
|
94
|
-
metadata
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.StopResponse>;
|
|
95
99
|
|
|
96
100
|
stop(
|
|
97
101
|
request: offboard_offboard_pb.StopRequest,
|
|
@@ -101,7 +105,7 @@ export class OffboardServiceClient {
|
|
|
101
105
|
|
|
102
106
|
stop(
|
|
103
107
|
request: offboard_offboard_pb.StopRequest,
|
|
104
|
-
metadata
|
|
108
|
+
metadata?: grpcWeb.Metadata | null,
|
|
105
109
|
callback?: (err: grpcWeb.RpcError,
|
|
106
110
|
response: offboard_offboard_pb.StopResponse) => void) {
|
|
107
111
|
if (callback !== undefined) {
|
|
@@ -134,7 +138,7 @@ export class OffboardServiceClient {
|
|
|
134
138
|
|
|
135
139
|
isActive(
|
|
136
140
|
request: offboard_offboard_pb.IsActiveRequest,
|
|
137
|
-
metadata
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.IsActiveResponse>;
|
|
138
142
|
|
|
139
143
|
isActive(
|
|
140
144
|
request: offboard_offboard_pb.IsActiveRequest,
|
|
@@ -144,7 +148,7 @@ export class OffboardServiceClient {
|
|
|
144
148
|
|
|
145
149
|
isActive(
|
|
146
150
|
request: offboard_offboard_pb.IsActiveRequest,
|
|
147
|
-
metadata
|
|
151
|
+
metadata?: grpcWeb.Metadata | null,
|
|
148
152
|
callback?: (err: grpcWeb.RpcError,
|
|
149
153
|
response: offboard_offboard_pb.IsActiveResponse) => void) {
|
|
150
154
|
if (callback !== undefined) {
|
|
@@ -177,7 +181,7 @@ export class OffboardServiceClient {
|
|
|
177
181
|
|
|
178
182
|
setAttitude(
|
|
179
183
|
request: offboard_offboard_pb.SetAttitudeRequest,
|
|
180
|
-
metadata
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.SetAttitudeResponse>;
|
|
181
185
|
|
|
182
186
|
setAttitude(
|
|
183
187
|
request: offboard_offboard_pb.SetAttitudeRequest,
|
|
@@ -187,7 +191,7 @@ export class OffboardServiceClient {
|
|
|
187
191
|
|
|
188
192
|
setAttitude(
|
|
189
193
|
request: offboard_offboard_pb.SetAttitudeRequest,
|
|
190
|
-
metadata
|
|
194
|
+
metadata?: grpcWeb.Metadata | null,
|
|
191
195
|
callback?: (err: grpcWeb.RpcError,
|
|
192
196
|
response: offboard_offboard_pb.SetAttitudeResponse) => void) {
|
|
193
197
|
if (callback !== undefined) {
|
|
@@ -220,7 +224,7 @@ export class OffboardServiceClient {
|
|
|
220
224
|
|
|
221
225
|
setActuatorControl(
|
|
222
226
|
request: offboard_offboard_pb.SetActuatorControlRequest,
|
|
223
|
-
metadata
|
|
227
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.SetActuatorControlResponse>;
|
|
224
228
|
|
|
225
229
|
setActuatorControl(
|
|
226
230
|
request: offboard_offboard_pb.SetActuatorControlRequest,
|
|
@@ -230,7 +234,7 @@ export class OffboardServiceClient {
|
|
|
230
234
|
|
|
231
235
|
setActuatorControl(
|
|
232
236
|
request: offboard_offboard_pb.SetActuatorControlRequest,
|
|
233
|
-
metadata
|
|
237
|
+
metadata?: grpcWeb.Metadata | null,
|
|
234
238
|
callback?: (err: grpcWeb.RpcError,
|
|
235
239
|
response: offboard_offboard_pb.SetActuatorControlResponse) => void) {
|
|
236
240
|
if (callback !== undefined) {
|
|
@@ -263,7 +267,7 @@ export class OffboardServiceClient {
|
|
|
263
267
|
|
|
264
268
|
setAttitudeRate(
|
|
265
269
|
request: offboard_offboard_pb.SetAttitudeRateRequest,
|
|
266
|
-
metadata
|
|
270
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.SetAttitudeRateResponse>;
|
|
267
271
|
|
|
268
272
|
setAttitudeRate(
|
|
269
273
|
request: offboard_offboard_pb.SetAttitudeRateRequest,
|
|
@@ -273,7 +277,7 @@ export class OffboardServiceClient {
|
|
|
273
277
|
|
|
274
278
|
setAttitudeRate(
|
|
275
279
|
request: offboard_offboard_pb.SetAttitudeRateRequest,
|
|
276
|
-
metadata
|
|
280
|
+
metadata?: grpcWeb.Metadata | null,
|
|
277
281
|
callback?: (err: grpcWeb.RpcError,
|
|
278
282
|
response: offboard_offboard_pb.SetAttitudeRateResponse) => void) {
|
|
279
283
|
if (callback !== undefined) {
|
|
@@ -306,7 +310,7 @@ export class OffboardServiceClient {
|
|
|
306
310
|
|
|
307
311
|
setPositionNed(
|
|
308
312
|
request: offboard_offboard_pb.SetPositionNedRequest,
|
|
309
|
-
metadata
|
|
313
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.SetPositionNedResponse>;
|
|
310
314
|
|
|
311
315
|
setPositionNed(
|
|
312
316
|
request: offboard_offboard_pb.SetPositionNedRequest,
|
|
@@ -316,7 +320,7 @@ export class OffboardServiceClient {
|
|
|
316
320
|
|
|
317
321
|
setPositionNed(
|
|
318
322
|
request: offboard_offboard_pb.SetPositionNedRequest,
|
|
319
|
-
metadata
|
|
323
|
+
metadata?: grpcWeb.Metadata | null,
|
|
320
324
|
callback?: (err: grpcWeb.RpcError,
|
|
321
325
|
response: offboard_offboard_pb.SetPositionNedResponse) => void) {
|
|
322
326
|
if (callback !== undefined) {
|
|
@@ -349,7 +353,7 @@ export class OffboardServiceClient {
|
|
|
349
353
|
|
|
350
354
|
setPositionGlobal(
|
|
351
355
|
request: offboard_offboard_pb.SetPositionGlobalRequest,
|
|
352
|
-
metadata
|
|
356
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.SetPositionGlobalResponse>;
|
|
353
357
|
|
|
354
358
|
setPositionGlobal(
|
|
355
359
|
request: offboard_offboard_pb.SetPositionGlobalRequest,
|
|
@@ -359,7 +363,7 @@ export class OffboardServiceClient {
|
|
|
359
363
|
|
|
360
364
|
setPositionGlobal(
|
|
361
365
|
request: offboard_offboard_pb.SetPositionGlobalRequest,
|
|
362
|
-
metadata
|
|
366
|
+
metadata?: grpcWeb.Metadata | null,
|
|
363
367
|
callback?: (err: grpcWeb.RpcError,
|
|
364
368
|
response: offboard_offboard_pb.SetPositionGlobalResponse) => void) {
|
|
365
369
|
if (callback !== undefined) {
|
|
@@ -392,7 +396,7 @@ export class OffboardServiceClient {
|
|
|
392
396
|
|
|
393
397
|
setVelocityBody(
|
|
394
398
|
request: offboard_offboard_pb.SetVelocityBodyRequest,
|
|
395
|
-
metadata
|
|
399
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.SetVelocityBodyResponse>;
|
|
396
400
|
|
|
397
401
|
setVelocityBody(
|
|
398
402
|
request: offboard_offboard_pb.SetVelocityBodyRequest,
|
|
@@ -402,7 +406,7 @@ export class OffboardServiceClient {
|
|
|
402
406
|
|
|
403
407
|
setVelocityBody(
|
|
404
408
|
request: offboard_offboard_pb.SetVelocityBodyRequest,
|
|
405
|
-
metadata
|
|
409
|
+
metadata?: grpcWeb.Metadata | null,
|
|
406
410
|
callback?: (err: grpcWeb.RpcError,
|
|
407
411
|
response: offboard_offboard_pb.SetVelocityBodyResponse) => void) {
|
|
408
412
|
if (callback !== undefined) {
|
|
@@ -435,7 +439,7 @@ export class OffboardServiceClient {
|
|
|
435
439
|
|
|
436
440
|
setVelocityNed(
|
|
437
441
|
request: offboard_offboard_pb.SetVelocityNedRequest,
|
|
438
|
-
metadata
|
|
442
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.SetVelocityNedResponse>;
|
|
439
443
|
|
|
440
444
|
setVelocityNed(
|
|
441
445
|
request: offboard_offboard_pb.SetVelocityNedRequest,
|
|
@@ -445,7 +449,7 @@ export class OffboardServiceClient {
|
|
|
445
449
|
|
|
446
450
|
setVelocityNed(
|
|
447
451
|
request: offboard_offboard_pb.SetVelocityNedRequest,
|
|
448
|
-
metadata
|
|
452
|
+
metadata?: grpcWeb.Metadata | null,
|
|
449
453
|
callback?: (err: grpcWeb.RpcError,
|
|
450
454
|
response: offboard_offboard_pb.SetVelocityNedResponse) => void) {
|
|
451
455
|
if (callback !== undefined) {
|
|
@@ -478,7 +482,7 @@ export class OffboardServiceClient {
|
|
|
478
482
|
|
|
479
483
|
setPositionVelocityNed(
|
|
480
484
|
request: offboard_offboard_pb.SetPositionVelocityNedRequest,
|
|
481
|
-
metadata
|
|
485
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.SetPositionVelocityNedResponse>;
|
|
482
486
|
|
|
483
487
|
setPositionVelocityNed(
|
|
484
488
|
request: offboard_offboard_pb.SetPositionVelocityNedRequest,
|
|
@@ -488,7 +492,7 @@ export class OffboardServiceClient {
|
|
|
488
492
|
|
|
489
493
|
setPositionVelocityNed(
|
|
490
494
|
request: offboard_offboard_pb.SetPositionVelocityNedRequest,
|
|
491
|
-
metadata
|
|
495
|
+
metadata?: grpcWeb.Metadata | null,
|
|
492
496
|
callback?: (err: grpcWeb.RpcError,
|
|
493
497
|
response: offboard_offboard_pb.SetPositionVelocityNedResponse) => void) {
|
|
494
498
|
if (callback !== undefined) {
|
|
@@ -521,7 +525,7 @@ export class OffboardServiceClient {
|
|
|
521
525
|
|
|
522
526
|
setPositionVelocityAccelerationNed(
|
|
523
527
|
request: offboard_offboard_pb.SetPositionVelocityAccelerationNedRequest,
|
|
524
|
-
metadata
|
|
528
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.SetPositionVelocityAccelerationNedResponse>;
|
|
525
529
|
|
|
526
530
|
setPositionVelocityAccelerationNed(
|
|
527
531
|
request: offboard_offboard_pb.SetPositionVelocityAccelerationNedRequest,
|
|
@@ -531,7 +535,7 @@ export class OffboardServiceClient {
|
|
|
531
535
|
|
|
532
536
|
setPositionVelocityAccelerationNed(
|
|
533
537
|
request: offboard_offboard_pb.SetPositionVelocityAccelerationNedRequest,
|
|
534
|
-
metadata
|
|
538
|
+
metadata?: grpcWeb.Metadata | null,
|
|
535
539
|
callback?: (err: grpcWeb.RpcError,
|
|
536
540
|
response: offboard_offboard_pb.SetPositionVelocityAccelerationNedResponse) => void) {
|
|
537
541
|
if (callback !== undefined) {
|
|
@@ -564,7 +568,7 @@ export class OffboardServiceClient {
|
|
|
564
568
|
|
|
565
569
|
setAccelerationNed(
|
|
566
570
|
request: offboard_offboard_pb.SetAccelerationNedRequest,
|
|
567
|
-
metadata
|
|
571
|
+
metadata?: grpcWeb.Metadata | null): Promise<offboard_offboard_pb.SetAccelerationNedResponse>;
|
|
568
572
|
|
|
569
573
|
setAccelerationNed(
|
|
570
574
|
request: offboard_offboard_pb.SetAccelerationNedRequest,
|
|
@@ -574,7 +578,7 @@ export class OffboardServiceClient {
|
|
|
574
578
|
|
|
575
579
|
setAccelerationNed(
|
|
576
580
|
request: offboard_offboard_pb.SetAccelerationNedRequest,
|
|
577
|
-
metadata
|
|
581
|
+
metadata?: grpcWeb.Metadata | null,
|
|
578
582
|
callback?: (err: grpcWeb.RpcError,
|
|
579
583
|
response: offboard_offboard_pb.SetAccelerationNedResponse) => void) {
|
|
580
584
|
if (callback !== undefined) {
|
package/offboard/offboard_pb.js
CHANGED
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
var mavsdk_options_pb = require('../mavsdk_options_pb.js');
|
|
26
17
|
goog.object.extend(proto, mavsdk_options_pb);
|
|
@@ -5023,10 +5014,8 @@ proto.mavsdk.rpc.offboard.ActuatorControlGroup.deserializeBinaryFromReader = fun
|
|
|
5023
5014
|
var field = reader.getFieldNumber();
|
|
5024
5015
|
switch (field) {
|
|
5025
5016
|
case 1:
|
|
5026
|
-
var
|
|
5027
|
-
|
|
5028
|
-
msg.addControls(values[i]);
|
|
5029
|
-
}
|
|
5017
|
+
var value = /** @type {!Array<number>} */ (reader.readPackedFloat());
|
|
5018
|
+
msg.setControlsList(value);
|
|
5030
5019
|
break;
|
|
5031
5020
|
default:
|
|
5032
5021
|
reader.skipField();
|
package/package.json
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mavsdk-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"google-protobuf": "^3.20.1",
|
|
9
|
-
"grpc-web": "~1.3.1"
|
|
5
|
+
"@types/google-protobuf": "^3.15.12",
|
|
6
|
+
"google-protobuf": "^3.21.4",
|
|
7
|
+
"grpc-web": "^1.3.1"
|
|
10
8
|
},
|
|
11
9
|
"dependencies": {
|
|
12
|
-
"tslib": "^2.
|
|
10
|
+
"tslib": "^2.7.0"
|
|
13
11
|
},
|
|
14
12
|
"sideEffects": false
|
|
15
13
|
}
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: param/param.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as param_param_pb from '../param/param_pb';
|
|
20
|
+
import * as param_param_pb from '../param/param_pb'; // proto import: "param/param.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class ParamServiceClient {
|
|
@@ -30,7 +34,7 @@ export class ParamServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class ParamServiceClient {
|
|
|
48
52
|
|
|
49
53
|
getParamInt(
|
|
50
54
|
request: param_param_pb.GetParamIntRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_param_pb.GetParamIntResponse>;
|
|
52
56
|
|
|
53
57
|
getParamInt(
|
|
54
58
|
request: param_param_pb.GetParamIntRequest,
|
|
@@ -58,7 +62,7 @@ export class ParamServiceClient {
|
|
|
58
62
|
|
|
59
63
|
getParamInt(
|
|
60
64
|
request: param_param_pb.GetParamIntRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: param_param_pb.GetParamIntResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
|
@@ -91,7 +95,7 @@ export class ParamServiceClient {
|
|
|
91
95
|
|
|
92
96
|
setParamInt(
|
|
93
97
|
request: param_param_pb.SetParamIntRequest,
|
|
94
|
-
metadata
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_param_pb.SetParamIntResponse>;
|
|
95
99
|
|
|
96
100
|
setParamInt(
|
|
97
101
|
request: param_param_pb.SetParamIntRequest,
|
|
@@ -101,7 +105,7 @@ export class ParamServiceClient {
|
|
|
101
105
|
|
|
102
106
|
setParamInt(
|
|
103
107
|
request: param_param_pb.SetParamIntRequest,
|
|
104
|
-
metadata
|
|
108
|
+
metadata?: grpcWeb.Metadata | null,
|
|
105
109
|
callback?: (err: grpcWeb.RpcError,
|
|
106
110
|
response: param_param_pb.SetParamIntResponse) => void) {
|
|
107
111
|
if (callback !== undefined) {
|
|
@@ -134,7 +138,7 @@ export class ParamServiceClient {
|
|
|
134
138
|
|
|
135
139
|
getParamFloat(
|
|
136
140
|
request: param_param_pb.GetParamFloatRequest,
|
|
137
|
-
metadata
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_param_pb.GetParamFloatResponse>;
|
|
138
142
|
|
|
139
143
|
getParamFloat(
|
|
140
144
|
request: param_param_pb.GetParamFloatRequest,
|
|
@@ -144,7 +148,7 @@ export class ParamServiceClient {
|
|
|
144
148
|
|
|
145
149
|
getParamFloat(
|
|
146
150
|
request: param_param_pb.GetParamFloatRequest,
|
|
147
|
-
metadata
|
|
151
|
+
metadata?: grpcWeb.Metadata | null,
|
|
148
152
|
callback?: (err: grpcWeb.RpcError,
|
|
149
153
|
response: param_param_pb.GetParamFloatResponse) => void) {
|
|
150
154
|
if (callback !== undefined) {
|
|
@@ -177,7 +181,7 @@ export class ParamServiceClient {
|
|
|
177
181
|
|
|
178
182
|
setParamFloat(
|
|
179
183
|
request: param_param_pb.SetParamFloatRequest,
|
|
180
|
-
metadata
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_param_pb.SetParamFloatResponse>;
|
|
181
185
|
|
|
182
186
|
setParamFloat(
|
|
183
187
|
request: param_param_pb.SetParamFloatRequest,
|
|
@@ -187,7 +191,7 @@ export class ParamServiceClient {
|
|
|
187
191
|
|
|
188
192
|
setParamFloat(
|
|
189
193
|
request: param_param_pb.SetParamFloatRequest,
|
|
190
|
-
metadata
|
|
194
|
+
metadata?: grpcWeb.Metadata | null,
|
|
191
195
|
callback?: (err: grpcWeb.RpcError,
|
|
192
196
|
response: param_param_pb.SetParamFloatResponse) => void) {
|
|
193
197
|
if (callback !== undefined) {
|
|
@@ -220,7 +224,7 @@ export class ParamServiceClient {
|
|
|
220
224
|
|
|
221
225
|
getParamCustom(
|
|
222
226
|
request: param_param_pb.GetParamCustomRequest,
|
|
223
|
-
metadata
|
|
227
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_param_pb.GetParamCustomResponse>;
|
|
224
228
|
|
|
225
229
|
getParamCustom(
|
|
226
230
|
request: param_param_pb.GetParamCustomRequest,
|
|
@@ -230,7 +234,7 @@ export class ParamServiceClient {
|
|
|
230
234
|
|
|
231
235
|
getParamCustom(
|
|
232
236
|
request: param_param_pb.GetParamCustomRequest,
|
|
233
|
-
metadata
|
|
237
|
+
metadata?: grpcWeb.Metadata | null,
|
|
234
238
|
callback?: (err: grpcWeb.RpcError,
|
|
235
239
|
response: param_param_pb.GetParamCustomResponse) => void) {
|
|
236
240
|
if (callback !== undefined) {
|
|
@@ -263,7 +267,7 @@ export class ParamServiceClient {
|
|
|
263
267
|
|
|
264
268
|
setParamCustom(
|
|
265
269
|
request: param_param_pb.SetParamCustomRequest,
|
|
266
|
-
metadata
|
|
270
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_param_pb.SetParamCustomResponse>;
|
|
267
271
|
|
|
268
272
|
setParamCustom(
|
|
269
273
|
request: param_param_pb.SetParamCustomRequest,
|
|
@@ -273,7 +277,7 @@ export class ParamServiceClient {
|
|
|
273
277
|
|
|
274
278
|
setParamCustom(
|
|
275
279
|
request: param_param_pb.SetParamCustomRequest,
|
|
276
|
-
metadata
|
|
280
|
+
metadata?: grpcWeb.Metadata | null,
|
|
277
281
|
callback?: (err: grpcWeb.RpcError,
|
|
278
282
|
response: param_param_pb.SetParamCustomResponse) => void) {
|
|
279
283
|
if (callback !== undefined) {
|
|
@@ -306,7 +310,7 @@ export class ParamServiceClient {
|
|
|
306
310
|
|
|
307
311
|
getAllParams(
|
|
308
312
|
request: param_param_pb.GetAllParamsRequest,
|
|
309
|
-
metadata
|
|
313
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_param_pb.GetAllParamsResponse>;
|
|
310
314
|
|
|
311
315
|
getAllParams(
|
|
312
316
|
request: param_param_pb.GetAllParamsRequest,
|
|
@@ -316,7 +320,7 @@ export class ParamServiceClient {
|
|
|
316
320
|
|
|
317
321
|
getAllParams(
|
|
318
322
|
request: param_param_pb.GetAllParamsRequest,
|
|
319
|
-
metadata
|
|
323
|
+
metadata?: grpcWeb.Metadata | null,
|
|
320
324
|
callback?: (err: grpcWeb.RpcError,
|
|
321
325
|
response: param_param_pb.GetAllParamsResponse) => void) {
|
|
322
326
|
if (callback !== undefined) {
|
|
@@ -349,7 +353,7 @@ export class ParamServiceClient {
|
|
|
349
353
|
|
|
350
354
|
selectComponent(
|
|
351
355
|
request: param_param_pb.SelectComponentRequest,
|
|
352
|
-
metadata
|
|
356
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_param_pb.SelectComponentResponse>;
|
|
353
357
|
|
|
354
358
|
selectComponent(
|
|
355
359
|
request: param_param_pb.SelectComponentRequest,
|
|
@@ -359,7 +363,7 @@ export class ParamServiceClient {
|
|
|
359
363
|
|
|
360
364
|
selectComponent(
|
|
361
365
|
request: param_param_pb.SelectComponentRequest,
|
|
362
|
-
metadata
|
|
366
|
+
metadata?: grpcWeb.Metadata | null,
|
|
363
367
|
callback?: (err: grpcWeb.RpcError,
|
|
364
368
|
response: param_param_pb.SelectComponentResponse) => void) {
|
|
365
369
|
if (callback !== undefined) {
|
package/param/param_pb.d.ts
CHANGED
package/param/param_pb.js
CHANGED
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
var mavsdk_options_pb = require('../mavsdk_options_pb.js');
|
|
26
17
|
goog.object.extend(proto, mavsdk_options_pb);
|